/* =========================
   RESET & ROOT VARIABLES
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: rgb(8, 144, 255);
    --dark: rgb(8, 144, 255);
    --navy: rgb(8, 144, 255);
    --light: #f6f9ff;
    --green: #12a64a;
}

html {
    scroll-behavior:smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #102348;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   CONTAINER
   ========================= */

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================
   HEADER & NAVIGATION
   ========================= */

.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px #001a4412;
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 35px;
}


/* Navbar brand */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}


/*
   FIXED:
   Removed the old negative margin.
*/
.icon {
    width: 50px;
    height: 50px;
    margin-left: -140px;
}


/* Brand title */

.brand strong {
    display: block;
    color: rgb(8, 144, 255);
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .5px;
}


/* Brand subtitle */

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgb(7, 67, 116);
}


/* Navigation */

nav {
    display: flex;
    gap: 38px;
}

nav a {
    font-size: 13px;
    font-weight: 700;
    padding: 29px 0;
    position: relative;
}

nav a.active,
nav a:hover {
    color: var(--blue);
}

nav a.active:after {
    content: "";
    position: absolute;
    bottom: 17px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
}


/* Phone button */

.nav-phone {
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    padding: 12px 23px;
    font-weight: 700;
    white-space: nowrap;
}


/* Hamburger */

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    color: var(--blue);
    cursor: pointer;
}


/* =========================
   HERO SECTION
   ========================= */

.hero {
    min-height: 490px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('Images/background.png') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 32%,
        rgba(255,255,255,.9) 48%,
        rgba(255,255,255,.1) 72%
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    min-height: 490px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/*
   FIXED:
   Removed margin-left: -80px.
*/
.hero-text {
    max-width: 600px;
    margin-left: -120px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: rgb(8, 144, 255);
}

.hero h1 span {
    color: rgb(7, 31, 76);
}

.line {
    width: 45px;
    height: 3px;
    background: rgb(8, 144, 255);
    margin: 16px 0;
}

.hero-text > p {
    font-size: 16px;
    max-width: 560px;
}

.trust-points {
    display: flex;
    gap: 32px;
    margin: 20px 0;
}

.trust-points div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
}

.trust-points b {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgb(8, 144, 255);
    color: #fff;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
   ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 7px;

    padding: 12px 21px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.primary {
    background: rgb(8, 144, 255);
    color: #fff;
}

.whatsapp {
    background: #12a64a;
    color: #fff;
}

.outline {
    border: 1.5px solid rgb(8, 144, 255);
    background: #fff;
    color: rgb(8, 144, 255);
}

.white {
    background: #fff;
    color: rgb(8, 144, 255);
}


/* =========================
   STATISTICS SECTION
   ========================= */

.stats {
    background: linear-gradient(90deg, #0753af, #0866c9);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 145px;
    align-items: center;
    margin-top: 0;
}

.stats-grid div {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border-right: 1px solid #ffffff55;
}

.stats-grid div:last-child {
    border: 0;
}

.stats-grid strong {
    font-size: 25px;
}

.stats-grid span {
    font-size: 12px;
    font-weight: 600;
}


/* =========================
   GENERAL SECTION STYLING
   ========================= */

.section {
    padding: 72px 0;
}


/* =========================
   ABOUT SECTION
   ========================= */

.about {
    background: #f7faff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 70px;
    align-items: center;
}

.section-heading {
    margin-bottom: 25px;
    text-align: center;
}

.section-heading.left {
    text-align: left;
}

.section-heading span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #075bbd;
}

.section-heading h2 {
    font-size: 30px;
    line-height: 1.2;
    color: #082556;
    margin-top: 4px;
}

.section-heading i {
    display: block;
    width: 42px;
    height: 3px;
    background: #075bbd;
    margin: 12px auto;
}

.section-heading.left i {
    margin-left: 0;
}

.about p {
    margin: 10px 0;
    color: #52617a;
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    color: #075bbd;
    font-weight: 700;
    font-size: 14px;
}

.about-box {
    background: #b3c1d4;
    color: #fff;
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 20px 45px #0755b830;
}

.about-icon {
    font-size: 48px;
}

.about-box h3 {
    font-size: 24px;
    margin: 12px 0 7px;
}


/* =========================
   SERVICES SECTION
   ========================= */

.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.service-card {
    border: 1px solid #dce5f1;
    border-radius: 9px;

    padding: 23px 12px;

    text-align: center;

    transition: .25s;

    background: #fff;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px #123c7015;
    border-color: #72a8e8;
}

.service-icon {
    font-size: 34px;
    color: #075bc0;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 11px;
    color: #0a2757;
}

.service-card p {
    font-size: 10px;
    line-height: 1.45;
    color: #53617a;
    margin-top: 6px;
}


/* =========================
   WORK / GALLERY SECTION
   ========================= */

.work {
    background: #f7faff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery figure {
    position: relative;
    height: 350px;
    border-radius: 9px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.gallery figure:hover img {
    transform: scale(1.06);
}

.gallery figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: #075bbdeB;

    color: #fff;

    text-align: center;

    font-size: 12px;
    font-weight: 700;

    padding: 8px;
}

.center {
    text-align: center;
    margin-top: 22px;
}


/* =========================
   QUOTE STRIP
   ========================= */

.quote-strip {
    background: linear-gradient(90deg, #06499e, #0871d7);
    color: #fff;
    padding: 36px 0;
}

.quote-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.quote-inner span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.quote-inner h2 {
    font-size: 25px;
}


/* =========================
   CONTACT SECTION
   ========================= */

.contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.contact-details a,
.contact-details span {
    color: #334b70;
    font-size: 14px;
}

form {
    display: grid;
    gap: 12px;

    background: #f5f8fd;

    padding: 28px;

    border-radius: 12px;
}

input,
select,
textarea {
    font: inherit;

    border: 1px solid #d7e0ed;

    border-radius: 6px;

    padding: 13px 14px;

    background: #fff;

    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #075bbd;
}

.full {
    width: 100%;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: #075bbd;
}


/* =========================
   FOOTER
   ========================= */

.footer-main {
    background: #06275d;
    color: #fff;
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr;
    gap: 45px;
}

.footer-grid h3 {
    font-size: 13px;
    margin-bottom: 13px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    display: block;
    color: #d9e6fb;
    font-size: 12px;
    margin: 7px 0;
}

.footer-brand {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.socials a {
    width: 30px;
    height: 30px;

    background: #0a65c8;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #fff;
}

.copyright {
    background: #041b43;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE DESIGN
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1000px) {

    nav {
        gap: 20px;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 44px;
    }

    .why-card {
        width: 250px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 780px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* =========================
       HEADER
       ========================= */

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }


    .nav {
        position: relative;

        height: 76px;

        width: 100%;

        padding: 0 5%;

        margin: 0;

        box-sizing: border-box;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 0;
    }


    /*
       IMPORTANT:
       Keep the brand naturally inside
       the navbar. No absolute positioning.
    */

    .brand {
        display: flex !important;

        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 0 !important;

        margin: 0 !important;

        padding: 0 !important;

        position: static !important;

        transform: none !important;

        width: auto !important;

        max-width: none !important;

        overflow: visible !important;
    }


    /*
       Hide the icon on mobile.
       This prevents the old icon positioning
       from pushing the title away.
    */

    .brand .icon,
    .nav .icon {
        display: none !important;
    }


    /* Navbar title */

    .brand strong {
        display: block !important;

        font-size: 30px !important;

        line-height: 30px !important;

        font-weight: 800;

        white-space: nowrap;

        margin: 0 !important;

        padding: 0 !important;

        transform: none !important;
    }


    /* Navbar subtitle */

    .brand small {
        display: block !important;

        font-size: 9px !important;

        line-height: 11px !important;

        white-space: nowrap;

        margin: 1px 0 0 0 !important;

        padding: 0 !important;

        transform: none !important;
    }


    /* Hamburger */

    .menu-toggle {
        display: block !important;

        position: static !important;

        background: none;

        border: 0;

        color: var(--blue);

        font-size: 30px;

        line-height: 1;

        padding: 0;

        margin: 0 !important;

        cursor: pointer;

        flex-shrink: 0;
    }


    /* =========================
       MOBILE NAVIGATION MENU
       ========================= */

    nav {
        display: none;

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        width: 100%;

        background: #fff;

        flex-direction: column;

        gap: 0;

        padding: 8px 5%;

        box-sizing: border-box;

        box-shadow: 0 12px 20px #001a4420;

        z-index: 999;
    }


    nav.open {
        display: flex;
    }


    nav a {
        width: 100%;

        padding: 12px 0;

        font-size: 14px;
    }


    nav a.active:after {
        display: none;
    }


    .nav-phone {
        display: none;
    }


    /* =========================
       HERO
       ========================= */

    .hero {
        width: 100%;

        min-height: 680px;

        position: relative;

        overflow: hidden;
    }


    .hero-image {
        position: absolute;

        inset: 0;

        background-position: center;

        background-size: cover;
    }


    .hero-overlay {
        background: linear-gradient(
            180deg,
            #fffffffa 0%,
            #ffffffeb 47%,
            #ffffff22 100%
        );
    }


    .hero-content {
        position: relative;

        z-index: 2;

        width: 100%;

        max-width: 100%;

        min-height: 680px;

        display: flex;

        align-items: flex-start;

        justify-content: flex-start;

        padding: 45px 5% 40px;

        margin: 0;

        box-sizing: border-box;
    }


    /*
       FIXED:
       Hero text now uses normal positioning.
    */

    .hero-text {
        width: 100%;

        max-width: 600px;

        margin: 0 !important;

        padding: 0;
    }


    .hero h1 {
        width: 100%;

        max-width: 100%;

        font-size: 42px;

        line-height: 1.15;

        letter-spacing: -1px;

        margin: 0;

        word-wrap: break-word;
    }


    .hero-text > p {
        width: 100%;

        max-width: 100%;

        font-size: 16px;

        margin: 0;
    }


    .line {
        margin: 16px 0;
    }


    /* =========================
       TRUST POINTS
       ========================= */

    .trust-points {
        width: 100%;

        max-width: 100%;

        display: flex;

        flex-wrap: wrap;

        gap: 12px;

        margin: 20px 0;
    }


    .trust-points div {
        font-size: 9px;
    }


    .trust-points b {
        width: 34px;

        height: 34px;

        flex-shrink: 0;
    }


    /* Hide why cards */

    .why-card {
        display: none;
    }


    /* =========================
       HERO BUTTONS
       ========================= */

    .hero-buttons {
        width: 100%;

        max-width: 100%;

        display: flex;

        flex-direction: column;

        gap: 12px;

        margin: 0;
    }


    .hero-buttons .btn {
        width: 100%;

        max-width: 100%;

        min-height: 56px;

        box-sizing: border-box;
    }


    /* =========================
       STATS
       ========================= */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);

        padding: 12px 0;
    }


    .stats-grid div {
        min-height: 55px;

        margin: 5px 0;
    }


    /* =========================
       ABOUT / CONTACT
       ========================= */

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* =========================
       GALLERY
       ========================= */

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }


    /* =========================
       FOOTER
       ========================= */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    html,
    body {
        width: 100%;

        max-width: 100%;

        overflow-x: hidden;
    }


    /* =========================
       NAVBAR
       ========================= */

    .nav {
        height: 76px !important;

        width: 100% !important;

        padding-left: 5% !important;

        padding-right: 5% !important;

        box-sizing: border-box !important;
    }


    .brand {
        display: flex !important;

        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 0 !important;

        margin: 0 !important;

        padding: 0 !important;

        position: static !important;

        transform: none !important;

        max-width: none !important;

        overflow: visible !important;
    }


    /* Keep icon hidden */

    .brand .icon,
    .nav .icon {
        display: none !important;
    }


    .brand strong {
        font-size: 30px !important;

        line-height: 30px !important;

        margin: 0 !important;

        padding: 0 !important;

        white-space: nowrap !important;
    }


    .brand small {
        font-size: 9px !important;

        line-height: 11px !important;

        margin: 1px 0 0 0 !important;

        padding: 0 !important;

        white-space: nowrap !important;
    }


    .menu-toggle {
        display: block !important;

        position: static !important;

        font-size: 30px;

        margin: 0 !important;

        padding: 0;

        transform: none !important;
    }


    nav {
        top: 76px !important;
    }


    /* =========================
       HERO
       ========================= */

    .hero {
        width: 100%;

        min-height: 680px;

        overflow: hidden;
    }


    .hero-content {
        width: 100%;

        min-height: 680px;

        padding: 40px 5% 40px;

        box-sizing: border-box;

        margin: 0;
    }


    .hero-text {
        width: 100%;

        max-width: 100%;

        margin: 0 !important;
    }


    .hero h1 {
        font-size: 35px;

        line-height: 1.15;

        letter-spacing: -0.5px;

        width: 100%;

        max-width: 100%;

        margin: 0;
    }


    .hero-text > p {
        font-size: 14px;

        line-height: 1.6;

        width: 100%;

        max-width: 100%;

        margin: 0;
    }


    .line {
        margin: 16px 0;
    }


    /* =========================
       TRUST POINTS
       ========================= */

    .trust-points {
        width: 100%;

        gap: 12px;

        margin: 20px 0;

        flex-wrap: wrap;
    }


    .trust-points div {
        font-size: 9px;
    }


    .trust-points b {
        width: 34px;

        height: 34px;
    }


    /* =========================
       BUTTONS
       ========================= */

    .hero-buttons {
        width: 100%;

        max-width: 100%;

        gap: 12px;

        margin: 0;
    }


    .hero-buttons .btn {
        width: 100%;

        max-width: 100%;

        min-height: 56px;

        box-sizing: border-box;
    }


    /* =========================
       SERVICES / GALLERY
       ========================= */

    .service-grid,
    .gallery {
        grid-template-columns: 1fr;
    }


    .gallery figure {
        height: 220px;
    }


    /* =========================
       QUOTE
       ========================= */

    .quote-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    .quote-inner h2 {
        font-size: 21px;
    }


    /* =========================
       FOOTER
       ========================= */

    .footer-grid {
        grid-template-columns: 1fr;
    }

}