/**
 * digitalnectarltd.com - Global Design System & Styling
 * Version: 2.0.0 (UI/UX Redesign Overhaul)
 * Author: Antigravity AI
 */

/* ==========================================
   1. DESIGN TOKENS & CSS VARIABLE SYSTEM
   ========================================== */
:root {
    /* Main HSL Palettes - Bootstrap Blue Theme */
    --primary-blue: #0d6efd;
    /* Bootstrap Primary Blue */
    --primary-blue-hover: #0b5ed7;
    /* Bootstrap Dark Blue */
    --primary-blue-rgb: 13, 110, 253;
    --primary-dark: #0b0f19;
    /* Obsidian Deep Slate */
    --primary-dark-rgb: 11, 15, 25;
    --accent-orange: #ff7b00;
    /* High-legibility Orange */
    --accent-yellow: #ffc300;
    /* Subtle Warm Accent */

    /* Semantic Neutrals */
    --text-dark: #212529;
    /* Bootstrap Dark Text */
    --text-muted: #6c757d;
    /* Bootstrap Secondary Text */
    --text-light: #adb5bd;
    /* Slate-500 equivalent */
    --light-bg: #f8f9fa;
    /* Bootstrap Light Gray */
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    /* Bootstrap Border Gray */
    --input-focus: rgba(13, 110, 253, 0.25);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    --secondary-gradient: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    --glow-gradient: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);

    /* Shadows System */
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 12px 24px -10px rgba(15, 23, 42, 0.06), 0 4px 12px -5px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 24px 48px -15px rgba(15, 23, 42, 0.08), 0 8px 24px -10px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 32px 64px -20px rgba(15, 23, 42, 0.12), 0 16px 32px -10px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 10px 30px rgba(13, 110, 253, 0.15);

    /* Layout & Animation */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================
   2. BASE & LAYOUT ELEMENTS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.75;
    overflow-x: hidden;
    padding-top: 96px;
    /* Optimized offset to perfectly match the combined height of topbar + navbar */
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 4px;
    border: 2px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ==========================================
   2. GLOBAL ICON SYSTEM (BOOTSTRAP ICONS)
   ========================================== */
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition-fast);
    vertical-align: -0.125em;
    /* Perfect baseline alignment */
}

/* Base icon sizing */
.bi-sm {
    font-size: 0.875rem;
}

.bi-md {
    font-size: 1.25rem;
}

.bi-lg {
    font-size: 1.5rem;
}

.bi-xl {
    font-size: 2rem;
}

/* Interactive Icon Effects */
.icon-hover-scale:hover .bi {
    transform: scale(1.15);
    color: var(--primary-blue) !important;
}

.icon-hover-rotate:hover .bi {
    transform: rotate(15deg) scale(1.1);
    color: var(--primary-blue) !important;
}

/* Button Icon Integration */
.btn .bi {
    margin-right: 8px;
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.btn:hover .bi {
    transform: translateX(3px);
    /* Subtle nudge */
}

/* Sidebar / Nav Icons */
.nav-link .bi {
    font-size: 1.15rem;
    margin-right: 10px;
    opacity: 0.8;
    color: var(--text-muted);
}

.nav-link:hover .bi,
.nav-link.active .bi {
    color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.1);
}

/* Form Input Icons */
.input-group-text .bi {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-control:focus+.input-group-text .bi,
.input-group-text:has(+ .form-control:focus) .bi {
    color: var(--primary-blue);
}

/* ==========================================
   3. TYPOGRAPHY SYSTEM
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ==========================================
   4. INTERACTIVE COMPONENTS (BUTTONS & FORMS)
   ========================================== */
button,
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    transition: var(--transition-smooth);
}

/* Premium Primary Button */
.hero-cta-primary,
.cta-button {
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 0.95rem 2.25rem;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta-primary::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.hero-cta-primary:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-cta-primary:hover::before,
.cta-button:hover::before {
    left: 100%;
}

/* Premium Secondary Button */
.hero-cta-secondary {
    background: var(--card-bg);
    color: var(--primary-dark) !important;
    padding: 0.95rem 2.25rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.hero-cta-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
    transform: translateY(-3px);
}

/* Float WhatsApp and Top Button */
.whatsapp-left {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.whatsapp-left:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-left i {
    font-size: 1.8rem;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-left:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.back-to-top-right {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
    outline: none;
}

.back-to-top-right.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-right:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.back-to-top-right i {
    font-size: 1.3rem;
}

/* ==========================================
   5. PRELOADER & INITIAL ANIMATIONS
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-loader {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cyber-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.cyber-circle.outer {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    animation: spinCyber 2s linear infinite;
}

.cyber-circle.inner {
    width: 70%;
    height: 70%;
    border-left-color: var(--accent-orange);
    border-right-color: var(--accent-orange);
    animation: spinCyberReverse 1.5s linear infinite;
}

.cyber-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    animation: pulseCyberIcon 1.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes spinCyber {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinCyberReverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulseCyberIcon {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
        text-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
    }
}

.preloader-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.preloader-text {
    color: var(--primary-blue);
    font-size: 0.85rem;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    animation: blinkText 1.5s infinite;
}

@keyframes blinkText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ==========================================
   6. HEADER & STICKY GLASS NAVIGATION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.topbar {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.2px;
}

.topbar i {
    opacity: 0.8;
}

.navbar {
    padding: 0.8rem 0;
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Navbar logo responsive styling */
.navbar-logo {
    height: 40px;
    width: auto;
    max-height: 40px;
    transition: var(--transition-fast);
}

/* Additional responsive sizing for tablet view */
@media (max-width: 991px) {
    .navbar-logo {
        height: 35px;
        max-height: 35px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 30px;
        max-height: 30px;
    }
}

@media (max-width: 360px) {
    .navbar-logo {
        height: 25px;
        max-height: 25px;
    }
}

.navbar-brand i {
    margin-right: 8px;
    font-size: 1.4rem;
}

.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    transition: var(--transition-fast);
    padding: 0.6rem 1.25rem !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    display: none;
    /* Hide icons in the new design if preferred, or keep them. The reference image doesn't have icons. */
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    background-color: var(--light-bg);
}

.nav-link.active {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

/* Sticky CTA Button in Nav */
.nav-cta-btn {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    padding: 0.7rem 1.8rem !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: none;
}

.nav-cta-btn:hover {
    background: var(--primary-blue-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Advanced Services Dropdown Menu */
.navbar .dropdown-menu {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    min-width: 290px;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    display: block;
    /* Managed by opacity/visibility */
}

.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
}

.dropdown-item:hover i {
    color: var(--primary-blue);
    transform: scale(1.15) rotate(5deg);
}

.nav-link.dropdown-toggle::after {
    display: inline-block;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    margin-left: 5px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ==========================================
   7. HERO & STATISTICS SECTIONS (HOMEPAGE)
   ========================================== */
.hero-section {
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Ambient glow blobs */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

/* Refactored Stats Grid */
.hero-stats-card {
    background: var(--secondary-gradient);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 1rem;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.3);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(13, 110, 253, 0.12);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    font-size: 1.15rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ==========================================
   8. SERVICE PREVIEW CARDS
   ========================================== */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 110, 253, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}

.service-icon i {
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
}

.service-card:hover .service-icon i {
    color: #ffffff;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.service-link i {
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-blue-hover);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   9. WHY CHOOSE US & VALUE PROPOSITIONS
   ========================================== */
.bg-light-section {
    background-color: var(--light-bg);
}

.section-padding {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
    text-align: left;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 110, 253, 0.15);
}

.value-icon {
    width: 54px;
    height: 54px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon i {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.feature-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.certification-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 110, 253, 0.2);
}

.certification-badge i {
    color: var(--primary-blue);
}

.certification-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==========================================
   10. PROCESS TIMELINE & FLOWS
   ========================================== */
#process {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-glow);
    font-family: 'Outfit', sans-serif;
    position: relative;
}

/* Connector line */
@media (min-width: 992px) {
    .process-step::after {
        content: '';
        position: absolute;
        width: 70%;
        height: 2px;
        background: var(--border-color);
        top: 47px;
        left: calc(50% + 32px);
        z-index: -1;
    }

    .col-lg-3:last-child .process-step::after {
        display: none;
    }
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   11. TESTIMONIAL CAROUSEL
   ========================================== */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 110, 253, 0.15);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 6rem;
    color: rgba(13, 110, 253, 0.08);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
    font-family: 'Outfit', sans-serif;
}

.client-meta h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.client-meta p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-rating {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ==========================================
   12. CONVERSIONS, CTA & FOOTER
   ========================================== */
.cta-section {
    background: var(--secondary-gradient);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

/* Contact Form Overhaul */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    background: var(--primary-gradient);
}

.form-control {
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: var(--transition-fast);
    box-shadow: none;
}

.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--input-focus);
    color: var(--text-dark);
}

.contact-info {
    padding-left: 1.5rem;
}

.contact-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: var(--card-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 110, 253, 0.15);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-blue);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-details p,
.contact-details a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none !important;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

/* Premium Footer */
.footer {
    background: #1f2937;
    /* Dark slate matching the reference UI */
    padding: 5.5rem 0 2rem;
    border-top: 4px solid var(--accent-orange);
    color: rgba(255, 255, 255, 0.6);
}

.footer .navbar-brand {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #374151;
    /* Match reference dark circle */
    border: none;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.social-links a:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   13. SERVICE SUBPAGES SPECIFIC LAYOUTS
   ========================================== */
.service-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.included-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
}

.included-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 110, 253, 0.12);
}

.included-icon {
    width: 52px;
    height: 52px;
    background: rgba(13, 110, 253, 0.05);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.included-box h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.included-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Custom pricing or parameter layout cards */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary-blue);
    font-size: 0.95rem;
}

/* ==========================================
   14. LEGAL COMPLIANCE SECTIONS & SIDEBAR
   ========================================== */
.legal-layout {
    padding: 5rem 0;
}

.legal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.legal-card h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.legal-card h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-card p,
.legal-card li {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

/* Sticky sidebar style for legal pages navigation */
.legal-sidebar {
    position: sticky;
    top: 110px;
}

.legal-menu {
    list-style: none;
    padding-left: 0;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
}

.legal-menu li {
    margin-bottom: 0.5rem;
}

.legal-menu li:last-child {
    margin-bottom: 0;
}

.legal-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.legal-menu a:hover,
.legal-menu a.active {
    background: rgba(13, 110, 253, 0.06);
    color: var(--primary-blue);
    font-weight: 600;
}

/* ==========================================
   15. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    body {
        padding-top: 80px;
    }

    .navbar {
        padding: 1rem 0;
    }

    /* Mobile responsive navbar expand styling */
    .navbar-collapse {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-md);
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 8px;
    }

    .nav-link {
        padding: 0.6rem 1rem !important;
        border-radius: var(--border-radius-sm);
    }

    .nav-link:hover {
        background: var(--light-bg);
    }

    .nav-link:after {
        display: none !important;
    }

    .navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        background: var(--light-bg);
        margin-top: 0.25rem;
        padding: 0.5rem;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.6rem 1rem;
    }

    .nav-cta-btn {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Stats grid stack adjustments */
    .hero-stats-card {
        margin-top: 3rem;
    }

    /* Process connector line hide */
    .process-step::after {
        display: none;
    }

    .contact-info {
        padding-left: 0;
        margin-top: 3rem;
    }

    .legal-sidebar {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }

    .whatsapp-left {
        left: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-left i {
        font-size: 1.5rem;
    }

    .back-to-top-right {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }

    .back-to-top-right i {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .legal-card {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .preloader-logo {
        font-size: 2.25rem;
    }

    .preloader-progress {
        width: 200px;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   16. CSS ANIMATIONS & PULSE STATES
   ========================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.9;
        text-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 25px rgba(13, 110, 253, 0.5);
    }
}

/* ==========================================
   17. CENTERED HERO SECTION (GRID LAYOUT)
   ========================================== */
.hero-section {
    position: relative;
    padding: 50px 0 80px;
    background-color: #f8fbff;
    /* Very subtle blue tint */
    overflow: hidden;
    z-index: 1;
}

/* Subtle Patterned Background (Dots) */
.hero-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-blue) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.05;
    z-index: -1;
}

/* Center Glow Effect */
.hero-pattern-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    z-index: -1;
}

/* Typography */
.hero-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.hero-main-title span.text-primary {
    color: var(--primary-blue) !important;
}

/* Hero Service Grid */
.hero-service-grid {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 110, 253, 0.1) !important;
}

.hero-service-card {
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hero-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.2) !important;
}

.hero-service-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
}

/* Universal Hover Lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15) !important;
}

/* Hero Outline Button Hover Fix */
.hero-section .btn-outline-primary:hover,
.hero-section .btn-outline-primary:focus,
.hero-section .btn-outline-primary:active {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
}

@media (max-width: 991px) {
    .hero-main-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-main-title {
        font-size: 1.15rem;
    }
}