/* Slog Way IT Services - Premium Frost Glass Light Theme (Stripe/Linear Inspired) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Vibrant Tech Colors */
    --primary: #2563eb;          /* Royal Blue */
    --primary-light: #60a5fa;    /* Sky Blue */
    --primary-dark: #1d4ed8;     
    --secondary: #7c3aed;        /* Violet */
    --accent: #10b981;           /* Emerald Green */
    --accent-light: #34d399;     
    
    /* Light Theme Neutrals */
    --bg-main: #f8fafc;          /* Slate 50 */
    --bg-card: rgba(255, 255, 255, 0.45); /* Frosted Glass */
    --text-primary: #0f172a;     /* Slate 900 */
    --text-secondary: #475569;   /* Slate 600 */
    --text-muted: #94a3b8;       /* Slate 400 */
    --border-light: rgba(255, 255, 255, 0.8); /* Strong Frosted Glass Border */
    
    /* Grains & Blurs */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    
    /* Depth Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 16px 32px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 30px 60px -15px rgba(15, 23, 42, 0.08), 0 8px 24px -4px rgba(15, 23, 42, 0.04);
    --shadow-blue: 0 20px 40px -15px rgba(37, 99, 235, 0.25);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Reset & Background styling */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Fine-grained tech grid mesh pattern */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* Custom Text Selection Color */
::selection {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* Page content wrapper to seal layout boundary */
.page-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    z-index: 10;
}

/* Prevent horizontal scroll from elements/animations */
section, footer {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navbar Upgrades - Pure Frosted Glassmorphism */
.navbar {
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: transparent !important;
    border-bottom: 1px solid transparent;
    z-index: 1000;
}

.navbar-scrolled {
    padding: 14px 0;
    background-color: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    color: #ffffff !important; /* Default white logo text on dark background */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.navbar-brand img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-brand:hover img {
    transform: rotate(-8deg) scale(1.08);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85) !important; /* Default light white link text on dark background */
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #ffffff !important; /* White on hover at the top */
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-link.active {
    color: #ffffff !important; /* White active link at the top */
}

/* Dynamic State-Based Navbar Colors */
.navbar:not(.navbar-scrolled) .navbar-toggler-icon {
    filter: invert(1) brightness(2); /* Make hamburger icon white at the top */
}

.navbar.navbar-scrolled .navbar-brand {
    color: var(--text-primary) !important; /* Dark brand text when scrolled */
}

/* Desktop nav links (min-width: 992px) */
@media (min-width: 992px) {
    .navbar.navbar-scrolled .nav-link {
        color: var(--text-secondary) !important; /* Dark links when scrolled */
    }
    .navbar.navbar-scrolled .nav-link:hover {
        color: var(--primary) !important;
    }
    .navbar.navbar-scrolled .nav-link.active {
        color: var(--primary) !important;
    }
}

/* Mobile nav links (max-width: 991px) - always dark since mobile menu panel is white */
@media (max-width: 991px) {
    .navbar .nav-link {
        color: var(--text-secondary) !important;
    }
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--primary) !important;
    }
}

.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 12px;
}
.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary) !important;
}
.dropdown-item:hover {
    background-color: rgba(37, 99, 235, 0.05) !important;
    color: var(--primary) !important;
}

/* Glowing Background Pastel Blobs */
.blur-blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.12;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-primary {
    background-color: var(--primary);
    width: 550px;
    height: 550px;
    top: -120px;
    right: 5%;
}

.blob-secondary {
    background-color: var(--secondary);
    width: 600px;
    height: 600px;
    bottom: -150px;
    left: -100px;
    animation-delay: -6s;
}

.blob-accent {
    background-color: #f59e0b;     /* Amber 500 */
    width: 450px;
    height: 450px;
    top: 35%;
    left: 45%;
    animation-delay: -12s;
    opacity: 0.06;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 50px) scale(1.1); }
    100% { transform: translate(-30px, 80px) scale(0.95); }
}

/* Hero Section Styles - Pastel Mesh Theme with Background Video */
.hero-section {
    padding: 210px 0 130px;
    background: #030712;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85; /* Increased opacity for clearer display */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 7, 18, 0.65) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(37, 99, 235, 0.15) 100%); /* Adjusted overlay for better clarity */
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #cbd5e1; /* High contrast Slate */
    max-width: 550px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, #ffffff 40%, #93c5fd 80%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 10;
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
    z-index: -1;
}

/* Modern Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Styled Section Header */
.section-title {
    margin-bottom: 70px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title span.tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 16px;
    background-color: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 30px;
}

.section-title h2 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Custom Buttons - Stripe-Inspired */
.btn {
    border-radius: 30px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white !important;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-light-glass {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary) !important;
    box-shadow: var(--shadow-sm);
}

.btn-light-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff !important;
    background: transparent;
}
.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Tech Stack Section (Trust Indicators) */
.tech-stack-section {
    padding: 45px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.tech-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.65;
    cursor: default;
}

.tech-item i {
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.tech-item:hover {
    opacity: 1;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tech-item:hover i.fa-react { color: #61dafb; }
.tech-item:hover i.fa-php { color: #777bb4; }
.tech-item:hover i.fa-node-js { color: #68a063; }
.tech-item:hover i.fa-aws { color: #ff9900; }
.tech-item:hover i.fa-wordpress { color: #21759b; }
.tech-item:hover i.fa-google { color: #4285f4; }
.tech-item:hover i.fa-database { color: #f29111; }

/* Bento Glassmorphic Service Cards */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
}

/* Gradient outline reveal on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: #ffffff;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
    border-color: transparent;
}

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

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-4px) rotate(6deg);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.service-card:hover .service-icon::after {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Statistics Section */
.stats-section {
    position: relative;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 35px 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Workflow Timeline (Slog Way Lifecycle) */
.workflow-section {
    position: relative;
    z-index: 2;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
    transform: translateX(-50%);
    border-radius: 4px;
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 35px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.timeline-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.timeline-card:hover {
    transform: translateY(-6px) scale(1.01);
    background: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

.timeline-card:hover::after {
    opacity: 1;
}

.timeline-step {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.timeline-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 10px !important;
    }
    
    .timeline-card {
        max-width: 100%;
    }
}

/* Testimonials - Swiper Slider Glass Style */
.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    margin: 20px 10px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* FAQ Accordion Styling - Clean Light Glass */
.faq-section {
    position: relative;
    z-index: 2;
}

.faq-accordion .accordion-item {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    background-color: #ffffff;
}

.faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    background-color: transparent;
    padding: 24px;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.02);
}

.faq-accordion .accordion-body {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Premium Call To Action (CTA) - Dynamic Blue Gradient */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #7c3aed 100%);
    color: white;
    padding: 120px 0;
    overflow: hidden;
    z-index: 2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
}

.cta-section h2 {
    color: white;
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Footer Section */
footer {
    background-color: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 85px 0 45px;
    color: #94a3b8;
    position: relative;
    z-index: 2;
}

footer h5 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: white;
    transform: translateX(4px);
}

footer .footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1e293b;
    border-radius: 12px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    margin-right: 8px;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Floating Animation Utility */
.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.4rem;
    }
    
    .hero-section {
        padding: 160px 0 90px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.6rem;
    }
    
    .cta-section h2 {
        font-size: 2.8rem;
    }

    #heroMap {
        height: 380px;
    }

    .navbar-collapse {
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    #heroMap {
        height: 300px;
    }
}

/* Hero Live Map Styles - Clean High Contrast */
.hero-map-wrapper {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.hero-map-wrapper:hover {
    box-shadow: 0 35px 70px -15px rgba(37, 99, 235, 0.15);
}

#heroMap {
    height: 460px;
    width: 100%;
    z-index: 5;
    background-color: #cbd5e1;
}

.map-live-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: #10b981; /* Emerald 500 */
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    position: absolute;
    left: 0;
    top: 0;
    animation: indicator-pulse 1.8s infinite ease-in-out;
}

@keyframes indicator-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Leaflet Custom Styles */
.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.leaflet-popup-content {
    margin: 12px 16px !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

.leaflet-popup-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.leaflet-popup-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Pulsing SVG map markers for client locations */
.map-marker-pulse {
    animation: marker-glow-pulse 2s infinite ease-in-out;
}

@keyframes marker-glow-pulse {
    0% {
        stroke-width: 2;
        stroke-opacity: 1;
    }
    50% {
        stroke-width: 10;
        stroke-opacity: 0.35;
    }
    100% {
        stroke-width: 2;
        stroke-opacity: 1;
    }
}
