@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spartan', sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2 {
    font-size: 50px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: #4B6070;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 20px 150px;
}

.section-m1 {
    margin: 40px 0;
}

body {
    width: 100%;
}

/* Header Start */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 100px;
    background: #E2EDF6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    /* fix header */
    position: sticky;
    top: 0;
    left: 0;
}

#header>a {
    display: block;
    flex: 0 0 auto;
}

#header .logo {
    display: block;
    width: 220px;
    max-height: 54px;
    height: auto;
    object-fit: contain;
}

#footer .col img {
    display: block;
    width: min(220px, 100%);
    height: auto;
}

#navbar {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* justify-content: center; */
}

/* remove bullet points */
#navbar li {
    list-style: none;
    padding: 0 20px;
    /* to fix underline position */
    position: relative;
}

/* removing underlines*/
#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    /* slow down change */
    transition: 0.3s ease;
}

/*hover effect*/
#navbar li a:hover,
#navbar li a.active {
    color: #0069B4;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #0069B4;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

/* Home Page */
/* #hero {
    background-image: url("img/hero.png");
    background-repeat: no-repeat;
    height: 80vh;
    width: 100%;
    background-size: 30%;
    background-position: right center;
    padding: 0 80px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid #3BA7DC;
    box-shadow: inset 0 10px 15px rgba(0, 0, 0, 0.05);
    padding-top: 50px;
    box-shadow: 0 10px 25px rgba(59, 59, 59, 0.08);
    position: relative;
    z-index: 2;
}

/* Desktop: image lives in the right-hand background, hidden inline <img> */
/* .hero-img-desktop {
    display: none;
}

#hero h4 {
    padding-bottom: 15px;
}

#hero h2 {
    color: #0069B4;
}

#hero h4 {
    padding-bottom: 15px;
} */

/* #hero button {
    background: linear-gradient(135deg, #063B63 0%, #0069B4 58%, #3BA7DC 100%);
    color: #fff;
    border: 0;
    width: 220px;
    min-height: 64px;
    padding: 16px 32px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 26px rgba(0, 105, 180, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
} */

/* .hero-content {
    border: 2px solid #3BA7DC;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    max-width: 55%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 3;
}  */

/* .button-container {
    text-align: center;
}

#hero button:hover {
    color: white;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 105, 180, 0.34);
} */

/* =========================
   MAPLE CREATIONS HERO
   ========================= */

.maple-hero {
    position: relative;

    width: 100%;
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 60px 7%;

    background-image: url("img/maple-hero-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* Extra fade from products into white */
.maple-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(to right,

            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 32%,
            rgba(255, 255, 255, 0.15) 42%,
            rgba(255, 255, 255, 0.55) 52%,
            rgba(255, 255, 255, 0.85) 60%,
            rgba(255, 255, 255, 0.97) 68%,
            rgba(255, 255, 255, 1) 100%);

    pointer-events: none;
}


/* =========================
   MESSAGE BOX
   ========================= */

.hero-content {
    position: relative;
    z-index: 2;

    width: 46%;
    max-width: 650px;

    padding: 50px 55px;

    background: rgba(255, 255, 255, 0.90);

    border: 2px solid #60b7e8;

    border-radius: 30px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.10);

    backdrop-filter: blur(3px);
}


/* Small title */

.hero-small-title {
    margin-bottom: 18px;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 1px;

    color: #222;
}


/* Main heading */

.hero-content h1 {
    margin-bottom: 22px;

    font-size: clamp(42px, 4vw, 67px);
    line-height: 1.05;

    font-weight: 700;

    color: #287abe;
}


/* Description */

.hero-description {
    max-width: 560px;

    margin-bottom: 32px;

    font-size: 17px;
    line-height: 1.55;

    color: #6b6b6b;
}


/* =========================
   BUTTON
   ========================= */

.hero-button {
    display: inline-block;

    padding: 17px 42px;

    border-radius: 50px;

    background:
        linear-gradient(90deg,
            #175f9e,
            #46a9e4);

    color: #fff;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(40, 130, 190, 0.30);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(40, 130, 190, 0.38);
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1100px) {

    .maple-hero {
        min-height: 600px;
        padding: 50px 5%;
    }

    .hero-content {
        width: 52%;
        padding: 40px;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

    .maple-hero {

        min-height: 760px;

        align-items: flex-end;
        justify-content: center;

        padding:
            340px 22px 40px;

        background-position: 25% center;
    }


    /* Fade vertically instead */
    .maple-hero::before {

        background: linear-gradient(to bottom,

                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.05) 35%,
                rgba(255, 255, 255, 0.65) 55%,
                rgba(255, 255, 255, 0.95) 70%,
                white 100%);
    }


    .hero-content {
        width: 100%;
        max-width: 650px;

        padding: 32px 28px;

        border-radius: 22px;
    }


    .hero-content h1 {
        font-size: 38px;
    }


    .hero-description {
        font-size: 15px;
    }

}

/* features */
#feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 60px;
}

#feature .fe-box img {
    width: 100%;
    object-fit: contain;
}

#feature .fe-box {
    width: 300px;
    height: 260px;


    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid #3BA7DC;
    border-radius: 8px;
}

#feature .fe-box:hover {
    box-shadow: 0 10px 30px rgba(0, 105, 180, 0.35);
    transition: all 0.3s ease;
}

/* past */
#past {

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 60px;
}




/* footer */
/* #footer {
    background: #99C3E1;
    color: white;
    padding: 60px 80px 20px;
}

#footer h4,
#footer p,
#footer a {
    color: black;
}

#footer h4 {
    margin-top: 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    margin: 0;
    color: #D9ECFA;
    font-size: 14px;
} */

/* new footer */
/* =========================
   FOOTER
   ========================= */

#footer {
    position: relative;
    /* Matches the header */
    background: #E3EFF8;
    color: #222;
    padding: 70px 80px 0;
    overflow: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* #footer p,
#footer a {
    font-weight: 700;
} */

/* ========================================
   DECORATIVE BACKGROUND WAVES
   ======================================== */

#footer::before {
    content: "";

    position: absolute;

    width: 750px;
    height: 350px;

    left: -180px;
    bottom: -220px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 0 0 20px rgba(255, 255, 255, 0.10),
        0 0 0 40px rgba(255, 255, 255, 0.08),
        0 0 0 60px rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


#footer::after {
    content: "";

    position: absolute;

    width: 800px;
    height: 380px;

    right: -220px;
    bottom: -240px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 0 0 20px rgba(255, 255, 255, 0.10),
        0 0 0 40px rgba(255, 255, 255, 0.08),
        0 0 0 60px rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


/* ========================================
   MAIN FOOTER LAYOUT
   ======================================== */

.footer-top {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    display: grid;

    /* Brand | Quick Links | Product categories | Get In Touch.
       The minmax() floors keep the contact details on one line and the
       quick links unwrapped; the remaining columns flex around them. */
    grid-template-columns:
        minmax(220px, 1.1fr) minmax(140px, 0.55fr) minmax(330px, 1.45fr) minmax(290px, 1fr);

    gap: 36px;

    align-items: start;

    padding-bottom: 60px;
}


/* ========================================
   MAPLE CREATIONS BRAND
   ======================================== */

.footer-brand img {
    width: min(260px, 100%);
    height: auto;
    margin-bottom: 30px;
}


.footer-brand p {
    max-width: 390px;
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}


/* ========================================
   FOOTER COLUMNS
   ======================================== */

.footer-column {
    padding-left: 36px;

    border-left: 1px solid rgba(0, 105, 180, 0.15);
}

/* The contact block is the last column; a lighter inner padding keeps the
   email address and phone number on a single line. */
.footer-contact {
    padding-left: 28px;
}

.footer-column ul li a {
    font-weight: 600;
}


/* Column headings */

#footer h4 {
    position: relative;
    margin: 0 0 35px;
    color: #0069B4;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}


/* Blue line underneath heading */

#footer h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -12px;

    width: 55px;
    height: 4px;

    border-radius: 5px;

    background: #0069B4;
}


/* ========================================
   QUICK LINKS
   ======================================== */

.footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.footer-column ul li {
    margin-bottom: 20px;
}


/* Product category links are shown as a compact multi-column list so all
   catalogue categories stay reachable from every page footer. Overrides the
   Quick Links styling (arrow prefix, big margins, 16px text). */
#footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

#footer .footer-links li {
    margin-bottom: 7px;
}

#footer .footer-links li a {
    color: #222;

    font-size: 14px;
}

/* No arrow prefix for the compact category list. */
#footer .footer-links li a::before {
    content: none;
}

#footer .footer-links li a:hover {
    color: #0069B4;

    padding-left: 0;
}


.footer-column ul li a {
    position: relative;

    color: #222;

    font-size: 16px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}


/* Arrow */

.footer-column ul li a::before {
    content: "›";

    margin-right: 12px;

    color: #0069B4;

    font-size: 22px;
    font-weight: 700;
}


/* Link hover */

.footer-column ul li a:hover {
    color: #0069B4;

    padding-left: 5px;
}


/* ========================================
   CONTACT INFORMATION
   ======================================== */

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-weight: 600;
}


.contact-item i {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #0069B4;

    color: #fff;

    font-size: 16px;
}


.contact-item p {
    margin: 0;

    color: #222;

    font-size: 15px;
}


/* Email and phone links keep the plain-text look until hovered. */
.contact-item p a {
    color: inherit;

    text-decoration: none;

    transition: color 0.25s ease;
}


.contact-item p a:hover {
    color: #0069B4;

    text-decoration: underline;
}


/* ========================================
   COPYRIGHT BAR
   ======================================== */

.copyright {
    position: relative;
    z-index: 2;

    margin: 0 -80px;

    padding: 24px 80px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    /* Slightly darker than footer */
    background: #D5E5F1;

    border-top: 1px solid rgba(0, 105, 180, 0.15);
}


.copyright p {
    margin: 0;

    color: #222;

    font-size: 14px;
}


/* ========================================
   PRIVACY / TERMS
   ======================================== */

.footer-legal {
    display: flex;

    align-items: center;

    gap: 20px;
}


.footer-legal a {
    color: #222;

    font-size: 14px;

    text-decoration: none;

    transition: color 0.25s ease;
}


.footer-legal a:hover {
    color: #0069B4;
}


.footer-legal span {
    color: rgba(0, 0, 0, 0.35);
}


/* ========================================
   FOOTER: TABLET
   Two footer columns below 1260px - the four-column grid with its minimum
   column widths needs more room than mid-size viewports can spare.
   ======================================== */

@media (max-width: 1260px) {

    #footer {
        padding: 60px 50px 0;
    }


    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    /* Quick Links and product categories sit side by side; the contact
       block takes the remaining full-width row. */
    .footer-contact {
        grid-column: 1 / -1;
    }


    .footer-column {
        padding-left: 30px;
    }


    .copyright {
        margin: 0 -50px;

        padding: 22px 50px;
    }
}


/* ========================================
   FOOTER: MOBILE
   ======================================== */

@media (max-width: 700px) {

    #footer {
        padding: 50px 25px 0;
    }


    .footer-top {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 45px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-brand img {
        width: 220px;
    }


    .footer-column,
    .footer-contact {
        padding-left: 0;
        padding-top: 30px;

        border-left: none;

        border-top: 1px solid rgba(0, 105, 180, 0.15);
    }


    .copyright {
        margin: 0 -25px;

        padding: 22px 25px;

        flex-direction: column;

        text-align: center;
    }


    .footer-legal {
        justify-content: center;

        flex-wrap: wrap;
    }
}

/* ===== Mobile menu toggle (hidden on desktop) ===== */
#mobile {
    display: none;
    align-items: center;
    gap: 20px;
}

#mobile a,
#mobile i {
    color: #1a1a1a;
    font-size: 20px;
    cursor: pointer;
}

#navbar #close {
    display: none;
}

/* ===== Responsive breakpoints ===== */

/* Tablets and small laptops (≤1024px) */
@media (max-width: 1024px) {
    .section-p1 {
        padding: 20px 60px;
    }

    #header {
        padding: 20px 60px;
    }

    /* Slide-down nav for tablets */
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #E2EDF6;
        padding: 80px 0 0 10px;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease;
    }

    #navbar.active {
        right: 0;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar #lg-bag {
        display: none;
    }

    #navbar #close {
        display: block;
        position: absolute;
        top: 30px;
        left: 30px;
        font-size: 22px;
        color: #222;
    }

    #mobile {
        display: flex;
    }

    /* Hero scales down */
    #hero {
        height: 70vh;
        background-size: 40%;
        padding: 0 40px;
    }

    .hero-content {
        padding: 35px;
    }
}

/* Phones (≤768px) */
@media (max-width: 768px) {
    .section-p1 {
        padding: 20px 30px;
    }

    #header {
        padding: 15px 30px;
    }

    #header .logo {
        width: 175px;
        max-height: 44px;
    }

    /* Feature boxes stack to 2 per row */
    #feature .fe-box {
        width: 45%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 20px;
    }

    /* Past-collab logos: 2–3 per row instead of one giant row */
    #past .past-box {
        width: 30%;
        margin-bottom: 15px;
    }

    #past .past-box img {
        width: 100%;
        object-fit: contain;
    }

    /* Hero: image and text are stacked blocks so they never overlap */
    #hero {
        height: auto;
        background-image: none;
        padding: 0;
        gap: 0;
    }

    /* Show the inline hero image on mobile (sits below the text card) */
    .hero-img-desktop {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        order: 1;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 40px 25px;
    }

    #hero h2,
    h1 {
        font-size: 36px;
        line-height: 44px;
    }

    #hero h4 {
        font-size: 16px;
    }

    /* Footer stacks */
    #footer {
        padding: 40px 30px 20px;
        flex-direction: column;
    }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
    .section-p1 {
        padding: 20px 20px;
    }

    #header {
        padding: 12px 20px;
    }

    #header .logo {
        width: 145px;
        max-height: 36px;
    }

    /* Feature boxes 1 per row */
    #feature .fe-box {
        width: 100%;
    }

    /* Past logos 2 per row */
    #past .past-box {
        width: 47%;
    }

    .hero-content {
        padding: 30px 20px;
    }

    #hero h2 {
        font-size: 30px;
        line-height: 38px;
    }

    #hero button {
        width: 100%;
        max-width: 220px;
        min-height: 60px;
        height: auto;
    }
}

/* =========================================
   FLOATING LEAD TIME WIDGET
========================================= */

.lead-time-widget {
    position: fixed;

    right: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;

    text-decoration: none;

    z-index: 9999;

    font-family: inherit;

    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));

    transition: transform 0.3s ease;
}


/* =========================================
   BLUE CIRCLE
========================================= */

.lead-time-icon {
    width: 70px;
    height: 70px;

    min-width: 70px;

    border-radius: 50%;

    background: #0069B4;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;

    border: 4px solid white;

    position: relative;
    z-index: 2;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


/* =========================================
   WHITE MESSAGE BOX
========================================= */

.lead-time-message {
    width: 250px;
    min-height: 105px;

    background: white;

    border: 2px solid #0069B4;

    border-radius: 24px;

    /* Allows blue circle to overlap box */
    margin-left: -30px;

    padding:
        16px 20px 16px 48px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;
}


/* =========================================
   MESSAGE TEXT
========================================= */

.lead-time-message span {
    color: #0069B4;

    font-size: 15px;
    font-weight: 700;

    margin-bottom: 3px;
}


.lead-time-message strong {
    color: #222;

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 10px;
}


.lead-time-message small {
    color: #0069B4;

    font-size: 14px;
    font-weight: 600;
}


.lead-time-message small i {
    margin-left: 7px;

    transition: transform 0.3s ease;
}


/* =========================================
   HOVER
========================================= */

.lead-time-widget:hover {
    transform: translateY(-5px);
}


.lead-time-widget:hover .lead-time-icon {
    transform: scale(1.08);

    background: #00579A;
}


.lead-time-widget:hover .lead-time-message small i {
    transform: translateX(5px);
}


/* =========================================
   SUBTLE PULSE
========================================= */

@keyframes leadTimePulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(0, 105, 180, 0.35);
    }

    70% {
        box-shadow:
            0 0 0 12px rgba(0, 105, 180, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(0, 105, 180, 0);
    }
}


.lead-time-icon {
    animation: leadTimePulse 2.5s infinite;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .lead-time-widget {
        right: 15px;
        bottom: 15px;
    }


    .lead-time-icon {
        width: 55px;
        height: 55px;

        min-width: 55px;

        font-size: 20px;

        border-width: 3px;
    }


    .lead-time-message {
        width: 205px;
        min-height: 82px;

        margin-left: -24px;

        padding:
            11px 14px 11px 37px;

        border-radius: 19px;
    }


    .lead-time-message span {
        font-size: 12px;
    }


    .lead-time-message strong {
        font-size: 13px;

        margin-bottom: 6px;
    }


    .lead-time-message small {
        font-size: 11px;
    }

}