/* =========================================================
   BUSINESS INNOVATION GROUP
   Main Stylesheet
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {

    /* Main Colors */

    --primary: #0b2b63;
    --primary-dark: #071d45;
    --accent: #168de2;
    --accent-light: #46b8ff;

    /* Light Mode */

    --background: #ffffff;
    --background-soft: #f5f8fc;
    --surface: #ffffff;
    --surface-alt: #eef4fa;

    --text: #12264a;
    --text-light: #5d6d86;
    --text-muted: #7d8ba0;

    --border: #dce5ef;

    /* Effects */

    --shadow: 0 15px 40px rgba(11, 43, 99, 0.08);

    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 28px;

    /* Layout */

    --container-width: 1180px;

    /* Transitions */

    --transition: 0.3s ease;
}


/* =========================================================
   DARK MODE VARIABLES
========================================================= */

body.dark-mode {

    --background: #06152d;
    --background-soft: #0a1d39;

    --surface: #0d2445;
    --surface-alt: #102b50;

    --text: #f4f8ff;
    --text-light: #b9c8dc;
    --text-muted: #8fa2bd;

    --border: #1c3a60;

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    transition:
        background var(--transition),
        color var(--transition);
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font: inherit;
}


button {
    border: none;
    background: none;
    cursor: pointer;
}


ul {
    list-style: none;
}


/* =========================================================
   03. GLOBAL CONTAINER
========================================================= */

.container {
    width: min(
        90%,
        var(--container-width)
    );

    margin: 0 auto;
}


/* =========================================================
   04. GLOBAL SECTION
========================================================= */

.section {
    padding: 110px 0;
}


/* =========================================================
   05. TYPOGRAPHY
========================================================= */

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.section-heading {
    max-width: 700px;

    margin-bottom: 60px;
}


.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.section-heading h2 {
    margin-bottom: 20px;

    color: var(--text);

    font-size: clamp(
        2.2rem,
        5vw,
        3.5rem
    );

    line-height: 1.1;

    letter-spacing: -0.03em;
}


.section-heading h2 span,
.hero h1 span,
.about h2 span,
.differentiator blockquote span,
.cta h2 span,
.contact h2 span {
    color: var(--accent);
}


.section-heading > p {
    color: var(--text-light);

    font-size: 1.05rem;

    max-width: 650px;
}


.section-heading.centered > p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   06. BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border-radius: 6px;

    font-size: 0.9rem;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}


.btn:hover {
    transform: translateY(-3px);
}


.btn-primary {
    background: var(--accent);
    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(22, 141, 226, 0.2);
}


.btn-primary:hover {
    background: var(--primary);

    box-shadow:
        0 12px 30px rgba(11, 43, 99, 0.25);
}


.btn-secondary {
    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--text);
}


.btn-secondary:hover {
    border-color: var(--accent);

    color: var(--accent);
}


.btn-light {
    background: #ffffff;
    color: var(--primary);
}


.btn-light:hover {
    background: var(--accent);
    color: #ffffff;
}


/* =========================================================
   07. NAVIGATION
========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(
        255,
        255,
        255,
        0.94
    );

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);

    transition:
        background var(--transition),
        border-color var(--transition);
}


body.dark-mode .site-header {
    background: rgba(
        6,
        21,
        45,
        0.94
    );
}


.navbar {
    min-height: 84px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo-link {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}


.logo {
    width: 200px;

    height: auto;
}

body.dark-mode .logo-dark {
    width: 240px;
}

/* =========================
   LOGO - LIGHT / DARK MODE
========================= */

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}


/* Dark mode */

body.dark-mode .logo-light {
    display: none;
}

body.dark-mode .logo-dark {
    display: block;
}


/* Navigation Links */

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;
}


.nav-links a {
    position: relative;

    color: var(--text-light);

    font-size: 0.88rem;

    font-weight: 600;

    transition:
        color var(--transition);
}


.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition:
        width var(--transition);
}


.nav-links a:hover {
    color: var(--accent);
}


.nav-links a:hover::after {
    width: 100%;
}


/* Navigation Actions */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 14px;
}


/* Theme Toggle */

.theme-toggle {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--text);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.theme-toggle:hover {
    background: var(--accent);

    color: #ffffff;

    transform: rotate(15deg);
}


.theme-icon {
    font-size: 1.1rem;
}


/* Navbar Button */

.nav-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 5px;

    background: var(--primary);

    color: #ffffff;

    font-size: 0.85rem;

    font-weight: 700;

    transition:
        background var(--transition),
        transform var(--transition);
}


.nav-button:hover {
    background: var(--accent);

    transform: translateY(-2px);
}


/* Mobile Menu Button */

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    flex-direction: column;

    justify-content: center;

    gap: 5px;
}


.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 0 auto;

    background: var(--text);

    transition:
        transform var(--transition);
}


/* =========================================================
   08. HERO
========================================================= */

.hero {
    position: relative;

    min-height: calc(100vh - 84px);

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--background) 0%,
            var(--background-soft) 100%
        );
}


.hero-container {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;

    padding-top: 70px;
    padding-bottom: 70px;
}


/* Hero Text */

.hero-content {
    max-width: 620px;
}


.hero h1 {
    margin-bottom: 26px;

    color: var(--primary);

    font-size: clamp(
        3rem,
        6vw,
        5.2rem
    );

    line-height: 0.98;

    letter-spacing: -0.055em;
}


body.dark-mode .hero h1 {
    color: var(--text);
}


.hero-description {
    max-width: 560px;

    margin-bottom: 34px;

    color: var(--text-light);

    font-size: 1.08rem;
}


/* Hero Buttons */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* Hero Image */

.hero-image {
    position: relative;

    border-radius: var(--radius-large);

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(
            11,
            43,
            99,
            0.15
        );
}


.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(11, 43, 99, 0.05),
            transparent
        );

    pointer-events: none;
}


.hero-image img {
    width: 100%;

    height: 540px;

    object-fit: cover;
}


/* =========================================================
   09. ABOUT
========================================================= */

.about {
    background: var(--background);
}


.about-content {
    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 90px;

    align-items: center;
}


.about-text {
    max-width: 650px;
}


.about-text p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 1.05rem;
}


.text-link {
    display: inline-block;

    margin-top: 12px;

    color: var(--accent);

    font-weight: 700;

    transition:
        transform var(--transition),
        color var(--transition);
}


.text-link:hover {
    color: var(--primary);

    transform: translateX(5px);
}


.about-highlight {
    padding: 45px;

    border-left: 3px solid var(--accent);

    background: var(--background-soft);
}


.highlight-number {
    display: block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 0.9rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.about-highlight h3 {
    margin-bottom: 14px;

    color: var(--text);

    font-size: 1.7rem;
}


.about-highlight p {
    color: var(--text-light);
}


/* =========================================================
   10. SERVICES
========================================================= */

.services {
    background: var(--background-soft);
}

.services-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}


/* =========================
   SERVICE CARD
========================== */

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border:
        1px solid var(--border);
    border-radius:
        24px;
    background:
        var(--surface);
    box-shadow:
        0 15px 35px rgba(
            11,
            43,
            99,
            0.10
        );
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

/* Only the opened card can grow */

.service-card.active {
    height: auto;
}

.service-card:hover {
    transform:
        translateY(-7px);
    border-color:
        var(--accent);
    box-shadow:
        0 22px 45px rgba(
            11,
            43,
            99,
            0.16
        );
}


/* =========================
   SERVICE IMAGE
========================== */

.service-image {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(
                11,
                43,
                99,
                0.28
            )
        );
}

.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform var(--transition);
}

.service-card:hover .service-image img {
    transform:
        scale(1.04);
}


/* =========================
   SERVICE NUMBER
========================== */

.service-number {
    position: absolute;
    left: 22px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        rgba(
            255,
            255,
            255,
            0.94
        );
    color:
        var(--accent);
    font-size:
        0.85rem;
    font-weight:
        800;
    box-shadow:
        0 8px 20px rgba(
            0,
            0,
            0,
            0.15
        );
}


/* =========================
   SERVICE CONTENT
========================== */

.service-content {
    padding:
        30px 30px 32px;
}

.service-card h3 {
    margin-bottom:
        13px;
    color:
        var(--text);
    font-size:
        1.5rem;
}

.service-description {
    margin-bottom:
        22px;
    color:
        var(--text-light);
    line-height:
        1.65;
}


/* =========================
   MORE INFO BUTTON
========================== */

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding:
        10px 18px;
    border:
        1px solid var(--accent);
    border-radius:
        30px;
    background:
        transparent;
    color:
        var(--accent);
    font-size:
        0.9rem;
    font-weight:
        700;
    cursor:
        pointer;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.service-more::after {
    content:
        "→";
    font-size:
        1rem;
}

.service-more:hover {
    background:
        var(--accent);
    color:
        white;
    transform:
        translateX(3px);
}


/* =========================
   SERVICE DETAILS
========================== */

.service-list {
    display: none;
    flex-direction: column;
    gap: 22px;
    margin-top:
        26px;
}

.service-card.active .service-list {
    display: flex;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top:
        20px;
    border-top:
        1px solid var(--border);
}

.service-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        rgba(
            45,
            156,
            255,
            0.12
        );
    color:
        var(--accent);
    font-size:
        1rem;
}

.service-item-content {
    flex: 1;
}

.service-item h4 {
    margin-bottom:
        8px;
    color:
        var(--text);
    font-size:
        0.97rem;
    line-height:
        1.4;
}

.service-item p {
    margin:
        0;
    color:
        var(--text-muted);
    font-size:
        0.9rem;
    line-height:
        1.6;
}


/* =========================================================
   DARK MODE SERVICES
========================================================= */

body.dark-mode .service-card {
    border:
        1px solid rgba(
            255,
            255,
            255,
            0.10
        );
    background:
        linear-gradient(
            145deg,
            #0b2b63,
            #123f80
        );
    box-shadow:
        0 18px 40px rgba(
            0,
            0,
            0,
            0.28
        );
}

body.dark-mode .service-card:hover {
    border-color:
        rgba(
            45,
            156,
            255,
            0.55
        );
    box-shadow:
        0 25px 50px rgba(
            0,
            0,
            0,
            0.38
        );
}

body.dark-mode .service-image::after {
    background:
        linear-gradient(
            to bottom,
            transparent 30%,
            rgba(
                5,
                20,
                45,
                0.60
            )
        );
}

body.dark-mode .service-number {
    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
    border:
        1px solid rgba(
            255,
            255,
            255,
            0.18
        );
    color:
        white;
}

body.dark-mode .service-card h3 {
    color:
        white;
}

body.dark-mode .service-description {
    color:
        rgba(
            255,
            255,
            255,
            0.78
        );
}

body.dark-mode .service-more {
    border-color:
        #ffffff;
    color:
        #ffffff;
}

body.dark-mode .service-more:hover {
    background:
        #ffffff;
    color:
        #0b2b63;
}

body.dark-mode .service-item {
    border-color:
        rgba(
            255,
            255,
            255,
            0.15
        );
}

body.dark-mode .service-item h4 {
    color:
        white;
}

body.dark-mode .service-item p {
    color:
        rgba(
            255,
            255,
            255,
            0.72
        );
}


/* =========================
   SERVICE CARD CORNER GLOW
========================== */

.service-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 110px;
    height: 110px;
    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(
                45,
                156,
                255,
                0.22
            ) 46%,
            rgba(
                45,
                156,
                255,
                0.45
            ) 100%
        );
    pointer-events: none;
}


/* Dark Mode Corner Glow */

body.dark-mode .service-card::after {
    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(
                45,
                156,
                255,
                0.18
            ) 46%,
            rgba(
                45,
                156,
                255,
                0.40
            ) 100%
        );
}


/* =========================
   SERVICE DETAIL ICONS
========================== */

body.dark-mode .service-item-icon {
    background:
        rgba(
            45,
            156,
            255,
            0.18
        );
    color:
        #45a8ff;
}

.services-contact {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        color var(--transition),
        transform var(--transition);
}

.services-contact:hover {
    color: var(--text);
    transform: translateX(3px);
}

/* =========================================================
   11. DIFFERENTIATOR
========================================================= */

.differentiator {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #061a3b,
            #0b4380
        );

    color: #ffffff;

    overflow: hidden;
}


.differentiator::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -200px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(
            22,
            141,
            226,
            0.15
        );
}


.differentiator-content {
    position: relative;

    z-index: 1;

    max-width: 950px;
}


.differentiator .eyebrow {
    color: var(--accent-light);
}


.differentiator blockquote {
    max-width: 900px;

    margin-bottom: 35px;

    color: #ffffff;

    font-size: clamp(
        2.4rem,
        5vw,
        4.5rem
    );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.differentiator blockquote span {
    color: var(--accent-light);
}


.section-line {
    width: 100px;
    height: 3px;

    margin-bottom: 28px;

    background: var(--accent-light);
}


.differentiator p {
    max-width: 680px;

    color: rgba(
        255,
        255,
        255,
        0.72
    );

    font-size: 1.05rem;
}

.difference-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.difference-link:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

/* =========================================================
   12. VALUES
========================================================= */

.values {
    background: var(--background);
}


.values-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}


.value-card {
    padding:
        45px 35px;

    border-right:
        1px solid var(--border);

    transition:
        background var(--transition);
}


.value-card:last-child {
    border-right:
        none;
}


.value-card:hover {
    background:
        #dce2e8;
}


.value-number {
    display: block;

    margin-bottom:
        25px;

    color:
        var(--accent);

    font-size:
        0.8rem;

    font-weight:
        700;

    letter-spacing:
        0.15em;
}


.value-card h3 {
    margin-bottom:
        12px;

    color:
        var(--text);

    font-size:
        1.5rem;

    letter-spacing:
        0.04em;
}


.value-card p {
    color:
        var(--text-light);

    font-size:
        0.95rem;
}

/* =========================================================
   13. WORKFLOW
========================================================= */

.workflow {
    position: relative;
    overflow: hidden;
    background: var(--background-soft);
}


/* =========================
   WORKFLOW GRID
========================== */

.workflow-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;

    position: relative;

    margin-top: 10px;
}


/* =========================
   WORKFLOW STEP
========================== */

.workflow-step {

    position: relative;

    padding:
        35px 30px 35px;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    background:
        var(--surface);

    box-shadow:
        0 12px 30px
        rgba(
            11,
            43,
            99,
            0.07
        );

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.workflow-step:hover {
    transform: translateY(-6px);

    background: #dcecf8;

    border-color: var(--accent);

    box-shadow:
        0 18px 38px
        rgba(11, 43, 99, 0.16);
}


/* =========================
   WORKFLOW NUMBER
========================== */

.workflow-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 62px;

    height: 62px;

    margin-bottom: 28px;

    border-radius: 50%;

    background:
        var(--primary);

    color:
        #ffffff;

    font-size:
        0.9rem;

    font-weight:
        800;

    letter-spacing:
        0.08em;

    box-shadow:
        0 8px 20px
        rgba(
            11,
            43,
            99,
            0.15
        );
}


/* =========================
   WORKFLOW CONNECTOR
========================== */

.workflow-line {

    position: absolute;

    top: 65px;

    right: -42px;

    width: 55px;

    height: 2px;

    background:
        var(--accent);

    opacity:
        0.45;
}


/* Hide connector on last card */

.workflow-step:last-child .workflow-line {

    display: none;
}


/* =========================
   WORKFLOW CONTENT
========================== */

.workflow-content {

    position: relative;
}


.workflow-label {

    display: block;

    margin-bottom: 9px;

    color:
        var(--accent);

    font-size:
        0.7rem;

    font-weight:
        800;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}


.workflow-content h3 {

    margin-bottom:
        14px;

    color:
        var(--text);

    font-size:
        1.35rem;

    letter-spacing:
        0.02em;
}


.workflow-content p {

    color:
        var(--text-light);

    font-size:
        0.95rem;

    line-height:
        1.7;
}


/* =========================
   WORKFLOW CTA
========================== */

.workflow-cta {

    margin-top:
        45px;

    text-align:
        center;
}


.workflow-link {

    display:
        inline-block;

    color:
        var(--accent);

    font-size:
        1rem;

    font-weight:
        800;

    letter-spacing:
        0.02em;

    transition:
        color var(--transition),
        transform var(--transition);
}


.workflow-link:hover {

    color:
        var(--primary);

    transform:
        translateX(5px);
}


/* =========================================================
   DARK MODE WORKFLOW
========================================================= */

body.dark-mode .workflow-step {

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    background:
        #0b2b63;

    box-shadow:
        0 15px 35px
        rgba(
            0,
            0,
            0,
            0.25
        );
}


body.dark-mode .workflow-step:hover {
    background: #16476d;

    border-color: rgba(69, 168, 255, 0.55);

    box-shadow:
        0 20px 42px
        rgba(0, 0, 0, 0.35);
}


body.dark-mode .workflow-number {

    background:
        #168de2;

    color:
        #ffffff;
}


body.dark-mode .workflow-line {

    background:
        #45a8ff;

    opacity:
        0.45;
}


body.dark-mode .workflow-content h3 {

    color:
        #ffffff;
}


body.dark-mode .workflow-content p {

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );
}


body.dark-mode .workflow-label {

    color:
        #45a8ff;
}


/* =========================================================
   19. TABLET - WORKFLOW
========================================================= */

@media (max-width: 1000px) {

    .workflow-grid {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 20px;
    }

    .workflow-step {

        padding:
            30px 24px;
    }

    .workflow-line {

        right: -34px;

        width: 42px;
    }

}


/* =========================================================
   20. MOBILE - WORKFLOW
========================================================= */

@media (max-width: 760px) {

    .workflow-grid {

        grid-template-columns:
            1fr;

        gap: 20px;
    }


    .workflow-step {

        padding:
            30px 25px;
    }


    .workflow-line {

        display: block;

        top: auto;

        right: auto;

        left: 30px;

        bottom: -20px;

        width: 2px;

        height: 20px;

        background:
            var(--accent);
    }


    .workflow-step:last-child .workflow-line {

        display: none;
    }

}


/* =========================================================
   21. SMALL MOBILE - WORKFLOW
========================================================= */

@media (max-width: 450px) {

    .workflow-step {

        padding:
            28px 22px;
    }

}

/* =========================================================
   15. CTA
========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #ffffff;

    text-align: center;
}


.cta::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -200px;
    bottom: -250px;

    border-radius: 50%;

    background:
        rgba(
            22,
            141,
            226,
            0.15
        );
}


.cta-content {
    position: relative;

    z-index: 1;

    max-width: 850px;
}


.cta .eyebrow {
    color: var(--accent-light);
}


.cta h2 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(
        2.4rem,
        5vw,
        4rem
    );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.cta h2 span {
    color: var(--accent-light);
}


.cta p {
    max-width: 650px;

    margin:
        0 auto
        32px;

    color: rgba(
        255,
        255,
        255,
        0.72
    );

    font-size: 1rem;
}


/* =========================================================
   16. CONTACT
========================================================= */

.contact {
    background: var(--background-soft);
}


.contact-content {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 90px;

    align-items: start;
}


.contact-intro {
    max-width: 500px;
}


.contact-intro h2 {
    margin-bottom: 20px;

    color: var(--text);

    font-size: clamp(
        2.2rem,
        4vw,
        3.4rem
    );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.contact-intro p {
    color: var(--text-light);

    font-size: 1rem;
}


/* Contact Form */

.contact-form {
    padding: 40px;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    background: var(--surface);

    box-shadow: var(--shadow);
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.form-group {
    display: flex;

    flex-direction: column;

    margin-bottom: 20px;
}


.form-group label {
    margin-bottom: 8px;

    color: var(--text);

    font-size: 0.85rem;

    font-weight: 700;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--border);

    border-radius: 5px;

    outline: none;

    background: var(--background);

    color: var(--text);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(
            22,
            141,
            226,
            0.1
        );
}


.form-group textarea {
    resize: vertical;

    min-height: 150px;
}


.contact-form .btn {
    width: 100%;
}

/* =========================================================
   17. FOOTER
========================================================= */

.site-footer {
    background:
        var(--primary-dark);

    color:
        #ffffff;
}


.footer-content {
    display: grid;

    grid-template-columns:
        1fr 1.5fr 1fr;

    gap: 60px;

    padding:
        45px 0;
}


/* =========================
   QUICK LINKS
========================== */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;

    padding-top: 5px;
}


.footer-links h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-contact h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-links a {
    width: fit-content;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    font-size:
        0.85rem;

    text-decoration:
        none;

    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-links a:hover {
    color:
        var(--accent-light);

    transform:
        translateX(4px);
}


/* =========================
   FOOTER BRAND
========================== */

.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.footer-logo {
    width: 500px;

    height: auto;

    margin-bottom: 25px;
}


.footer-brand p {
    max-width: 500px;

    color:
        rgba(
            255,
            255,
            255,
            0.6
        );

    font-size:
        0.85rem;

    line-height:
        1.6;
}


.footer-subsidiary {
    margin-bottom: 10px;
}


.footer-tagline {
    color:
        rgba(
            255,
            255,
            255,
            0.42
        ) !important;

    font-size:
        0.8rem !important;
}


/* =========================
   LET'S CONNECT
========================== */

.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding-top: 5px;
}


.footer-email {
    margin-bottom: 22px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size:
        0.85rem;

    text-decoration:
        none;

    transition:
        color var(--transition);
}


.footer-email:hover {
    color:
        var(--accent-light);
}


/* =========================
   CONTACT US BUTTON
========================== */

.footer-talk {
    display: inline-flex;

    align-items: center;

    padding:
        13px 24px;

    border:
        1px solid
        var(--accent);

    border-radius:
        30px;

    color:
        #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1rem;

    font-weight:
        700;

    text-decoration:
        none;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.footer-talk:hover {
    background:
        var(--accent);

    color:
        #ffffff;

    transform:
        translateY(-2px);
}


/* =========================
   FOOTER BOTTOM
========================== */

.footer-bottom {
    padding:
        15px 0;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );
}


.footer-bottom p {
    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size:
        0.75rem;

    text-align:
        center;
}

/* =========================================================
   18. BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: var(--surface);

    color: var(--text);

    font-size: 1.3rem;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            0.12
        );

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}


.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.back-to-top:hover {
    background: var(--accent);

    border-color: var(--accent);

    color: #ffffff;

    transform:
        translateY(-4px);
}


/* =========================================================
   19. TABLET
========================================================= */

@media (max-width: 1000px) {


    /* Navigation */

    .nav-links {
        gap: 18px;
    }


    .nav-button {
        display: none;
    }


    /* Hero */

    .hero-container {
        gap: 40px;
    }


    .hero h1 {
        font-size: clamp(
            2.8rem,
            6vw,
            4rem
        );
    }


    /* About */

    .about-content {
        gap: 50px;
    }


    /* Services */

    .services-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}


    /* =========================
   SERVICE CARD
========================== */

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    border:
        1px solid var(--border);
    border-radius:
        24px;
    background:
        var(--surface);
    box-shadow:
        0 15px 35px rgba(
            11,
            43,
            99,
            0.10
        );
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


    /* Team */

    .team-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .team-card:last-child {
        grid-column:
            1 / -1;

        max-width: 50%;

        margin: 0 auto;
    }


    /* Contact */

    .contact-content {
        gap: 50px;
    }


    /* Footer */

    .footer-content {
        grid-template-columns:
            1fr 1fr;
    }

}


/* =========================================================
   20. MOBILE
========================================================= */

@media (max-width: 760px) {


    /* Global */

    .section {
        padding: 80px 0;
    }


    /* Navigation */

    .navbar {
        min-height: 72px;
    }


    .logo {
        width: 155px;
    }


    .menu-toggle {
        display: flex;
    }


    .nav-links {
        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding:
            15px 5% 25px;

        background: var(--surface);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 15px 30px
            rgba(
                0,
                0,
                0,
                0.08
            );

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }


    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }


    .nav-links li {
        width: 100%;
    }


    .nav-links a {
        display: block;

        width: 100%;

        padding: 13px 0;
    }


    .nav-links a::after {
        display: none;
    }


    .theme-toggle {
        width: 36px;
        height: 36px;
    }


    /* Hero */

    .hero {
        min-height: auto;
    }


    .hero-container {
        grid-template-columns:
            1fr;

        gap: 45px;

        padding-top: 60px;
        padding-bottom: 70px;
    }


    .hero h1 {
        font-size: clamp(
            2.8rem,
            13vw,
            4rem
        );
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-image img {
        height: 400px;
    }


    /* About */

    .about-content {
        grid-template-columns:
            1fr;

        gap: 45px;
    }


    /* Services */

    .services-grid {
        grid-template-columns:
            1fr;
    }


    .service-card:last-child {
        grid-column: auto;
    }


    /* Differentiator */

    .differentiator {
        min-height: 520px;
    }


    .differentiator blockquote {
        font-size: clamp(
            2.2rem,
            10vw,
            3.4rem
        );
    }


    /* Values */

    .values-grid {
        grid-template-columns:
            1fr;
    }


    .value-card {
        border-right: none;

        border-bottom:
            1px solid var(--border);
    }


    .value-card:last-child {
        border-bottom: none;
    }


    /* Team */

    .team-grid {
        grid-template-columns:
            1fr;
    }


    .team-card:last-child {
        grid-column: auto;

        max-width: none;
    }


    /* FAQ */

    .faq-item summary {
        font-size: 0.95rem;
    }


    /* Contact */

    .contact-content {
        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .contact-form {
        padding: 25px;
    }


    .form-row {
        grid-template-columns:
            1fr;

        gap: 0;
    }


    /* Footer */

    .footer-content {
        grid-template-columns:
            1fr;

        gap: 40px;
    }


    /* Back to top */

    .back-to-top {
        right: 18px;
        bottom: 18px;

        width: 46px;
        height: 46px;
    }

}


/* =========================================================
   21. SMALL MOBILE
========================================================= */

@media (max-width: 450px) {


    .container {
        width: 88%;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .about-highlight {
        padding: 30px;
    }


    .service-card {
        padding: 30px 25px;
    }


    .team-info {
        padding: 25px;
    }


    .cta h2 {
        font-size: 2.3rem;
    }

}

.hidden-field {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* =========================================================
   CONTACT FORM - SELECT FIELDS
========================================================= */

.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color var(--transition),
                box-shadow var(--transition);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 141, 226, 0.12);
}

.contact-form select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Optional label text */

.contact-form label span {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
}

/* =========================================================
   CONTACT SECTION - TWO COLUMN LAYOUT
========================================================= */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.contact-intro {
    text-align: left;
}

.contact-form {
    width: 100%;
}


/* =========================================================
   CONTACT SECTION - MOBILE
========================================================= */

@media (max-width: 768px) {

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

/* =========================================================
   CONTACT FORM - COMPACT FIELDS
========================================================= */

.contact-form input,
.contact-form select {
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 40px;
    height: 40px;
    padding: 10px 14px;
    resize: vertical;
}

.contact-form #additional-info {
    min-height: 40px;
    height: 40px;
}

.contact-form .form-group {
    margin-bottom: 14px;
}

/* =========================================================
   CONTACT FORM - DARK MODE
========================================================= */

body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background: #0d243d;
    color: #ffffff;
    border-color: rgba(69, 168, 255, 0.25);
}

body.dark-mode .contact-form select option {
    background: #0d243d;
    color: #ffffff;
}

body.dark-mode .contact-form select option:disabled {
    color: rgba(255, 255, 255, 0.50);
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .contact-form select:focus {
    background: #0d243d;
    color: #ffffff;
    border-color: #168de2;
}
/* =========================================================
   SERVICE CTA
========================================================= */

.service-contact {
    display: none;
}

.service-card.active .service-contact {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 26px;
    padding: 16px 24px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #168de2,
        #0f7dcc
    );

    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    text-align: center;
    text-decoration: none;

    box-shadow:
        0 6px 16px rgba(15, 125, 204, 0.18);

    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Subtle shine */

.service-card.active .service-contact::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}


/* Hover */

.service-card.active .service-contact:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 24px rgba(15, 125, 204, 0.28);

    background: linear-gradient(
        135deg,
        #1d9bf0,
        #168de2
    );
}


.service-card.active .service-contact:hover::before {
    left: 130%;
}


/* Keep the text above the shine */

.service-card.active .service-contact {
    isolation: isolate;
}

/* =========================================================
   SERVICES - BACKGROUND DECORATION
========================================================= */

/* Soft colored background */

#services {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(22, 141, 226, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 85%,
            rgba(22, 141, 226, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #eef6fd 50%,
            #f8fbff 100%
        );
}


/* Large soft shape - top left */

#services::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -230px;
    left: -180px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.22),
            rgba(22, 141, 226, 0.04)
        );

    pointer-events: none;
}


/* Large soft shape - bottom right */

#services::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -280px;
    bottom: -300px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.05),
            rgba(22, 141, 226, 0.24)
        );

    pointer-events: none;
}


/* Keep the actual content above the decoration */

#services .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   SERVICES - DECORATIVE DOT PATTERN
========================================================= */

#services .services-grid {
    position: relative;
}


/* Dot pattern on the left */

#services .services-grid::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: -65px;
    top: 80px;

    background-image:
        radial-gradient(
            #168de2 1.5px,
            transparent 1.5px
        );

    background-size: 18px 18px;

    opacity: 0.25;

    pointer-events: none;
}


/* Dot pattern on the right */

#services .services-grid::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -65px;
    bottom: 40px;

    background-image:
        radial-gradient(
            #168de2 1.5px,
            transparent 1.5px
        );

    background-size: 18px 18px;

    opacity: 0.20;

    pointer-events: none;
}

/* =========================================================
   HOME - BACKGROUND DECORATION
========================================================= */

#home {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(22, 141, 226, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 75%,
            rgba(22, 141, 226, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #eef6fd 50%,
            #f8fbff 100%
        );
}


/* =========================================================
   HOME - LARGE TOP LEFT SHAPE
========================================================= */

#home::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -300px;
    left: -250px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.22),
            rgba(22, 141, 226, 0.03)
        );

    pointer-events: none;
}


/* =========================================================
   HOME - LARGE BOTTOM RIGHT SHAPE
========================================================= */

#home::after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -320px;
    bottom: -350px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.04),
            rgba(22, 141, 226, 0.22)
        );

    pointer-events: none;
}


/* =========================================================
   HOME - KEEP CONTENT ABOVE BACKGROUND
========================================================= */

#home .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HOME - DECORATIVE DOTS
========================================================= */

#home .container::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: -55px;
    bottom: 70px;

    background-image:
        radial-gradient(
            #168de2 1.5px,
            transparent 1.5px
        );

    background-size: 18px 18px;

    opacity: 0.22;

    pointer-events: none;
}


/* =========================================================
   HOME - DECORATIVE LINE
========================================================= */

#home .container::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 1px;

    right: -50px;
    top: 25%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(22, 141, 226, 0.25),
        transparent
    );

    transform: rotate(-35deg);

    pointer-events: none;
}

/* =========================================================
   DARK MODE - HOME & SERVICES BACKGROUNDS
========================================================= */

body.dark-mode #home,
body.dark-mode #services {
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(22, 141, 226, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 75%,
            rgba(22, 141, 226, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #081525 0%,
            #0b1c30 50%,
            #081525 100%
        );
}


/* =========================================================
   DARK MODE - LARGE SHAPES
========================================================= */

body.dark-mode #home::before,
body.dark-mode #services::before {
    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.16),
            rgba(22, 141, 226, 0.02)
        );
}


body.dark-mode #home::after,
body.dark-mode #services::after {
    background:
        linear-gradient(
            135deg,
            rgba(22, 141, 226, 0.02),
            rgba(22, 141, 226, 0.14)
        );
}


/* =========================================================
   DARK MODE - DOT PATTERNS
========================================================= */

body.dark-mode #home .container::before,
body.dark-mode #services .services-grid::before,
body.dark-mode #services .services-grid::after {
    background-image:
        radial-gradient(
            rgba(72, 171, 239, 0.65) 1.5px,
            transparent 1.5px
        );

    opacity: 0.16;
}


/* =========================================================
   DARK MODE - DECORATIVE LINE
========================================================= */

body.dark-mode #home .container::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(72, 171, 239, 0.20),
        transparent
    );
}

/* =========================================================
   VALUES - DARK MODE HOVER
========================================================= */

body.dark-mode .value-card:hover {
    background: #168de2;
    color: #ffffff;

    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.30);
}

body.dark-mode .value-card:hover h3,
body.dark-mode .value-card:hover p,
body.dark-mode .value-card:hover span,
body.dark-mode .value-card:hover i {
    color: #ffffff;
}

/* =========================================================
   WORKFLOW - HIGHLIGHT
========================================================= */

#workflow {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e3f2fc 0%,
            #d2eafa 50%,
            #eaf6fd 100%
        );

    border-top:
        1px solid rgba(22, 141, 226, 0.12);

    border-bottom:
        1px solid rgba(22, 141, 226, 0.12);
}


/* Decorative Shape - Top Right */

#workflow::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -280px;
    right: -220px;

    border-radius: 50%;

    background:
        rgba(22, 141, 226, 0.12);

    pointer-events: none;
}


/* Decorative Shape - Bottom Left */

#workflow::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    bottom: -260px;
    left: -220px;

    border-radius: 50%;

    background:
        rgba(22, 141, 226, 0.10);

    pointer-events: none;
}


/* Keep Workflow Content Above Decorations */

#workflow .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   WORKFLOW - DARK MODE
========================================================= */

body.dark-mode #workflow {

    background:
        linear-gradient(
            135deg,
            #0c2944 0%,
            #123b5d 50%,
            #0d2c49 100%
        );

    border-top:
        1px solid rgba(72, 171, 239, 0.12);

    border-bottom:
        1px solid rgba(72, 171, 239, 0.12);
}


/* Dark Mode Decorative Shape */

body.dark-mode #workflow::before {

    background:
        rgba(72, 171, 239, 0.10);
}


body.dark-mode #workflow::after {

    background:
        rgba(72, 171, 239, 0.07);
}
