:root {
    /* Brand Colors */
    --sdm-navy: #1A2B4C;
    --sdm-red: #C8102E;
    --sdm-white: #FFFFFF;
    --sdm-pink: #FDF2F4;
    --sdm-blue: #F0F4F8;
    --sdm-light: #F9FAFB;
    
    /* Typography */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Radii */
    --radius-pill: 100px;
    --radius-organic: 40px 120px 40px 120px;
    --radius-large: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--sdm-navy);
    background-color: var(--sdm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

h1 { font-size: clamp(3rem, 5vw, 5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); }

/* Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--sdm-white);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    z-index: 1000;
}

/* Organic Sections */
.organic-section-red {
    background-color: var(--sdm-red);
    color: var(--sdm-white);
    border-radius: 80px 80px 0 0;
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

.pill-shape {
    background: var(--sdm-pink);
    border-radius: var(--radius-pill);
    padding: 1rem 3rem;
    display: inline-flex;
    align-items: center;
}
/* --- Enhanced Sticky Navigation --- */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--sdm-white);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* State when user scrolls down */
.floating-nav.scrolled {
    top: 1rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.menu-trigger {
    background: var(--sdm-red);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.menu-trigger:hover {
    background: #a30d25; /* Darker red */
    transform: scale(1.05);
}

/* --- Full-Screen Overlay Navigation --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--sdm-navy);
    color: var(--sdm-white);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
    overflow-y: auto;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-inner {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}

.logo-white {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-menu {
    background: transparent;
    color: var(--sdm-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-menu:hover {
    background: var(--sdm-white);
    color: var(--sdm-navy);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    flex-grow: 1;
}

/* Menu Links Typography */
.overlay-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Menu Links Typography */
.overlay-nav a {
    font-family: var(--font-heading);
    /* Reduced font size using fluid typography */
    font-size: clamp(1.8rem, 3vw, 2.8rem); 
    color: var(--sdm-white);
    text-decoration: none;
    line-height: 1.1;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.overlay-nav a:hover {
    opacity: 1;
    transform: translateX(20px);
}

/* Menu CTA Side */
.overlay-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem;
    border-radius: var(--radius-large);
}

.overlay-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.overlay-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.overlay-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--sdm-red);
    color: var(--sdm-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-primary:hover { background: #a30d25; }

.btn-secondary {
    background: transparent;
    color: var(--sdm-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: 1px solid var(--sdm-white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--sdm-white);
    color: var(--sdm-navy);
}

.overlay-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for Mobile Menu */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .overlay-info {
        padding: 2rem;
    }
}
/* --- Accordion Section --- */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--sdm-navy);
    transition: color 0.3s ease;
}

.accordion-trigger:hover .accordion-title {
    color: var(--sdm-red);
}

/* Accordion Content Animation using CSS Grid */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
    overflow: hidden;
}

.accordion-content-inner p {
    padding-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 90%;
}

/* Active State Styles */
.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-item.active .accordion-title {
    color: var(--sdm-red);
}

/* Icon Animation */
.accordion-icon svg {
    transition: transform 0.4s ease;
}

.accordion-icon .vertical-line {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center;
}

.accordion-item.active .accordion-icon .vertical-line {
    transform: rotate(90deg);
    opacity: 0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .different-section div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
/* --- Explore This Section (Secondary Nav) --- */
.explore-nav-wrapper {
    position: sticky;
    top: 90px; /* Clears the main floating nav */
    background-color: #ffffff; /* Solid background prevents overlap */
    z-index: 900;
    padding: 2rem 5% 1rem;
    margin-top: 2rem;
}

.explore-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-nav-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.explore-nav-divider {
    width: 100%;
    height: 1px;
    background-color: #222; /* Dark line matching the reference */
    margin-bottom: 1.5rem;
}

.explore-nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Force override of default blue links */
.explore-nav-links a {
    text-decoration: none !important;
    color: #444 !important; 
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

.explore-nav-links a:hover,
.explore-nav-links a.active {
    color: var(--sdm-red) !important;
}

/* Red underline for active state */
.explore-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sdm-red);
    transition: width 0.3s ease;
}

.explore-nav-links a.active::after {
    width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .explore-nav-links {
        justify-content: flex-start;
        gap: 1.5rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
}
/* --- Core Values Marquee Section --- */
.values-section {
    padding: 6rem 0;
    background-color: var(--sdm-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.marquee-container {
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Soften the edges so it fades in/out */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem; /* Matches the gap for seamless looping */
    width: max-content;
}

/* Animations */
.track-left {
    animation: scroll-left 40s linear infinite;
}

.track-right {
    /* Start offset so they don't look perfectly aligned */
    transform: translateX(-50%);
    animation: scroll-right 40s linear infinite;
}

/* Pause on hover for better readability */
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* --- Item Styling (Pills, Shapes, and Portraits) --- */
.value-item {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--sdm-navy);
    padding: 1.5rem 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

/* Colors */
.bg-pink { background-color: #FFF0F2; } /* Soft pastel pink */
.bg-blue { background-color: #EEF4FF; } /* Soft pastel blue */

/* Organic Shapes */
.shape-pill {
    border-radius: 100px;
}

.shape-point-left {
    border-radius: 100px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 100px;
}

.shape-point-right {
    border-radius: 100px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 100px;
}

.shape-triangle-right {
    border-radius: 10px 100px 100px 10px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    padding: 2.5rem 3rem; /* Adjust padding for clipped shape */
}

/* Portraits */
.value-portrait {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--sdm-light);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .value-item {
        font-size: 1.8rem;
        padding: 1.2rem 3rem;
    }
    .value-portrait {
        width: 100px;
        height: 100px;
    }
}
