@charset "utf-8";
/*CSS document*/

@font-face{
    font-family: 'Poppins';
    src: url("fonts/Poppins/Poppins-Regular.ttf");
}

@font-face{
    font-family: 'Poppins-Bold';
    src: url("fonts/Poppins/Poppins-Bold.ttf");
}

@font-face{
    font-family: 'Poppins-ExtraLight';
    src: url("fonts/Poppins/Poppins-ExtraLight.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    background-color: #edeced;
    overflow-x: hidden;
}

h1 {
    font-size: 3rem;
    color: #021431;
    font-family: 'Poppins-Bold';
    margin-bottom: 20px;
}

.title{
    font-size: 3.5rem;
    color: #021431;
    font-family: 'Poppins-Bold';
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    color: #021431;
    font-family: 'Poppins-ExtraLight';
    font-weight: 100;
}

h3 {
    font-size: 1.2rem;
    color: #021431;
    font-family: 'Poppins-Bold';
}

strong {
    font-family: 'Poppins-Bold';
}

li{
    margin-top: 4px;
    font-family: "Poppins-ExtraLight";
    font-size: 20px;
    color: #021431;
}

.center{
    text-align: center;
}

.success{
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 10px;
    font-size: 24px;
    font-family: "Poppins-ExtraLight";
    background-color: #006e4d;
    color: #fff;
    text-align: center;
    z-index: 10000;
    animation: fadeOut 0.5s ease forwards;
    animation-delay: 3s;
}

.error {
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 10px;
    font-size: 24px;
    font-family: "Poppins-ExtraLight";
    background-color: #ff2e54;
    color: #fff;
    text-align: center;
    z-index: 10000;
    animation: fadeOut 0.5s ease forwards;
    animation-delay: 3s;
}

@keyframes fadeOut {
    from {opacity: 1;}
    to{
        opacity: 0;
        visibility: hidden;
    }
}

.formErrorMessage {
    color: #ff2e54;
    font-size: 14px;
    margin-top: 4px;
    font-family: "Poppins";
}

.container {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.topBar {
    width: 100%;
    height: auto;
    background: linear-gradient(
        to bottom,
        #edeced 0%,
        #edeced 70%,
        #edeced00 100%
    );
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo img {
    width: 80px;
    height: 80px;
}

.nav a {
    margin-left: 20px;
    text-decoration: underline;
    text-decoration-color: transparent;
    color: #021431;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.nav a:hover {
    color: hsl(217, 92%, 20%);
    text-decoration-color: hsl(217, 92%, 20%);
}

.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}

.smallSection {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spacer {
    padding-top: 100px;
}

.textBox {
    width: 40vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 20px;
}

.textBox p {
    max-width: 400px;
    margin-top: 20px;
    color: #021431;
}

.textBox form {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
}

.textBox form label {
    font-size: 18px;
    color: #021431;
    margin-top: 6px;
}

.textBox form input {
    padding: 8px;
    font-size: 18px;
    margin-top: 4px;
    border-radius: 17px;
    border: none;
    box-shadow: #33333371 0px 3px 6px;
}

.textBox form input:focus {
    outline: none;
    box-shadow: #021431 0px 3px 6px;
}

.textBox form textarea {
    padding: 8px;
    font-size: 18px;
    margin-top: 4px;
    border-radius: 17px;
    border: none;
    box-shadow: #33333371 0px 3px 6px;
    resize: none;
}

.textBox form textarea:focus {
    outline: none;
    box-shadow: #021431 0px 3px 6px;
}

.textBox form button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 20px;
    font-family: "Poppins-Bold";
    max-width: 180px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease-in-out;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.imageBox {
    width: 30vw;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
}

.imageBox img {
    width: 100%;
    height: auto;
    z-index: 90;
}

.shadow {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: -40px;
    left: 0;
    z-index: 10;
}

.boomGate {
    width: 500px;
    height: 280px;
    position: relative;
}

.boomBody {
    width: 120px;
    height: 280px;
    background-color: #bbb2fb;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 98;
}

.boomCircle {
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-bottom: -25px;
    background-color: #f7b1ae;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 40%;
    z-index: 99;
}

.boomBar {
    width: 400px;
    height: 30px;
    background: repeating-linear-gradient(
        45deg,
        #ffffff 0px, /* Color 1 start */
        #ffffff 40px, /* Color 1 end */
        #021431 40px, /* Color 2 start */
        #021431 80px  /* Color 2 end - defines the repeat height */
    );
    border-radius: 15px;
    position: absolute;
    transform-origin: 15px center;
    left: 45px;
    bottom: 200px;
    z-index: 100;
    animation-name: boomLift;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes boomLift {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-50deg);
    }
    100% {
        transform: rotate(-20deg);
    }
}

.section .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/wave.png);
    background-size: 1000px 100%;
    animation: wavy 30s linear infinite;
    z-index: -1;
}

@keyframes wavy {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.actionButton {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease-in-out;
}

.actionButton:hover {
    transform: scale(1.1);
}

.comingSoonBadge {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
}

.background-navy {
    background-color: #021431;
    color: #fff;
}

.background-purple {
    background-color: #bbb2fb;
    color: #fff;
}

.background-pink {
    background-color: #f7b1ae;
    color: #021431;
}

.background-white {
    background-color: #fff;
    color: #021431;
    border: 1px solid #021431;
}

.bubble1 {
    width: 500px;
    height: 500px;
    background-color: #f7b1ae;
    border-radius: 50%;
    position: absolute;
    top: 400px;
    left: -300px;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.bubble2 {
    width: 250px;
    height: 250px;
    background-color: #f7b1ae;
    border-radius: 50%;
    position: absolute;
    top: 200px;
    right: -150px;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.footer {
    width: 100%;
    height: auto;
    background: linear-gradient(
        to top,
        #edeced 0%,
        #edeced 70%,
        #edeced00 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.footerLinksBox {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 20px 0px;
}

.footerLinks {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.divideRight {
    border-right: 1px solid #021431;
    padding-right: 20px;
}

.footerLinks a {
    margin-top: 10px;
    text-decoration: underline;
    text-decoration-color: transparent;
    color: #021431;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footerLinks a:hover {
    color: hsl(217, 92%, 20%);
    text-decoration-color: hsl(217, 92%, 20%);
}

/* --- Hamburger Icon Base Styling (Hidden on Desktop) --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Keeps it above the slide-out menu */
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #021431;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Optional: Animates the hamburger into an 'X' when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HOW IT WORKS 3-COLUMN + SPACER ROWS (DESKTOP) --- */

:root {
    --spine-width: 280px; 
    --grid-gap: 2rem;
    --line-color: #021431; 
    --line-thick: 20px;    
    --line-radius: 20px;
}

.how-it-works-section {
    width: 100vw;
    padding: 120px 20px 80px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden; 
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr var(--spine-width) 1fr;
    gap: var(--grid-gap);
    width: 100%;
    max-width: 1200px; 
    align-items: center;

    /* The 7-Row Interleaved S-Curve */
    grid-template-areas:
        "title i1      g1" 
        ".     i2      v1" 
        "g3    h1      g2" 
        "v2    i3      ."  
        "g4    h2      g5" 
        ".     i4      v3" 
        "g7    h3      g6";
}

/* Assigning Grid Areas */
.title-cell { grid-area: title; align-self: start; }
.i1 { grid-area: i1; } .g1 { grid-area: g1; }
.i2 { grid-area: i2; } .v1 { grid-area: v1; }
.v2 { grid-area: v2; } .i3 { grid-area: i3; }
.i4 { grid-area: i4; } .v3 { grid-area: v3; }

/* The horizontal line cells hold both the line AND the text beneath it */
.g3 { grid-area: g3; } .h1 { grid-area: h1; } .i-gate { grid-area: h1; align-self: flex-end; justify-self: center; margin-top: 30px; } .g2 { grid-area: g2; }
.g4 { grid-area: g4; } .h2 { grid-area: h2; } .i-pay { grid-area: h2; align-self: flex-end; justify-self: center; margin-top: 30px; } .g5 { grid-area: g5; }
.g7 { grid-area: g7; } .h3 { grid-area: h3; } .i-go { grid-area: h3; align-self: flex-end; justify-self: center; margin-top: 30px; } .g6 { grid-area: g6; }

/* Spine Text Alignment */
.inst-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 5;
}

/* Make subText the relative anchor for the arrows */
.subText {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

/* Base Arrow Styling */
.path-arrow {
    position: absolute;
    width: 10vw;
    max-width: 150px;
    height: auto;
    z-index: 0;
}

/* --- ARROW POSITION MODIFIERS --- */
.arrow-top {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px; /* Space between arrow and text */
}

.arrow-bottom {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
}

.arrow-right {
    top: 0; /* Aligns the top of the arrow to the top of the subText container */
    left: 100%;
    transform: none; /* Removes the vertical centering */
    margin-left: 20px; 
    margin-top: 5px; /* Slight optical tweak to align exactly with the cap-height of the text */
}

.arrow-left {
    top: 0;
    right: 100%;
    transform: none; 
    margin-right: 20px; 
    margin-top: 5px; /* Slight optical tweak */
}

/* Graphics */
.graphic-cell {
    display: flex;
    justify-content: center;
    z-index: 2;
}
.graphic-cell img {
    height: 100%;
    max-height: 320px;
    width: auto;
    max-width: 100%;
}

/* --- EXPLICIT LINE STYLING --- */
.line-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 120px; /* Gives the vertical spacer rows a nice height */
}

.navy-line {
    background-color: var(--line-color);
    border-radius: var(--line-radius);
    z-index: -1;
    opacity: 0;
    scale: 0;
    transition: opacity 0.3s ease-in, scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navy-line.is-visible {
    opacity: 1;
    scale: 1;
}

.navy-line-v {
    width: var(--line-thick);
    height: calc(100% + (var(--grid-gap) * 2) - 60px); 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.navy-line-h {
    height: var(--line-thick);
    width: calc(100% + var(--grid-gap) * 2); /* Spans the center spine AND gaps to touch L/R graphics */
    position: absolute;
}

.installationGraphicBox {
    position: relative;
    width: 100%;
    height: 100%;
}

.installWrench{
    position: absolute;
    width: 50% !important;
    height: auto;
    top: -40px;
    left: 50%;
    z-index: 10;
    transform-origin: top left;
    animation-name: wrenchSwing;
    animation-timing-function: ease;
    animation-duration: 3s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes wrenchSwing {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.installController {
    position: relative;
    width: 80%;
    height: auto;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.sideImage {
    position: relative;
    width: 10%;
    min-width: 160px;
}

/* --- FAQ SECTION STYLING --- */

.faqContainer {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.faqCard {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: #3333332a 0px 4px 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faqCard:hover {
    box-shadow: #3333334d 0px 6px 18px;
    transform: translateY(-2px);
}

.faqHeader {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faqHeader h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #021431;
    transition: color 0.3s ease;
}

.dropdownArrow {
    color: #021431;
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqBody {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 30px;
    background-color: #fcfcfc;
}

.faqBody p {
    padding-bottom: 25px;
    color: #021431;
    line-height: 1.6;
    font-family: "Poppins";
}

/* Expanded State */
.faqCard.active {
    border-left: 5px solid #bbb2fb;
}

.faqCard.active .dropdownArrow {
    transform: rotate(180deg);
    color: #bbb2fb;
}

.faqCard.active .faqBody {
    max-height: 500px; /* Adjust based on expected answer length */
    padding-top: 10px;
}

.faqCard.active .faqHeader h3 {
    color: #bbb2fb;
}

/* --- LEGAL PAGES STYLING --- */

.legalContainer {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 30px;
    color: #021431;
    text-align: left;
}

.legalContainer h1 {
    text-align: center;
    margin-bottom: 10px;
}

.legalContainer .lastUpdated {
    text-align: center;
    font-family: "Poppins-ExtraLight";
    margin-bottom: 50px;
    display: block;
}

.legalContainer h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid #bbb2fb;
    display: inline-block;
    padding-bottom: 5px;
}

.legalContainer p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.legalContainer ul {
    margin-bottom: 20px;
    list-style-position: inside;
}

.legalContainer li {
    font-size: 1rem;
    margin-bottom: 10px;
}

.legalContainer strong {
    color: #021431;
}

.legalContainer a {
    color: #bbb2fb;
    font-family: "Poppins-Bold";
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legalContainer a:hover {
    opacity: 0.8;
}

/* --- Mobile Responsive Styling --- */
@media (max-width: 700px) {
    /* Top Bar: Fixed, narrow, row layout */
    .topBar {
        position: fixed;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #edeced;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adds a subtle shadow separating it from content */
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    /* Reveal the hamburger icon */
    .hamburger {
        display: flex;
    }

    /* Navigation: Hidden off-screen by default */
    .nav {
        position: fixed;
        top: 70px; /* Just below the narrow topBar */
        left: -100%; /* Hides the menu completely to the left */
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #edeced;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    /* Class toggled by JavaScript to slide the menu in */
    .nav.active {
        left: 0;
    }

    .nav a {
        margin-left: 0;
        font-size: 1.5rem; /* Larger tap targets for mobile */
    }

    /* Adjust typography for smaller screens */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }

    /* Change layout from row to column */
    .section {
        flex-direction: column;
        height: auto;
        padding: 60px 0;
    }

    .spacer {
        padding-top: 140px;
    }

    /* Expand text and image containers to full mobile width */
    .textBox, .imageBox {
        width: 90vw;
        text-align: center;
        align-items: center;
    }

    .imageBox { margin-top: 30px; }

    /* Scale down the Boom Gate */
    .boomGate {
        transform: scale(0.6);
        transform-origin: center center;
        margin: -40px 0; 
    }

    /* Hide decorative elements causing mobile overflow */
    .bubble1, .bubble2 { display: none; }

    /* Stack footer links */
    .footerLinksBox {
        flex-direction: column;
        gap: 20px;
    }

    .footerLinks {
        width: 100%;
        padding: 10px 0;
    }

    .divideRight {
        border-right: none;
        border-bottom: 1px solid #021431;
        padding-right: 0;
        padding-bottom: 20px;
    }

    /* --- Mobile Overrides for How It Works --- */
    .how-it-works-section { padding: 60px 0; }
    
    .how-it-works-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* Tighter gap for mobile */
        padding-left: 30px;
        padding-right: 30px;
    }

    .title-cell { text-align: center; }

    /* Normalize ALL line containers to be short vertical drops on mobile */
    .line-container {
        min-height: 0 !important;
        height: 5rem !important;
    }

    /* Force horizontal lines to look exactly like vertical lines */
    .navy-line {
        position: relative !important;
        width: var(--line-thick) !important;
        height: 5rem !important;
    }

    /* Hide decorative arrows on mobile */
    .path-arrow {
        display: none !important;
    }

    /* Ensure text stays centered and removes desktop vertical margins */
    .inst-cell {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        align-self: center !important; /* Forces it back to the middle on mobile */
        text-align: center !important;
    }

    /* Increase instruction text size for mobile readability */
    .inst-cell h2 {
        font-size: 1.5rem !important; /* Adjust this value up or down as needed */
    }

    .legalContainer {
        padding: 0 20px;
    }
    
    .legalContainer h3 {
        font-size: 1.2rem;
    }
}