/* Import Droid Serif */
@import url('https://fonts.googleapis.com/css2?family=Droid+Serif:wght@400;700&display=swap');

/* -------------------------------------------------
   Global + Scroll Snap + Blueprint Grid
------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    background: #155193;
    color: #fff;
    font-family: 'Droid Serif', serif;
    line-height: 1.6;
    padding-top: 80px;
    margin: 0;

    /* === BLUEPRINT GRID: FINE + DOTTED CENTER ONLY === */
    background-image:
        linear-gradient(to bottom, rgba(100, 150, 200, 0.15) 1px, transparent 1px),
        linear-gradient(to right,  rgba(100, 150, 200, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, transparent 99px, rgba(200, 220, 255, 0.6) 1px, transparent 1px),
        linear-gradient(to right,  transparent 99px, rgba(200, 220, 255, 0.6) 1px, transparent 1px);

    background-size:
        40px 40px,
        40px 40px,
        200px 200px,
        200px 200px;

    background-position:
        center,
        center,
        100px 100px,
        100px 100px;

    background-attachment: fixed;
}

/* -------------------------------------------------
   Scroll Snap Sections
------------------------------------------------- */
section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* -------------------------------------------------
   Fade In Animation
------------------------------------------------- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.appeared {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------
   Navigation Bar
------------------------------------------------- */
.navbar {
    background: rgba(21, 81, 147, 0.95);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

.nav-logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #fff;
    color: #155193;
    transform: translateY(-2px);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #155193;
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.is-active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* -------------------------------------------------
   Layout – Hero: Full, Others: 70%
------------------------------------------------- */
.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* HERO: Full width, centered */
#hero .container {
    max-width: 100%;
    padding: 0 2rem;
    flex-direction: column;
    text-align: center;
}

#hero .icon img {
    width: 320px;
    height: auto;
    margin: 2rem 0;
}

/* SECTIONS 3–6: 70% width, PERFECTLY CENTERED */
section:not(#hero):not(#process) .container {
    max-width: 70vw;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: nowrap;
    height: 100%;
}

/* ICONS: DOUBLE SIZE in Sections 3–6 */
section:not(#hero):not(#process) .icon {
    flex: 0 0 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section:not(#hero):not(#process) .icon img {
    width: 600px;
    height: auto;
    max-width: 100%;
}

/* TEXT: Centered & fills space */
section:not(#hero):not(#process) .text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* TEXT: Non-bold → Italic (Sections 2–6) */
section:not(#hero) p:not(.highlight) {
    font-style: italic;
}

/* Highlight remains bold */
section:not(#hero) .highlight {
    font-style: normal;
    font-weight: 700;
}

section:not(#hero):not(#process) p {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    width: 100%;
}

section:not(#hero):not(#process) .highlight {
    font-size: 1.8rem;
    width: 100%;
}

/* SECTION 2: Process – 70% width, centered, DOUBLE ICONS */
#process .container {
    max-width: 70vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem 0;
}

#process .process-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 70vw;
    margin: 0 auto;
}

#process .process-icons img {
    width: 180px;        /* DOUBLED from 90px */
    height: auto;
}

/* First line: slightly larger + italic */
#process p {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Second line: bold */
#process .highlight {
    font-size: 1.8rem;
    font-weight: 700;
    font-style: normal;
}

/* Hero text */
#hero h1 {
    font-size: 3.5rem;
    margin-bottom: .5rem;
}

#hero .tagline {
    font-size: 1.6rem;
    font-style: italic;
    margin-top: 1rem;
}

/* -------------------------------------------------
   Responsive
------------------------------------------------- */
@media (max-width: 1024px) {
    section:not(#hero):not(#process) .container {
        max-width: 80vw;
        gap: 3rem;
    }
    section:not(#hero):not(#process) .icon {
        flex: 0 0 500px;
    }
    section:not(#hero):not(#process) .icon img {
        width: 500px;
    }
    section:not(#hero):not(#process) p {
        font-size: 1.4rem;
    }
    section:not(#hero):not(#process) .highlight {
        font-size: 1.6rem;
    }
    #process p {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    #process .highlight {
        font-size: 1.6rem;
    }
    #process .process-icons {
        gap: 3rem;
    }
    #process .process-icons img {
        width: 150px;      /* Doubled from 80px */
    }
}

@media (max-width: 768px) {
    section:not(#hero):not(#process) .container {
        flex-direction: column;
        text-align: center;
        max-width: 85vw;
        gap: 2rem;
        height: auto;
        padding: 3rem 1rem;
    }
    section:not(#hero):not(#process) .icon {
        flex: 0 0 auto;
        margin-bottom: 1.5rem;
    }
    section:not(#hero):not(#process) .icon img {
        width: 400px;
    }
    section:not(#hero):not(#process) p {
        font-size: 1.3rem;
    }
    section:not(#hero):not(#process) .highlight {
        font-size: 1.5rem;
    }
    #process p {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    #process .highlight {
        font-size: 1.5rem;
    }
    #hero h1 {
        font-size: 2.8rem;
    }
    #hero .tagline {
        font-size: 1.4rem;
    }
    #hero .icon img {
        width: 260px;
    }
    #process .process-icons {
        gap: 2.5rem;
        max-width: 85vw;
    }
    #process .process-icons img {
        width: 130px;      /* Doubled from 70px */
    }
}

@media (max-width: 480px) {
    section:not(#hero):not(#process) .icon img {
        width: 300px;
    }
    section:not(#hero):not(#process) p {
        font-size: 1.2rem;
    }
    section:not(#hero):not(#process) .highlight {
        font-size: 1.4rem;
    }
    #process p {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    #process .highlight {
        font-size: 1.4rem;
    }
    #hero h1 {
        font-size: 2.2rem;
    }
    #hero .tagline {
        font-size: 1.2rem;
    }
    #hero .icon img {
        width: 200px;
    }
    #process .process-icons img {
        width: 100px;      /* Doubled from 60px */
    }
}