:root {
    --color-primary: #0d2b56;
    --color-primary-rgb: 13, 43, 86;
    --color-accent: #25D366;
    --color-accent-hover: #1ebe57;
    --color-text: #0b1c33;
    --color-bg-light: #f0f2f5;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0d2b56 0%, #00d2ff 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    --shadow-soft: 0 10px 30px -10px rgba(13, 43, 86, 0.15);
    --shadow-neon: 0 0 20px rgba(0, 210, 255, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(13, 43, 86, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-custom {
    color: var(--color-primary) !important;
}

.bg-primary-custom {
    background-color: var(--color-primary) !important;
}

/* Glassmorphism Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(90deg, #dc3545 0%, #ff4d4d 100%);
    color: white;
    font-size: 0.9rem;
    position: relative;
    z-index: 1031;
    /* Above navbar */
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-whatsapp {
    background: var(--color-accent);
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.btn-action {
    background: var(--color-primary);
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00d2ff 0%, #0d2b56 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-action:hover::before {
    opacity: 1;
}

.btn-action:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

/* Sticky Button */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: #25D366;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 43, 86, 0.95), rgba(13, 43, 86, 0.8)), url('../img/hero-bg.png');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax-ish */
    background-position: center;
    color: white;
    padding: 140px 0 100px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -50px;
    /* Overlap with next section */
    z-index: 1;
}

/* Floating Shapes in Hero - optional CSS shapes */
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Service & Product Cards (Glassmorphism) */
.service-card,
.step-card,
.testimonial-card,
.feature-box,
.coverage-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card:hover,
.step-card:hover,
.testimonial-card:hover,
.feature-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(13, 43, 86, 0.12);
    background: #fff;
    border-color: rgba(13, 43, 86, 0.1);
}

.service-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Step Number in "How It Works" */
.step-number {
    box-shadow: 0 10px 20px rgba(13, 43, 86, 0.2);
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

/* Stats Section */
#social-proof {
    position: relative;
    background: var(--color-primary);
    overflow: hidden;
    padding: 80px 0;
}

#social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 210, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(37, 211, 102, 0.2) 0%, transparent 40%);
}

.stat-box h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Accordion */
.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    background: transparent;
}

.accordion-button {
    background: white;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    font-weight: 700;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(13, 43, 86, 0.2);
}

.accordion-button::after {
    transition: filter 0.3s;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-collapse {
    border-radius: 0 0 12px 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.sticky-whatsapp.pulse {
    animation: pulse 1.5s infinite;
}

/* Mobile Adjustments */
/* Service List Items Hover */
#services .list-unstyled li:hover {
    transform: translateX(5px);
    background: white !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .sticky-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding: 120px 0 80px;
    }

    .stat-box h2 {
        font-size: 2.5rem;
    }
}