head

/* Swarnim Institute of Technology Gorakhpur - Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0d47a1;
    --secondry-blue: #1b5bc7;
    --primary-blue-dark: #0a3680;
    --primary-blue-light: #e3f2fd;
    --accent-orange: #ff6d00;
    --accent-orange-dark: #e65100;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-blue-dark);
}

/* --- Utility Classes --- */
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--secondry-blue); }
.text-blue-dark { color: var(--primary-blue-dark); }
.bg-orange { background-color: var(--accent-orange); }
.bg-blue { background-color: var(--primary-blue); }
.bg-blue-dark { background-color: var(--primary-blue-dark); }
.bg-light-blue { background-color: var(--primary-blue-light); }

/* --- Buttons --- */
.btn-primary-blue {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-primary-blue:hover {
    background-color: var(--primary-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.25);
}

.btn-accent-orange {
    background-color: var(--accent-orange);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-accent-orange:hover {
    background-color: var(--accent-orange-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}

.btn-outline-blue {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.4rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-outline-blue:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.top-header {
    background-color: var(--primary-blue-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-header a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.top-header a:hover {
    color: var(--accent-orange);
}

/* Info Bar (Logo + Title) */
.info-bar {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.college-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-blue-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.college-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-orange);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}
.navbar-custom.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-custom .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: var(--primary-blue);
}
.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 3px;
    background-color: var(--accent-orange);
    transition: var(--transition-smooth);
    border-radius: 2px;
    
}
.navbar-custom .navbar-nav .nav-link:hover::after,
.navbar-custom .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    outline: none !important;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Hero Slider --- */
.hero-slider .carousel-item {
    height: 550px;
    background-color: #000;
}
.hero-slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.65;
}
.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: #ffffff;
    z-index: 10;
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
}
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Cards and Sections --- */
.section-padding {
    padding: 5rem 0;
}
.bg-light-section {
    background-color: var(--bg-light);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}
.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* Why Choose Us Cards */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border-color: var(--primary-blue-light);
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon-wrapper {
    background-color: var(--accent-orange);
    color: #ffffff;
}

/* Course Cards */
.course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.course-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.course-card:hover .course-img-wrapper img {
    transform: scale(1.05);
}
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.course-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

/* News Cards */
.news-card {
    background: #ffffff;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}
.news-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-left-color: var(--accent-orange);
}
.news-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.badge-admissions { background-color: #d1e7dd; color: #0f5132; }
.badge-exams { background-color: #f8d7da; color: #842029; }
.badge-events { background-color: #cff4fc; color: #087990; }
.badge-announcements { background-color: #fff3cd; color: #664d03; }

/* --- Staff Profiles --- */
.staff-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
    padding: 2rem 1.5rem;
    height: 100%;
}
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--primary-blue-light);
}
.staff-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-blue-light);
}
.staff-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.staff-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.staff-designation {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.staff-qualification {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Gallery & Lightbox --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.lightbox-close:hover {
    color: var(--accent-orange);
}

/* --- Downloads Table --- */
.download-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    margin-bottom: 1rem;
}
.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-blue-light);
}
.download-icon {
    font-size: 2.5rem;
    color: #dc3545;
    margin-right: 1.5rem;
}
.download-details {
    flex-grow: 1;
}

/* --- Footer --- */
.footer {
    background-color: #0b1528;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.79rem;
}
.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 1.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.footer a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    margin-right: 10px;
    transition: var(--transition-smooth);
}
.footer-social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
    padding-left: 0;
}
.footer-bottom {
    background-color: #070d18;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

/* --- Page Hero/Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    color: #ffffff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 109, 0, 0.15) 0%, transparent 50%);
}
.page-banner-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-custom .breadcrumb-item.active {
    color: var(--accent-orange);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-slider .carousel-item { height: 400px; }
    .hero-title { font-size: 2.2rem; }
    .section-padding { padding: 3.5rem 0; }
    .logo-img { height: 50px; }
    .college-title { font-size: 1.4rem; }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item { height: 300px; }
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .page-banner { padding: 3rem 0; }
    .page-banner-title { font-size: 2rem; }
}
/* ==========================================
   Modern Custom Scrollbar Styling
   ========================================== */

/* Firefox ke liye */
* {
    scrollbar-width: thin;
    scrollbar-color: #800000 #f1f1f1;
}

/* Chrome, Edge aur Safari ke liye */
::-webkit-scrollbar {
    width: 10px !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
    background: #800000 !important;
    border-radius: 10px !important;
    border: 2px solid #f1f1f1 !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a0000 !important;
}