@charset "UTF-8";
/* CSS Document */
:root {
    --maroon: #800000;
    --saffron: #FF9933;
    --gold: #D4AF37;
    --off-white: #fffaf0;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: #333;
    line-height: 1.8;
}

.container { max-width: 1200px; margin: auto; padding: 0 20px; }

.about-header {
    text-align: center;
    padding: 60px 0;
}

.om-symbol {
    font-size: 3rem;
    color: var(--saffron);
    display: block;
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--maroon);
}

/* --- GRID LAYOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h3 {
    font-family: 'Playfair Display', serif;
    color: var(--maroon);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.analysis-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--saffron);
}

.analysis-box h4 { color: var(--maroon); margin-bottom: 15px; }

.analysis-box ul { list-style: none; }
.analysis-box li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.analysis-box i { color: var(--saffron); }

/* --- GALLERY DESIGN --- */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: sepia(20%);
    transition: 0.4s;
}

.gallery-item:hover img {
    filter: sepia(0%);
    transform: scale(1.02);
}

.gallery-item.large { grid-row: span 2; height: 450px; }
.gallery-item.small { height: 217px; }
.gallery-item.wide { grid-column: span 2; height: 200px; }

/* --- MISSION SECTION --- */
.mission-section {
    padding: 80px 0;
    text-align: center;
}

.mission-card {
    background: var(--maroon);
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mission-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--saffron);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-header h1 { font-size: 2.2rem; }
}
/* --- NAVIGATION SYNC --- */
.top-nav {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.logo-img { width: 50px; }
.logo-text h1 { color: var(--maroon); font-size: 1.4rem; margin: 0; }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    text-decoration: none;
    color: var(--maroon);
    font-weight: 600;
    margin-left: 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav-links li a.active { color: var(--saffron); border-bottom: 2px solid var(--saffron); }

/* --- LINEAGE TIMELINE --- */
.lineage-section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--maroon);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.timeline {
    max-width: 800px;
    margin: auto;
    border-left: 3px solid var(--gold);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--saffron);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--saffron);
}

.timeline-content h4 {
    font-family: 'Playfair Display', serif;
    color: var(--maroon);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
}
/* --- NAVIGATION & HEADER RESPONSIVENESS --- */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.menu-toggle {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--maroon);
    border-radius: 2px;
}

/* --- MOBILE MENU LOGIC --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: -100vh; /* Off-screen */
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 0;
        transition: 0.4s ease-in-out;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        top: 70px; /* Slide down into view */
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* --- PAGE CONTENT RESPONSIVENESS --- */
    .about-grid {
        grid-template-columns: 1fr; /* Stack text and gallery */
        gap: 30px;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    /* Gallery Adjustment for Mobile */
    .about-gallery {
        grid-template-columns: 1fr 1fr; /* 2 columns on mobile instead of 4 grid spaces */
    }

    .gallery-item.large, 
    .gallery-item.wide {
        grid-row: span 1;
        grid-column: span 2;
        height: 300px;
    }

    .gallery-item.small {
        height: 150px;
    }

    .timeline {
        padding-left: 20px;
    }

    .mission-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-gallery {
        grid-template-columns: 1fr; /* 1 column on very small phones */
    }
    .gallery-item.small, .gallery-item.large, .gallery-item.wide {
        grid-column: span 1;
        height: 250px;
    }
}