:root {
    --dark-navy: #00041f;
    --light-bg: #deeafc;
    --nav-height: 100px;
    --logo-width: 350px;
    --white: #ffffff;
    --pstss-teal: #35b7a5;
    --pstss-darkBlue: #001f3f;
    --pstss-line-blue: #004a99;
}


body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f8f9fa;
}

/* ------------------------ Custom Navbar Styles ---------------------- */
.custom-navbar {
    background: white;
    min-height: var(--nav-height);
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo-area {
    background-color: var(--dark-navy);
    font-family: 'Source Sans 3', sans-serif;
    color: white;
    height: var(--nav-height);
    width: var(--logo-width);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    transition: all 0.3s ease;
    padding-right: 40px;
}

.nav-logo-area a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-logo-area img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    display: block;
}

.nav-content-container {
    display: flex;
    width: 100%;
    height: var(--nav-height);
    align-items: center;
    padding-left: var(--logo-width);
}

.navbar-nav {
    width: 100%;
    justify-content: flex-end;
    padding-right: 2rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--pstss-teal) !important;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .nav-logo-area {
        width: 180px;
        padding-right: 20px;
        clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 0% 100%);
    }
    .nav-logo-area img {
        max-width: 90%;
        max-height: 60%;
    }
    .nav-content-container {
        padding-left: 0;
        justify-content: flex-end;
        padding-right: 1rem;
    }
    .navbar-collapse {
        background: white;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-link {
        margin: 10px 0;
        font-size: 1.3rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------------------------------HERO SECTION Start------------------------------ */

/* ===== HERO SECTION ===== */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
            url("../images/main_banner_01.jpeg") center/cover no-repeat;
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1100px;
    width: 95%;
    padding: 20px;
    background: transparent;
}

.hero-content h1 { 
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem; 
}

/* ===== BUTTON STYLE ===== */
.btn { 
    padding: 15px 30px; 
    border-radius: 50px; 
    border: none; 
    cursor: pointer; 
    font-weight: bold; 
    background: var(--pstss-teal); 
    color: white; 
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 1.6rem; 
    }
    .info-cards-grid { 
        grid-template-columns: 1fr; 
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 178, 169, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(0, 178, 169, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 178, 169, 0); }
}

@keyframes shineMove {
    0% { left: -80%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

/* Typography */
.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(80px, 15vw, 150px); /* Yahan size bada kiya gaya hai */
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 25px;
    letter-spacing: -3px;
    animation: fadeInUp 1s ease forwards;
}

/* Fixed styling for typing container to prevent jumping */
.typing-container {
    display: inline-block;
    min-height: 1em;
    vertical-align: bottom;
}

#typing-text {
    border-right: 4px solid var(--pstss-teal);
    padding-right: 5px;
    display: inline;
}

.hero-content h1 span.subtitle {
    color: var(--pstss-teal);
    padding: 0 15px;
    display: inline-block;
    font-weight: 1000;
    margin-top: 15px;
    white-space: nowrap;
    letter-spacing: 1px;
    font-size: clamp(45px, 6vw, 85px);
    text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
@media (max-width: 576px) {
    .hero-content h1 span.subtitle {
        font-size: 32px;
        padding: 0 8px;
        white-space: normal; /* text wrap allow */
        text-align: center;
        line-height: 1.2;
    }
}
@media (min-width: 577px) and (max-width: 991px) {
    .hero-content h1 span.subtitle {
        font-size: 42px;
        padding: 0 12px;
        white-space: normal;
    }
}


.hero-content p {
    margin: 30px auto;
    color: #ffffff;
    max-width: 850px;
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 400;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    padding: 14px 34px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn_shine {
    background: var(--pstss-teal);
    color: #ffffff;
    animation: ctaPulse 2.4s infinite;
}

.btn_shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );
    transform: skewX(-25deg);
    animation: shineMove 3.2s infinite;
}

.btn_shine:hover {
    background: #ffffff;
    color: var(--dark-navy);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.btn.dark {
    background: transparent;
    border: 2px solid #ffffff;
}

.btn.dark a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.btn.dark:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn.dark:hover a {
    color: var(--dark-navy);
}
/* ---------------------------------HERO SECTION End------------------------------ */
/* --------------------- Greetings Section (Responsive Optimized) ---------------------- */
.greetings-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch; /* Height match karne ke liye stretch use kiya */
    overflow: hidden;
    position: relative;
    margin: 80px 0;
    background-color: #f8f9fa;
    flex-wrap: wrap;
}

.greetings-dark-box {
    background-color: #030b2d;
    color: #ffffff;
    flex: 1.2;
    padding: 80px 100px 80px 60px;
    min-height: 650px; /* Height thodi aur badha di gayi hai */
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
    margin-right: -8%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greetings-dark-box h2 {
    font-size: clamp(52px, 5.35vw, 75px);
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Source Sans 3', sans-serif;
}

.greetings-dark-box p {
    font-size: clamp(32px, 2.25vw, 40px);
    line-height: 1.6;
    max-width: 950px;
    opacity: 0.9;
}

.greetings-image-box {
    flex: 1;
    min-height: 650px; /* Text box ke barabar height */
    position: relative;
    z-index: 1;
    background-color: #000; /* Dark background in case image is smaller */
}

.greetings-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensure karta hai ke space fill ho jaye */
    display: block;
}

/* --- Bottom Entrance Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(80px); /* Bottom se start hoga */
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Jab 'active' class add hogi tab upar aayega */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slight delay for the image for a more organic feel */
.reveal-delay {
    transition-delay: 0.2s;
}

/* Mobile Responsiveness for Greetings */
@media (max-width: 991px) {
    .greetings-dark-box {
        flex: none;
        width: 100%;
        margin-right: 0;
        clip-path: none;
        padding: 60px 30px;
        min-height: auto;
        text-align: center;
        align-items: center;
    }

    .greetings-image-box {
        flex: none;
        width: 100%;
        height: 500px; /* Mobile par bhi height thodi badha di */
    }

    .greetings-dark-box p {
        max-width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .greetings-dark-box {
        padding: 60px 80px 60px 40px;
        min-height: 600px;
    }
    .greetings-image-box {
        min-height: 600px;
    }
}
@media (max-width: 576px) {
    .greetings-image-box {
        height: 400px; /* Extra small devices ke liye height adjust */
    }
}
/* ----------------- Greetings Section End ----------------------------- *

/* ------------------------------ Our mission or vision Section start ----------------------- */


/* ================= Section ================= */
.mission-vision-wrapper {
    padding: 20px 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Containers */
.mission-container-left,
.vision-container-right {
    display: flex;
    width: 85%;
    min-height: 420px;
    align-items: stretch;
    opacity: 0;
}

/* Positioning */
.mission-container-left {
    margin-right: auto;
}

.vision-container-right {
    margin-left: auto;
    flex-direction: row-reverse;
}

/* ================= Text ================= */
.mission-text-box,
.vision-text-box {
    flex: 2;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.mission-text-box {
    background-color: var(--pstss-teal);
}

.vision-text-box {
    background-color: var(--dark-navy);
}

/* ================= Images ================= */
.mission-image-container,
.vision-image-container {
    flex: 1;
    min-width: 300px;
}

.mission-image-container img,
.vision-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= Animations ================= */
.animate-left {
    animation: slideInLeft 1.3s ease-out forwards;
}

.animate-right {
    animation: slideInRight 1.3s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
    .mission-container-left,
    .vision-container-right {
        width: 95%;
    }

    .mission-text-box,
    .vision-text-box {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .mission-container-left,
    .vision-container-right {
        flex-direction: column;
        width: 100%;
    }

    .vision-container-right {
        flex-direction: column;
    }

    .mission-image-container,
    .vision-image-container {
        height: 250px;
    }

    .mission-text-box,
    .vision-text-box {
        text-align: center;
        padding: 35px 25px;
    }
}
/* ------------------------------ Our mission or vision Section End ----------------------- */


/* ------------------------------ Team Section ----------------------- */
.team-section {
    padding: 20px 0;
    overflow: hidden;
}

.team-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 3rem;
}

/* Horizontal Slider Container */
.team-slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.team-slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 40px;
    padding: 0 50%; 
    align-items: center;
    will-change: transform;
}

/* Individual Card Styling */
.team-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    width: 320px;
    border: 1.5px solid var(--pstss-teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    opacity: 0.5;
    position: relative;
    overflow: hidden;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    pointer-events: none;
}

.team-card .color-bar {
    height: 4px;
    background-color: var(--pstss-teal);
    margin: 15px -15px 0 -15px;

}

.team-card .info {
    padding: 1.5rem 0 0 0;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0; /* Default hidden */
    max-height: 0;
    overflow: hidden;
}

.team-card h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.team-card p {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

/* Active Card (Center) - Default Show Info */
.team-card.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
    border: 3px solid var(--pstss-teal);
    box-shadow: 0 20px 40px rgba(43, 105, 232, 0.25);
}

.team-card.active .info {
    opacity: 1;
    max-height: 150px;
    padding-top: 1.5rem;
}

.team-card.active .color-bar {
    background-color: var(--pstss-teal);
    height: 6px;
}

/* Clicked state: Info hide, Image grow */
.team-card.clicked {
    transform: scale(1.3) !important;
    z-index: 100;
}

.team-card.clicked img {
    height: 450px;
}

.team-card.clicked .info,
.team-card.clicked .color-bar {
    opacity: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .team-card {
        width: 260px;
    }
    .team-card.active {
        transform: scale(1.05);
    }
    .team-card.clicked {
        transform: scale(1.15) !important;
    }
}

/* Indicators (Lines) */
.team-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    height: 6px;
    width: 30px;
    background-color: var(--dark-navy);
    border-radius: 10px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--pstss-teal);
    width: 60px;
    opacity: 1;
}

/* ------------------------------ Team Section End ----------------------- */


/* ----------------------- Events Section -------------------------- */


.section--events { 
    padding: 80px 0; 
    background-color: var(--white); 
}

.section-title { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--dark-navy); 
}

.section-text { 
    color: var(--text-muted); 
    line-height: 1.6;
    text-align: justify;
}

/* --- Event List Styling --- */
.event-list { 
    list-style: none; 
    padding: 0; 
    margin-top: 2rem; 
}

.event-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.event-item:hover { 
    transform: translateX(10px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    border-color: var(--pstss-teal); 
}

.event-badge {
    background: var(--dark-navy);
    color: var(--white);
    padding: 10px;
    border-radius: 1rem;
    text-align: center;
    min-width: 65px;
    margin-right: 20px;
}

.event-badge__month { 
    font-size: 10px; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: white;
}

.event-badge__day { 
    font-size: 20px; 
    font-weight: 800; 
    line-height: 1; 
    color: white; 
}

.event-body { 
    flex: 1;
    padding-left: 5px;
}

.event-title { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin: 0; 
    color: var(--pstss-teal); 
}

.event-meta { 
    font-size: 13px; 
    color: var(--text-muted); 
    margin: 5px 0 0; 
}

.event-arrow { 
    margin-left: auto; 
    color: var(--pstss-teal); 
    opacity: 0.5; 
}

/* --- Image Wrapper & Overlay --- */
.events-image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2.5rem;
}

.image-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 4, 31, 0.95), transparent);
    color: var(--white);
    padding: 60px 30px 30px;
    z-index: 5;
    pointer-events: none;
}

.event-time-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.event-time-info .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--dark-navy) !important;
}

.image-title-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.events-image {
    height: 450px;
    margin: 0;
}

.events-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 5px solid var(--white);
    border-radius: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .events-image { height: 300px; }
    .image-title-overlay h4 { font-size: 1rem; }
}

/* Modal Styles - Hidden by default */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    display: none; /* Default hidden */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.4s ease;
}

/* Show class for JS */
.modal-overlay.active { display: flex; }

.modal-content-box {
    background: var(--white);
    border-radius: 2.5rem;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    width: 95%;
    margin: 20px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(1) translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.close-modal-btn:hover { 
    background: white;
    color: var(--dark-navy);
    transform: rotate(90deg);
}

.modal-header {
    background: var(--dark-navy);
    padding: 40px 20px 30px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: var(--pstss-teal);
    opacity: 0.2;
    border-radius: 50%;
    margin-right: -64px;
    margin-top: -64px;
}

.modal-header p.subtitle { 
    color: var(--pstss-teal); 
    font-weight: 800; 
    letter-spacing: 0.25em; 
    text-transform: uppercase; 
    font-size: 13px; 
    margin-bottom: 12px;
}

.modal-header h1 { 
    font-size: clamp(1.5rem, 4vw, 2.4rem); 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: white;
    line-height: 1.2;
}

.modal-header p.management-text { 
    font-size: 1.1rem; 
    opacity: 0.9; 
    font-weight: 600; 
    font-style: italic;
    color: white;
}

.modal-body { padding: 40px 20px; background-color: var(--white); }

.organizer-info { text-align: center; margin-bottom: 40px; }
.organizer-info p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: bold; letter-spacing: 0.1em; }
.organizer-info h3 { font-size: 1.5rem; font-weight: bold; color: var(--dark-navy); margin: 10px 0; }
.organizer-info .collab { font-size: 1rem; color: var(--pstss-teal); font-weight: 600; }

.divider-container { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.divider-line { height: 1px; flex: 1; background: #f1f5f9; }
.divider-text { color: var(--pstss-teal); font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; font-size: 16px; }

.speakers-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-bottom: 40px; 
    justify-content: center; 
}

.speaker-card { 
    text-align: center; 
    width: 140px; 
}

.speaker-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pstss-teal);
    padding: 3px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}
.speaker-card:hover .speaker-img { transform: scale(1.1); }
.speaker-card h5 { font-size: 13px; font-weight: 800; margin-bottom: 4px; color: var(--dark-navy); }
.speaker-card p { font-size: 11px; color: var(--text-muted); }

.info-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 16px; }
.info-card { padding: 24px; border-radius: 1.5rem; text-align: center; border: 1px solid; transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-5px); }

.card-blue { background: #f0f9ff; border-color: #bae6fd; color: #0369a1; }
.card-teal { background: #f0fdfa; border-color: #ccfbf1; color: #0d9488; }
.card-amber { background: #fffbeb; border-color: #fef3c7; color: #d97706; }
.card-indigo { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.card-rose { background: #fff1f2; border-color: #fecdd3; color: #be123c; }

.info-card i { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.info-card span { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.info-card p { font-weight: 700; font-size: 15px; }
.info-card a { color: inherit; text-decoration: none; }

.deadline-text { 
    text-align: center; 
    font-size: 14px; 
    font-weight: 700;
    color: var(--dark-navy); 
    text-transform: uppercase; 
    margin-top: 30px;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    padding: 15px;
    border-radius: 12px;
}


.hero-content h1 { font-family: 'Inter', sans-serif; font-weight: 700; color: white; font-size: 3rem; margin-bottom: 2rem; }
.btn { padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer; font-weight: bold; background: var(--pstss-teal); color: white; }

@media (max-width: 768px) {
    .modal-header h1 { font-size: 1.6rem; }
    .info-cards-grid { grid-template-columns: 1fr; }
}
/* ----------------------- End of Events -------------------------- */

/* --- ------------------------Gallery Section ------------------------- */

.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}

.gallery-slider {
    display: flex;
    align-items: center;
    gap: 30px; 
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content; /* Ensure container expands to fit all items */
}

.gallery-item {
    flex: 0 0 280px; 
    height: 250px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); */
    opacity: 0.8;
    /* transform: scale(0.8); */
    /* filter: grayscale(100%) blur(1px); */
}

/* Hamesha Center wali pic zoom rahay gi */
.gallery-item.active {
    flex: 0 0 480px; 
    height: 400px;
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%) blur(0);
    box-shadow: 0 20px 50px rgba(43, 105, 232, 0.3);
    border: 4px solid var(--pstss-teal);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 20;
}

.slider-nav {
    background: var(--dark-navy);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav:hover {
    background: var(--pstss-teal);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(43, 105, 232, 0.4);
}

@media (max-width: 768px) {
    .gallery-item { flex: 0 0 200px; height: 180px; }
    .gallery-item.active { flex: 0 0 300px; height: 300px; }
    .gallery-title { font-size: 1.8rem; }
    .slider-nav { width: 50px; height: 50px; }
}
/* --- ------------------------Gallery Section End ------------------------- */
/* about page */
 /* ================= HERO ================= */
 .hero-section {
    height: 450px;
    background-image:
        linear-gradient(rgba(0, 4, 31, 0.45), rgba(0, 4, 31, 0.55)),
        url("../images/about_banner_01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.break-text {
    display: block;
    color: var(--pstss-teal);

}

/* ================= COMMON ================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-navy);
    text-align: center;
    margin-bottom: 40px;
}

/* ================= ABOUT ================= */
.about-image-frame {
    position: relative;
    padding: 20px;
}

.about-image-frame img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 70%;
    background: var(--light-bg);
    border-radius: 30px;
    z-index: -1;
}

.mission-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.mission-list i {
    color: var(--pstss-teal);
    margin-top: 4px;
}

/* ================= HISTORY ================= */
.history-section {
    padding: 20px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pstss-darkBlue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.history-timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Timeline vertical line */
.timeline-line-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--pstss-teal);
    transform: translateX(-50%);
    z-index: 1;
    display: none;
}

.timeline-block {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

/* --- New Entrance Animation Classes --- */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Center Reveal (Year/Dot) */
.reveal-up { transform: translateY(40px); }

/* Left Reveal (Text) */
.reveal-left { transform: translateX(-80px); }

/* Right Reveal (Image) */
.reveal-right { transform: translateX(80px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.history-year {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--pstss-darkBlue);
    background-color: #ffffff;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background-color: var(--pstss-darkBlue);
    border-radius: 50%;
    margin: 0 auto 30px auto;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--pstss-darkBlue);
}

.history-label {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--pstss-darkBlue);
    margin-bottom: 1rem;
    text-align: center;
}

.history-description {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.history-img-wrapper {
    margin-bottom: 30px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.history-img-wrapper img {
    width: 100%;
    height: 300px;
    display: block;
    transition: transform 0.5s ease;
}

.history-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .timeline-line-track {
        display: block;
    }
    .history-label, .history-description {
        text-align: left;
    }
    .history-text-container {
        padding-left: 40px;
    }
    .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .history-section {
        padding: 60px 20px;
    }
    .history-img-wrapper {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Mobile par side slide ki jagah up slide behtar lagta hai */
    .reveal-left, .reveal-right { transform: translateY(40px); }
}
/* ================= TEAM ================= */
.section--team {
    padding: 100px 0;
}

.team-card_about {
    background: #fff;
    border-radius: 30px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    height: 100%;
    cursor: pointer; /* Clickable indicator */
    font-size: 14px;
}

.team-card_about:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card__img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-weight: 800;
    font-size: 1.4rem;
}

.team-card__role {
    color: var(--pstss-teal);
    font-weight: 700;
}

/* --- TEAM MODAL STYLES --- */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.team-modal-content {
    background: white;
    border-radius: 30px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: 0.3s ease-in-out;
}

.team-modal-overlay.active {
    display: flex;
}

.team-modal-overlay.active .team-modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-preview-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pstss-teal);
    margin-bottom: 20px;
}

.modal-message {
    color: #555;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.6;
    font-size: 1.2rem; /* Size thoda bada kiya gaya */
    font-weight: 500;
}
/* ================= POLICY ================= */
.policy-section {
    padding: 80px 0;
    overflow: hidden; /* Side slide ke liye hidden zaroori hai */
}

.policy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.policy-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
}

.advocacy-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advocacy-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 20px;
    background: #f8f9fa;
}

.advocacy-item i {
    font-size: 1.5rem;
    color: var(--pstss-teal);
}

/* about image hover animation effects */
.animation img:hover {
    transform: scale(1.02);
    transition: transform 0.5s;
}

/* --- Entrance Animation Styles --- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Image left se aayegi */
.reveal-left {
    transform: translateX(-100px);
}

/* Text right se aayega */
.reveal-right {
    transform: translateX(100px);
}

/* Active state jab scroll par trigger ho */
.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991px) {
    .policy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* Mobile par side slide ki jagah up slide behtar lagta hai */
    .reveal-left, .reveal-right {
        transform: translateY(50px);
    }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .nav-logo-area {
        width: 280px;
    }

    .nav-content-container {
        padding-left: 280px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .history-content,
    .policy-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 360px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .break-text {
        display: inline;
    }
}

/* --------------------------- Footer Section --------------------------- */
.footer-section {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-brand a {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -2px;
    color: inherit;       
    text-decoration: none; 
}

.footer-text {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    /* position: relative; */
    padding-bottom: 10px;
    color: white;
}

/* Subtle underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-links {
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    color: white;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--pstss-teal);
    transform: translateX(5px);
}

.footer-contact-info p {
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info i {
    color: var(--white);
    width: 20px;
}

.family-btn-img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.family-btn-img:hover {
    transform: translateY(-5px);
}

.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    color: var(--white);
    font-size: 0.85rem;
}

/* Responsive Fixes */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
        padding-top: 50px;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-brand {
        font-size: 2.8rem;
    }
    .footer-contact-info p {
        justify-content: center;
    }
    .col-md-3 {
        margin-bottom: 40px;
    }
    .border-start-md {
        border-left: none !important;
    }
}

/* --------------------------- Footer Section End--------------------------- */
