/* --- Root Variables & Reset --- */
    :root {
        --primary-color: #002147;
        --secondary-color: #fdc800;
        --text-dark: #333;
        --text-light: #fff;
        --bg-light: #f8f9fa;
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }
    html {
        scroll-behavior: smooth;
    }

    body {
        line-height: 1.6;
        color: var(--text-dark);
        overflow-x: hidden;
    }

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

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

    .container-wide {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 5px;
        width: 90%;
    }

    /* --- Top Strip --- */
    .top-strip {
        background: var(--primary-color);
        color: white;
        padding: 8px 0;
        font-size: 13px;
        border-bottom: 2px solid var(--secondary-color);
    }

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

    .top-left-links a {
        color: white;
        margin-right: 15px;
    }

    .top-left-links a i {
        color: var(--secondary-color);
        margin-right: 5px;
    }

    .gold-text {
        color: var(--secondary-color);
        font-weight: bold;
    }

    .social-box {
        display: inline-flex;
        gap: 10px;
        margin-left: 15px;
    }

    .social-box a {
        background: rgba(255, 255, 255, 0.1);
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white;
        font-size: 12px;
    }

    /* --- NEW: Social Icon Professional Hover --- */
    .social-box a:hover {
        background: var(--secondary-color);
        color: var(--primary-color);
        transform: translateY(-3px) rotate(360deg);
    }

    /* --- Header & Logo --- */
    .main-header {
        padding: 20px 0;
        background: white;
    }

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

    .header-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
        background: #fff;
        border-radius: 50%;
        border: 3px solid var(--primary-color);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 3px;
    }

    .school-name {
        font-size: 28px;
        font-weight: 900;
        color: var(--primary-color);
        line-height: 1.1;
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }

    .school-address {
        font-size: 14px;
        color: #666;
    }

    .school-tagline {
        font-size: 12px;
        font-weight: 600;
        color: var(--secondary-color);
        letter-spacing: 1px;
    }

    .header-right {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .header-enquiry {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .phone-icon {
        font-size: 30px;
        color: var(--primary-color);
    }

    .enquiry-label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #777;
    }

    .enquiry-number {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-color);
    }

    /* --- NEW: APPLY Button Glow & Scale --- */
    .apply-btn {
        background: var(--secondary-color);
        color: var(--primary-color);
        padding: 10px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(253, 200, 0, 0.3);
        cursor: pointer;
        border: none;
        position: relative;
        z-index: 9999 !important;
    }

    .apply-btn:hover {
        background: var(--primary-color);
        color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 33, 71, 0.3);
    }

    /* --- Navigation --- */
    .sticky-nav {
        background: var(--primary-color);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-links {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    .nav-links li a {
        color: white;
        padding: 15px 20px;
        display: block;
        font-weight: 500;
        font-size: 14px;
        position: relative;
    }

    /* --- NEW: Nav Underline Effect --- */
    .nav-links li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 10px;
        left: 50%;
        background: var(--secondary-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-links li a:hover::after {
        width: 50%;
    }

    .nav-links li a:hover {
        color: var(--secondary-color);
    }

    /* --- NEW: ERP Button Glow --- */
    .erp-btn {
        background: #d32f2f !important;
        color: white !important;
        cursor: pointer;
    }

    .erp-btn:hover {
        background: #b71c1c !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
    }

    /* --- News Ticker --- */
    .news-ticker {
        background: #eee;
        display: flex;
        align-items: center;
    }

    .ticker-label-wrap {
        background: #d32f2f;
        color: white;
        padding: 10px 20px;
        font-weight: 700;
        z-index: 2;
    }

    marquee {
        font-weight: 500;
        color: #444;
    }

    /* --- HERO SECTION --- */
    .hero-section {
        position: relative;
        height: 500px;
        width: 100%;
        overflow: hidden;
        background: #000;
    }

    .hero-section .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        z-index: 1;
        display: flex;
        align-items: center;
    }

    .hero-section .slide.active {
        opacity: 1;
        z-index: 2;
    }

    .hero-section .slide img {
        width: 100%;
        height: 100%;
        object-fit: fit;
        position: absolute;
        top: 0;
        left: 0;
    }

    .side-slogan {
        position: relative;
        z-index: 3;
        background: rgba(0, 33, 71, 0.8);
        color: white;
        padding: 30px;
        margin-left: 10%;
        border-left: 5px solid var(--secondary-color);
        max-width: 400px;
    }

    /* --- Content Sections --- */
    .welcome-section {
        padding: 80px 0;
    }

    .welcome-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
        align-items: center;
    }

    .welcome-heading {
        font-size: 36px;
        color: var(--primary-color);
        margin-bottom: 20px;
        position: relative;
    }

    .welcome-heading::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--secondary-color);
        margin-top: 10px;
    }

    .welcome-text {
        margin-bottom: 25px;
        color: #555;
    }

    /* --- NEW: More About Button Fix --- */
    .more-about-btn {
        display: inline-block;
        padding: 12px 30px;
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        font-weight: 700;
        transition: var(--transition);
    }

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

    .video-wrapper iframe {
        width: 100%;
        height: 300px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .stats-section {
        background: var(--primary-color);
        padding: 60px 0;
        color: white;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
    }

    .stat-item i {
        font-size: 40px;
        color: var(--secondary-color);
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 35px;
        font-weight: 800;
    }

    .updates-section {
        padding: 60px 0;
        background: #f0f4f8;
    }

    .updates-grid-fixed {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* --- FIXED NEWS COLUMN LOCK --- */
    .update-col {
        background: white;
        padding: 0;
        border-top: 4px solid var(--primary-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        height: 400px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: var(--transition);
    }

    /* Card hover effect */
    .update-col:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .update-col h3 {
        padding: 20px 25px;
        background: white;
        margin: 0;
        color: var(--primary-color);
        border-bottom: 2px solid var(--secondary-color);
        z-index: 10;
    }

    .news-ticker-vertical {
        flex: 1;
        overflow-y: auto;
        padding: 10px 25px;
        scrollbar-width: thin;
        scrollbar-color: var(--secondary-color) transparent;
    }

    .news-ticker-vertical::-webkit-scrollbar {
        width: 4px;
    }

    .news-ticker-vertical::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 10px;
    }

    .bullet-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .bullet-list li {
        position: relative;
        padding: 15px 0 15px 25px;
        border-bottom: 1px dashed #ddd;
    }

    .bullet-list li::before {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 18px;
        color: var(--secondary-color);
        font-size: 16px;
    }

    .bullet-list li a {
        color: #444;
        text-decoration: none;
        display: block;
        transition: 0.3s;
    }

    .bullet-list li a:hover {
        color: var(--primary-color);
        padding-left: 5px;
    }

    .animate-scroll {
        animation: verticalTicker 25s linear infinite;
    }

    .news-ticker-vertical:hover .animate-scroll {
        animation-play-state: paused;
    }

    @keyframes verticalTicker {
        0% {
            transform: translateY(0);
        }

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

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

    .section-label {
        color: var(--secondary-color);
        font-weight: 700;
        text-align: center;
    }

    .section-title-main {
        font-size: 32px;
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 40px;
    }

    .message-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Message Card Lifting Effect */
    .msg-card {
        display: flex;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow: hidden;
        transition: var(--transition);
    }

    .msg-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    /* RECTANGLE PHOTO FIX FOR LAPTOP (Border, Slightly Rounded Corners, Increased Height) */
    .msg-card img {
        width: 180px !important;
        height: 220px !important; /* Increased Height to make it taller rectangle */
        object-fit: cover;        /* Ensures photo fills the frame nicely */
        border-radius: 15px !important; /* Slightly rounded corners */
        border: 4px solid var(--primary-color); /* Professional Primary Border */
        margin: 20px 20px 20px 20px; /* Space from all sides */
        flex-shrink: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .msg-card-body {
        padding: 25px;
    }

    .facilities-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .facility-card {
        display: flex;
        gap: 15px;
        padding: 20px;
        background: white;
        transition: var(--transition);
        border-bottom: 3px solid transparent;
    }

    .facility-card:hover {
        transform: translateY(-5px);
        border-color: var(--secondary-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }



    /* --- School Faculty & Staff Section --- */
    .school-faculty-section {
        padding: 42px 15px;
        background: linear-gradient(135deg, #f7fbff 0%, #ffffff 55%, #fff8df 100%);
        position: relative;
        overflow: hidden;
    }

    .school-faculty-section::before {
        content: '';
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 18px solid rgba(0, 33, 71, 0.05);
        right: -70px;
        top: -70px;
    }

    .school-faculty-intro {
        max-width: 720px;
        margin: -6px auto 24px;
        text-align: center;
        color: #555;
        font-size: 15px;
        line-height: 1.5;
        padding: 0 10px;
    }

    .school-faculty-grid {
        max-width: 1160px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
        position: relative;
        z-index: 1;
        justify-content: center;
    }

    .school-faculty-card {
        background: #fff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(0, 33, 71, 0.09);
        border: 1px solid rgba(0, 33, 71, 0.08);
        transition: var(--transition);
    }

    .school-faculty-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0, 33, 71, 0.13);
    }

    .school-faculty-photo {
        height: 185px;
        background: #eaf2ff;
        overflow: hidden;
    }

    .school-faculty-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
    }

    .school-faculty-info {
        padding: 12px 10px 15px;
        text-align: center;
    }

    .school-faculty-info h3 {
        color: var(--primary-color);
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .school-faculty-info .designation {
        color: #333;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 600;
        margin-bottom: 7px;
    }

    .school-faculty-info .department {
        display: inline-block;
        background: rgba(253, 200, 0, 0.18);
        color: var(--primary-color);
        border: 1px solid rgba(253, 200, 0, 0.45);
        padding: 4px 9px;
        border-radius: 999px;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 700;
    }

    .faculty-loading,
    .faculty-empty {
        grid-column: 1 / -1;
        text-align: center;
        background: #fff;
        border-radius: 14px;
        padding: 22px;
        color: #555;
        box-shadow: 0 8px 24px rgba(0, 33, 71, 0.08);
    }

    @media (max-width: 1200px) {
        .school-faculty-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    @media (max-width: 992px) {
        .school-faculty-section {
            padding: 38px 14px;
        }

        .school-faculty-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }

        .school-faculty-photo {
            height: 175px;
        }
    }

    @media (max-width: 768px) {
        .school-faculty-section {
            padding: 34px 12px;
        }

        .school-faculty-intro {
            font-size: 14px;
            margin-bottom: 20px;
        }

        .school-faculty-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .school-faculty-photo {
            height: 150px;
        }

        .school-faculty-info {
            padding: 10px 8px 12px;
        }

        .school-faculty-info h3 {
            font-size: 14px;
        }

        .school-faculty-info .designation {
            font-size: 12px;
        }

        .school-faculty-info .department {
            font-size: 10px;
            padding: 4px 7px;
        }
    }

    @media (max-width: 380px) {
        .school-faculty-grid {
            grid-template-columns: 1fr;
        }

        .school-faculty-photo {
            height: 185px;
        }
    }


    /* --- Campus Tour & Testimonials --- */
    .tour-testimonial-section {
        position: relative;
        padding: 100px 0;
        background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.9)),
            url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?q=80&w=1470&auto=format&fit=crop');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        color: white;
    }

    .tour-testimonial-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
        align-items: center;
    }

    .campus-tour-box,
    .testimonial-box {
        text-align: center;
    }

    .tour-slider {
        position: relative;
        border: 6px solid var(--secondary-color);
        margin: 0 auto 20px;
        height: 300px;
        overflow: hidden;
        max-width: 450px;
    }

    .tour-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        display: block !important;
    }

    .tour-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .tour-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonial-slider {
        min-height: 250px;
        position: relative;
    }

    .testi-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
        padding: 0 20px;
        display: block !important;
    }

    .testi-slide.active {
        opacity: 1;
        z-index: 2;
        position: relative;
    }

    /* --- Footer --- */
    .image-style-footer {
        background: #00152e;
        color: #b0c4de;
        padding: 70px 0 20px;
        margin-top: .7rem;
    }

    .footer-main-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
        gap: 40px;
        margin-bottom: 50px;
    }

    .footer-heading {
        color: white;
        font-size: 18px;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--secondary-color);
        display: inline-block;
    }

    .copyright-bar {
        text-align: center;
        font-size: 12px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    /* --- Desktop Nav Fix --- */
    .nav-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* --- Hamburger Icon --- */
    .menu-btn {
        display: none;
        cursor: pointer;
        position: absolute;
        right: 20px;
        z-index: 2001;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 5px 0;
        transition: 0.4s;
        border-radius: 2px;
    }

    /* --- DYNAMIC GALLERY STYLES (NEW) --- */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }

    .gallery-item {
        height: 350px;
        border: 4px solid var(--primary-color);
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        transition: var(--transition);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s;
    }

    /* Lightbox Styles */
    .lightbox {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.9); z-index: 9999;
        display: none; align-items: center; justify-content: center;
    }

    /* Sidebar Overlay Fix */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 998;
    }
    .sidebar-overlay.active { display: block; }

    /* --- Responsive Media Queries --- */
    @media screen and (max-width: 992px) {

        .tour-testimonial-grid,
        .welcome-grid,
        .message-cards-grid,
        .updates-grid-fixed {
            grid-template-columns: 1fr;
        }

        .header-right {
            display: none;
        }

        .footer-main-grid,
        .facilities-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media screen and (max-width: 768px) {
        .top-strip {
            display: none !important;
        }

        .main-header {
            position: relative;
            padding: 10px 0 !important;
        }

        .flex-header {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 0 10px !important;
        }

        .header-left {
            display: flex !important;
            align-items: center !important;
            gap: 5px !important;
        }

        .logo-circle {
            width: 50px !important;
            height: 50px !important;
        }

        .school-name {
            font-size: 15px !important;
        }

        .school-address,
        .school-tagline {
            display: none;
        }

        .header-right {
            display: flex !important;
            gap: 8px !important;
            align-items: center !important;
        }

        .header-enquiry {
            display: none !important;
        }

        .header-action {
            display: block !important;
        }

        /* Button small and single line for mobile */
        .apply-btn {
            padding: 5px 10px !important;
            font-size: 10px !important;
            box-shadow: none !important;
            white-space: nowrap !important;
            letter-spacing: 0px !important;
        }

        .menu-btn {
            display: block !important;
            position: relative !important;
            right: 0 !important;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            width: 100%;
            background: var(--primary-color);
            position: absolute;
            top: 100%;
            left: 0;
            text-align: center;
            border-top: 2px solid var(--secondary-color);
            z-index: 1000;
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links li a {
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stats-grid {
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .hero-section {
            height: 300px;
        }

        .side-slogan {
            width: 90%;
            left: 5%;
            padding: 15px;
            text-align: center;
            margin-left: 0;
            border-left: 0;
            border-bottom: 5px solid var(--secondary-color);
        }

        .side-slogan h2 {
            font-size: 1.2rem !important;
        }

        .update-col {
            height: 350px;
        }

        .msg-card {
            flex-direction: column !important;
            text-align: center;
            padding: 20px 10px;
        }

        /* MOBILE FIX FOR PHOTOS: Taller Rectangle look with same width as computer */
        .msg-card img {
            width: 140px !important;  /* Responsive fixed size for mobile */
            height: 170px !important; /* Increased Height for mobile rectangle */
            object-fit: cover;
            border-radius: 12px !important; /* Slightly rounded corners */
            margin: 0 auto 15px !important;
            display: block;
        }

        .msg-card-body {
            padding: 10px 0;
        }

        /* Gallery Mobile Adjustment */
        .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .gallery-item { height: 220px; }
    }

    @media (max-width: 480px) {

        .footer-main-grid,
        .facilities-grid,
        .stats-grid {
            grid-template-columns: 1fr;
        }
    }


    /* --- Footer Links Color Update --- */
.image-style-footer a {
    color: #ffffff !important; /* Force white color */
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
}

.image-style-footer a:hover {
    color: var(--secondary-color) !important; /* Hover par gold color */
    padding-left: 5px; /* Chota sa animation */
}

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

/* Admission aur Quick Links ke icons ka color */
.image-style-footer i {
    color: var(--secondary-color);
    margin-right: 10px;
}
/* COMMENT FOR PRODUCTION:
   Faculty cards are centered, compact, responsive, and max 5 cards per row on desktop. */
.school-faculty-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
}
.school-faculty-card {
    flex: 0 1 calc((100% - 72px) / 5);
    max-width: 210px;
    min-width: 180px;
}
@media (max-width: 1200px) {
    .school-faculty-card { flex-basis: calc((100% - 54px) / 4); }
}
@media (max-width: 992px) {
    .school-faculty-card { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 768px) {
    .school-faculty-grid { gap: 12px; }
    .school-faculty-card { flex-basis: calc((100% - 12px) / 2); min-width: 0; max-width: none; }
}
@media (max-width: 380px) {
    .school-faculty-card { flex-basis: 100%; }
}
