/* -------------------------------------------------------------------------- */
/*                                 VARIABLES                                  */
/* -------------------------------------------------------------------------- */
:root {
    --color-bg-dark: #070a11;
    --color-bg-deep: #0e121d;
    --color-bg-alt: #121826;
    /* Colors */
    --color-primary: #fddd16;
    --color-primary-dark: #d4b800;
    --color-accent: #ffd700;
    /* Gold/Yellow */
    --color-text-white: #ffffff;
    --color-text-gray: #b0b8c6;
    --color-dark-card: #1c2336;
    --color-border: rgba(255, 255, 255, 0.08);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(253, 221, 22, 0.2);

    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.0);

    /* Premium Glows */
    --glow-premium: 0 10px 30px rgba(0, 102, 255, 0.1), 0 0 20px rgba(253, 221, 22, 0.1);
    --glow-premium-hover: 0 15px 40px rgba(0, 102, 255, 0.2), 0 0 30px rgba(253, 221, 22, 0.2);

    /* Card System */
    --bg-elevated: rgba(28, 35, 54, 0.6);
    --bg-blended: rgba(255, 255, 255, 0.02);
    --border-elevated: rgba(253, 221, 22, 0.1);
    --border-blended: rgba(255, 255, 255, 0.03);
}

/* -------------------------------------------------------------------------- */
/*                                   RESET                                    */
/* -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* -------------------------------------------------------------------------- */
/*                                 UTILITIES                                  */
/* -------------------------------------------------------------------------- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 120px 0;
}

/* Section Contrast Variants */
.bg-deep {
    background-color: var(--color-bg-deep);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-bg-dark);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--color-primary);
    position: relative;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(253, 221, 22, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(253, 221, 22, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    color: var(--color-text-gray);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: rgb(0, 0, 0);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.full-width {
    width: 100%;
}

/* -------------------------------------------------------------------------- */
/*                                ANIMATIONS                                  */
/* -------------------------------------------------------------------------- */
.reveal-up,
.reveal-right,
.reveal-left,
.fade-up,
.slide-left {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.fade-up {
    transform: translateY(30px);
}

.slide-left {
    transform: translateX(100px);
}

.reveal-up.active,
.reveal-right.active,
.reveal-left.active,
.fade-up.active,
.slide-left.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* -------------------------------------------------------------------------- */
/*                                   HEADER                                   */
/* -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo .dot {
    color: var(--color-primary);
}

.logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--color-primary), #ffed4e);
    color: rgb(0, 0, 0);
    padding: 12px 24px;
    border-radius: 50px;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(253, 221, 22, 0.6);
    border-color: rgba(253, 221, 22, 0.3);
}

.nav-cta-wrapper {
    list-style: none;
    margin-left: 10px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    z-index: 1001;
    position: relative;
}

/* Hamburger Icon - Show on Mobile ONLY */
@media screen and (max-width: 992px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        width: 30px;
        height: 30px;
        margin-left: 20px;
    }
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 3px;
}

.hamburger-open,
.hamburger-close {
    font-size: 24px;
    color: #000000;
    transition: all 0.3s ease;
}

.hamburger-close {
    display: none;
}

.hamburger.active .hamburger-open {
    display: none;
}

.hamburger.active .hamburger-close {
    display: block;
}

/* Ensure hamburger is always visible on mobile */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
        position: relative;
        margin-left: auto;
        padding: 10px;
        background: #ffd700;
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
    }

    .hamburger-open,
    .hamburger-close {
        font-size: 24px;
        color: #000000;
    }
}

/* -------------------------------------------------------------------------- */
/*                                    HERO                                    */
/* -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    /* Modern dark digital marketing background with left-side overlay */
    background:
        linear-gradient(to right, rgba(7, 10, 17, 0.9) 0%, rgba(7, 10, 17, 0.7) 40%, rgba(7, 10, 17, 0.2) 100%),
        url('/assets/images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

/* Mobile Layout Adjustments */

@media screen and (max-width: 992px) {
    .hero {
        background-position: center top;
        background-attachment: scroll;
        height: auto;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        background-size: cover;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
        /* Content first */
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        order: 2;
        /* Image second */
        height: auto;
        margin-top: 20px;
        justify-content: center;
    }

    .main-card {
        transform: none !important;
        /* Disable 3D transform on mobile */
        max-width: 100%;
        margin: 0 auto;
    }

    .counter-card-header {
        display: flex;
        padding-top: 0px !important;
        align-items: center;
        gap: 0px !important;
        margin-bottom: 20px;
    }
}


.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* -------------------------------------------------------------------------- */
/*                          PREMIUM STATISTICS STRIP                          */
/* -------------------------------------------------------------------------- */
.premium-stats {
    background-color: var(--color-bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-stats::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 221, 22, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.premium-stats::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.grid-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.5;
}

.premium-stats .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
}

.stat-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    border-color: rgba(253, 221, 22, 0.4);
    box-shadow: var(--glow-premium-hover);
}

.stat-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(253, 221, 22, 0.1);
    border: 1px solid rgba(253, 221, 22, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(253, 221, 22, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-badge {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 25px rgba(253, 221, 22, 0.6);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Image/Abstract Area */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-card {
    background: var(--color-dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.main-card {
    width: 400px;
    height: 300px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.card-body {
    padding: 30px;
    position: relative;
    height: 100%;
}

.chart-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    gap: 15px;
}

.bar {
    width: 100%;
    background: rgba(253, 221, 22, 0.3);
    border-radius: 4px 4px 0 0;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-primary);
    animation: growBar 2s ease-out forwards;
}

.bar-1::after {
    animation-delay: 0.2s;
    height: 60%;
}

.bar-2::after {
    animation-delay: 0.4s;
    height: 80%;
}

.bar-3::after {
    animation-delay: 0.6s;
    height: 45%;
}

.bar-4::after {
    animation-delay: 0.8s;
    height: 90%;
}

@keyframes growBar {
    to {
        height: var(--height);
    }

    /* Handled by JS or hardcoded inline styles usually, simplified here */
}

/* We need specific heights if not using JS for the animation 'to' state */
.bar-1 {
    height: 60%;
}

.bar-2 {
    height: 80%;
}

.bar-3 {
    height: 45%;
}

.bar-4 {
    height: 90%;
}

.bar-1::after {
    height: 100%;
}

/* Wait, simpler animation: width/height transition */

/* Improved Bar Animation */
.bar {
    height: 0;
    transition: height 1s ease-out;
}

/* We will trigger this with class later usually, keeping static for now */
.bar-1 {
    height: 60%;
    background: linear-gradient(to top, var(--color-primary), #6e7bf2);
}

.bar-2 {
    height: 80%;
    background: linear-gradient(to top, var(--color-primary), #6e7bf2);
}

.bar-3 {
    height: 45%;
    background: linear-gradient(to top, var(--color-primary), #6e7bf2);
}

.bar-4 {
    height: 95%;
    background: linear-gradient(to top, var(--color-primary), #6e7bf2);
}


.card-floating-badge {
    position: absolute;
    top: 50px;
    right: -20px;
    background: white;
    color: var(--color-bg-dark);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.card-floating-badge i {
    color: #27c93f;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-dark-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.icon-1 {
    top: 10%;
    left: 0;
    animation: float 5s ease-in-out infinite 0s;
    color: white;
}

.icon-2 {
    bottom: 20%;
    left: -30px;
    animation: float 5s ease-in-out infinite 1s;
    color: #E1306C;
}

.icon-3 {
    top: 40%;
    right: -40px;
    animation: float 5s ease-in-out infinite 2s;
    color: #0077b5;
}

/* Background Elements */
.glow-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--color-primary);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.circle-1 {
    top: -100px;
    left: -100px;
}

.circle-2 {
    bottom: -100px;
    right: -100px;
    background: var(--color-accent);
    opacity: 0.05;
}

.hero-wave {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.hero-wave .shape-fill {
    fill: var(--color-bg-secondary);
}

/* -------------------------------------------------------------------------- */
/*                                LOGO STRIP                                  */
/* -------------------------------------------------------------------------- */
.logos-section {
    padding: 60px 0;
    overflow: hidden;
    background: #ffffff;
    /* Pure White */
    border: none;
    /* Remove borders */
}

.section-subtitle-center {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-gray);
    margin-bottom: 30px;
}

.logos-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
    gap: 80px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 45px;
    width: auto;
    object-fit: contain;
    /* Full Visibility, High Contrast, Original Color */
    opacity: 1;
    filter: none;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1);
}

/* User requested original logo color, no grayscale. */
.logos-section .logo-item img {
    filter: none;
    opacity: 1;
}

.logos-section .logo-item img:hover {
    filter: none;
    opacity: 1;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* -------------------------------------------------------------------------- */
/*                                WHY CHOOSE US                               */
/* -------------------------------------------------------------------------- */
.counters-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* 30-40px space between items */
    margin-top: 40px;
}


/* Clean Vertical List Layout: Icon Left | Text Right */
.counter-item {
    position: relative;
    padding-left: 85px;
    /* Space for absolute icon (60px + 25px gap) */
    padding-top: 5px;
    /* Optical alignment with icon */
    margin: 0;

    /* Remove Card Styles */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    display: block;
}

/* Flatten header structure visually by letting icon break out */
.counter-card-header {
    display: block;
    margin-bottom: 8px;
    /* Space between title and description */
}

/* Icon Container: Absolute Positioned Left */
.counter-box-icon {
    position: absolute;

    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    /* Soft rounded corners as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;

    /* Solid Background */
    background: var(--color-dark-card);
    /* Solid dark background */
    color: var(--color-primary);

    /* Remove borders/shadows/glow */
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Ensure no hover effects add unwanted styles */
.counter-item:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
}

.counter-card-header {
    display: block;
    /* Ensure block */
}

/* Typography */
.counter-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    /* Ensure visible on dark bg */
    margin: 0;
    line-height: 1.3;
    display: block;
}

.counter-item p {
    font-size: 0.95rem;
    color: #9ca3af;
    /* Soft gray description */
    margin: 0;
    line-height: 1.6;
    padding-left: 0;
    /* Already padded by parent */
    display: block;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .counters-grid {
        gap: 30px;
    }

    .counter-item {
        padding-left: 70px;
        /* Adjust for smaller icon */
    }

    .counter-box-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .counter-item h3 {
        font-size: 1.15rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    z-index: 1;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    /* Indicate clickability */
}

.service-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    box-shadow: var(--glow-premium-hover);
    border-color: rgba(253, 221, 22, 0.3);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 221, 22, 0.1), transparent);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.service-card:hover .service-bg {
    opacity: 1;
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 20px;
    right: 20px;
    transition: 0.4s;
}

.service-card:hover .service-number {
    transform: scale(1.2);
    color: rgba(255, 255, 255, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--color-text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: 0.3s;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
    color: var(--color-primary);
}

.service-card.highlight-card {
    background: linear-gradient(145deg, #1c2336, #232c45);
    border: 1px solid rgba(253, 221, 22, 0.2);
}

/* -------------------------------------------------------------------------- */
/*                                OUR RESULTS                                 */
/* -------------------------------------------------------------------------- */
.bg-results {
    background: radial-gradient(circle at 50% 50%, rgba(14, 18, 29, 1) 0%, rgba(7, 10, 17, 1) 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-results::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(110, 123, 242, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.result-card {
    padding: 35px 30px;
    border-radius: 24px;
    background: rgba(28, 35, 54, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.result-card:hover {
    transform: translateY(-6px);
    border-color: rgba(253, 221, 22, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(110, 123, 242, 0.1);
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.result-icon {
    width: 45px;
    height: 45px;
    background: rgba(253, 221, 22, 0.1);
    border: 1px solid rgba(253, 221, 22, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-highlight {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    line-height: 1;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
}

.main-highlight .plus,
.main-highlight .percent,
.main-highlight .multiplier,
.main-highlight .unit {
    color: var(--color-primary);
    font-size: 2.5rem;
}

.result-desc {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    line-height: 1.5;
    margin-bottom: 25px;
}

.case-study-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.case-study-link i {
    font-size: 0.8rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.case-study-link:hover {
    color: var(--color-primary);
}

.case-study-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .main-highlight {
        font-size: 3rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                                OUR VALUES                                  */
/* -------------------------------------------------------------------------- */


.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
}

.value-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    box-shadow: var(--glow-premium-hover);
    border-color: rgba(253, 221, 22, 0.3);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glow-premium-hover);
    border-color: rgba(253, 221, 22, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(253, 221, 22, 0.2), rgba(255, 215, 0, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    transform: rotateY(360deg);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.value-card p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/*                            WHITE CONTRAST ZONE                             */
/* -------------------------------------------------------------------------- */
.bg-white-contrast {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    padding: 180px 0;
    /* More breathing space */
}

/* Premium SVG Dividers */
.section-divider-top,
.section-divider-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    z-index: 2;
    overflow: hidden;
}

.section-divider-top {
    top: -1px;
    /* Avoid gap */
}

.section-divider-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.section-divider-top svg,
.section-divider-bottom svg {
    display: block;
    width: 200%;
    /* Wider for floating parallax */
    height: 100px;
    animation: waveFloat 10s ease-in-out infinite alternate;
}

.section-divider-bottom svg {
    animation-delay: -5s;
    /* Offset animation for harmony */
}

@keyframes waveFloat {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(-5%) translateY(10px);
    }
}

.dark-text {
    color: #070a11 !important;
}

/* Alternating Card Shadow Pattern */
.bg-white-contrast .value-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Card 1 & 3 (Odd): Visible soft shadow + subtle border glow */
.bg-white-contrast .value-card:nth-child(odd) {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(253, 221, 22, 0.1);
}

/* Card 2 & 4 (Even): No shadow initially, blend with background */
.bg-white-contrast .value-card:nth-child(even) {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.015);
}

/* Hover Behavior for ALL cards */
.bg-white-contrast .value-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    /* Soft yellow + blue mixed outer glow */
    box-shadow: 0 15px 40px rgba(253, 221, 22, 0.15), 0 10px 30px rgba(0, 102, 255, 0.08);
}

.bg-white-contrast .value-icon {
    background: #f7f8fb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #070a11;
}

.bg-white-contrast .value-card:hover .value-icon {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/*                                WORK SKILLS                                  */
/* -------------------------------------------------------------------------- */
.bg-white-skills {
    background-color: #f7f9fc;
    position: relative;
    padding: 80px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.skill-item {
    background: #ffffff;
    padding: 40px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.progress-ring-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring-container svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring__bg {
    fill: none;
    stroke: #eef2f7;
    stroke-width: 10;
}

.progress-ring__circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-percentage {
    position: absolute;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b1220;
    font-family: var(--font-heading);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0b1220;
    font-weight: 600;
}

.skill-item p {
    color: #7c889a;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Fix Visibility for Section Header in White Zone */
.bg-white-skills .section-header h2 {
    color: #0b1220;
}

.bg-white-skills .section-header p {
    color: #5f6b7a;
}

/* -------------------------------------------------------------------------- */
/*                                    STATS                                   */
/* -------------------------------------------------------------------------- */
.stats {
    background-color: var(--color-bg-dark);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* -------------------------------------------------------------------------- */
/*                                   RESULTS                                  */
/* -------------------------------------------------------------------------- */
.stats {
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.results-spotlight {
    position: relative;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border-radius: 50%;
    z-index: 1;
}

.glow-halo {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(253, 221, 22, 0.25) 0%, rgba(110, 123, 242, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: glowPulse 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.rotating-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 1px dashed rgba(253, 221, 22, 0.2);
    border-radius: 50%;
    animation: rotateRing 12s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.circle-progress {
    width: 320px;
    height: 320px;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
    border-radius: 50%;
    background: transparent;
    /* Transparent core */
    /* Remove square box-shadow, use drop-shadow filter slightly if needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass Effect restricted to Circle Shape */
.circle-progress::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.circle-progress svg {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    z-index: 2;
    overflow: visible;
}

.circle-progress circle {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
}

.circle-progress .bg {
    stroke: rgba(255, 255, 255, 0.05);
    /* Faint track */
}

.circle-progress .progress {
    stroke: var(--color-primary);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: progressFill 2.5s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(253, 221, 22, 0.6));
    /* Glow only on stroke */
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 800;
    color: white;
    z-index: 3;
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.label {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    font-weight: 600;
}

/* Remove square inner glass container if it exists separately, 
   or ensure it's round */
.inner-glass {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    border: none;
}

/* Tablet Responsiveness */
@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .results-spotlight {
        width: auto;
        height: auto;
    }

    .circle-progress {
        width: 280px;
        height: 280px;
    }

    .glow-halo {
        width: 380px;
        height: 380px;
    }

    .inner-glass {
        width: 220px;
        height: 220px;
    }

    .circle-progress .percentage {
        font-size: 4rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .results-spotlight {
        width: auto;
        height: auto;
    }

    .circle-progress {
        width: 240px;
        height: 240px;
    }

    .glow-halo {
        width: 320px;
        height: 320px;
    }

    .inner-glass {
        width: 190px;
        height: 190px;
    }

    .circle-progress .percentage {
        font-size: 3.5rem;
    }

    .glow-halo {
        animation: none;
        opacity: 0.4;
    }

    .circle-progress::before {
        animation: none;
        opacity: 0.1;
    }

    .circle-progress .progress {
        animation: none;
    }

    .circle-progress .percentage {
        animation: none;
    }

    .particle {
        display: none;
    }

    .counter-item {
        padding: 30px 20px;
    }

    .counter-box-icon {
        top: 20px;
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .counter-item h3 {
        font-size: 1.2rem;
        padding-left: 25px;
        padding-right: 0;
    }
}


.counters-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
    /* Ensures equal height for all cards in a row */
    gap: 30px;
    margin-top: 40px;
}

.counter-item {
    position: relative;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.counter-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--color-primary), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.1;
    transition: 0.3s;
}

.counter-item:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
}

.counter-item:hover {
    transform: translateY(-6px);
    background: var(--bg-elevated);
    border-color: rgba(253, 221, 22, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(253, 221, 22, 0.15);
}

.counter-item:hover::after {
    opacity: 0.3;
}

.counter-card-header {
    display: flex;
    padding-top: 30px;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.counter-box-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(253, 221, 22, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.4rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(253, 221, 22, 0.2);
}

.counter-item:hover .counter-box-icon {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(253, 221, 22, 0.4);
}

.counter-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.counter-item p {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/*                                   PROCESS                                  */
/* -------------------------------------------------------------------------- */
.process {
    background-color: var(--color-bg-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Optional Dotted Divider between steps (Desktop) */
@media (min-width: 1201px) {
    .process-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 60px;
        right: -25px;
        width: 20px;
        border-top: 2px dotted rgba(253, 221, 22, 0.2);
        z-index: 1;
    }
}

/* Alternating Shadow Logic */
.process-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-card:nth-child(even) {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.05);
}

/* Hover Behavior: All cards show mixed glow */
.process-card:hover {
    transform: translateY(-8px);
    background: var(--bg-elevated);
    border-color: var(--color-primary);
    /* Mixed Yellow + Blue Glow */
    box-shadow: 0 15px 40px rgba(253, 221, 22, 0.15), 0 10px 30px rgba(0, 102, 255, 0.08);
}

.process-badge {
    width: 45px;
    height: 45px;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(253, 221, 22, 0.2);
    transition: all 0.3s ease;
}

.process-card:hover .process-badge {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: 0 0 30px rgba(253, 221, 22, 0.5);
    transform: scale(1.1) rotate(10deg);
}

.process-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.process-content p {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Process Layouts */
@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet: 2x2 */
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Strict 2x2 for Mobile */
        gap: 15px;
    }

    .process-card {
        padding: 25px 15px;
    }

    .process-content h3 {
        font-size: 1.1rem;
    }

    .process-badge {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
}


.testimonial-slider {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    opacity: 0;
    display: none;
    transform: translateX(100px);
    transition: all 0.5s ease, box-shadow 0.35s ease, transform 0.35s ease, background 0.35s ease;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
}

.testimonial-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    box-shadow: var(--glow-premium-hover);
}

.testimonial-card.active {
    opacity: 1;
    display: block;
    transform: translateX(0);
}

.stars {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.stars i {
    margin: 0 3px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-gray);
    font-style: italic;
    margin-bottom: 35px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.client-details {
    text-align: left;
}

.client-details h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.client-details .role {
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 6px;
}

.testimonial-dots .dot:hover {
    background: rgba(253, 221, 22, 0.5);
}

/* -------------------------------------------------------------------------- */
/*                                  PORTFOLIO                                 */
/* -------------------------------------------------------------------------- */
.portfolio {
    background-color: var(--color-bg-secondary);
}

.section-header .view-all-link {
    float: right;
    margin-top: -60px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    transition: all 0.35s ease;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
}

.portfolio-item:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    box-shadow: var(--glow-premium-hover);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.case-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.case-btn:hover {
    background: var(--color-primary);
    color: white;
}

/* -------------------------------------------------------------------------- */
/*                                   PRICING                                  */
/* -------------------------------------------------------------------------- */
.pricing {
    background-color: var(--color-bg-secondary);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    background: var(--bg-blended);
    border: 1px solid var(--border-blended);
    box-shadow: var(--shadow-soft);
}

.pricing-card:nth-child(odd) {
    background: var(--bg-elevated);
    border-color: var(--border-elevated);
    box-shadow: var(--glow-premium);
}

.package-name {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-elevated);
    border-color: var(--color-primary);
    box-shadow: var(--glow-premium-hover);
}

.pricing-card.popular {
    background: linear-gradient(145deg, #1c2336, #232c45);
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: var(--glow-premium);
    z-index: 2;
}


.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--glow-premium-hover);
}

.popular-tag {
    position: absolute;
    color: black;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--color-text-gray);
    font-weight: 400;
}

.plan-desc {
    color: var(--color-text-gray);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.features-list {
    text-align: left;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
}

.features-list li i {
    color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/*                                   CONTACT                                  */
/* -------------------------------------------------------------------------- */
.contact {
    background-color: var(--color-bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(253, 221, 22, 0.1);
    color: var(--color-primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--color-text-gray);
}

.contact-form {
    background: var(--color-dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
    z-index: 5;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--color-text-gray);
    pointer-events: none;
    transition: 0.3s;
    background: var(--color-dark-card);
    padding: 0 5px;
}

.form-group input:focus,
.form-group input:not(:placeholder-shown),
.form-group select:focus,
.form-group select:not([value=""]):valid,
.form-group textarea:focus,
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--color-primary);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group select:focus~label,
.form-group select:valid~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

.form-group select {
    appearance: none;
    color: var(--color-text-gray);
    background-color: #161b29;
    /* Solid dark background instead of transparent */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
}

.form-group select option {
    background-color: #ffffff;
    color: #000000;
    padding: 10px;
}

.form-group select:focus {
    color: white;
    border-color: var(--color-primary);
    background-color: #1e2638;
}

.contact-panel {
    /* Ensure no clipping for children by being careful with overflow */
    overflow-y: auto;
    overflow-x: visible;
}

/* -------------------------------------------------------------------------- */
/*                            MULTI-SELECT DROPDOWN                           */
/* -------------------------------------------------------------------------- */
.custom-select-container {
    position: relative;
    width: 100%;
}

.select-box {
    position: relative;
    display: flex;
    flex-direction: column;
}

.select-selected-display {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    min-height: 54px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    transition: 0.3s;
}

.select-selected-display:hover,
.select-selected-display.active {
    border-color: var(--color-primary);
}

.select-placeholder {
    color: #9ca3af;
    font-size: 1rem;
}

.selected-tag {
    background: rgba(253, 221, 22, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(253, 221, 22, 0.3);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-remove {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
}

.tag-remove:hover {
    opacity: 1;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.select-dropdown.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.select-option {
    padding: 12px 20px;
    color: #d1d5db;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.select-option.selected {
    background: rgba(253, 221, 22, 0.1);
    color: var(--color-primary);
}

.select-option.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9rem;
}

/* Service Card Cursor */
.service-card {
    cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/*                                   FOOTER                                   */
/* -------------------------------------------------------------------------- */
.footer {
    background: #05080f;
    padding-top: 100px;
    padding-bottom: 20px;
    position: relative;
}

.wave-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider-top svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider-top .shape-fill {
    fill: #05080f;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--color-text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-right: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    color: #ffffff;
}

.social-links a:hover {
    background: #ffd700;
    color: #000000;
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--color-text-gray);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    margin-top: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    background: #ffd700;
    border: none;
    border-radius: 50%;
    color: #000000;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #ffed4e;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------- */
/*                                 ANIMATIONS                                 */
/* -------------------------------------------------------------------------- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Scroll Animations Classes (triggered by JS) */
.fade-up,
.reveal-up,
.slide-left,
.reveal-right,
.reveal-left {
    opacity: 0;
    transition: all 1s ease-out;
}

.fade-up {
    transform: translateY(30px);
}

.slide-left {
    transform: translateX(30px);
}

.reveal-right {
    transform: translateX(-50px);
}

.reveal-left {
    transform: translateX(50px);
}

.fade-up.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}


/* -------------------------------------------------------------------------- */
/*                                 RESPONSIVE                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================================ */
/*                           RESPONSIVE MEDIA QUERIES                           */
/* ============================================================================ */

/* Mobile First Approach - Extra Small Devices (320px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 40px 25px;
    }

    .client-info {
        flex-direction: column;
        text-align: center;
    }

    .client-details {
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .counters-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex !important;
    }
}

/* Tablets and Small Laptops (768px - 1023px) */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        display: flex;
        align-items: center;
    }

    .nav-list {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 85%;
        max-width: 400px;
        background: linear-gradient(180deg, rgba(17, 22, 37, 0.98), rgba(25, 30, 48, 0.98));
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.7);
        gap: 0;
        padding: 80px 30px 30px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        width: 100%;
        margin-bottom: 8px;
    }

    .nav-cta-wrapper {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px 20px;
        display: block;
        text-align: left;
        width: 100%;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(253, 221, 22, 0.1);
        transform: translateX(10px);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
    }

    .btn-cta {
        margin: 20px 0 0 0;
        width: 100%;
        text-align: center;
        display: block;
        padding: 16px 24px;
    }

    .logo-img {
        height: 80px;
    }

    .footer-logo .logo-img {
        max-width: 120px;
        height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        display: flex;
        order: -1;
        height: auto;
        margin-bottom: 30px;
    }

    .hero-image img {
        display: none;
        max-width: 80%;
        height: auto;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-illustration {
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        max-width: 100%;
    }

    .footer-logo .logo-img {
        max-width: 140px;
        height: auto;
    }

    .footer-content {
        align-items: center;
    }

    .footer-col p {
        padding-right: 0;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: row;
        width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        padding: 12px 20px;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Disable parallax on mobile for better performance */
    .glow-circle {
        display: none;
    }

    .floating-icon {
        display: none;
    }
}

/* Medium Tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (768px - 991px) - Show Full Menu with Reduced Spacing */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-list {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-left: 15px;
    }
}

/* Large Tablets and Small Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and Large Screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                          FLOATING CONTACT TOGGLE                           */
/* -------------------------------------------------------------------------- */

.contact-toggle-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    white-space: nowrap;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(253, 221, 22, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(253, 221, 22, 0.5);
    background: #ffed4e;
}

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 520px;
    max-width: calc(100% - 32px);
    max-height: 90vh;
    background: rgba(13, 17, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 2200;
    padding: 50px 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: auto;
    border-radius: 20px;
}

.contact-panel.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: white;
    transform: rotate(90deg);
}

.side-form {
    background: transparent;
    padding: 0;
    border: none;
}

.side-form .form-group label {
    background: #0d111a;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .contact-panel {
        width: 80%;
        max-width: 80%;
    }
}

/* Responsive UI for Contact Panel */
@media (max-width: 767px) {
    .contact-toggle-container {
        right: 20px;
        bottom: 20px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
    }

    .contact-panel {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        padding: 40px 24px;
        border-radius: 16px;
    }

    .close-btn {
        right: 12px;
        top: 12px;
        font-size: 1.8rem;
    }

    .contact-panel .section-header h3 {
        font-size: 1.75rem;
    }

    .side-form .form-group input,
    .side-form .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .side-form .btn {
        padding: 16px;
        font-size: 1.1rem;
    }
}



/* -------------------------------------------------------------------------- */
/*                          MOBILE OPTIMIZATION                              */
/* -------------------------------------------------------------------------- */

@media screen and (max-width: 767px) {

    /* Global Mobile Spacing Rules */
    .section-padding {
        padding: 24px 0 !important;
    }

    .container {
        padding: 0 16px !important;
    }

    .bg-white-skills {
        padding: 40px 0 !important;
    }

    /* Card & Grid Spacing */
    .results-grid,
    .services-grid,
    .counters-grid,
    .skills-grid,
    .process-grid,
    .values-grid,
    .stats-grid {
        gap: 12px !important;
    }

    .stat-card,
    .service-card,
    .result-card,
    .value-card,
    .process-card {
        padding: 16px !important;
    }

    /* 1. Service / Feature Cards (Results) -> Slider */
    .results-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        flex-wrap: nowrap !important;
        padding-bottom: 20px !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
    }

    .result-card {
        flex: 0 0 calc(50% - 6px) !important;
        scroll-snap-align: start !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .result-card .main-highlight {
        font-size: 2rem !important;
    }

    .result-card .main-highlight .plus,
    .result-card .main-highlight .percent,
    .result-card .main-highlight .multiplier,
    .result-card .main-highlight .unit {
        font-size: 1.5rem !important;
    }

    .result-card .result-desc {
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }

    /* 2. Statistics / Numbers Section */
    .stats-grid {
        grid-template-columns: repeat(2, 2fr) !important;
        gap: 12px !important;
    }

    .stat-card .stat-value {
        font-size: 1.75rem !important;
    }

    .stat-card .stat-label {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
    }

    /* 3. “What We Offer” / Services Grid -> 2-column with Expand */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .service-card {
        padding: 16px !important;
        min-height: 140px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .service-card .service-icon {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }

    .service-card h3 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .service-card p {
        display: none;
        /* Hidden initially */
        font-size: 0.8rem !important;
        margin-top: 10px !important;
        line-height: 1.4 !important;
    }

    .service-card.expanded p {
        display: block !important;
    }

    .service-card .service-number {
        font-size: 1.5rem !important;
        top: 10px !important;
        right: 10px !important;
    }

    .service-link {
        display: none !important;
        /* Hide link to save space */
    }

    /* 4. “Why Choose Us” / Benefits -> Accordion */
    .counters-grid {
        display: block !important;
    }

    .counter-item {
        margin-bottom: 12px !important;
        padding: 12px 16px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .counter-box-icon {
        position: static !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        display: inline-flex !important;
        vertical-align: middle !important;
        margin-right: 10px !important;
    }

    .counter-card-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        cursor: pointer !important;
    }

    .counter-item h3 {
        display: inline-block !important;
        font-size: 0.95rem !important;
        margin-bottom: 0 !important;
        vertical-align: middle !important;
    }

    .counter-item p {
        display: none;
        /* Hidden by default */
        padding-left: 0 !important;
        margin-top: 10px !important;
        font-size: 0.85rem !important;
    }

    .counter-item.active p {
        display: block !important;
    }

    /* 5. Skills / Progress Circles */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .skill-item {
        padding: 24px 12px !important;
        min-height: auto !important;
    }

    .progress-ring-container {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 15px !important;
    }

    .skill-percentage {
        font-size: 1.5rem !important;
    }

    .skill-item h3 {
        font-size: 0.95rem !important;
    }

    .skill-item p {
        font-size: 0.8rem !important;
    }

    /* 6. Process Section */
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .process-card {
        padding: 16px !important;
    }

    .process-badge {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }

    .process-card h3 {
        font-size: 0.9rem !important;
    }

    .process-card p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    /* Remove long timeline if it exists (noted in process-grid) */
    /* Looking at the HTML, there's no explicit timeline line element, maybe it was a pseudo-element */
    .process-grid::before {
        display: none !important;
    }

    /* Global Typography refinements */
    h2 {
        line-height: 1.2 !important;
    }

    p {
        line-height: 1.5 !important;
    }
}

/* Tablet (768–1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* 2x2 grid allowed for results/stats */
    .results-grid,
    .stats-grid,
    .services-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Pagination Dots for Slider */
.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    .slider-dots {
        display: flex;
    }
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}