﻿/* =========================================================
   GLOBAL / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bs-body-font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --muted: #6c757d;
    --line: #e9ecef;
    --bg: #FFFFFF;
    --ink: #1B1B1F;
    --ink-soft: #5F6368;
    --line: #E8E8EC;
    --card: #FFFFFF;
    --accent: #2564EB;
    --accent-deep: #1B4DE0;
    --accent-soft: #EEF3FF;
    --accent-soft-2: #E8F0FF;
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* Blue theme*/
/*#home, #about, #services, #clients, #testimonials, #contact {
   
}*/

body {
    margin: 0;
    padding: 0;
    font-family: var(--bs-body-font-family);
    color: #1a1d20;
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -.5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.text-muted-2 {
    color: #5f6368;
}

/* ---------- Buttons ---------- */

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--accent-deep);
        border-color: var(--accent-deep);
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(37, 100, 235, 0.28);
    }

.btn-outline-dark {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

    .btn-outline-dark:hover,
    .btn-outline-dark:focus {
        color: var(--accent-deep);
        border-color: var(--accent);
        background: var(--accent-soft);
        transform: translateY(-2px);
    }

.btn-outline-secondary {
    color: var(--ink-soft);
    border-color: var(--line);
}

    .btn-outline-secondary:hover,
    .btn-outline-secondary:focus {
        color: #fff;
        background: var(--accent);
        border-color: var(--accent);
    }

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
    }

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand .logo {
        width: auto;
        height: 42px;
        display: block;
        object-fit: contain;
    }

.nav-link {
    font-weight: 500;
    font-size: .925rem;
    color: #333;
}

    /* Text only */
    .nav-link span {
        position: relative;
        display: inline-block;
        transition: color 0.3s ease;
    }

        /* Line starts from center */
        .nav-link span::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -3px;
            width: 0;
            height: 2px;
            background: #0d6efd;
            border-radius: 10px;
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

    /* Hover */
    .nav-link:hover span {
        color: #0d6efd;
    }

        .nav-link:hover span::after {
            width: 100%;
        }

    /* Active */
    .nav-link.active span {
        color: #0d6efd;
    }

        .nav-link.active span::after {
            width: 100%;
        }


/* Tablet */
@media (max-width: 991.98px) {
    .navbar-brand .logo {
        height: 38px;
    }
}


/* Mobile */
@media (max-width: 575.98px) {
    .navbar-brand .logo {
        height: 34px;
    }
}

/* ---------- Section ---------- */
section {
    padding: 6rem 0;
    /*border-bottom: 1px solid var(--line);*/
}

.section-heading {
    text-align: center;
}

    .section-heading h2 {
        margin: 14px 0 0;
        font-size: clamp(30px, 4vw, 46px);
        line-height: 1.1;
        letter-spacing: -0.02em;
        font-weight: 600;
        color: var(--ink);
    }

.section-content {
    margin: 50px auto 0;
}

.section-badge {
    display: inline-block;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(18, 19, 26, 0.04);
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 100px 0 64px;
    text-align: center;
    overflow: hidden;
    color: var(--ink);
}

    .hero::before {
        content: "";
        position: absolute;
        top: -220px;
        left: 50%;
        transform: translateX(-50%);
        width: 1100px;
        height: 520px;
        background: radial-gradient(closest-side, var(--glow-a), transparent 70%), radial-gradient(closest-side, var(--glow-b), transparent 70%);
        background-position: 30% 60%, 75% 40%;
        background-repeat: no-repeat;
        filter: blur(10px);
        pointer-events: none;
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 24px auto 0;
    max-width: 800px;
    color: var(--ink);
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 22px auto 0;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    .service-card:hover {
        border-color: var(--bs-primary);
        box-shadow: 0 12px 30px rgba(13, 110, 253, .08);
        transform: translateY(-4px);
    }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(13, 110, 253, .08);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chip {
    padding: .3rem .7rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .75rem;
    color: #495057;
    background: #fff;
}
/* Learn More */

.service-learn-more {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-top: 1px solid var(--line);
    color: var(--bs-primary);
    font-size: .875rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

    .service-learn-more i {
        transition: transform .25s ease;
    }

.service-card:hover .service-learn-more {
    opacity: 1;
    transform: translateY(0);
}

    .service-card:hover .service-learn-more i {
        transform: translateX(4px);
    }
/* =========================================================
   CLIENTS
   ========================================================= */

.client-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-weight: 700;
    letter-spacing: .06em;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .25s ease, opacity .25s ease, color .25s ease;
}

    .client-logo:hover {
        filter: none;
        opacity: 1;
        color: var(--bs-primary);
    }
/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform .45s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 .75rem;
}

.testimonial-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Tablet */
@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}
/* Desktop */
@media (min-width: 992px) {
    .testimonial-slide {
        flex: 0 0 33.3333%;
    }
}
/* =========================================================
   CONTACT
   ========================================================= */

.contact-panel {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.form-floating > label {
    color: var(--muted);
}
/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #fff;
    color: #1a1d20;
    border-top: 1px solid var(--line);
}

    footer a {
        color: #5f6368;
        text-decoration: none;
    }

        footer a:hover {
            color: var(--bs-primary);
        }
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    section {
        padding: 4rem 0;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-image {
        border-radius: 16px 16px 0 0;
    }

        .hero-image img {
            min-height: 250px;
            max-height: 400px;
        }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ---------- CTA BAND ---------- */
.cta-band {
    background: var(--accent);
    border-radius: var(--radius-lg);
    padding: 56px;
}

    .cta-band h2 {
        color: #fff;
        font-size: clamp(24px, 2.8vw, 32px);
        max-width: 460px;
        line-height: 1.22;
        margin-bottom: 8px;
    }

    .cta-band p {
        color: var(--line);
        font-size: 15px;
        margin-bottom: 0;
    }

    .cta-band .btn-light {
        color: var(--accent-deep);
    }

        .cta-band .btn-light:hover {
            background: var(--accent-soft);
        }
@@media (max-width: 767.98px) {
    .section-pad {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .cta-band {
        padding: 40px 28px;
    }
}
