/* /css/about.css */

/* ==========================================================================
   Hero Section (Matching Contact Page Layout)
   ========================================================================== */
.about-hero {
    background-color: var(--deep-navy);
    color: var(--ivory);
    margin-top: 65px;
    /* Start below navbar */
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, rgba(13, 27, 62, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.about-hero-image img,
.about-hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.about-hero-image iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
    box-shadow: 0 15px 50px rgba(201, 168, 76, 0.15); /* Subtle gold shadow to be visible on black */
}

.about-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}

.about-hero-content {
    max-width: 550px;
    pointer-events: auto;
}

.hero-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.about-hero h1 {
    color: var(--ivory);
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--sovereign-gold);
}

.hero-sub {
    color: var(--sovereign-gold);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-hero p {
    color: rgba(250, 247, 242, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .about-hero {
        flex-direction: column-reverse;
        padding: 4rem 2rem 0;
        text-align: center;
        min-height: auto;
    }

    .about-hero-container {
        margin-bottom: 0;
    }

    .about-hero h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-hero-content {
        margin: 0 auto;
    }

    .about-hero-image {
        position: relative;
        width: 100%;
        height: 300px;
    }
}

/* ==========================================================================
   Shared Typography & Layout for About Sections
   ========================================================================== */
.about-section {
    padding: 5rem 4rem;
    background-color: var(--ivory);
}

.about-section.bg-white {
    background-color: #ffffff;
}

.about-section.bg-navy {
    background-color: var(--deep-navy);
    color: var(--ivory);
}

.section-container {
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-eyebrow {
    color: var(--sovereign-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--deep-navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.bg-navy .section-header h2 {
    color: var(--ivory);
}

.section-header p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.bg-navy .section-header p {
    color: rgba(250, 247, 242, 0.8);
}

/* ==========================================================================
   Origin Section
   ========================================================================== */
.origin-section {
    /* Padding inherited from .about-section */
}

.origin-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.origin-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: block;
}

.origin-text h2 {
    font-size: 2.5rem;
    color: var(--deep-navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.origin-text p {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

.origin-text .highlight-text {
    color: var(--sovereign-gold);
    font-weight: 500;
    font-size: 1.2rem;
}

.origin-card {
    display: flex;
    flex-direction: row;
    border-radius: 6px;
    /* matching home card */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.origin-card-image {
    width: 50%;
    position: relative;
}

.origin-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.origin-slider-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.origin-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.origin-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.origin-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.origin-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.05);
}

.origin-prev {
    left: 1rem;
}

.origin-next {
    right: 1rem;
}

.origin-card-content {
    width: 50%;
    background-color: var(--deep-navy);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.origin-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-icon {
    color: var(--sovereign-gold);
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1rem;
}

.feature-text h4 {
    color: var(--sovereign-gold);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Our Expert Team Section
   ========================================================================== */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.team-card {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 4rem;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    /* User requested */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.team-card.reversed {
    grid-template-columns: 6fr 4fr;
}

.team-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.team-card.reversed .team-image {
    order: 2;
}

.team-card.reversed .team-info {
    order: 1;
    padding-left: 4rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 3rem 4rem 3rem 0;
}

.team-info h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--sovereign-gold);
    margin-bottom: 0.5rem;
    font-family: 'Helvetica', sans-serif;
}

.team-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.team-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.team-credentials {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.team-credentials li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #444;
    font-size: 1rem;
}

.team-credentials li::before {
    content: '•';
    color: var(--sovereign-gold);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* ==========================================================================
   Technology Section
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tech-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 400px;
}

.tech-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-card:hover img {
    transform: scale(1.05);
}

.tech-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 62, 0.9) 0%, rgba(13, 27, 62, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.tech-overlay h3 {
    font-size: 1.8rem;
    color: var(--sovereign-gold);
    margin-bottom: 0.5rem;
    font-family: 'Helvetica', sans-serif;
}

.tech-overlay p {
    color: var(--ivory);
    font-size: 1rem;
    line-height: 1.5;
}

/* ==========================================================================
   Our Belief Section
   ========================================================================== */
.belief-section {
    background-color: var(--deep-navy);
    padding: 5rem 0 5rem 5rem;
    /* No right padding to allow cards to bleed */
    overflow: hidden;
}

.belief-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.belief-header {
    flex: 0 0 350px;
}

.belief-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: block;
}

.belief-header h2 {
    color: var(--ivory);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.belief-header p {
    color: #b0b8c6;
    /* Soft light blue/grey for readability on deep navy */
    font-size: 1rem;
    line-height: 1.6;
}

.belief-track-container {
    flex: 1;
    overflow: hidden;
}

.belief-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    user-select: none;
    /* Prevent text selection during drag */
}

.belief-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.belief-card {
    flex: 0 0 400px;
    height: 250px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.belief-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Prevent native image drag */
}

.belief-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Reduced opacity of gradient */
    background: linear-gradient(to right, rgba(13, 27, 62, 0.7), rgba(13, 27, 62, 0.15));
}

.belief-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.belief-card-content h3 {
    color: var(--ivory);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--sovereign-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
    align-self: flex-start;
}

.belief-card-content p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.5;
}

/* ==========================================================================
   The Art & Science Section
   ========================================================================== */
.science-section {
    background-color: var(--ivory);
    padding: 5rem 4rem;
}

.science-container {
    display: flex;
    align-items: center;
}

.science-header {
    flex: 0 0 450px;
}

.science-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: block;
}

.science-header h2 {
    color: var(--deep-navy);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.science-header p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.science-diagram-wrapper {
    flex: 1;
    overflow-x: auto;
    padding: 2rem 0;
}

.science-diagram {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 800px;
    padding-top: 40px;
}

.diagram-line {
    position: absolute;
    top: 65px;
    /* 40px padding + 25px (half of 50px icon) */
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--sovereign-gold);
    z-index: 1;
    opacity: 0.5;
}

.diagram-node {
    position: relative;
    z-index: 2;
    text-align: center;
    background: transparent;
    flex: 1;
}

.node-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--sovereign-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    background: var(--ivory);
    color: var(--sovereign-gold);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.node-icon:hover {
    transform: scale(1.15);
    background: var(--sovereign-gold);
    color: var(--ivory);
    box-shadow: 0 4px 15px rgba(181, 142, 68, 0.4);
}

.diagram-node h4 {
    color: var(--deep-navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.diagram-node p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.diagram-center-img {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -50px;
    /* Adjust so the vertical center aligns with the line */
}

.diagram-center-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {

    .belief-container,
    .science-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .belief-header,
    .science-header {
        flex: auto;
    }

    .origin-grid {
        grid-template-columns: 1fr;
    }

    .origin-card {
        flex-direction: column;
    }

    .origin-card-image,
    .origin-card-content {
        width: 100%;
    }

    .origin-card-image {
        height: 300px;
    }

    .team-card,
    .team-card.reversed {
        grid-template-columns: 1fr;
    }

    .team-image,
    .team-card.reversed .team-image {
        min-height: 400px;
        order: 1;
        /* Image always on top on mobile */
    }

    .team-info,
    .team-card.reversed .team-info {
        order: 2;
        padding: 2rem 2rem 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1rem;
    }

    .belief-section {
        padding: 4rem 0 4rem 1rem;
    }

    .science-diagram-wrapper {
        padding: 2rem 0rem 0rem;
        overflow-x: hidden;
    }

    .science-diagram {
        min-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
        padding-top: 0;
    }

    .diagram-line {
        display: none;
    }

    .diagram-center-img {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }

    .diagram-node:nth-child(2)::after,
    .diagram-node:nth-child(5)::after {
        content: '';
        position: absolute;
        top: 25px;
        /* Centers the line with the 50px icon */
        left: 50%;
        width: calc(100% + 1rem);
        /* Spans to the center of the next node */
        height: 1px;
        background-color: var(--sovereign-gold);
        z-index: -1;
        opacity: 0.5;
    }

    .legacy-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
   Core Team Section
   ========================================================================== */
.core-team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 4rem;
}

.core-team-section.midnight-blue {
    background-color: var(--deep-navy);
    color: #fff;
}

.core-team-header {
    margin-bottom: 4rem;
    text-align: center;
}

.core-team-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.core-team-marquee {
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 10;
}

.core-team-track-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 1rem;
}

.core-team-track-wrapper::-webkit-scrollbar {
    display: none;
}

.core-team-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    margin: 0 auto;
}

.core-team-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--sovereign-gold);
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.core-team-btn.prev {
    left: 20px;
}

.core-team-btn.next {
    right: 20px;
}

.core-team-track .core-team-card {
    width: 250px;
    flex-shrink: 0;
}

.core-team-card {
    background-color: transparent;
    border: none;
    text-align: center;
}

.core-team-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 150px 150px 0 0;
    margin-bottom: 1.5rem;
}

.core-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.core-team-card:hover .core-team-img img {
    transform: scale(1.08);
}

.core-team-info {
    padding: 0;
    text-align: center;
}

.core-team-info h3 {
    color: var(--ivory);
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.core-team-info p {
    color: var(--sovereign-gold);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.core-team-info .core-team-expertise {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.4rem;
}


.view-all-members-wrap {
    margin-top: 4rem;
    text-align: center;
}

.view-all-members-wrap .core-team-btn {
    background-color: var(--sovereign-gold);
    color: var(--deep-navy);
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600 !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.view-all-members-wrap .core-team-btn:hover {
    background-color: #dcb858;
    color: var(--deep-navy);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {}

@media (max-width: 600px) {
    .core-team-container {
        padding: 4rem 1.5rem;
    }

    .core-team-header h2 {
        font-size: 2.2rem;
    }

    .core-team-track .core-team-card {
        width: 200px;
    }

    .view-all-members-wrap {
        margin-top: 3rem;
    }

    .core-team-info h3 {
        font-size: 1rem;
    }

    .core-team-info p {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Standards Section
   ========================================================================== */
.standards-section {
    background-color: var(--ivory);
    padding: 5rem 4rem;
    /* Symmetrical padding */
    overflow: hidden;
}

.standards-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.standards-header {
    flex: 0 0 450px;
    padding-right: 1rem;
}

.standards-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: block;
}

.standards-header h2 {
    color: var(--deep-navy);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.standards-header p {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.standards-track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    padding: 1rem 0;
}

.standards-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.standard-card {
    flex: 0 0 240px;
    padding: 0 2rem;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.standard-card:last-child {
    border-right: none;
}

.standard-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--sovereign-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--sovereign-gold);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.standard-card:hover .standard-icon {
    transform: scale(1.15);
    background: var(--sovereign-gold);
    color: var(--ivory);
    box-shadow: 0 4px 15px rgba(181, 142, 68, 0.4);
}

.standard-icon i {
    width: 20px;
    height: 20px;
}

.standard-card h4 {
    color: var(--deep-navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.standard-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .standards-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }

    .standards-header {
        flex: none;
        width: 100%;
        /* padding: 4rem 1.5rem 2rem 1.5rem; */
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .standards-track {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Global Perspective Section
   ========================================================================== */
.global-perspective-section {
    background-color: #ffffff;
    padding: 5rem 4rem;
}

.global-perspective-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
}

.feature-content {
    max-width: 500px;
}

.feature-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    display: block;
}

.feature-content h2 {
    color: var(--deep-navy);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.feature-divider {
    width: 50px;
    height: 1px;
    background-color: var(--sovereign-gold);
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.feature-map {
    text-align: center;
}

.feature-map img {
    width: 100%;
    max-width: 700px;
    max-height: 400px;
    height: auto;
    object-fit: cover;
}

.feature-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-img {
    position: relative;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-img:hover img {
    transform: scale(1.05);
}

@media (max-width: 1280px) {
    .science-header {
        flex: 0 0 350px;
    }

    .standards-header {
        flex: 0 0 380px;
    }

    .standard-card {
        flex: 0 0 198px;
        padding: 0 0rem;
    }
}

@media (max-width: 1024px) {
    .global-perspective-section {
        padding: 4rem 1.5rem;
    }

    .global-perspective-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {

    /* Match Contact Page Hero */
    .about-hero {
        padding: 4rem 1rem;
    }

    .about-hero h1 {
        font-size: 2.2rem !important;
    }

    .section-header h2,
    .origin-text h2,
    .team-info h3,
    .belief-header h2,
    .science-header h2,
    .core-team-header h2,
    .standards-header h2,
    .feature-content h2 {
        font-size: 1.8rem !important;
    }

    /* Update other containers' padding for mobile */
    .core-team-container,
    .standards-section,
    .global-perspective-section {
        padding: 4rem 1rem;
    }

    .belief-section {
        padding: 4rem 0rem;
    }

    .belief-container {
        padding: 0;
        gap: 0;
    }

    .belief-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .belief-track {
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
    }

    .belief-card {
        flex: 0 0 85%;
        height: 220px;
        scroll-snap-align: center;
    }

    .standards-header {
        flex: 0 0 auto;
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
        border-bottom: none;
    }

    .standards-track {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    .standard-card {
        width: 100%;
        padding: 1rem 0;
        border: none;
        text-align: center;
    }

    .global-perspective-container {
        gap: 2rem;
    }

    .feature-slider-container {
        max-height: 350px;
    }

    .feature-map img {
        max-height: 250px;
    }

    .origin-card-content {
        padding: 2.5rem 1rem;
    }
}