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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Container */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    @media (max-width: 768px) {
        .container {
            padding: 0;
            margin: 0;
            max-width: 100%;
        }
    }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 28px;
    width: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

.navbar.scrolled .nav-logo-img {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

/* Hide Home link in desktop navigation */
.home-link {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    vertical-align: middle;
    line-height: 1;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* App Store Badge Styles */
.app-download-link {
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 0.25rem;
}

.app-download-link:hover {
    transform: none;
    border: none;
}

.app-download-link img {
    height: 2.5rem;
    vertical-align: middle;
    transition: all 0.3s ease;
    border: none;
}

.app-download-link:hover img {
    border: none;
}

/* Sign In Button Styles */
.sign-in-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    min-width: fit-content;
}

.sign-in-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Base Styles */
section {
    position: relative;
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Features Section - reduced top padding */
.lore-features {
    color: white;
    text-align: center;
    padding: 10rem 0;
    align-items: flex-start;
    min-height: auto;
}

/* Hero Section */
.lore-hero {
    color: white;
    min-height: auto;
    height: auto;
    padding: 20px 0 0 0;
    position: relative;
    overflow: hidden;
    background-color: #3794AA;
}

.lore-hero .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #13707F;
    z-index: 1;
    opacity: 0.6;
}

.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3794AA;
    opacity: 0.4;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: 100%;
    margin: 0 auto;
    padding: 10rem 2rem 10rem 2rem;
    position: relative;
    z-index: 2;
    gap: 5rem;
}

/* Hero Text */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem 5rem 2rem;
    width: 100%;
    max-width: 100%;
}

.hero-text-content {
    padding: 0 2rem 0.5rem 0;
    text-align: left;
    width: 100%;
    margin-top: 0 !important;
}

.hero-logo {
    height: clamp(35px, 5vw, 70px);
    width: auto;
    margin: 1rem auto 3rem auto;
    display: block;
}

.hero-text h3,
.hero-text-content h3 {
    color: white;
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    font-size: 3.7rem;
    font-weight: 500;
    line-height: 1.2;
}

.hero-text hr {
    width: 50%;
    border: none;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    margin: 1.5rem auto;
}

.hero-text p,
.hero-text-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Hero Button Container - hidden on desktop */
.hero-button-container {
    display: none;
}

/* Desktop button - show on desktop, hide on mobile */
.desktop-button {
    display: inline-block;
}

/* Hero Download Buttons */
    .hero-download-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 3rem;
        margin-bottom: 4rem;
        flex-wrap: wrap;
    }

.hero-download-buttons .download-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.hero-download-buttons .download-button img {
    height: 60px;
    width: auto;
    max-width: 200px;
    display: block;
}

/* Hero Columns */
.hero-left-column {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
    align-self: flex-start;
}

.hero-right-column {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right-column .hero-image {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right-column .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Hero Image Slideshow */
.hero-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

/* Hero Image */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 3;
    padding-bottom: 0;
}

/* Explore Button */
.explore-button {
    display: inline-block;
    padding: 1rem 4rem;
    background-color: #6BC4D9;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.explore-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile styles for explore button */
@media (max-width: 768px) {
    .explore-button {
        margin-bottom: 3rem;
        margin-top: 1.5rem;
        padding: 1rem 4rem;
    }
    
    .hero-text-content {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    
    .hero-left-column {
        margin-bottom: 1rem;
    }
}

/* In Action Section */
.lore-in-action {
    color: white;
    text-align: center;
    padding: 6rem 0;
    background-color: #595959;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: auto;
}

.lore-in-action .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.action-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.action-subtitle {
    color: #9BE1E1;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
}

.action-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #595959;
    z-index: -1;
}

/* Action Columns Layout */
.action-columns {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.action-left-column {
    flex: 1;
    text-align: left;
}

.action-right-column {
    flex: 1;
    text-align: left;
}

/* Action Text Content Styles */
.action-text-content {
    text-align: left;
}

.action-text-content p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.impact-checklist {
    text-align: left;
}

.impact-checklist h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.checklist li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.checklist li i {
    color: #9BE1E1;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-phone-image {
    width: auto;
    height: 700px;
    max-height: 700px;
    object-fit: contain;
    object-position: center;
    z-index: 3;
}

/* Conversation Phone Container */
.conversation-phone-container {
    position: relative;
    width: auto;
    height: 700px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-phone-image {
    position: absolute;
    width: auto;
    height: 700px;
    max-height: 700px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 3;
    max-width: none; /* Allow natural width on desktop */
}

.conversation-phone-image.active {
    opacity: 1;
}

/* Desktop vs Mobile Image Display */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile responsive styles for conversation phone */
@media (max-width: 768px) {
    /* Show mobile images, hide desktop images */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .hero-image {
        height: auto;
        min-height: 100vh;
        padding-bottom: 0;
        width: 100%;
        overflow: hidden;
    }
    
    .conversation-phone-container {
        height: auto;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        overflow: hidden;
        position: relative;
    }
    
    .conversation-phone-image {
        height: auto;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: contain;
        min-height: 100vh;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: scale(1);
        box-sizing: border-box;
        padding: 0;
        border: none;
    }
    
    /* Force all conversation images to be exactly container width */
    .conversation-phone-image[src*="txtWebDesktop"] {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
    
    /* Adjust hero content layout for mobile */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 0;
        gap: 1rem;
    }
    
    .hero-left-column {
        order: 1;
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .hero-right-column {
        order: 2;
        width: 100%;
    }
    
    .hero-right-column .hero-image {
        width: 90%;
        margin: 0 auto;
        height: auto !important;
        min-height: auto !important;
    }
    
    .hero-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .hero-slide.active {
        position: relative !important;
    }
    
    .hero-text {
        padding: 0 1rem 2rem 1rem;
        order: 1;
    }
    
    /* Fix in action section for mobile */
    .lore-in-action {
        padding: 4rem 0 !important;
    }
    
    .action-content {
        text-align: center !important;
    }
    
    .action-content h2 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .action-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 2.5rem !important;
        color: #9BE1E1 !important;
    }
    
    .action-columns {
        flex-direction: column !important;
        gap: 3rem !important;
    }
    
    .action-left-column {
        order: 1 !important;
        text-align: center !important;
    }
    
    .action-right-column {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .action-text-content {
        text-align: center !important;
    }
    
    .action-text-content p {
        font-size: 1.2rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .impact-checklist {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .impact-checklist h3 {
        text-align: center !important;
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .checklist {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .checklist li {
        font-size: 1.25rem !important;
        margin-bottom: 3rem !important;
        justify-content: center !important;
        flex-direction: column !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 300px !important;
        position: relative !important;
    }
    
    .checklist li:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        bottom: -1.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80% !important;
        height: 1px !important;
        background-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .checklist li i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-image {
        order: 2;
    }
}

/* CTA Button */
.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Hide mobile menu elements in desktop view */
.mobile-menu-close,
.mobile-menu-copyright {
    display: none;
}

/* In Action Video Styles */
.action-video-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.action-main-video {
    width: 100%;
    margin-bottom: 2rem;
}

.action-video-container {
    width: 100%;
}

.action-video-container iframe {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    aspect-ratio: 16/9;
}

.action-video-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .action-thumbnail {
        position: relative;
        width: 200px;
        height: 120px;
        border-radius: 0.5rem;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0.7;
    }
    
    @media (max-width: 768px) {
        .action-thumbnail {
            width: 120px;
            height: 72px;
        }
    }

.action-thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.action-thumbnail.active {
    opacity: 1;
    border: 3px solid #3794AA;
}

.action-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.action-thumbnail:hover .action-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.action-play-icon {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.action-video-title {
    color: white;
    font-size: 1.25rem;
    margin: 1rem 0 0 0;
    text-align: center;
    font-weight: 500;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Demand Section */
.demand-section {
    background: #2C2C2C;
    padding: 10rem 0;
    text-align: center;
    min-height: auto;
}

.demand-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Business Model Section */
.business-model-section {
    background: #1A1A1A;
    padding: 10rem 0;
    text-align: center;
    min-height: auto;
}

.business-model-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.business-model-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.business-model-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
}

.business-model-content .highlight-text {
    color: #9BE1E1;
}

/* Reflection Section */
.reflection-section {
    background: #13707F;
    padding: 10rem 0;
    min-height: auto;
    display: none;
}

.reflection-headline {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.reflection-item {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 0;
}

.reflection-chat {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.reflection-text {
    text-align: center;
    margin-bottom: 0;
}

.reflection-divider {
    width: 60%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    margin: 80px auto;
}


.chat-bubble {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    padding: 1.5rem 2rem 2rem 1.7rem;
    max-width: 600px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.chat-bot-avatar {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid white;
}

.chat-bubble p {
    color: #333;
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0;
    margin-top: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.reflection-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}


.reflection-text h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.reflection-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Mobile Responsive for Reflection Section */
@media (max-width: 768px) {
    .reflection-item {
        margin-bottom: 2rem;
    }
    
    .reflection-chat {
        margin-bottom: 50px;
    }
    
    .reflection-text p {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .chat-bubble p {
        text-align: center;
    }
    
    .reflection-headline {
        margin-bottom: 7rem;
    }
    
    .reflection-divider {
        width: 60%;
        margin: 2rem auto 80px auto;
        height: 2px;
    }
    
    .chat-bubble {
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .chat-bubble p {
        font-size: 1.3rem;
    }
}

.demand-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.demand-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
}

.demand-content .highlight-text {
    color: #9BE1E1;
}

/* Background Gradients */
.metrics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9BE1E1;
    z-index: -1;
}

.problems-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-image: url('images/Glyph_Watermark.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #888888;
    z-index: -1;
}

.journey-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, #0d5a66 0%, #13707F 50%, #1a8ba3 100%);
    z-index: -1;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2C2C2C;
    z-index: -1;
}

.action-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #595959;
    z-index: -1;
}

.people-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #50C0CC;
    z-index: -1;
}

.science-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -1;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5F5F5;
    z-index: -1;
}

/* Metrics Section */
.lore-metrics {
    color: #13707F;
    text-align: center;
    padding: 1rem 0;
    align-items: center;
    min-height: 600px;
}

.metrics-content h2 {
    color: #13707F;
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.metrics-content > p {
    color: #13707F;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.metrics-content > p:last-of-type {
    margin-bottom: 3rem;
}

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

.metric {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.metric h3 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric p {
    color: #13707F;
    margin: 0;
    line-height: 1.2;
}

.metric i {
    font-size: 3rem;
    color: white;
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

/* Three Problems Section */
.three-problems {
    color: white;
    text-align: center;
    min-height: auto;
    padding: 5rem 0 3rem 0;
}

.three-problems h1 {
    color: #595959;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.problems-nav {
    display: flex;
    justify-content: center;
    gap: 4rem;
    line-height: 0;
    font-size: 0;
    padding: 0;
    margin-bottom: 0;
}

.nav-item {
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.3;
    width: 75px;
    height: 75px;
    display: block;
    margin: 0;
    padding: 0;
    filter: grayscale(100%);
}

.nav-item:hover {
    opacity: 0.6;
    filter: grayscale(50%);
}

.nav-item.active {
    opacity: 1;
    filter: grayscale(0%);
}

.problems-content {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}



/* Desktop responsive - keep center image and nav circles at fixed size */
@media (max-width: 1200px) {
    .problems-content {
        grid-template-columns: 1fr 600px 1fr;
        max-width: 100%;
        overflow: hidden;
    }
    
    .nav-item {
        width: 75px;
        height: 75px;
        min-width: 75px;
        min-height: 75px;
    }
    
    .problem-image img {
        width: 600px;
        min-width: 600px;
        max-width: none;
    }
}

/* Tablet - larger image */
@media (max-width: 1024px) and (min-width: 769px) {
    .problem-image img {
        width: 100%;
        max-width: 600px;
        min-width: auto;
        height: auto;
    }
}

/* Tablet and Mobile - hide background image */
@media (max-width: 1024px) {
    .problems-background {
        background-image: none;
    }
}

/* Mobile - clean layout */
@media (max-width: 768px) {
    /* Make contact popup content full-width on mobile */
    .popup-content {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin: 12px !important;
        border-radius: 8px !important;
        padding: 12px !important;
        height: auto !important;
        max-height: none !important;
    }

    .contact-popup-content {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .contact-form {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .three-problems {
        padding: 5rem 1rem 3rem 1rem;
    }
    
    .three-problems h1 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .problems-nav {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .nav-item {
        width: 50px;
        height: 50px;
        cursor: pointer;
        transition: opacity 0.3s ease;
        opacity: 0.3;
        filter: grayscale(100%);
    }
    
    .nav-item:hover {
        opacity: 0.6;
        filter: grayscale(50%);
    }
    
    .nav-item.active {
        opacity: 1;
        filter: grayscale(0%);
    }
    
    .problems-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .problem-image {
        order: 1;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin: 0 auto;
        padding: 0 0 2rem 0;
    }
    
    .problem-image img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: auto !important;
        display: block;
        margin: 0 0 2rem 0;
        padding: 0;
    }
    
    .problem {
        order: 2;
        text-align: center;
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .solution {
        order: 3;
        text-align: center;
        padding: 0 1rem;
    }
    
    .problem h3, .solution h3 {
        margin-bottom: 1rem;
    }
    
    .problem p, .solution p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

.problem, .solution {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem h3, .solution h3 {
    color: black;
    margin-bottom: 1rem;
}

.problem h3 {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.solution h3 {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.problem p, .solution p {
    color: black;
    font-size: 1.3rem;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

.highlight-orange {
    font-weight: bold;
}

.problem-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
    padding-bottom: 0;
}

.problem-image {
    margin-bottom: 0;
    padding-bottom: 0;
    height: auto;
}

/* Features Section */
.lore-features {
    color: white;
    text-align: center;
    padding: 10rem 0;
    align-items: flex-start;
    min-height: auto;
}

.features-content h2 {
    color: white;
    margin-bottom: 2rem;
}

.features-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.feature .feature-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Makes SVG white */
}

.feature h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Journey Section */
.lore-journey {
    color: white;
    min-height: auto;
    padding: 6rem 0 0 0;
    margin: 0;
}

.journey-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.journey-text h2 {
    color: white;
    margin-bottom: 2.5rem;
}

.journey-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.journey-steps {
    list-style: none;
    margin-bottom: 2rem;
}

.journey-steps li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.journey-steps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.journey-image {
    align-self: end;
    position: relative;
    margin: 0;
    padding: 0;
}

.journey-image img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    border-radius: 0;
    position: relative;
    opacity: 1;
    display: block;
}


.lore-journey .container {
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 1200px;
}

/* Testimonials Section */
.lore-testimonials {
    background-color: #2C2C2C;
    padding: 150px 0;
    text-align: center;
    min-height: auto;
}

.testimonials-content h2 {
    color: #9BE1E1;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 2rem 1rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin: 0;
    padding: 0 4rem;
    position: relative;
}

.testimonial-slide blockquote::before,
.testimonial-slide blockquote::after {
    font-family: Georgia, serif;
    font-size: 8rem;
    color: rgba(155, 225, 225, 0.3);
    position: absolute;
    line-height: 1;
}

.testimonial-slide blockquote::before {
    content: "\201C";
    left: 0;
    top: 0;
}

.testimonial-slide blockquote::after {
    content: "\201D";
    right: 0;
    top: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(155, 225, 225, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot:hover {
    background-color: rgba(155, 225, 225, 0.6);
}

.testimonial-dot.active {
    background-color: #9BE1E1;
}

.quote-slide blockquote::before,
.quote-slide blockquote::after {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: rgba(55, 148, 170, 0.3);
    position: absolute;
    line-height: 1;
}

.quote-slide blockquote::before {
    content: "\201C";
    left: 0;
    top: 0.5rem;
}

.quote-slide blockquote::after {
    content: "\201D";
    right: 0;
    bottom: -2rem;
}

.quote-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.quote-dots {
    display: flex;
    gap: 0.5rem;
}

.quote-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(55, 148, 170, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-dot:hover {
    background-color: rgba(55, 148, 170, 0.7);
}

.quote-dot.active {
    background-color: rgba(55, 148, 170, 0.9);
}

.prev-quote,
.next-quote {
    background: none;
    border: none;
    color: #3794AA;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.prev-quote:hover,
.next-quote:hover {
    background-color: rgba(55, 148, 170, 0.1);
}

/* In Action Section */
.lore-in-action {
    color: white;
    text-align: center;
    padding: 3rem 0;
    background-color: #595959;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: auto;
}

.lore-in-action .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.action-content h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.action-video-slides {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.action-video-slide {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: none;
}

.action-video-slide.active {
    display: block;
}

.action-video-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.action-video-container iframe {
    width: 100% !important;
    height: auto !important;
    border-radius: 0.75rem;
    margin: 0;
    padding: 0;
}

.action-video-slide h3 {
    color: white;
    font-size: 1.25rem;
    margin: 0.75rem 0;
    padding: 0 1rem;
}

.action-video-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.action-video-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.action-video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-video-dot.active {
    background-color: #3794AA;
}

.action-prev-thumbnail,
.action-next-thumbnail {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.action-prev-thumbnail a,
.action-next-thumbnail a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.arrow-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.carousel-arrow-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.action-prev-thumbnail:hover,
.action-next-thumbnail:hover {
    transform: scale(1.1);
    background-color: white;
}

.action-prev-thumbnail:hover .arrow-icon,
.action-next-thumbnail:hover .arrow-icon {
    color: #3794AA;
}

/* People Section */
.lore-people {
    color: white;
    text-align: center;
    min-height: auto;
    padding: 3rem 0;
}

.people-content h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.people-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.tab {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #3794AA;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.tab:first-child {
    border-radius: 8px 0 0 8px;
}

.tab:last-child {
    border-radius: 0 8px 8px 0;
}

.tab.active {
    background: #3794AA;
    color: white;
}

.tab:hover {
    background: rgba(55, 148, 170, 0.8);
}

.people-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.person {
    display: none;
    max-width: 1200px;
    width: 100%;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: center;
}

.person.active {
    display: grid;
}

.person-info {
    text-align: left;
}

.person-info h3 {
    color: #3794AA;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.person-info h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.person-info .bio {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.person-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.person-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.people-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto 0;
    position: relative;
    padding: 0;
}

.nav-arrow {
    background: #3794AA;
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow.prev {
    left: -25px;
}

.nav-arrow.next {
    right: -25px;
}

.nav-arrow:hover {
    background: #2a7a8a;
    transform: translateY(-50%) scale(1.1);
}

.people-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.person-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.person-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.person-thumbnail.active {
    opacity: 1;
    border-color: #3794AA;
    transform: scale(1.1);
}

.person-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Science Section */
.lore-science {
    color: #333;
    text-align: center;
    min-height: auto;
    padding: 6rem 0 !important;
    display: block;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.science-content h2 {
    color: #333;
    margin-bottom: 3rem;
}

.science-content > p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.science-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.science-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    min-width: 100%;
}

.science-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
}

@media (max-width: 1200px) {
    .lore-science {
        max-width: 100%;
        margin: 0;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .science-pdf-content iframe {
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .science-item {
        padding: 1rem;
        margin: 0;
    }
    
    .science-content {
        padding: 1rem;
    }
    
    .science-pdf-content {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

.science-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.science-item.expanded .science-expanded-content {
    max-height: none;
    padding: 2rem;
}

.science-content-wrapper h3 {
    color: #3794AA;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.science-content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.science-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.science-text p {
    margin-bottom: 1rem;
}

.science-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.science-text li {
    margin-bottom: 0.5rem;
    color: #555;
}

.science-image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.science-image-content img {
    max-width: 100%;
    max-height: 350px;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    overflow: hidden;
}

.science-inline-image {
    margin: 1.5rem -2rem !important;
    text-align: left !important;
    width: calc(100% + 4rem) !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    position: relative !important;
    z-index: 1 !important;
}

.science-inline-image img {
    max-width: 100% !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.share-link {
    margin-top: 1.5rem;
    text-align: center;
}

.share-link a {
    color: #3794AA;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.share-link a:hover {
    color: #2C7A8A;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .science-item.expanded .science-expanded-content {
        padding: 1.5rem;
    }
    
    .science-content-grid {
        gap: 1.5rem;
    }
    
    .science-image-content img {
        max-height: 300px;
    }
}

.science-item:hover {
    transform: none;
}

.science-icon {
    margin-bottom: 1rem;
}

.science-icon i {
    font-size: 5rem;
    color: #D8D8D8;
    animation: pulse 2s infinite;
}

.svg-elem-1 {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawHeartbeat 3s ease-in-out infinite;
}

@keyframes drawHeartbeat {
    0% {
        stroke-dashoffset: 200;
    }
    30% {
        stroke-dashoffset: 0;
    }
    70% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 200;
    }
}

.science-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0.8);
}

.science-image.heartbeat {
    animation: heartbeat 3s ease-in-out forwards;
}

.science-item:hover .science-image.heartbeat {
    animation: heartbeat 3s ease-in-out infinite;
}

.science-image.brickwall {
    transition: opacity 0.5s ease-in-out;
}

.science-item:hover .science-image.brickwall {
    animation: brickwallFade 1.5s ease-in-out;
}

.science-item:hover .science-image.socialnetwork {
    animation: socialFlip 2s ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}



@keyframes brickwallFade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes socialFlip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.science-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.science-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.science-btn {
    background: rgba(55, 148, 170, 0.2);
    color: #3794AA;
    border: 2px solid rgba(55, 148, 170, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    text-decoration: none;
    line-height: 1.2;
}

.science-btn:hover {
    background: rgba(55, 148, 170, 0.3);
    border-color: rgba(55, 148, 170, 0.5);
    transform: translateY(-2px);
}

/* Call to Action Section */
.cta-section {
    background: #2C2C2C;
    padding: 6rem 0;
    text-align: center;
    min-height: auto;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    color: #9BE1E1;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-family: 'Roboto', sans-serif;
}

.cta-content .cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
}

.cta-content .cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Mobile styles for Call to Action Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-content .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
        width: 75%;
        max-width: 300px;
    }
    
    /* Make hero button same width as bottom button in mobile */
    .hero-button-container .cta-button {
        width: 100%;
        max-width: none;
        padding: 0.8rem 6rem;
    }
}

/* Contact CTA Section */
.lore-contact-cta {
    color: #333;
    text-align: center;
    min-height: auto;
}

.contact-cta-content h2 {
    color: #3794AA;
    margin-bottom: 1rem;
}

.contact-cta-content > p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-cta-headline {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-cta-headline:hover {
    color: #2C7A8A;
    transform: translateY(-2px);
}

.contact-cta-headline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3794AA 0%, #2C7A8A 100%);
    transition: width 0.3s ease;
}

.contact-cta-headline:hover::after {
    width: 100%;
}

/* Contact Section (for popup) */
.lore-contact {
    color: #333;
    text-align: center;
    min-height: auto;
}

.contact-content h2 {
    color: #3794AA;
    margin-bottom: 1rem;
}

.contact-content > p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Contact form styles */
.contact-form {
    max-width: 37.5rem;
    margin: 0 auto;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.contact-form input,
.contact-form textarea,
.contact-form label,
.contact-form .char-count,
.contact-form .checkbox-group label {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #666;
}

.contact-form .checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form .char-count {
    font-size: 0.8rem;
    color: #666;
}

.contact-form .submit-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3794AA;
    background-color: #ffffff;
}

.form-group textarea {
    height: 9.375rem;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #333;
    opacity: 0.8;
}

.checkbox-group a {
    color: #3794AA;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: #3794AA;
    color: white;
    border: 2px solid #3794AA;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.submit-btn:hover {
    background: #2a7a8a;
    border-color: #2a7a8a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-menu li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-bottom-links li a:hover {
    color: white;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dots::before {
    content: "";
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Popup Modal */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close-popup:hover {
    color: #333;
}

/* Contact popup specific styles */
.contact-popup-content {
    padding: 2rem;
    max-width: 37.5rem;
    margin: 0 auto;
}

.contact-popup-content h2 {
    color: #3794AA;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-popup-content .subhead {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 1025px) {
    .person {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .person-image img {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .journey-text h2 {
        font-size: 2.5rem;
        font-weight: 600;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 4rem 0 5rem 0;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
        height: 80px;
        width: auto;
    }
    
    .hero-image {
        order: 2;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    

    
    .people-carousel {
        text-align: center;
    }
    
    .person {
        justify-items: center;
    }
    
    .person-info {
        text-align: center;
        padding-top: 2rem;
    }
    
    .person-image {
        display: flex;
        justify-content: center;
    }
    
    .people-tabs {
        align-items: center;
    }
    
    .people-thumbnails {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .lore-testimonials {
        padding: 8rem 0;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #595959;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 6rem 0 2rem 0;
        z-index: 999;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1000;
    }
    
    .mobile-menu-copyright {
        display: block;
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: white !important;
        font-size: 0.8rem !important;
        text-align: center;
    }
    
    .mobile-menu-copyright p {
        color: white !important;
        font-size: 0.8rem !important;
        margin: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    /* Show Home link in mobile popup menu */
    .home-link {
        display: block;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu .app-download-link img {
        height: 4rem;
        width: auto;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 5rem 0 6rem 0;
    }
    
    /* Move hero button below image in mobile */
    .hero-left-column {
        order: 1;
    }
    
    .hero-right-column {
        order: 2;
        margin-top: -2rem;
    }
    
    .hero-button-container {
        display: block;
        order: 3;
        margin-top: 3rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 90%;
        max-width: none;
    }
    
    /* Hide the desktop button on mobile since we have it in the container */
    .desktop-button {
        display: none;
    }
    
    .hero-text {
        order: 1;
        padding: 2rem 0.5rem;
        margin: 0;
        width: 100%;
        height: auto;
    }
    
    .hero-text-content {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .hero-logo {
        height: 60px;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .hero-text h3,
    .hero-text-content h3 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        line-height: 1.2;
        font-weight: 500;
    }
    
    .hero-text p,
    .hero-text-content p {
        font-size: 1.2rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-text hr,
    .hero-text-content hr {
        margin: 0 auto;
        width: 50%;
    }
    
    .demand-content h2 {
        font-size: 2rem;
    }
    
    .demand-content p {
        font-size: 1.3rem;
    }
    
    .demand-section {
        padding: 8rem 0;
    }
    
    .hero-image {
        order: 1;
        position: relative;
        height: auto;
        width: 100%;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        left: 0;
        margin: 0;
    }
    
    .hero-right-column > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .hero-right-column > div > p {
        order: 2 !important;
        margin-top: 0.5rem !important;
    }
    
    .hero-phone-image {
        position: relative;
        width: auto;
        max-width: 100%;
        height: 700px;
        max-height: 700px;
        object-fit: contain;
        object-position: center;
        margin: 2rem 0 2rem 0;
        margin-left: 0;
        padding: 0;
        z-index: 3;
        display: block;
        top: auto;
        left: auto;
    }
    
    .journey-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .lore-journey {
        padding-top: 3rem;
    }
    
    .lore-journey .container {
        padding: 0;
        max-width: 100%;
    }
    
    .journey-image img {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 0;
    }
    
    .journey-text {
        padding: 0 2rem !important;
        text-align: center;
        width: 100% !important;
    }
    
    /* Center align download buttons in Journey section on mobile - remove all padding */
    .journey-text .hero-download-buttons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin: 2rem auto 0 auto !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .journey-text .hero-download-buttons .download-button {
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .journey-text .hero-download-buttons .download-button img {
        margin: 0 auto !important;
        display: block !important;
    }
    
    .lore-features {
        padding: 4rem 0;
    }

    .people-carousel {
        padding: 0 1rem;
        text-align: center;
    }

    .person {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        justify-items: center;
    }

    .person-info {
        text-align: center;
        width: 100%;
    }

    .person-info h4 {
        font-size: 1.3rem;
    }

    .person-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .person-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .people-navigation {
        padding: 0 1rem;
        text-align: center;
    }

    .nav-arrow.prev {
        left: 0;
    }

    .nav-arrow.next {
        right: 0;
    }

    .people-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
        align-items: center;
        margin-bottom: -0.5rem;
    }

    .tab {
        border-radius: 8px;
        padding: 0.8rem 1.5rem;
        text-align: center;
        width: 100%;
        flex: none;
        border-radius: 8px !important;
    }

    .people-thumbnails {
        justify-content: center;
        text-align: center;
    }
    
    /* Mobile People Section restructuring */
    .people-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .people-carousel {
        order: 3;
    }
    
    .people-navigation {
        order: 2;
        margin-bottom: 1rem;
    }
    
    .people-tabs {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .person {
        display: none;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .person.active {
        display: flex;
    }
    
    .person-image {
        order: 1;
    }
    
    .person-info {
        order: 2;
    }
    

    
    .problems-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Reorder elements for mobile: Problem -> Solution -> Navigation -> Image */
    .problem {
        order: 1;
    }
    
    .solution {
        order: 2;
    }
    
    .problems-nav {
        order: 3;
        margin-bottom: 2rem;
    }
    
    .problem-image {
        order: 4;
    }
    

    
    .problem-image img {
        width: 250px;
        height: 250px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .lore-metrics {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    

    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .lore-hero .container {
        padding: 0;
        width: 100%;
    }
    
    section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .lore-hero {
        min-height: auto !important;
        height: auto !important;
    }
    
    .lore-hero {
        padding: 20px 0 0 0;
        margin-bottom: -2rem;
    }
    
    .lore-hero section {
        padding: 0;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .testimonial {
        padding: 2rem 1rem;
    }
    
    .video-placeholder {
        padding: 3rem 1rem;
    }
    
    .person {
        padding: 1.5rem;
    }
    
} 