/* =========================================================
   BRAND MITRA - MAIN WEBSITE CSS
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(4, 8, 7, 0.94);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid #1d2925;
}

.nav {
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-right: auto;

    color: #ffffff;
}

.brand .logo {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #16c45b;
    color: #041008;

    font-size: 14px;
    font-weight: 900;

    box-shadow: 0 8px 25px rgba(22, 196, 91, 0.25);
}

.brand b {
    display: block;

    font-size: 17px;
    line-height: 1.1;
}

.brand small {
    display: block;

    margin-top: 3px;

    color: #8f9c97;

    font-size: 10px;
    letter-spacing: 0.3px;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;

    gap: 26px;

    color: #c7d0cc;

    font-size: 14px;
}

.main-nav a {
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #20d65f;
}


/* Header buttons */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 9px;

    padding: 11px 16px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #16c45b;
    color: #ffffff;

    box-shadow: 0 8px 25px rgba(22, 196, 91, 0.18);
}

.btn-whatsapp:hover {
    background: #11b651;

    box-shadow:
        0 12px 30px rgba(22, 196, 91, 0.30);
}

.btn-telegram {
    background: #159ee9;
    color: #ffffff;
}

.btn-telegram:hover {
    background: #0d8ed4;
}

.btn-outline {
    background: transparent;

    border: 1px solid #16c45b;

    color: #07983e;
}

.btn-outline:hover {
    background: #16c45b;
    color: #ffffff;
}

.btn-lg {
    min-height: 50px;

    padding: 14px 20px;

    font-size: 15px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(10, 88, 48, 0.75) 0,
            rgba(5, 25, 17, 0.45) 25%,
            transparent 52%
        ),
        linear-gradient(
            135deg,
            #030706 0%,
            #07100d 55%,
            #030807 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    top: -200px;

    border-radius: 50%;

    background: rgba(22, 196, 91, 0.08);

    filter: blur(10px);
}

.hero-grid {
    min-height: 650px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 45px;

    position: relative;
    z-index: 2;
}


/* Hero content */

.eyebrow {
    display: inline-flex;
    align-items: center;

    color: #20d65f;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.4px;

    margin-bottom: 17px;
}

.hero h1 {
    margin-bottom: 22px;

    font-size: clamp(43px, 6vw, 72px);

    line-height: 1.02;

    letter-spacing: -2.5px;

    font-weight: 900;
}

.hero h1 span {
    color: #20d65f;
}

.hero-copy {
    max-width: 600px;

    color: #bdc9c4;

    font-size: 18px;

    line-height: 1.7;
}


/* Hero CTA */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 29px;
}


/* Hero statistics */

.stats {
    display: flex;

    gap: 45px;

    margin-top: 43px;
}

.stats div {
    position: relative;
}

.stats b {
    display: block;

    color: #ffffff;

    font-size: 23px;
    font-weight: 900;
}

.stats small {
    display: block;

    margin-top: 3px;

    color: #879590;

    font-size: 12px;
}


/* =========================================================
   HERO MOCKUP
   ========================================================= */

.hero-card {
    position: relative;

    min-height: 440px;

    display: grid;
    place-items: center;
}

.mock-window {
    position: relative;

    width: 92%;
    height: 315px;

    padding: 48px 25px 25px;

    border-radius: 19px;

    border: 1px solid #2a3a34;

    background:
        linear-gradient(
            145deg,
            #17211e,
            #07100d
        );

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.55),
        inset 0 1px rgba(255,255,255,0.04);
}


/* Window top */

.window-top {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 43px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 15px;

    border-bottom: 1px solid #26332f;
}

.window-top span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #53625d;
}

.window-top label {
    margin-left: auto;

    color: #83918c;

    font-size: 11px;
}


/* Chart */

.chart-box {
    padding: 18px;

    border: 1px solid #263731;

    border-radius: 14px;

    background: rgba(255,255,255,0.015);
}

.chart-box small {
    display: block;

    color: #8d9d97;

    font-size: 11px;
}

.chart-box strong {
    display: block;

    margin-top: 6px;

    color: #ffffff;

    font-size: 25px;
}

.chart {
    height: 105px;

    display: flex;
    align-items: flex-end;

    gap: 9px;

    margin-top: 18px;
}

.chart i {
    display: block;

    flex: 1;

    min-width: 5px;

    border-radius: 5px 5px 0 0;

    background: linear-gradient(
        to top,
        #0c8f40,
        #20d65f
    );

    height: 35%;
}

.chart i:nth-child(2) {
    height: 47%;
}

.chart i:nth-child(3) {
    height: 40%;
}

.chart i:nth-child(4) {
    height: 63%;
}

.chart i:nth-child(5) {
    height: 57%;
}

.chart i:nth-child(6) {
    height: 82%;
}

.chart i:nth-child(7) {
    height: 96%;
}


/* Floating cards */

.float-card {
    position: absolute;

    min-width: 145px;

    padding: 12px 15px;

    border-radius: 12px;

    border: 1px solid #2d3d38;

    background: #101a17;

    box-shadow:
        0 18px 45px rgba(0,0,0,0.45);

    color: #ffffff;
}

.float-card b {
    display: block;

    margin-top: 3px;

    font-size: 13px;
}

.float-card small {
    display: block;

    margin-top: 2px;

    color: #93a29d;

    font-size: 10px;
}

.float-card.one {
    left: -10px;
    top: 55px;
}

.float-card.two {
    right: -10px;
    bottom: 35px;
}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.section {
    padding: 95px 0;
}

.section-head {
    max-width: 720px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-head h2,
.contact-section h2 {
    margin-bottom: 13px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.12;

    letter-spacing: -1px;
}

.section-head p,
.contact-section p {
    color: #66747f;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   SERVICES
   ========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;
}

.cards article {
    min-height: 245px;

    padding: 25px;

    border: 1px solid #e4e9e7;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(15,23,42,0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border 0.25s ease;
}

.cards article:hover {
    transform: translateY(-7px);

    border-color: #bceccc;

    box-shadow:
        0 22px 50px rgba(15,23,42,0.10);
}

.icon {
    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #effbf3;

    font-size: 27px;
}

.cards h3 {
    margin-top: 19px;
    margin-bottom: 9px;

    font-size: 18px;
}

.cards p {
    color: #687681;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   WHY SECTION
   ========================================================= */

.dark-section {
    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(18,105,57,0.20),
            transparent 38%
        ),
        #07100d;
}

.dark-section .section-head p {
    color: #9aa8a3;
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.why-grid > div {
    padding: 27px;

    border: 1px solid #20302a;

    border-radius: 15px;

    background: rgba(255,255,255,0.025);

    transition: 0.2s ease;
}

.why-grid > div:hover {
    border-color: #16c45b;

    transform: translateY(-4px);
}

.why-grid b {
    font-size: 17px;
}

.why-grid p {
    margin-top: 9px;

    color: #98a7a1;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 95px 0;

    background:
        linear-gradient(
            135deg,
            #f8fbf9,
            #f2f7f4
        );
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 60px;

    align-items: center;
}

.contact-section h2 {
    font-size: clamp(36px, 5vw, 53px);
}

.contact-section p {
    max-width: 560px;
}


/* Query form */

.query-form {
    padding: 30px;

    border: 1px solid #e0e8e4;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 25px 60px rgba(15,23,42,0.08);
}

.query-form h3 {
    margin-bottom: 5px;

    font-size: 25px;
}

.query-form > p {
    margin-bottom: 21px;

    font-size: 13px;
}

.form-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}

input,
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d9e2de;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #17211e;

    font-size: 14px;

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #9aa6a1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #16c45b;

    box-shadow:
        0 0 0 3px rgba(22,196,91,0.12);
}

textarea {
    min-height: 125px;

    margin-top: 12px;

    resize: vertical;
}

.submit-btn {
    width: 100%;

    margin-top: 12px;

    min-height: 49px;
}

.query-form > small {
    display: block;

    margin-top: 10px;

    color: #8a9893;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.floating-wa {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #16c45b;

    color: #ffffff;

    font-size: 27px;

    box-shadow:
        0 14px 38px rgba(22,196,91,0.45);

    z-index: 1000;

    transition: 0.2s ease;
}

.floating-wa:hover {
    transform: scale(1.08);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 27px 0;

    background: #050807;

    color: #8e9c97;

    font-size: 12px;
}

footer .container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

footer b {
    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   SUCCESS PAGE
   ========================================================= */

.success-page {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 25px;

    background: #07100d;
}

.success-card {
    width: min(520px, 100%);

    padding: 45px 35px;

    border-radius: 20px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.4);
}

.success-icon {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    margin: auto;

    border-radius: 50%;

    background: #16c45b;

    color: #ffffff;

    font-size: 32px;
}

.success-card h1 {
    margin-top: 20px;

    font-size: 36px;
}

.success-card p {
    margin-top: 12px;

    color: #687681;

    line-height: 1.7;
}

.back-link {
    display: block;

    margin-top: 20px;

    color: #687681;

    font-size: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        grid-template-columns: 1fr;

        padding-top: 75px;
        padding-bottom: 70px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .hero-card {
        min-height: 390px;
    }

    .cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(92%, 560px);
    }


    /* Header */

    .nav {
        min-height: 64px;

        gap: 8px;
    }

    .main-nav {
        display: none;
    }

    .nav-actions {
        gap: 5px;
    }

    .nav-actions .btn {
        padding: 9px 10px;

        font-size: 11px;
    }

    .nav-actions .btn-telegram {
        display: none;
    }


    /* Hero */

    .hero-grid {
        padding-top: 60px;

        gap: 25px;
    }

    .hero h1 {
        font-size: 44px;

        letter-spacing: -1.8px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats {
        gap: 20px;

        justify-content: space-between;
    }

    .stats b {
        font-size: 18px;
    }

    .stats small {
        font-size: 10px;
    }


    /* Hero mockup */

    .hero-card {
        min-height: 290px;
    }

    .mock-window {
        width: 100%;

        height: 235px;

        padding: 45px 15px 15px;
    }

    .chart-box {
        padding: 13px;
    }

    .chart {
        height: 75px;

        gap: 5px;
    }

    .float-card {
        min-width: 115px;

        padding: 9px;

        transform: scale(0.82);
    }

    .float-card.one {
        left: -22px;
        top: 45px;
    }

    .float-card.two {
        right: -22px;
        bottom: 15px;
    }


    /* Sections */

    .section {
        padding: 70px 0;
    }

    .section-head {
        margin-bottom: 35px;
    }

    .section-head h2,
    .contact-section h2 {
        font-size: 34px;
    }


    /* Services */

    .cards {
        grid-template-columns: 1fr;
    }

    .cards article {
        min-height: auto;
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* Contact */

    .contact-section {
        padding: 70px 0;
    }

    .contact-section h2 {
        font-size: 36px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .query-form {
        padding: 22px;
    }


    /* Footer */

    footer .container {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Floating WhatsApp */

    .floating-wa {
        width: 55px;
        height: 55px;

        right: 16px;
        bottom: 16px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .brand b {
        font-size: 15px;
    }

    .brand small {
        font-size: 9px;
    }

    .brand .logo {
        width: 36px;
        height: 36px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .stats {
        gap: 12px;
    }

    .stats b {
        font-size: 16px;
    }

    .stats small {
        font-size: 9px;
    }

}