﻿@import url('variables.css');

img {
    max-width: 100%;
    height: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    min-height: 90px;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-white);
    min-height: 70px;
    box-shadow: var(--shadow-md);
}

/* =========================
   LOGO SECTION
========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    width: 60px;
    height: 60px;
}

/* LOGO TEXT */

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =========================
   NAVIGATION
========================= */

nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: #eef2ff;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: var(--radius-full);
    background: var(--text-main);
    transition: var(--transition);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    height: 85vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero-overlay {
    max-width: 900px;
    color: var(--text-white);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: var(--shadow-glass);
}

.hero-overlay h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-overlay p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-inline: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.primary-btn,
.secondary-btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(47, 91, 234, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(47, 91, 234, 0.4);
}

.secondary-btn {
    background: var(--bg-white);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.secondary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* =========================
   ABOUT SECTION
========================= */

.about {
    padding: var(--space-xl) 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text-main);
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* =========================
   FACILITIES
========================= */


/* =========================
   STATS
========================= */

.stats {
    padding: var(--space-lg) 8%;
    background: var(--gradient-primary);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    color: var(--text-white);
}

.stat-box h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* =========================
   GALLERY PREVIEW
========================= */

.gallery-preview {
    padding: var(--space-xl) 8%;
    background: var(--bg-white);
}

/* =========================
   GALLERY (3 + 3 FIXED LAYOUT)
========================= */

/* =========================
   GALLERY SECTION (UPDATED)
========================= */

.gallery-section {
    padding: var(--space-lg) 20px;
    background: var(--bg-main);
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.gallery-preview .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-heading {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 14px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-card {
        height: 240px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-card {
        height: 220px;
    }
}

/* =========================
   CONTACT / FORM
========================= */

.contact-section {
    padding: var(--space-xl) 8%;
    background: linear-gradient(rgba(31, 42, 68, 0.85), rgba(31, 42, 68, 0.85)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-container {
    max-width: 800px;
    margin: auto;
}

.contact-form {
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 24px;
    border: 1px solid #eef0f4;
    background: #f8fafc;
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--text-main);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(47, 91, 234, 0.1);
    outline: none;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: var(--space-xl) 8%;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--text-white);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-inline: auto;
}

/* =========================
   FACULTY PAGE
========================= */

.faculty-hero {
    height: 70vh;

    background:
        linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 40px;
}

/* =========================
   PRINCIPAL SECTION
========================= */

.principal-display {
    padding: var(--space-xl) 8%;
    background: var(--bg-white);
    text-align: center;
}

.principal-card {
    max-width: 450px;
    margin: auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.principal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glass);
}

.principal-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.principal-card h2 {
    margin-top: 30px;
    font-size: 32px;
    color: var(--text-main);
    font-weight: 700;
}

.principal-card p {
    margin: 10px 0 35px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   FACULTY SECTION
========================= */

.faculty-section {
    padding: var(--space-xl) 8%;
    background: var(--bg-main);
}

.non-teaching {
    background: #f0f4ff;
}

.faculty-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    padding-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.faculty-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 8px;
    flex-shrink: 0;
}

.faculty-card h3 {
    margin-top: 20px;
    font-size: 20px;
    padding: 0 20px;
    color: var(--text-main);
    font-weight: 700;
}

.faculty-card p {
    color: var(--text-muted);
    margin-top: 8px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--bg-footer);
    color: var(--text-white);
    text-align: center;
    padding: var(--space-lg) 20px;
}

.footer-content h2 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-content p {
    color: var(--text-white);
    opacity: 0.8;
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
}

.social-icons {
    margin-top: 32px;
}

.social-icons i {
    margin: 0 15px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.social-icons i:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.powered-by {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.powered-by-label {
    margin: 0;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.powered-by-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.powered-by-link:hover {
    color: var(--primary-color);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px) {

    .about {
        grid-template-columns: 1fr;
    }

    /* Removed conflicting navbar specific rules - now handled by responsive.css */


    .hero-overlay h1 {
        font-size: 48px;
    }

    .about-content h2,
    .section-title h2,
    .cta-section h2 {
        font-size: 38px;
    }

    .faculty-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {

    .hero-overlay h1 {
        font-size: 34px;
    }

    .hero-overlay p {
        font-size: 17px;
    }

    .about-content h2,
    .section-title h2,
    .cta-section h2 {
        font-size: 30px;
    }

    .faculty-container {
        grid-template-columns: 1fr;
    }

    .principal-card img {
        height: 320px;
    }

    .faculty-card img {
    height: 260px;
    }

    .nav-links {
        gap: 18px;
    }
}

.faculty-intro {
    padding: 50px 20px;
    background: #f7f9fc;
}

.intro-container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.faculty-quote {
    font-size: 20px;
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.6;
}

.faculty-intro p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

/* =========================
   QUALITY IMPROVEMENT SECTION
========================= */

.quality-section {
    padding: 70px 20px;
    background: #f4f6f9;
    text-align: center;
}

/* Section heading reuse consistency */
.quality-section .section-title {
    margin-bottom: 40px;
}

.quality-section .section-title span {
    color: #1e3a8a;
    font-weight: 600;
    letter-spacing: 1px;
}

.quality-section .section-title h2 {
    font-size: 32px;
    margin: 10px 0;
    color: #111;
}

.quality-section .section-title p {
    max-width: 700px;
    margin: auto;
    color: #555;
}

/* Grid layout */
.quality-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    padding: 0 10px;
}

.transport-quality-container {
    grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.quality-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
    border-left: 4px solid #1e3a8a;
}

/* Hover effect */
.quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Card heading */
.quality-card h3 {
    margin-bottom: 10px;
    color: #1e3a8a;
    font-size: 18px;
}

/* Card text */
.quality-card p {
    color: #555;
    line-height: 1.6;
    font-size: 14.5px;
}

@media(max-width:992px) {
    .quality-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:640px) {
    .quality-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   TRANSPORT GALLERY
========================= */

.transport-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.transport-gallery .gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    transition: 0.4s;
}

.transport-gallery .gallery-card img:hover {
    transform: scale(1.04);
}

/* RESPONSIVE */

@media(max-width:768px) {

    .transport-gallery {
        grid-template-columns: 1fr;
    }

}

/* =========================
   ACTIVITIES PAGE
========================= */

.activities-intro {
    padding: 90px 8% 40px;
    background: linear-gradient(to right, #f8fbff, #eef4ff);
}

.activities-content {
    max-width: 1000px;
    margin: auto;
}

.activities-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    text-align: center;
}

/* =========================
   COLORFUL ACTIVITY CARDS
========================= */

.facility-card:nth-child(1) {
    border-top: 5px solid #ff6b6b;
}

.facility-card:nth-child(2) {
    border-top: 5px solid #4dabf7;
}

.facility-card:nth-child(3) {
    border-top: 5px solid #51cf66;
}

.facility-card:nth-child(4) {
    border-top: 5px solid #f59f00;
}

.facility-card:nth-child(5) {
    border-top: 5px solid #845ef7;
}

.facility-card:nth-child(6) {
    border-top: 5px solid #20c997;
}

.facility-card i {
    background: #eef4ff;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
}

/* =========================
   ACTIVITIES GALLERY
========================= */

.activities-gallery-section {
    padding: 100px 8%;
    background: white;
}

.activities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-card {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: 0.5s;
}

.activity-card img:hover {
    transform: scale(1.08);
}

/* RESPONSIVE */

@media(max-width:992px) {

    .activities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {

    .activities-gallery {
        grid-template-columns: 1fr;
    }
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar .logo-text h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    /* THIS is the key fix */
}

.navbar .logo-text span {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

/* =========================
   MOBILE RESPONSIVE FIXES
========================= */

@media(max-width:1280px) {

    /* NAVBAR */
    .navbar {
        flex-wrap: wrap;
        align-items: center;
        padding: 16px 20px;
        gap: 12px;
        text-align: left;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    nav {
        display: none;
        width: 100%;
        margin-left: 0;
    }

    .navbar.active nav {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        padding-top: 10px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .logo {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .logo-text h2 {
        font-size: 22px;
    }

    /* HERO SECTION */

    .hero {
        height: auto;
        padding: 100px 20px;
    }

    .hero-overlay h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .hero-overlay p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* ABOUT SECTION */

    .about {
        grid-template-columns: 1fr;
        padding: 70px 20px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    /* SECTION TITLES */

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    /* FACILITY CARDS */

    .facility-container {
        grid-template-columns: 1fr;
    }

    /* GALLERY */

    .gallery-container,
    .activities-gallery {
        grid-template-columns: 1fr;
    }

    /* FACULTY */

    .faculty-container {
        grid-template-columns: 1fr;
    }

    .faculty-card img {
        height: 300px;
    }

    /* CONTACT */

    .contact-form {
        padding: 30px 20px;
    }

    /* CTA */

    .cta-section {
        padding: 70px 20px;
    }

    .cta-section h2 {
        font-size: 34px;
    }

    .cta-section p {
        font-size: 16px;
    }

    /* FOOTER */

    footer {
        padding: 40px 20px;
    }

}

/* =========================
   MANAGEMENT HERO
========================= */

.committee-hero {
    height: 70vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.committee-hero-overlay {
    color: white;
    max-width: 900px;
}

.committee-hero-overlay h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
}

.committee-hero-overlay p {
    font-size: 18px;
    line-height: 1.8;
    color: #eaeaea;
}

/* =========================
   SECTION WRAPPER
========================= */

.committee-section {
    padding: 90px 8%;
    background: #f5f7fb;
}

/* =========================
   TITLE
========================= */

.committee-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* =========================
   GRID LAYOUT
========================= */

.committee-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* =========================
   CARD STYLE
========================= */

.committee-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-align: center;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* IMAGE FIX (IMPORTANT) */
.committee-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* CONTENT */
.committee-content {
    padding: 15px;
}

.committee-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #1f2a44;
}

.committee-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px) {
    .committee-hero-overlay h1 {
        font-size: 32px;
    }

    .committee-hero {
        height: auto;
        padding: 90px 20px;
    }
}

/* =========================
   COMMITTEE PAGE CLEAN FIX (SAFE OVERRIDE)
========================= */

/* HERO FIX */
.committee-hero {
    height: 70vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.committee-hero-overlay {
    color: white;
    max-width: 800px;
}

.committee-hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
}

.committee-hero p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

/* SECTION TITLE FIX (spacing consistency) */
.committee-section .section-title {
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
}

/* GRID CLEANUP (keeps your structure) */
.committee-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
    justify-items: center;
}

/* last row auto-centers if not full */
.committee-card {
    width: 100%;
    max-width: 320px;
}

/* CARD FIX */
.committee-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    text-align: center;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* IMAGE FIX (MOST IMPORTANT PART) */
.committee-card img {
    width: 100%;
    height: 260px;

    object-fit: contain;
    /* IMPORTANT: NO CROPPING */
    background: #f5f7fb;
    /* clean frame behind image */

    padding: 10px;
    /* breathing space */
    display: block;

    border-bottom: 1px solid #eee;
}

/* TEXT FIX */
.committee-content {
    padding: 14px 16px;
}

.committee-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #1f2a44;
}

.committee-content p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
}

@media(max-width:992px) {
    .committee-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .committee-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   TYPOGRAPHY UPGRADE
========================= */

body {
    font-family: 'Poppins', sans-serif;
    color: #1f2a44;
    line-height: 1.6;
}

/* HERO TEXT */
.committee-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.committee-hero p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
}

/* =========================
   CLEAN MODERN TYPOGRAPHY
========================= */

body {
    font-family: 'Inter', sans-serif;
    background: #f7f8fb;
    color: #1f2a44;
    line-height: 1.7;
}

/* HEADINGS CLEAN */
h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* HERO CLEAN */
.committee-hero {
    height: 60vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding-top: 120px;
}

.committee-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.committee-hero p {
    font-size: 16px;
    opacity: 0.85;
}

/* SECTION TITLE CLEAN */
.section-title {
    text-align: center;
    margin: 50px auto 30px;
    max-width: 800px;
}

.section-title span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #4f46e5;
}

.section-title h2 {
    font-size: 28px;
    margin-top: 8px;
}

.section-title p {
    font-size: 14.5px;
    color: #666;
}

/* HISTORY BOX CLEAN */
.management-history {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.management-history h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.management-history p {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 12px;
}

/* GRID CLEAN */
.committee-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 20px;
    max-width: 1100px;
    margin: auto;
}

/* CARD CLEAN */
.committee-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: 0.25s ease;
}

.committee-card:hover {
    transform: translateY(-4px);
}

/* IMAGE CLEAN (NO CROPPING ISSUES) */
.committee-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
}

/* TEXT CLEAN */
.committee-content {
    padding: 14px;
}

.committee-content h3 {
    font-size: 15.5px;
    margin-bottom: 5px;
}

.committee-content p {
    font-size: 13.5px;
    color: #666;
}

/* MOBILE CLEAN */
@media(max-width:900px) {
    .committee-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .committee-container {
        grid-template-columns: 1fr;
    }

    .committee-hero h1 {
        font-size: 30px;
    }
}

.committee-card img {
    width: 100% !important;
    height: 280px !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #f5f7fb !important;
    padding: 12px !important;

    display: block !important;
}

/* =========================
   SOCIAL ICON LINKS FIX
========================= */

.social-icons a {
    color: var(--text-white);
    text-decoration: none;
    display: inline-block;
}

.social-icons a i {
    margin: 0 15px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.social-icons a:hover i {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Remove old direct i selector to avoid conflict */
.social-icons>i {
    margin: 0 15px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

/* =========================
   FEATURE BOX (About page)
========================= */

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: #eef2ff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================
   IMAGE EXPERIENCE BADGE
========================= */

.about-image {
    position: relative;
}

.image-experience {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.image-experience h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.image-experience p {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-experience {
        right: 10px;
        bottom: 10px;
        padding: 14px 18px;
    }

    .image-experience h3 {
        font-size: 1.5rem;
    }
}

/* =========================
   FACILITIES (RE-DESIGNED)
========================= */

.facilities {
    padding: var(--space-xl) 8%;
    background: var(--bg-main);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 15px 0;
    color: var(--text-main);
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: auto;
}

.facility-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.facility-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1.5px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Colored Top Borders */
.facility-card.border-red {
    border-top: 5px solid #ff4d4d;
}

.facility-card.border-blue {
    border-top: 5px solid #2f5bea;
}

.facility-card.border-green {
    border-top: 5px solid #00c853;
}

.facility-card.border-orange {
    border-top: 5px solid #ffa726;
}

.facility-card.border-purple {
    border-top: 5px solid #7e57c2;
}

.facility-card.border-cyan {
    border-top: 5px solid #26c6da;
}

.facility-card .icon-box {
    width: 80px;
    height: 80px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: var(--transition);
}

.facility-card:hover .icon-box {
    transform: scale(1.1);
}

.facility-card .icon-box i {
    font-size: 32px;
    color: var(--primary-color);
    margin: 0;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.facility-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--text-main);
    font-weight: 700;
}

.facility-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
    color: white;
}

.whatsapp-float i {
    font-size: 24px !important;
    color: white !important;
}

@media (max-width: 600px) {
    .whatsapp-float {
        padding: 10px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* =========================
   VIDEO SHOWCASE
========================= */

.video-showcase {
    max-width: 1000px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-header {
    height: 40px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.video-address-bar {
    flex: 1;
    height: 24px;
    background: #fff;
    border-radius: 4px;
    margin: 0 20px;
    border: 1px solid #e9ecef;
}

.video-content {
    position: relative;
    background: #000;
}

.video-content video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* For smaller screens, simplify the frame */
@media (max-width: 768px) {
    .video-showcase {
        margin: 40px 20px;
        border-radius: 8px;
    }

    .video-header {
        height: 30px;
    }

    .video-address-bar {
        display: none;
    }
}