/* ===================================
   DIGITAL VYAVASAAY - ULTRA-FUTURISTIC CSS
   Dark Mode | 3D Effects | Glassmorphism
   =================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Colors - Neon Futuristic Palette */
    --primary-cyan: #00f3ff;
    --primary-blue: #0066ff;
    --primary-purple: #b400ff;
    --primary-magenta: #ff00ff;
    --accent-pink: #ff0080;

    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 35, 0.4);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #7a7a9d;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple), var(--primary-magenta));
    --gradient-mixed: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-magenta));
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    /* Reduced from 4rem */
    --spacing-xl: 4rem;
    /* Reduced from 6rem */

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --blur-glass: 20px;
    --blur-strong: 40px;
    --shadow-glow: 0 0 30px rgba(0, 243, 255, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(180, 0, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* ===================================
   CUSTOM CURSOR
   =================================== */

.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s ease, opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ===================================
   3D BACKGROUND CANVAS
   =================================== */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* ===================================
   SCROLL INDICATOR (Mouse Follow Arrow)
   =================================== */

.scroll-indicator {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    pointer-events: none;
    transition: transform 0.1s ease;
}

.indicator-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateIndicator 3s linear infinite;
    box-shadow: var(--shadow-glow);
    background: rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
}

.indicator-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--primary-cyan);
    filter: drop-shadow(0 0 5px var(--primary-cyan));
}

@keyframes rotateIndicator {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   MAGNIFICATION LENS (Zoom Effect)
   =================================== */

.magnify-lens {
    position: fixed;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5),
        inset 0 0 20px rgba(0, 243, 255, 0.2);
    background: rgba(10, 10, 15, 0.3);
    backdrop-filter: none;
    /* Removed blur */
}

.magnify-lens.active {
    opacity: 1;
}

/* Zoom content inside lens */
.magnify-lens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 243, 255, 0.3);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(20deg);
    }
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.holo-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-glass));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: var(--spacing-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.holo-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-mixed);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.holo-card:hover::before {
    opacity: 1;
}

.holo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.3);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.holo-card:hover .card-glow {
    opacity: 1;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    /* Override body cursor: none */
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Ensure all links and buttons are clickable */
a,
button,
.btn,
.nav-link {
    cursor: pointer !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.pulse-border {
    animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.8), 0 0 60px rgba(180, 0, 255, 0.4);
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    /* Above scroll-progress and all other elements */
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

/* Staggered Animation for Menu Items */
.nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDownFade 0.5s ease forwards;
}

.nav-menu li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-menu li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-menu li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-menu li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-menu li:nth-child(5) {
    animation-delay: 0.5s;
}

.nav-menu li:nth-child(6) {
    animation-delay: 0.6s;
}

.nav-menu li:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer !important;
    /* Override body cursor: none */
    z-index: 10;
    /* Ensure links are above other elements */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-cyan);
    cursor: pointer !important;
    /* Ensure pointer on hover */
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-nav {
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
}

.nav-link.cta-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer !important;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
    transition: all var(--transition-normal);
}


/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 180px;
    /* Increased to clear fixed header */
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   SECTIONS
   =================================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    text-align: center;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Service CTA Card - Special styling for "Many More Services" card */
.service-card-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1)) !important;
    border: 2px solid rgba(99, 102, 241, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.service-card-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.service-card-cta>* {
    position: relative;
    z-index: 1;
}

/* Service CTA Button - Smaller, centered button */
.btn-service-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.2);
    cursor: pointer;
}

.btn-service-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.4);
    border-color: rgba(0, 243, 255, 0.6);
}

.btn-service-cta:active {
    transform: translateY(-1px);
}

/* Responsive adjustments for service CTA button */
@media (max-width: 968px) {
    .btn-service-cta {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .btn-service-cta {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }
}

/* ===================================
   WHY CHOOSE US
   =================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
}

.feature-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ===================================
   RESULTS SECTION
   =================================== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.result-card {
    text-align: center;
    padding: var(--spacing-md);
}

.result-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.result-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.result-stat {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-desc {
    color: var(--text-secondary);
}

/* ===================================
   FUNNEL OFFER SECTION
   =================================== */

.offer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-lg);
}

.offer-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.offer-check {
    color: var(--primary-cyan);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===================================
   PROCESS TIMELINE
   =================================== */

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.timeline-content {
    flex: 1;
    margin: 0 var(--spacing-md);
    max-width: 400px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    padding: var(--spacing-lg);
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-cyan);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.testimonial-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ===================================
   FOOTER - ENHANCED
   =================================== */

.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--primary-cyan);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.footer-column {
    animation: slideInUp 0.6s ease-out backwards;
    text-align: center;
    /* Center align all columns */
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* Center social icons */
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    transition: all 0.3s ease;
    cursor: pointer !important;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-cyan);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.4);
}

.social-link:hover svg {
    color: white;
    transform: scale(1.1);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    /* Center the underline */
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandLine 0.6s ease-out 0.5s backwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 40px;
    }
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    cursor: pointer !important;
}

.footer-menu a:hover {
    color: var(--primary-cyan);
    transform: translateY(-3px);
    /* Lift up on hover instead of slide */
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center contact items */
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-contact li:hover {
    transform: translateY(-3px);
    /* Lift up instead of slide right */
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    cursor: pointer !important;
}

.footer-contact a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    cursor: pointer !important;
}

.footer-bottom-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom-links span {
    color: var(--text-muted);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}


.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta-content .section-subtitle {
    margin-bottom: var(--spacing-md);
}

/* ===================================
   ACTIVE NAV LINK
   =================================== */

.nav-link.active {
    color: var(--primary-cyan);
}

.nav-link.active::after {
    width: 100%;
}

/* ===================================
   STICKY CTA
   =================================== */

.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sticky-cta.visible {
    opacity: 1;
}

/* ===================================
   WHATSAPP FLOAT
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        left: auto;
        /* Reset left property */
        border-top: none;
    }

    .nav-menu.active {
        right: 0;
        left: auto;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    /* General Mobile Button Fix */
    .btn {
        width: 100%;
        margin-bottom: 1rem;
        display: block;
    }

    .btn:last-child {
        margin-bottom: 0;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
    }

    .grid-3,
    .grid-2,
    .grid-4,
    .services-grid,
    .results-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Specific fixes for card buttons */
    .service-card,
    .package-card,
    .result-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-card .btn,
    .package-card .btn,
    .result-card .btn {
        width: 100%;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-number {
        position: absolute;
        left: 0;
        top: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 11px;
    }

    .timeline-item:nth-child(even)::after {
        left: 11px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        min-height: 90vh;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        bottom: 20px;
        right: 20px;
    }

    .indicator-circle {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================
   ANIMATIONS & EFFECTS
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    transition: transform 0.1s ease-out;
}

/* Magnify Target */
.magnify-target {
    transition: all var(--transition-normal);
}

.cta-content .section-subtitle {
    margin-bottom: var(--spacing-md);
}

/* ===================================
   ACTIVE NAV LINK
   =================================== */

.nav-link.active {
    color: var(--primary-cyan);
}

.nav-link.active::after {
    width: 100%;
}

/* ===================================
   STICKY CTA
   =================================== */

.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sticky-cta.visible {
    opacity: 1;
}

/* ===================================
   WHATSAPP FLOAT
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: var(--spacing-md);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .timeline-number {
        position: absolute;
        left: 0;
    }

    .timeline-content {
        margin: 0;
        max-width: 100%;
    }

    .services-grid,
    .results-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 20px;
        right: 20px;
    }

    .indicator-circle {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================
   ANIMATIONS & EFFECTS
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    transition: transform 0.1s ease-out;
}

/* Magnify Target */
.magnify-target {
    transition: all var(--transition-normal);
}

.magnify-target:hover {
    transform: scale(1.05);
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    margin-top: 80px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ===================================
   MISSION & VISION
   =================================== */

.mission-vision {
    padding: var(--spacing-xl) 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.mv-card {
    padding: var(--spacing-lg);
    text-align: center;
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.mv-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   CORE VALUES
   =================================== */

.core-values {
    padding: var(--spacing-xl) 0;
    background: rgba(0, 0, 0, 0.2);
}

.core-values .section-title {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 240px;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Responsive adjustments for Core Values */
@media (max-width: 968px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.25rem;
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .value-icon {
        font-size: 3rem;
    }

    .value-card h3 {
        font-size: 1.3rem;
    }
}