/* =====================================================
   MAHESH SERVICES
   Main Website Styles
===================================================== */


/* ================= VARIABLES ================= */

:root {

    --primary: #176b5b;
    --primary-dark: #0e4f43;

    --text: #13221f;
    --muted: #65746f;

    --light-green: #eaf5f1;

    --light-background: #f7faf9;

    --white: #ffffff;

    --border: #dbe7e3;

    --dark-background: #102c26;

    --max-width: 1160px;

}


/* ================= RESET ================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.65;

}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}


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

.container {

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    margin: 0 auto;

}


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

.site-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(255, 255, 255, 0.95);

    backdrop-filter:
        blur(10px);

    border-bottom:
        1px solid var(--border);

}


.nav-container {

    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    height: 76px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ================= BRAND ================= */

.brand {

    display: flex;

    align-items: center;

    gap: 11px;

}


.brand-logo {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        var(--primary);

    color: var(--white);

    font-weight: 800;

    font-size: 13px;

}


.brand-text strong {

    display: block;

    font-size: 15px;

}


.brand-text small {

    display: block;

    color: var(--muted);

    font-size: 10px;

}


/* ================= NAVIGATION ================= */

.navigation {

    display: flex;

    gap: 26px;

    align-items: center;

}


.navigation a {

    font-size: 13px;

    font-weight: 600;

    transition:
        color 0.2s ease;

}


.navigation a:hover {

    color: var(--primary);

}


.menu-button {

    display: none;

    border: none;

    background: none;

    font-size: 25px;

    cursor: pointer;

}


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

.hero {

    padding:
        90px
        0
        75px;

    background:
        linear-gradient(
            135deg,
            #f7fbf9 0%,
            #ffffff 58%,
            #edf7f3 100%
        );

}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 70px;

    align-items: center;

}


.eyebrow {

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 800;

    color: var(--primary);

}


.hero h1 {

    margin:
        14px
        0
        22px;

    font-size:
        clamp(
            40px,
            5vw,
            66px
        );

    line-height: 1.05;

    letter-spacing: -2.8px;

}


.hero h1 span {

    color: var(--primary);

}


.hero-description {

    max-width: 680px;

    font-size: 18px;

    color: var(--muted);

}


.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin:
        27px
        0;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px
        21px;

    border-radius: 10px;

    border:
        1px solid var(--primary);

    font-size: 13px;

    font-weight: 700;

    transition:
        all 0.2s ease;

}


.button-primary {

    background:
        var(--primary);

    color:
        var(--white);

}


.button-primary:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-1px);

}


.button-secondary {

    background:
        var(--white);

    color:
        var(--primary);

}


.button-secondary:hover {

    background:
        var(--light-green);

}


.trust-points {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    color: #52625e;

    font-size: 11px;

    font-weight: 600;

}


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

.hero-card {

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 28px;

    box-shadow:
        0 20px 55px
        rgba(22, 79, 64, 0.08);

}


.hero-card-title {

    font-size: 10px;

    letter-spacing: 1.7px;

    color: var(--muted);

    font-weight: 800;

    padding-bottom: 15px;

    border-bottom:
        1px solid var(--border);

}


.solution-item {

    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        16px
        0;

    border-bottom:
        1px solid #edf2f0;

    font-size: 14px;

    font-weight: 600;

}


.solution-item:last-child {

    border-bottom: none;

}


.solution-item b {

    color: var(--primary);

    font-size: 11px;

}


/* ================= HIGHLIGHTS ================= */

.highlights {

    background:
        var(--primary);

    color:
        var(--white);

}


.highlights-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

}


.highlight {

    padding:
        23px
        10px;

    text-align: center;

    border-right:
        1px solid
        rgba(255,255,255,0.2);

}


.highlight:last-child {

    border-right: none;

}


.highlight strong {

    font-size: 24px;

    margin-right: 10px;

}


.highlight span {

    font-size: 11px;

}


/* ================= SECTIONS ================= */

.section {

    padding:
        88px
        0;

}


.section-light {

    background:
        var(--light-background);

}


.section h2 {

    margin:
        10px
        0
        18px;

    font-size: 38px;

    line-height: 1.12;

    letter-spacing: -1.3px;

}


.section p {

    color:
        var(--muted);

    font-size: 14px;

}


/* ================= TWO COLUMN ================= */

.two-column {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 70px;

    align-items: start;

}


/* ================= INFORMATION BOX ================= */

.information-box {

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 28px;

    box-shadow:
        0 15px 40px
        rgba(20,70,60,0.05);

}


.information-box h3 {

    color:
        var(--primary);

    font-size: 15px;

    margin:
        0
        0
        5px;

}


.information-box p {

    margin-bottom:
        22px;

}


/* ================= SECTION HEADING ================= */

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

}


.section-heading > p {

    max-width: 420px;

}


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

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-top: 32px;

}


.service-card {

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 16px;

    padding: 23px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.service-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 16px 35px
        rgba(20,70,60,0.08);

}


.service-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        var(--light-green);

    color:
        var(--primary);

    font-weight: 800;

}


.service-card h3 {

    font-size: 15px;

    margin:
        17px
        0
        7px;

}


.service-card p {

    font-size: 12px;

    line-height: 1.6;

    margin: 0;

}


/* ================= CRM ================= */

.crm-section {

    padding:
        88px
        0;

    background:
        var(--primary-dark);

    color:
        var(--white);

}


.crm-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 70px;

    align-items: center;

}


.crm-eyebrow {

    color:
        #bfe4d9;

}


.crm-section h2 {

    font-size: 38px;

    line-height: 1.12;

    letter-spacing: -1.3px;

}


.crm-section p {

    color:
        #d1e5df;

    font-size: 14px;

}


.crm-link {

    display: inline-block;

    margin-top: 10px;

    color:
        var(--white);

    font-size: 13px;

    font-weight: 700;

}


.pipeline {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    padding: 22px;

    background:
        rgba(255,255,255,0.07);

    border:
        1px solid
        rgba(255,255,255,0.14);

    border-radius: 16px;

}


.pipeline span {

    padding:
        8px
        10px;

    border:
        1px solid
        rgba(255,255,255,0.2);

    border-radius: 8px;

    font-size: 11px;

}


.pipeline b {

    opacity:
        0.5;

}


/* ================= PROCESS ================= */

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-top: 30px;

}


.process-item {

    padding:
        17px
        4px;

    border-top:
        2px solid
        var(--primary);

}


.process-item > strong {

    color:
        var(--primary);

    font-size: 11px;

}


.process-item h3 {

    font-size: 14px;

    margin:
        8px
        0
        3px;

}


.process-item p {

    font-size: 12px;

    margin: 0;

}


/* ================= CHECK LIST ================= */

.check-list p {

    padding:
        9px
        0;

    margin: 0;

    border-bottom:
        1px solid var(--border);

}


.check-list p:last-child {

    border-bottom: none;

}


/* ================= INDUSTRIES ================= */

.industries {

    padding:
        58px
        0;

    background:
        var(--dark-background);

    color:
        var(--white);

}


.industries-eyebrow {

    color:
        #9fd5c8;

}


.industry-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;

}


.industry-tags span {

    padding:
        10px
        14px;

    border:
        1px solid
        rgba(255,255,255,0.18);

    border-radius:
        100px;

    font-size: 11px;

    color:
        #dcece8;

}


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

.contact-section {

    background:
        linear-gradient(
            135deg,
            #edf7f3,
            #ffffff
        );

}


.contact-grid {

    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 70px;

    align-items: center;

}


.contact-card {

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 30px;

    box-shadow:
        0 15px 40px
        rgba(20,70,60,0.06);

}


.contact-card h3 {

    margin: 0;

    font-size: 18px;

}


.contact-tagline {

    font-size: 11px !important;

    margin-top: 2px;

}


.contact-detail {

    margin-top:
        20px;

}


.contact-detail strong {

    display: block;

    font-size: 12px;

    margin-bottom: 4px;

}


.contact-detail a {

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 700;

}


.contact-detail span {

    display: block;

    color:
        var(--muted);

    font-size: 13px;

}


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

footer {

    background:
        #0b201b;

    color:
        #bcd0ca;

    padding:
        20px
        0;

}


.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 10px;

}


/* ================= TABLET ================= */

@media (max-width: 900px) {


    .navigation {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .nav-container.open {

        position: relative;

    }


    .nav-container.open .navigation {

        display: flex;

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        padding:
            18px
            20px;

        background:
            var(--white);

        flex-direction: column;

        gap: 15px;

        border-bottom:
            1px solid var(--border);

    }


    .hero-grid,
    .two-column,
    .crm-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .service-grid {

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

    }


    .process-grid {

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

    }


    .section-heading {

        display: block;

    }


    .section-heading > p {

        margin-top:
            10px;

    }

}


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

@media (max-width: 560px) {


    .container,
    .nav-container {

        width:
            calc(100% - 28px);

    }


    .hero {

        padding:
            60px
            0;

    }


    .section,
    .crm-section {

        padding:
            62px
            0;

    }


    .hero h1 {

        font-size:
            42px;

        letter-spacing:
            -1.8px;

    }


    .section h2,
    .crm-section h2 {

        font-size:
            30px;

    }


    .hero-description {

        font-size:
            16px;

    }


    .service-grid,
    .process-grid {

        grid-template-columns:
            1fr;

    }


    .highlights-grid {

        grid-template-columns:
            1fr;

    }


    .highlight {

        border-right:
            none;

        border-bottom:
            1px solid
            rgba(255,255,255,0.2);

    }


    .highlight:last-child {

        border-bottom:
            none;

    }


    .trust-points {

        display: block;

    }


    .trust-points span {

        display: block;

        margin:
            7px
            0;

    }


    .footer-content {

        display: block;

    }


    .footer-content span {

        display: block;

        margin:
            4px
            0;

    }


    .pipeline {

        gap: 6px;

    }

}
