/* 
   SBITM College - Professional Academic Theme 
   Theme: White / Navy Blue / Gold
   Version: 4.0 (Global Alignment & Faculty Redesign)
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
    /* Color Palette - Premium Academic */
    --primary: #003366;           /* Deep Navy Blue */
    --primary-light: #004d99;
    --primary-dark: #002244;
    
    --secondary: #1a365d;         /* Slate Navy */
    
    --accent: #d4af37;            /* Metallic Gold */
    --accent-light: #e6c867;
    --accent-dark: #b8972a;

    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --bg-off-white: #f1f5f9;
    --bg-dark: #0f172a;

    --text-main: #1e293b;         /* Slate 800 */
    --text-muted: #64748b;         /* Slate 500 */
    --text-light: #ffffff;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1320px;
    --top-bar-height: 40px;
    --header-height: 100px;
    --nav-height: 60px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

/* Alias for backward compatibility */
.text-dim {
    color: var(--text-muted);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary);
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    /* Academic look */
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--bg-dark);
    color: white;
    height: var(--top-bar-height);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-link {
    color: #94a3b8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-link:hover {
    color: var(--accent);
}

/* --- MAIN HEADER --- */
.main-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo img {
    height: 80px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    color: var(--primary);
    text-transform: uppercase;
}

.brand-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.recognition-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.recognition-badge img {
    height: 35px;
}

.recognition-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

/* --- NAVIGATION --- */
.navbar {
    background: var(--primary);
    box-shadow: var(--shadow-md);
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    height: 100%;
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.78rem;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    position: relative;
    border-right: none;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}


.nav-links a:hover, 
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent) !important;
}


/* Dropdown Menu Styles */
.nav-links li.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--primary-dark);
    list-style: none;
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    height: auto !important;
    display: block !important;
}

.dropdown-menu li a {
    padding: 12px 20px !important;
    width: 100%;
    height: auto !important;
    font-size: 0.8rem !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-menu li a:hover {
    color: var(--accent) !important;
    background: rgba(255,255,255,0.05) !important;
    padding-left: 25px !important;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}


.nav-cta {
    margin-left: auto;
}

.btn-nav {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    margin-left: 10px;
}

.btn-nav:hover {
    background: white !important;
    color: var(--primary) !important;
}

/* Notice Bar */
.notice-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    height: 40px;
    overflow: hidden;
}

.notice-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    height: 100%;
}

.notice-label {
    background: var(--primary);
    color: white;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    position: relative;
    box-shadow: 10px 0 15px rgba(0,0,0,0.1);
}

.notice-scroller {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.notice-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-notice 30s linear infinite;
    padding-left: 100%;
}

.notice-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    font-size: 0.85rem;
    color: var(--text-main);
}

@keyframes scroll-notice {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.notice-bar:hover .notice-content {
    animation-play-state: paused;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    /* Hidden on Desktop */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.75)), url('../images/college_building.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 0;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headings */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--primary);
    display: inline-block;
    padding-bottom: 16px;
    position: relative;
    margin-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Card System */
.clean-card,
.glass-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clean-card:hover,
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Faculty Redesign (Double-Level) */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* HOD Card - Featured */
.hod-card-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.hod-card {
    background: white;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    max-width: 900px;
    width: 100%;
    transition: var(--transition);
}

.hod-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.hod-img-box {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-off-white);
    box-shadow: var(--shadow-sm);
}

.hod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hod-content h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.hod-content .role {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Faculty Card - Standard */
.faculty-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.faculty-img {
    height: 280px;
    width: 100%;
    background-color: var(--bg-off-white);
    position: relative;
    overflow: hidden;
}

.faculty-img img {
    width: 100%;
    height: calc(100% - 15px);
    object-fit: cover;
    object-position: top;
    margin-top: 15px;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-img img {
    transform: scale(1.05);
    /* Proper hover scale */
}

/* Overlay on Hover */
.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), transparent);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.faculty-card:hover .faculty-overlay {
    opacity: 1;
    transform: translateY(0);
}

.faculty-info {
    padding: 24px;
    text-align: center;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faculty-info h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.faculty-info .designation {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.faculty-info .specialization {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: auto;
}

/* Global Grid System (Replaces Strict Grid) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Aliases for compatibility */
.grid-strict-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-strict-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Footer */
footer {
    background-color: var(--bg-off-white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }

    .grid-3,
    .grid-4,
    .grid-strict-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .brand-section {
        flex-direction: column;
        gap: 10px;
    }

    .brand-logo img {
        height: 60px;
    }

    .brand-text h1 {
        font-size: 1.25rem;
    }

    .header-actions {
        display: none; /* Hide badges on tablet/mobile to save space */
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none; /* Hide date on small screens */
    }

    .top-bar-container {
        justify-content: center;
    }

    .navbar {
        height: auto;
        min-height: 50px;
    }

    .nav-container {
        padding: 10px 20px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: white;
        transition: var(--transition);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links li.dropdown {
        height: auto;
        display: block;
    }

    .nav-links li.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        width: 100%;
        margin-top: 10px;
        padding: 5px 0;
    }

    .nav-links li.dropdown .dropdown-menu li a {
        padding-left: 30px !important;
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        height: auto;
        width: 100%;
    }

    .nav-links a {
        padding: 15px 0;
        font-size: 1.1rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .nav-cta {
        display: none; /* Hide in nav, maybe add to mobile links list if needed */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-strict-2,
    .grid-strict-3,
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .hod-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
}

/* Marquee Animation */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: white;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 200px;
    margin-right: 30px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Notice Bar Styles */
.notice-bar {
    background-color: var(--primary);
    /* Dark Navy for high contrast header feel */
    color: white;
    font-size: 0.9rem;
    position: relative;
    z-index: 900;
    overflow: hidden;
    height: 40px;
}

.notice-container {
    display: flex;
    height: 100%;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.notice-label {
    background-color: var(--accent);
    /* Gold label */
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    /* Slight angle for style */
    padding-right: 30px;
}

.notice-scroller {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, black 20px, black 95%, transparent 100%);
    /* Fade out edges */
}

.notice-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: notice-scroll 30s linear infinite;
    padding-left: 20px;
}

.notice-item {
    margin-right: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-content:hover {
    animation-play-state: paused;
}

@keyframes notice-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .notice-label {
        font-size: 0.8rem;
        padding: 0 10px;
        padding-right: 20px;
    }

    .notice-bar {
        font-size: 0.8rem;
    }
}


/* PREMIUM FOOTER STYLES */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding-top: 80px;
    font-size: 0.95rem;
    position: relative;
    border-top: 4px solid var(--accent);
}

/* Redesigned Academics Page Styles */
.academics-hero {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/college_building.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 4px solid var(--accent);
}

.academics-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.academics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.academic-calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.academic-calendar-table th {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.academic-calendar-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.academic-calendar-table tr:last-child td {
    border-bottom: none;
}

.event-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-exam {
    background: #fee2e2;
    color: #ef4444;
}

.badge-event {
    background: #fef3c7;
    color: #d97706;
}

.badge-holiday {
    background: #dcfce7;
    color: #16a34a;
}

.badge-other {
    background: #e0f2fe;
    color: #0284c7;
}

.notice-board-feed {
    list-style: none;
    padding: 0;
}

.notice-feed-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    transition: var(--transition);
    position: relative;
    border-left: 4px solid var(--accent);
}

.notice-feed-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.notice-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.notice-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .academics-grid {
        grid-template-columns: 1fr;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    /* FA Chevron Right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--accent);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    margin-top: 5px;
}

.social-icons-footer {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: white;
}

.footer-bottom a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-list li {
        justify-content: center;
    }

    .social-icons-footer {
        justify-content: center;
    }
}