@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #0070C0;
    --primary-hover: #005999;
    --text-primary: #000000;
    --text-secondary: #475569;
    --text-light: #525252;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #081F37;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-primary: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-light);
}

/* Heading Styles */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    font-size: 16px;
    line-height: 24px;
}

.world-work-section h2 span, .why-organizations-section h2 span, .hero-section h1 span {
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--bg-primary);
    box-shadow: 0px 3px 23.2px 0px #00000040;
    position: relative;
    z-index: 3;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    font-size: 16px;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    font-size: 16px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-primary);
}

/* Hero Section */
.hero-section {
    background: url('./images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('./images/Hero-Image.png') no-repeat;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 48px;
    line-height: 63px;

}

.hero-section h1>span {
    color: var(--primary-color);
    font-weight: 500;
}

.hero-section p {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-section .btn {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 6px;
}

/* World of Work Section */
.world-work-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.world-work-section h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 45px;
    text-align: center;
    max-width: 800px;

}



.world-work-section p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    max-width: 1080px;
}

/* Why Organizations Section */
/* Main scroll snap container */
.why-organizations-section {
    background-color: var(--bg-primary);
    position: relative;
    padding: 0;
}

.why-organizations-section .container {
    position: relative;
    /* height: 3600px; */
    /* Reduced from 341vh for better mobile experience */
    margin: auto;
}

/* Base styles for snap rows */
.snap-row {
    position: sticky;
    top: 80px;
    /* Reduced from 100px for mobile */
    background: #F6F6F6;
    border-radius: 20px;
    /* Reduced from 31px for mobile */
    min-height: 575px;
    /* Reduced from 550px */
    margin: 20px auto;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.snap-row:nth-child(5), .snap-row:nth-child(6) {
    padding: 20px;
}

/* Z-index stacking - each subsequent row has higher z-index */
.snap-row:nth-child(1) {
    z-index: 1;
}

.snap-row:nth-child(2) {
    z-index: 2;
}

.snap-row:nth-child(3) {
    z-index: 3;
}

.snap-row:nth-child(4) {
    z-index: 4;
}

.snap-row:nth-child(5) {
    z-index: 5;
}

.snap-row:nth-child(6) {
    z-index: 6;
}


.why-organizations-section h2 {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    color: #000000;
    margin-bottom: 20px;
}

.why-organizations-section h2 {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    color: #000000;
    margin-bottom: 12px;
}

.organization-feature {
    display: flex;
    align-items: start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content {
    margin-top: 16px;
}

.feature-content h4 {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 18px;
    line-height: 24px;

}

.feature-content h3 {}

.feature-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 16px;
    line-height: 20px;

}

.person-image {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Core Modules Section */
.core-modules-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.core-modules-section h2, .applications-section h2 {
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;

}

.core-modules-section h2 span, h2 span {
    color: var(--primary-color);
}

.module-card {
    background-color: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.module-card h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.module-card p {
    margin-bottom: 1rem;
}

.module-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.module-feature span {
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0%;
    color: #000000;

}

.module-feature img {
    margin-right: 0.8rem;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.module-image {
    border-radius: 15px;
    overflow: hidden;
}

/* Difference Section */
.difference-section {
    background-color: #0E4366;
    color: white;
    padding: 5rem 0;
}

.difference-section h2 {
    color: #ffffff;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;

}

.difference-section h2 span {
    color: #62BEFF;
}

.difference-section p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

}

.difference-section ul {
    display: grid;
    gap: 10px;
}

/* Built For Today Section */
.built-today-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.built-today-section h2 {

    font-family: Roboto;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;

}

/* Applications Section */
.applications-section {
    /* background-color: var(--bg-secondary); */
    padding: 5rem 0;
}

.applications-section b {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.application-card {
    box-shadow: 0px 1px 4px 0px #00000040;
    border-radius: 10px;
    height: 260px;
    max-width: 236px;
    display: grid;
    gap: 50px;
    padding: 36px 15px;
}

.application-card:hover {
    box-shadow: 0px 8px 25px 0px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.application-icon {
    width: 80px;
    height: 80px;
}

.application-card h4 {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
}

.application-card p {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Science Section */
.science-section {
    background: url('images/workforce-bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    padding: 12rem 0;
    text-align: center;
}

.science-section h2 {
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.science-section p {
    font-size: 1rem;
    line-height: 20px;
}

.science-section .btn-primary {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
}

/* Evidence Section */
.evidence-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
    text-align: center;
}

.evidence-section h2 {
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.evidence-chart {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.evidence-item {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(8, 31, 55, 0.8), rgba(8, 31, 55, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: #E5F1F9;
    padding: 3rem 0 2rem;
}

.footer h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-hover);
}

/* Responsive */

/* Desktop styles */
@media screen and (max-width: 1024px) {
    .why-organizations-section .container {
        /* height: 480vh; */
        /* Original height for desktop */
    }

    .snap-row {
        top: 80px;
        border-radius: 31px;
        min-height: 550px;
        padding: 2rem;
    }
}

/* Large desktop styles */
@media screen and (max-width: 992px) {

    /* .snap-row {
        max-width: 1408px;
    } */
    .hero-section::before {
        background: url(./images/hero_section-md.png) no-repeat;
        background-size: cover;
        background-position: center;
        height: 100%;
        width: 100%;

    }

    .hero-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgb(0 0 0 / 49%);
        /* Black overlay with 50% opacity */
        z-index: 2;
    }

    .hero-section h1, .hero-section p, .hero-section h1>span {
        color: white;
    }

    .hero-section .container {
        position: relative;
        z-index: 3;
    }

    .btn-outline-primary {
        background-color: var(--primary-color);
        color: var(--bg-primary);
        border-color: var(--primary-color);
        font-size: 16px;
    }
}

/* Tablet styles */
@media screen and (max-width: 768px) {
    /* .hero-section::before {
        display: none;
    } */

    .hero-section h1 {
        font-size: 2rem;
        line-height: 45px;
    }

    .organization-feature {
        flex-direction: column;

    }

    .snap-row {
        top: 80px;
        border-radius: 25px;
        min-height: 480px;
        padding: 2rem;
    }

    /* cards section */
    .application-card {
        max-width: 90%;
        margin: 0 auto;
        padding: 1.5rem;
    }

}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .snap-row {
        top: -100px;
        border-radius: 15px;
        min-height: 350px;
        padding: 1rem;
        margin: 0px auto;

    }

    .science-section {
        padding: 6rem 0;
        text-align: start;
    }

    .science-section .d-flex.justify-content-center {
        justify-content: start !important;
    }

    .feature-content {
        margin-top: 5px;
    }

    .core-modules-section h2, .applications-section h2, .built-today-section h2 {
        font-size: 1.9rem;
        line-height: 2.5rem;
    }

    .built-today-section h2 {
        margin-bottom: 1rem;
    }

    .why-organizations-section h2, .difference-section h2, .applications-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;

    }

    .feature-content h4 {
        font-size: 1rem;
        display: none;
    }

    .feature-content p, .difference-section p, p {
        font-size: 0.9rem;
    }

    .world-work-section h2 {
        font-size: 30px;
    }

    .world-work-section h2, .world-work-section p {
        text-align: left;
    }

    .module-card {
        padding: 1rem;
        /* margin-bottom: 2rem; */
    }

    .built-today-section, .applications-section {
        padding: 0;
    }

    /*.why-organizations-section .container {
        height: 250vh; 
    }*/
}