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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    font-display: swap;
}

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Premium Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.spinner-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.spinner-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid transparent;
    border-left-color: var(--secondary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin-reverse 1s linear infinite;
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.loader-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.loader-line {
    width: 150px;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading-line 2s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes loading-line {
    to { left: 100%; }
}

/* Glassmorphism Utility */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* Navbar Styling */
.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
}

.brand-text {
    color: var(--primary-color);
}

.brand-ext {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: 2px solid transparent; /* Match outline border width */
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-premium:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px !important;
    font-size: 0.85rem;
}


/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-content h1 {
    font-size: calc(2.2rem + 1.5vw);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .hero-section {
        padding: 100px 0 40px;
    }
}



.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Inner Hero */
.inner-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 100px 0 60px;
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 80px 0 40px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Abstract Blobs */

.blob {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    left: -50px;
}

.small-service-card {
    padding: 25px 15px !important;
    border-radius: 15px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.small-service-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.02);
}

.card-icon-sm {
    width: 45px;
    height: 45px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto;
}

.card-icon-sm.secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
}

.card-icon-sm.accent {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
}

.extra-small {
    font-size: 0.72rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .glass-card {
        padding: 25px 15px !important;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 10px !important;
    }
    
    .stat-item h2, .counter {
        font-size: 1.6rem !important;
    }
    
    .text-uppercase.fw-bold.mb-0 {
        font-size: 0.65rem !important;
    }
}

/* Stats Section */
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.stat-icon.secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
}

.stat-icon.accent {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
}


.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Services Section */
.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* How It Works */
.step-card {
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
    width: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Pricing Section */

.pricing-card {
    padding: 40px;
}

.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.price-tag {
    font-size: calc(2.2rem + 1.5vw);
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .price-tag {
        font-size: 2.5rem;
    }
}

.footer-contact li {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.footer-contact li:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.footer-contact li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 30px;
}

.payment-icon {
    width: 45px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
}

/* Floating Buttons */


.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-scroll-top {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-scroll-top.visible {
    opacity: 1;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Form Styling */
.glass-form .form-control {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
}

.glass-form .form-control:focus {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Consolidated Elite Responsiveness */
@media (max-width: 1200px) {
    .hero-section {
        padding: 160px 0 100px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 140px 0 60px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin: 20px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        margin-top: 15px;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 10px 0;
        text-align: center;
    }

    /* Adjust Inner Hero Stats for Tablet */
    .inner-hero .col-lg-5 {
        margin-top: 30px;
    }
    
    .inner-hero .d-flex.flex-column.h-100 {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .inner-hero .glass-card {
        flex: 1 1 200px;
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .display-5 {
        font-size: calc(1.6rem + 1.2vw);
    }

    .display-4 {
        font-size: calc(1.8rem + 1.8vw);
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }
    
    /* Fix Floating Button Overlap and Sizing */
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .btn-scroll-top {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.0rem;
        line-height: 1.3;
    }

    .glass-card {
        padding: 25px 15px !important;
    }

    .btn-premium,
    .btn-outline-premium {
        width: 100%;
        margin-bottom: 5px;
    }

    .inner-hero .d-flex.flex-column.h-100 {
        flex-direction: column !important;
    }
    
    /* Ensure floating actions don't cover buttons */
    .floating-actions {
        z-index: 1050;
    }

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