/* ==========================================
   GLOBAL RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #040609; /* Deep dark black-blue background */
    color: #ffffff;
    overflow-x: hidden;
}

/* --- Header Styles --- */
header {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 24px;
    min-height: 120px;
    padding: 18px clamp(24px, 5vw, 72px);
    background-color: #05070a;
    border-bottom: 1px solid rgba(185, 224, 32, 0.12);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.logo-container {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header-logo {
    width: clamp(170px, 15vw, 230px);
    height: auto;
    object-fit: contain;
    display: block;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: clamp(18px, 2vw, 34px);
}

nav ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: #b8bec8;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 2px;
    background: #b9e020;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

nav ul li.active a,
nav ul li a:hover {
    color: #b9e020;
}

nav ul li.active a::after,
nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li a:focus-visible,
.btn-outline-black:focus-visible,
.menu-circle:focus-visible {
    outline: 2px solid #b9e020;
    outline-offset: 4px;
}

nav ul li a:active {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-outline-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #b9e020;
    color: #b9e020;
    min-height: 42px;
    padding: 0 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.btn-outline-black:hover {
    background-color: #b9e020;
    color: #05070a;
    border-color: #b9e020;
}

.menu-circle {
    background: #0066ff;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}


/* ==========================================
   SERVICES HERO SECTION STYLES
   ========================================== */
.services-hero-section {
    width: 100%;
    min-height: calc(100vh - 120px);
    background-color: #040609;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 18px 40px 70px;
}

.services-hero-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left Column: Text */
.services-text-col {
    flex: 1;
    max-width: 580px;
}

.services-text-col .sub-title {
    color: #b9e020;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

/* The small horizontal green line under the sub-title */
.title-divider {
    width: 40px;
    height: 3px;
    background-color: #b9e020;
    margin-bottom: 20px;
}

.services-text-col .main-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.main-headline .text-green { color: #b9e020; }
.main-headline .text-blue { color: #0066ff; }

.services-text-col .desc-text {
    font-family: 'Open Sans', sans-serif;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Right Column: Illustration */
.services-image-col {
    flex: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* The glowing brush strokes behind the megaphone image */
.brush-bg-effects {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(ellipse at 70% 80%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(185, 224, 32, 0.25) 0%, transparent 50%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.services-hero-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* Optional: Set a max height if you want to constrain it */
    /* max-height: 500px; */
}


/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 1024px) {
    header {
        grid-template-columns: 1fr auto;
        min-height: 88px;
        padding: 12px 20px;
    }

    .header-logo {
        width: 160px;
    }

    nav {
        display: block;
        grid-column: 1 / -1;
        order: 3;
    }

    nav ul {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(5, 7, 10, 0.98);
        border: 1px solid rgba(185, 224, 32, 0.18);
        border-radius: 8px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        width: 100%;
        min-height: 46px;
        padding: 0 10px;
    }

    nav ul li a::after {
        left: 10px;
        right: auto;
        width: 42px;
    }

    .btn-outline-black {
        min-height: 40px;
        padding: 0 18px;
    }

    .menu-circle {
        display: flex;
    }

    /* Hero to Vertical Stack */
    .services-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .services-text-col {
        max-width: 100%;
    }
    .title-divider {
        margin: 0 auto 20px auto; /* Center the line on mobile */
    }
    
    .services-text-col .main-headline {
        font-size: 36px;
    }
    .services-image-col {
        width: 100%;
    }
    .brush-bg-effects {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 600px) {
    header {
        min-height: 76px;
        padding: 10px 16px;
    }

    .header-logo {
        width: 132px;
    }

    .services-hero-section {
        padding: 18px 20px 40px;
        min-height: auto;
    }
    .services-text-col .main-headline {
        font-size: 28px;
    }
    .btn-outline-black {
        display: none;
    }

    nav ul {
        left: 16px;
        right: 16px;
    }
}
/*  cards sections .css */
/* =========================================================
   SERVICES CARDS SECTION (2x3 Grid)
   ========================================================= */
.services-cards-section {
    width: 100%;
    background-color: #040609;
    padding: 60px 20px 100px 20px;
    display: flex;
    justify-content: center;
}

.services-cards-container {
    max-width: 1200px;
    width: 100%;
}

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

/* --- Individual Card Styles --- */
.service-card-item {
    background: rgba(16, 20, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 30px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Card Header (Icon Left, Number Right) --- */
.card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.card-icon-circle svg {
    width: 24px;
    height: 24px;
}

/* Icon Colors & Gradients */
.green-bg {
    background: radial-gradient(circle at 35% 35%, #a9e126, #6fa515);
}
.blue-bg {
    background: radial-gradient(circle at 35% 35%, #3a8aff, #0055e5);
}

.card-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.green-num { color: #b9e020; }
.blue-num { color: #0066ff; }

/* --- Card Body --- */
.card-title {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    font-family: 'Open Sans', sans-serif;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the link to the bottom */
}

/* --- Learn More Link --- */
.card-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s, transform 0.2s;
}
.card-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

.green-link { color: #b9e020; }
.blue-link { color: #0066ff; }


/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile phones */
    }
    .service-card-item {
        padding: 25px 20px;
    }
    .card-number {
        font-size: 20px;
    }
}

/* footer section .css */
/* =========================================================
   OUR PROCESS & BOTTOM CTA SECTION
   ========================================================= */
.process-cta-section {
    width: 100%;
    background-color: #040609;
    padding: 60px 20px 100px 20px;
    display: flex;
    justify-content: center;
}

.process-cta-container {
    max-width: 1200px;
    width: 100%;
}


/* =========================================================
   1. OUR PROCESS HEADER
   ========================================================= */
.process-wrapper {
    margin-bottom: 60px;
}

.process-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #b9e020;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.process-title {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
}

.process-title .text-blue {
    color: #0066ff;
}


/* =========================================================
   2. PROCESS STEPS ROW
   ========================================================= */
.process-steps-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

/* Dashed connecting line behind the circles */
.process-steps-row::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12%;
    width: 76%;
    height: 2px;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    z-index: 0;
}

.step-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-circle-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 15px;
}

.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #0d1118;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.step-circle:hover {
    transform: scale(1.05);
}
.step-circle svg {
    width: 28px;
    height: 28px;
}

.green-border { border: 2.5px solid #b9e020; }
.blue-border { border: 2.5px solid #0066ff; }

/* The small arrow box attached to the bottom of specific green circles */
.step-arrow-box {
    position: absolute;
    bottom: -10px;
    right: -5px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transform: rotate(45deg);
}
.green-bg-box { background-color: #b9e020; }
.step-arrow-box svg {
    width: 12px;
    height: 12px;
    transform: rotate(-45deg);
}

.step-text h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-text p {
    font-family: 'Open Sans', sans-serif;
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}


/* =========================================================
   3. BOTTOM CTA BOX
   ========================================================= */
.bottom-cta-box {
    position: relative;
    width: 100%;
    background: rgba(12, 16, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Blue paint stroke effect */
.blue-splatter {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 40%;
    height: 150%;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 102, 255, 0.15) 60%, rgba(0, 102, 255, 0.3) 100%);
    filter: blur(10px);
    transform: skewX(-15deg);
    z-index: 0;
    pointer-events: none;
}

.bottom-cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bottom-cta-text {
    flex: 1.5;
}
.bottom-cta-text h2 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.bottom-cta-text .text-green { color: #b9e020; }
.bottom-cta-text .text-blue { color: #0066ff; }

.bottom-cta-desc {
    flex: 1.2;
}
.bottom-cta-desc p {
    font-family: 'Open Sans', sans-serif;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.btn-start-project {
    background: #b9e020;
    border: none;
    color: #040609;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-start-project:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(185, 224, 32, 0.3);
}


/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 1024px) {
    .process-steps-row::before {
        display: none; /* Hide dashed line on tablets */
    }
    .process-steps-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .step-box {
        flex: 1 1 45%;
        margin-bottom: 30px;
    }
    
    .bottom-cta-box {
        padding: 30px;
    }
    .bottom-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .bottom-cta-text h2 {
        font-size: 24px;
    }
    .btn-start-project {
        width: 100%;
        justify-content: center;
    }
    .blue-splatter {
        width: 60%;
    }
}

@media (max-width: 600px) {
    .process-title {
        font-size: 26px;
    }
    .step-box {
        flex: 1 1 100%;
    }
    .bottom-cta-box {
        padding: 25px 20px;
    }
    .bottom-cta-text h2 {
        font-size: 20px;
    }
}
