/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gray-900: #272727;
    --gray-800: #3a3a3a;
    --gray-700: #4B5563;
    --gray-600: #6B7280;
    --gray-500: #9CA3AF;
    --gray-400: #D1D5DB;
    --gray-300: #E5E7EB;
    --gray-200: #F3F4F6;
    --gray-100: #F9FAFB;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--gray-900);
    color: var(--white);
    z-index: 50;
    border-bottom: 1px solid var(--gray-800);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 160px;
    position: relative;
}

.navbar-left-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: flex-start;
    position: relative;
    top: 0;
}

.navbar-right-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
    position: relative;
    top: 0;
}

.menu-button {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    color: var(--white);
}

.menu-button:hover {
    background-color: var(--gray-800);
}

.menu-icon, .close-icon {
    display: block;
}

.navbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
}

.navbar-links-left {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.navbar-icons-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navbar-icon {
    color: var(--white);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.navbar-icon:hover {
    color: var(--gray-300);
    transform: translateY(-2px);
}

.navbar-link {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-link:hover {
    color: var(--gray-300);
}

.navbar-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-logo-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.navbar-logo-img {
    height: 224px;
    width: auto;
}

.navbar-button {
    border: 2px solid var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-button:hover {
    background-color: var(--white);
    color: var(--gray-900);
}

/* Mobile Menu */
.mobile-menu {
    transition: opacity 0.5s;
    padding-top: 160px;
    position: fixed;
    inset: 0;
    z-index: 9;
    background: #ffffff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 122px 20px 40px;
    justify-content: center; 
}

.mobile-menu-link {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.1;
    transition: color 0.3s;
}

.mobile-menu-link:hover {
    color: var(--gray-600);
}

/* Hero Section */
.hero-section {
    
    padding-top: 160px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--gray-800);
    background-image: url('../images/HeroImage1.webp');
    background-size: cover;
    background-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-background.transitioning::before {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(39, 39, 39, 0.7), rgba(39, 39, 39, 0.5), rgba(39, 39, 39, 0.7));
}

.hero-content {
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1.5rem 4rem 1.5rem;
    padding-top: 8rem;
}

.hero-title {
    font-size: 8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    padding-top: 2rem;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 50rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-button {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    margin-bottom: 2rem;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background-color: var(--white);
    color: var(--gray-900);
}

.hero-bottom {
    margin-top: 0;
}

.hero-secondary {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
    line-height: 1.2;
    margin-bottom: 2rem;
}


/* Hero Dots */
.hero-dots {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-dot.active {
    background-color: var(--white);
}


/* Features Section */
.features-section {
    padding: 6rem 1.5rem;
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--gray-300);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-5px);
    color: var(--gray-900);
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.feature-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 400px;
}

.feature-button {
    position: relative;
    border: 2px solid var(--gray-900);
    color: var(--gray-900);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    min-width: 180px;
}

.feature-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--gray-900);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.feature-button:hover {
    color: var(--white);
}

.feature-button:hover::before {
    width: 300%;
    height: 300%;
}

/* Disable hover for blog button only (coming soon) */
.feature-button[title="Coming Soon"]:hover {
    color: var(--gray-900);
}

.feature-button[title="Coming Soon"]:hover::before {
    width: 0;
    height: 0;
}


/* Mission Section */
.mission-section {
    padding: 6rem 1.5rem;
    background-color: var(--white);
    scroll-margin-top: 180px;
}

.mission-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

.mission-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
}

.mission-text {
    color: var(--gray-600);
    font-size: 1.25rem;
    line-height: 1.75;
    font-weight: 400;
    margin-bottom: 2.5rem;
}


.mission-right {
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    
    
    align-items: flex-start;
}
.mission-button {
    position: relative;
    border: 2px solid var(--gray-900);
    color: var(--gray-900);
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    overflow: hidden;
    transition: color 0.3s;
    z-index: 1;
}

.mission-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--gray-900);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.mission-button:hover {
    color: var(--white);
}

.mission-button:hover::before {
    width: 300%;
    height: 300%;
}

/* Locations Section */
.locations-section {
    padding: 6rem 1.5rem;
    background-color: var(--gray-900);
    color: var(--white);
}

.locations-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    line-height: 1.1;
}

.location-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
}

.location-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.location-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s;
}

.location-image-wrapper:hover .location-image {
    transform: scale(1.05);
}

.location-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39, 39, 39, 0.6), transparent);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-arrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.location-arrow svg {
    color: var(--white);
}

.location-name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
}

.location-address {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
    margin-bottom: 0;
    cursor: pointer;
}

.location-address a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.location-address a:hover {
    color: var(--gray-300);
    transform: translateX(4px);
}

.location-email {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
    margin-bottom: 0;
}

.location-email a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.location-email a:hover {
    color: var(--gray-300);
    transform: translateX(4px);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 1rem;
    transition: color 0.3s;
}

.location-link:hover {
    color: var(--gray-300);
}

.location-link svg {
    transition: transform 0.3s;
}

.location-link:hover svg {
    transform: translateX(0.25rem);
}

/* Story Section */
.story-section {
    padding: 3rem 1.5rem;
    background-color: var(--white);
    text-align: center;
}

.story-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.story-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--white);
}

.story-title-overlay {
    font-size: 2.5rem;
}

.story-button {
    position: relative;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
}

.story-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--white);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.story-button:hover {
    color: var(--gray-900);
}

.story-button:hover::before {
    width: 300%;
    height: 300%;
}

.video-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-thumbnail {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s;
}

.video-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(39, 39, 39, 0.6), rgba(39, 39, 39, 0.7));
}

.story-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.story-content-overlay .location-name {
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 180px;
    width: auto;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 500;
    line-height: 1.75;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-address-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.footer-address-link:hover {
    color: var(--white);
}

.footer-link {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 500;
    display: block;
    transition: color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-link:hover {
    color: var(--white);
}

.footer-qr-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-qr-column .footer-heading {
    text-align: center;
}

.footer-qr-img {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-qr-column a:hover .footer-qr-img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #D1D5DB;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-social-link:hover {
    color: var(--white);
}

/* Show Instagram icon on mobile */
.show-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-content { padding: 42px 20px 40px; gap:15px; }
    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: flex !important;
    }

    .mobile-menu-link {
        font-size: 2rem;
    }

    .feature-title {
        margin-bottom: 2rem;
    }

    /* Mobile navbar layout adjustment */
    .navbar-container {
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        justify-items: center;
        padding: 0 1rem;
        align-items: center;
    }

    .navbar-left-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        top: -20px;
    }

    .navbar-links-left {
        display: none;
    }

    .navbar-right-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        top: -20px;
    }

    .menu-button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-center {
        position: static;
        transform: none;
        margin: 0;
        gap: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Mobile Instagram icon */
    .mobile-instagram {
        align-self: center;
        position: relative;
        padding: 0.75rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-logo-circle {
        width: 200px;
        height: 200px;
    }

    .navbar-logo-img {
        height: 160px;
    }

    /* Mobile Hero Height Fix */
    .hero-background {
        height: 85vh !important;
        min-height: 600px !important;
        max-height: 700px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-secondary {
        font-size: 3rem;
    }

    .mission-grid {
        gap: 2rem;
    }

    .mission-right {
        padding-top: 0.25rem;
    }

    .mission-title,
    .locations-title,
    .story-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .story-title-overlay {
        font-size: 1.75rem;
    }

    .location-name {
        font-size: 2rem;
    }

    .video-thumbnail {
        height: 400px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-column:first-child {
        margin-bottom: -1rem;
    }

    .footer-column:nth-child(2) {
        margin-bottom: -1.5rem;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
    .hero-dots { margin-top: 0; }
}

/* Our Story Page - Mobile Specific Styles */
@media (max-width: 768px) {
    /* Our Story page spacing adjustments */
    .story-hero-section {
        padding: 8rem 1.5rem 5rem 1.5rem;
        min-height: 400px;
        align-items: center;
    }

    .timeline-intro-section {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .timeline-intro-text {
        margin-bottom: 0 !important;
    }

    .timeline-section {
        padding: 0 1.5rem 1.5rem 1.5rem !important;
        margin-top: 0 !important;
        transform: none !important;
    }

    .timeline-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Scrolled/Sticky navbar state for Our Story page */
    body.story-scrolled .navbar-container {
        padding: 0 1rem!important;
        height: auto !important;
        transition: padding 0.3s ease, height 0.3s ease;
    }

    body.story-scrolled .navbar-left-section,
    body.story-scrolled .navbar-right-section {
        top: 0 !important;
        transition: top 0.3s ease;
    }

    body.story-scrolled .menu-button,
    body.story-scrolled .mobile-instagram {
        padding: 0.75rem !important;
        transition: padding 0.3s ease;
    }

    body.story-scrolled .navbar-logo-circle {
        width: 80px !important;
        height: 80px !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    body.story-scrolled .navbar-logo-img {
        height: 64px !important;
        transition: height 0.3s ease;
    }
}

@media (min-width: 769px) {
    .hero-background {
        height: 750px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem;
        position: relative;
    }

    .feature-item {
        padding-bottom: 0;
        border-bottom: none;
        border-right: none;
        position: relative;
    }

    .feature-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -2.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background-color: var(--gray-300);
    }

    .feature-item:last-child {
        border-right: none;
        padding-right: 0;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.8fr 1.01fr 0.2fr 1fr 1fr 1fr;
    }

    .footer-logo-img {
        height: 210px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 12rem;
    }

    .hero-secondary {
        font-size: 8rem;
    }

    .mission-section,
    .locations-section,
    .story-section {
        padding: 8rem 1.5rem;
    }

    .mission-title,
    .locations-title {
        font-size: 4rem;
    }

    .story-title {
        font-size: 4.5rem;
    }

    .location-name {
        font-size: 3rem;
    }
}
/* Our Story Page Styles */
.story-hero-section {
    padding: 14rem 1.5rem 6rem 1.5rem;
    /* background-image is set inline via PHP for each page */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 533px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8rem;
}

.story-hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.05em;
    line-height: 1.2;
    text-transform: none;
}

/* Timeline Intro Section */
.timeline-intro-section {
    padding: 4rem 1.5rem 2rem 1.5rem;
    background-color: var(--white);
    text-align: center;
}

.timeline-intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.timeline-intro-secondary {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.timeline-intro-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Styles */
.timeline-section {
    padding: 12rem 1.5rem 6rem 1.5rem;
    background-color: var(--white);
}

.no-animation {
    opacity: 1 !important;
    transform: none !important;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Center line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--gray-300);
    top: -140px;
}

.timeline-item {
    display: flex;
    margin-bottom: 8rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dots on the center line */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--gray-600);
    z-index: 2;
    top: 0;
}

/* Horizontal connector lines */
.timeline-left::after,
.timeline-right::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: var(--gray-400);
    top: 12px;
    z-index: 1;
}

.timeline-left::after {
    left: 50%;
    width: 45%;
    margin-left: 10px;
}

.timeline-right::after {
    right: 50%;
    width: 45%;
    margin-right: 10px;
}

.timeline-left {
    justify-content: space-between;
}

.timeline-right {
    justify-content: space-between;
}

.timeline-image-wrapper,
.timeline-text-wrapper {
    width: 45%;
}

.timeline-left .timeline-image-wrapper {
    padding-right: 2rem;
}

.timeline-left .timeline-text-wrapper {
    padding-left: 2rem;
}

.timeline-right .timeline-text-wrapper {
    padding-right: 2rem;
    text-align: right;
}

.timeline-right .timeline-image-wrapper {
    padding-left: 2rem;
}

.timeline-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    top: -140px;
}

.timeline-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
}

.timeline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.timeline-text {
    padding: 4rem 0 4rem 0;
}

.timeline-date {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-grade {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-description {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.timeline-description a {
    font-weight: 700;
    color: var(--gray-700);
    text-decoration: none;
}

.timeline-description a:hover {
    color: var(--gray-900);
}

.timeline-purpose,
.timeline-ein {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Video Play Button Overlay */
.timeline-video-trigger {
    cursor: pointer;
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.timeline-video-trigger:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal.hidden {
    display: none;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #272727;
}

.video-modal-content {
    position: relative;
    width: 85%;
    max-width: 1000px;
    max-height: 85vh;
    z-index: 10000;
    padding: 60px 20px 20px 20px;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 10001;
}

.video-modal-close:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.9);
}

.video-modal video {
    width: 100%;
    max-height: calc(85vh - 80px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Story CTA Section */
.story-cta-section {
    padding: 8rem 1.5rem;
    background-color: #232323;
    color: var(--white);
    text-align: center;
}

.story-cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.story-cta-icon {
    color: var(--white);
    margin: 2rem auto;
    display: flex;
    justify-content: center;
}

.story-cta-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-cta-button {
    display: inline-block;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.story-cta-button:hover {
    background-color: var(--white);
    color: var(--gray-900);
}

/* Mobile Responsive for Our Story Timeline */
@media (max-width: 768px) {
    .story-hero-section {
        padding: 10rem 1.5rem 4rem 1.5rem;
        min-height: 400px;
    }

    .story-hero-title {
        font-size: 3rem;
    }

    .timeline-intro-title {
        font-size: 2.5rem;
    }

    .timeline-intro-secondary {
        font-size: 2.5rem;
    }

    /* Centered vertical line */
    .timeline-container::before {
        display: none;
    }

    /* Dots centered on the line, positioned between items */
    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -2rem;
    }

    /* Remove horizontal connector lines on mobile */
    .timeline-left::after,
    .timeline-right::after {
        display: none;
    }

    .timeline-item {
        padding-left: 0;
        flex-direction: column;
        margin-bottom: 5rem;
        align-items: center;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .timeline-item:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .timeline-item:last-child::before {
        display: none;
    }

    .timeline-left,
    .timeline-right {
        justify-content: center;
        flex-direction: column;
    }

    /* Force consistent order on mobile: image first, text second */
    .timeline-left .timeline-image-wrapper,
    .timeline-right .timeline-image-wrapper {
        order: 1;
    }

    .timeline-left .timeline-text-wrapper,
    .timeline-right .timeline-text-wrapper {
        order: 2;
    }

    .timeline-image-wrapper,
    .timeline-text-wrapper {
        width: 90%;
        max-width: 500px;
        padding: 0 !important;
        text-align: center !important;
        position: relative;
        z-index: 1;
        background-color: var(--white);
    }

    .timeline-image-wrapper {
        margin-bottom: 1rem;
    }

    .timeline-image {
        top: 0;
        transform: none !important;
        box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
    }

    .timeline-image:hover {
        transform: none !important;
        box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
    }

    .timeline-image img {
        height: 250px;
    }

    .timeline-text {
        padding: 2rem 0;
    }

    .story-cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .story-hero-title {
        font-size: 4rem;
    }

    .timeline-intro-title {
        font-size: 3.5rem;
    }

    .timeline-intro-secondary {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .story-hero-title {
        font-size: 6rem;
    }

    .timeline-intro-title {
        font-size: 4rem;
    }

    .timeline-intro-secondary {
        font-size: 4rem;
    }

    .timeline-image img {
        height: 350px;
    }
}

/* Contributors Page Styles */
.contributors-intro-section {
    padding: 4rem 1.5rem 1rem 1.5rem;
    background-color: var(--white);
    text-align: center;
}

.contributors-intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.contributors-intro-secondary {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.contributors-intro-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contributors Logo Grid Section */
.contributors-logos-section {
    padding: 3rem 1.5rem 8rem 1.5rem;
    background-color: var(--white);
}

.contributors-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    grid-auto-rows: 1fr; /* Make all rows the same height */
}



/* Responsive styles for contributors page */
@media (max-width: 768px) {
    .contributors-intro-title {
        font-size: 2rem;
    }

    .contributors-intro-secondary {
        font-size: 2rem;
    }

    .contributors-intro-text {
        font-size: 1.125rem;
    }
    
    .contributors-intro-section {
        padding: 3rem 1.5rem 0.5rem 1.5rem; /* Reduced spacing on mobile */
    }

    .contributors-logo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contributor-logo-item {
        padding: 1.5rem;
        min-height: 240px; /* Slightly smaller on mobile but still consistent */
    }

    .contributors-logos-section {
        padding: 2rem 1.5rem 3rem 1.5rem; /* Reduced bottom padding on mobile */
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .contributors-intro-title {
        font-size: 3.5rem;
    }

    .contributors-intro-secondary {
        font-size: 3.5rem;
    }

    .contributors-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contributors-intro-title {
        font-size: 4rem;
    }

    .contributors-intro-secondary {
        font-size: 4rem;
    }

    .contributors-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Contributor logo text styling */
.contributor-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px; /* Fixed minimum height for consistency */
    height: 100%; /* Take full height of grid cell */
}

.contributor-logo-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
}

.contributor-logo-text {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    width: 100%;
}

@media (max-width: 768px) {
    .contributor-logo-text {
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
}

.contributor-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styles */

/* Contact Intro Section */
.contact-intro-section {
    padding: 4rem 1.5rem 1rem 1.5rem;
    background-color: var(--white);
    text-align: center;
}

.contact-intro-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.contact-intro-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Details Section */
.contact-details-section {
    padding: 3rem 1.5rem 6rem 1.5rem;
    background-color: var(--white);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr; /* Make all rows the same height */
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background-color: var(--gray-50);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Take full height of grid cell */
    min-height: 300px; /* Minimum height for consistency */
}

.contact-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--gray-900);
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contact-detail-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-900);
    text-decoration: none;
    line-height: 1.6;
    display: block;
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: var(--gray-700);
}

/* Map Section Title */

/* Map Section Title */
.map-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    padding: 3rem 1.5rem 0 1.5rem;
}

/* Map Section */
.map-section {
    width: 100%;
    background-color: var(--gray-50);
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive Styles for Contact Page */
@media (max-width: 768px) {
    .contact-intro-title {
        font-size: 2rem;
    }

    .contact-intro-text {
        font-size: 1.125rem;
    }
    
    .map-section-title {
        font-size: 1.75rem;
        padding: 2rem 1.5rem 0 1.5rem;
    }
    
    .contact-intro-section {
        padding: 3rem 1.5rem 0.5rem 1.5rem;
    }

    .contact-details-section {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .contact-detail-link {
        font-size: 1.125rem;
    }

    .map-container {
        height: 400px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .contact-intro-title {
        font-size: 3rem;
    }
    
    .map-section-title {
        font-size: 2rem;
    }

    .contact-details-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .contact-detail-item {
        padding: 2rem 1.5rem;
        min-height: 280px;
    }
}

@media (min-width: 1024px) {
    .contact-intro-title {
        font-size: 4rem;
    }
    
    .map-section-title {
        font-size: 3rem;
    }
}

/* Static Map Styles for Contact Page */
.static-map-link {
    display: block;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.static-map-container {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.static-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.static-map-link:hover .static-map-image {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.static-map-link:hover .map-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.map-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.static-map-link:hover .map-overlay-content {
    transform: translateY(0);
}

.map-overlay-content span {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Map Marker */
.custom-map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 2;
    pointer-events: none;
    animation: markerDrop 0.6s ease-out;
}

@keyframes markerDrop {
    0% {
        transform: translate(-50%, -150%) scale(0.5);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, -95%);
    }
    100% {
        transform: translate(-50%, -100%);
        opacity: 1;
    }
}

.static-map-link:hover .custom-map-marker {
    animation: markerBounce 0.5s ease-in-out;
}

@keyframes markerBounce {
    0%, 100% {
        transform: translate(-50%, -100%);
    }
    50% {
        transform: translate(-50%, -110%);
    }
}

@media (max-width: 768px) {
    .static-map-container {
        height: 400px;
    }
    
    .map-overlay-content span {
        font-size: 1rem;
    }
}

/* ===========================================
   Outreach Partners Lists - Isolated Styles
   Only affects .outreach-partners-lists div
   =========================================== */
.outreach-partners-lists {
    text-align: center;
    margin-top: 2rem;
}

/* Reduce top padding for the Outreach Partners section heading */
.outreach-partners-section {
    padding-top: 0;
    margin-top: -4rem;
}

/* Mobile: Reset the negative margin */
@media (max-width: 768px) {
    .outreach-partners-section {
        margin-top: 0;
        padding-top: 1rem;
    }
}

.outreach-partners-lists h2 {
    text-align: center;
}

.outreach-partners-lists ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto 2rem auto;
    padding-left: 1.5rem;
    list-style-position: outside;
    columns: 2;
    column-gap: 3rem;
}

.outreach-partners-lists ul li {
    break-inside: avoid;
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.outreach-partners-lists h2 {
    margin-bottom: 1.25rem;
}

/* Mobile: Stack to 1 column */
@media (max-width: 768px) {
    .outreach-partners-lists ul {
        columns: 1;
    }
    
    .outreach-partners-lists ul li {
        font-size: 1.125rem;
    }
}

/* ===========================================
   World Map SVG - Isolated Styles
   Only affects .world-map-container elements
   =========================================== */
.world-map-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
}

.world-map-object,
.world-map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile adjustments for world map */
@media (max-width: 768px) {
    .world-map-container {
        max-width: 100%;
        margin: 1.5rem auto;
        padding: 0.5rem;
    }
}
