﻿/* --- GLOBAL STYLES & SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    color: #07173d;
    font-family: 'Helvetica Neue', sans-serif; /* A standard, clean font */
    font-weight: 300;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.25;
    }

.hero-content h1 {
 /* An elegant heading font */
    font-size: 75px;
    line-height: 0.85;
    text-align: center;
    text-transform: uppercase;
}

.hero-content .line {
    display: block;
    overflow: hidden;
}

.location {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* --- ABOUT SECTION & MARQUEE --- */
.about-section {
    padding: 0 2vw; /* Add some horizontal padding */
}

.marquee {
    width: 100%;
    padding: 2rem 0;
    border-top: 1px solid #07173d;
    border-bottom: 1px solid #07173d;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10vh;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;

    font-size: 3rem;
    letter-spacing: 2px;
}

    .marquee-content span {
        margin: 0 2rem;
    }

@keyframes marquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

.about-content {
    max-width: 65ch; /* Slightly wider for better line length */
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.8;
}

    .about-content p {
        margin-bottom: 2rem;
    }

/* --- VISION & MISSION (HORIZONTAL SCROLL) --- */
.vision-mission-section {
    position: relative;
    overflow: hidden;
}

.pin-container {
    position: relative;
}

.horizontal-scroll-wrapper {
    display: flex;
    width: max-content;
    border-top: 1px solid #07173d;
    border-bottom: 1px solid #07173d;
}

.panel {
    flex: 0 0 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vw;
    width: 100vw;
    height: 100vh;
}

.panel-content h3 {

    font-size: 8rem;
    margin-bottom: 2rem;
    color: #07173d;
}

.panel-content p {
    font-size: 2.25rem;
    line-height: 1.8;
    max-width: 50ch; /* Limit line length for readability */
}

.section-title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 17vw;
    color: rgba(7, 23, 61, 0.08); /* Static color */
    z-index: -1;
    white-space: nowrap;
}

/* --- AFFILIATION SECTION --- */
.affiliation-section {
    padding: 15vh 8vw;
    background: radial-gradient(circle at 10% 20%, rgba(7, 23, 61, 0.1), transparent 30%);
    border-top: 1px solid #07173d;
}

.affiliation-container {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.affiliation-header {
    flex: 1 1 35%;
    position: sticky;
    top: 15vh;
}

.affiliation-section .section-title {

    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1.1;
    text-align: left;
    margin-bottom: 2rem;
}

.section-title-p {
    font-size: 1.6rem;
    line-height: 1.7;
    text-align: left;
    color: #07173d;
    opacity: 0.8;
}

.affiliation-content {
    flex: 1 1 65%;
}

.affiliation-status-badge {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #00aaff, #00aaff 40%, #2a92c7);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.badge-icon {
    font-size: 3rem;
}

.badge-details h4 {

    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.badge-details p {
    font-size: 1.4rem;
    line-height: 1.5;
    opacity: 0.9;
}

.accordion-item {
    border-bottom: 1px solid #07173d;
}

    .accordion-item:first-of-type {
        border-top: 1px solid #07173d;
    }

.accordion-header {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 2rem 1rem;
    font-size: 1.8rem;

    color: #07173d;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: rgba(7, 23, 61, 0.05);
    }

.accordion-icon {
    font-size: 2.2rem;
    color: #07173d;
    margin-right: 1.5rem;
    width: 30px;
}

.accordion-header h3 {
    flex-grow: 1;
    font-size: 1.8rem;
    font-weight: 400;
}

.toggle-icon {
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
}

    .accordion-body p {
        padding: 0 1rem 2rem 4.7rem;
        font-size: 1.5rem;
        line-height: 1.8;
        opacity: 0.8;
    }

.accordion-header.active .toggle-icon {
    transform: rotate(180deg);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

/* --- Section Setup --- */
.messages-section {
    background-color: #ffffff;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

    .section-header .subtitle {
        font-size: 0.9rem;
        color: #60a5fa; /* Blue Accent */
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
    }

    .section-header .title {
        font-size: 2.5rem;
        color: #1e293b; /* Dark Slate */
        margin: 10px 0;
    }

    .section-header .line {
        width: 60px;
        height: 4px;
        background: #60a5fa;
        margin: 0 auto;
        border-radius: 2px;
    }

/* --- Card Layout --- */
.message-column {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.message-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

    /* Alternate Layout (Right side image) */
    .message-card.reverse {
        flex-direction: row-reverse;
    }

/* --- Image Styling --- */
.image-wrapper {
    flex: 1;
    position: relative;
    min-width: 300px;
}

    .image-wrapper img {
        width: 100%;
        height: 400px; /* Fixed height for consistency */
        object-fit: cover;
        object-position: top;
        border-radius: 12px;
        position: relative;
        z-index: 2;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

/* Decorative Border behind image */
.image-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #60a5fa;
    border-radius: 12px;
    z-index: 1;
    transition: transform 0.3s ease;
}

.message-card.reverse .image-border {
    left: auto;
    right: -20px;
}

.message-card:hover .image-border {
    transform: translate(10px, 10px);
}

.message-card.reverse:hover .image-border {
    transform: translate(-10px, 10px);
}

/* --- Content Styling --- */
.content-wrapper {
    flex: 1.5;
    position: relative;
}

/* Big Watermark Icon */
.quote-icon {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 6rem;
    color: #f1f5f9; /* Very light grey */
    z-index: 0;
    pointer-events: none;
}

.message-heading {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.text-content {
    position: relative;
    z-index: 1;
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: justify; /* Clean edges */
}

    .text-content p {
        margin-bottom: 15px;
    }

/* --- Author Signature Area --- */
.author-sign {
    position: relative;
    z-index: 1;
    border-left: 4px solid #60a5fa;
    padding-left: 15px;
}

    .author-sign h4 {
        margin: 0;
        color: #1e293b;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .author-sign span {
        font-size: 0.9rem;
        color: #64748b;
        font-style: italic;
    }

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .message-card,
    .message-card.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .image-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

        .image-wrapper img {
            height: auto;
            aspect-ratio: 1/1; /* Square image on mobile */
        }

    .quote-icon {
        display: none; /* Hide watermark on mobile for cleaner look */
    }

    .image-border {
        display: none; /* Simplify mobile view */
    }

    .text-content {
        text-align: left;
    }
}


/*
==============================================
--- COMPREHENSIVE RESPONSIVE STYLES ---
==============================================
*/

/* --- Tablet & Smaller Desktops --- */
@media (max-width: 992px) {
    /* General Font Size Reduction */
    .about-content {
        font-size: 1.5rem;
    }

    .panel-content h3 {
        font-size: 6rem;
    }

    .panel-content p {
        font-size: 1.8rem;
    }

    /* Affiliation Section Stacking */
    .affiliation-container {
        flex-direction: column;
    }

    .affiliation-header {
        position: static;
        text-align: center;
        margin-bottom: 3rem;
    }

    .affiliation-section .section-title,
    .section-title-p {
        text-align: center;
    }
}

/* --- Mobile Devices --- */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 48px;
    }

    /* Marquee & About */
    .marquee-content {
        font-size: 2rem;
    }

    .about-content {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    /* Vision & Mission */
    .panel {
        padding: 8vw;
    }

    .panel-content h3 {
        font-size: 4rem;
    }

    .panel-content p {
        font-size: 1.4rem;
    }

    .section-title-bg {
        font-size: 12vw;
    }

    /* Affiliation */
    .affiliation-section {
        padding: 10vh 5vw;
    }

    .accordion-header {
        font-size: 1.4rem;
        padding: 1.5rem;
    }

    .accordion-body p {
        font-size: 1.1rem;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .affiliation-header {
        width: 100%;
    }

    .affiliation-section .section-title {
        font-size: 3rem;
    }

    .badge-details h4 {
        font-size: 1.5rem;
    }

    .badge-details p {
        font-size: 1.2rem;
    }
}

/* --- Small Mobile Devices --- */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .location {
        font-size: 0.8rem;
    }

    .marquee-content {
        font-size: 1.5rem;
    }

    .about-content {
        font-size: 1rem;
    }

    .panel-content h3 {
        font-size: 3rem;
    }

    .panel-content p {
        font-size: 1.1rem;
    }
}