/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --black: #000000;
    --dark-gray: #111111;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --white: #ffffff;
    --accent: #6ee7b7;
    --accent-dark: #10b981;
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-smooth: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    position: relative;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
}

.logo-icon {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}
/* ======================================= */
/* HAMBURGER MENU - MOBILE ONLY */
/* ======================================= */

/* Hide hamburger on desktop */
.hamburger-menu {
    display: none;
}

.mobile-nav {
    display: none;
}

.mobile-overlay {
    display: none;
}

/* Tablet and Mobile Styles */
@media (max-width: 992px) {
    /* Hide desktop navigation and CTA */
    .nav-links,
    .nav-cta {
        display: none;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
        z-index: 1001;
    }

    .hamburger-btn {
        width: 48px;
        height: 48px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 0;
        position: relative;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .hamburger-btn span {
        width: 30px;
        height: 2px;
        background: var(--white);
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        display: block;
    }

    /* Hamburger Animation - Active State (X shape) */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--accent);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--accent);
    }

    /* Mobile Navigation Menu */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 2000;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 30px 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(110, 231, 183, 0.1);
        overflow-y: auto;
    }

    .mobile-nav.active {
        right: 0;
    }

    /* Mobile Nav Header */
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
    }

    .mobile-logo i {
        color: var(--accent);
    }

    .mobile-close-btn {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        font-size: 1.3rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .mobile-close-btn:hover {
        background: var(--accent);
        color: var(--black);
        transform: rotate(90deg);
    }

    /* Mobile Navigation Links */
    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0 0 40px 0;
    }

    .mobile-nav-links li {
        margin-bottom: 5px;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
    }

    .mobile-nav.active .mobile-nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-nav.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-nav.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .mobile-nav.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .mobile-nav.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .mobile-nav.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .mobile-nav-links a {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: 500;
        padding: 15px 20px;
        border-radius: 15px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .mobile-nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, rgba(110, 231, 183, 0.1), transparent);
        transition: width 0.3s ease;
        z-index: -1;
    }

    .mobile-nav-links a:hover {
        color: var(--accent);
        padding-left: 30px;
    }

    .mobile-nav-links a:hover::before {
        width: 100%;
    }

    .mobile-nav-links a.active {
        color: var(--accent);
        background: rgba(110, 231, 183, 0.1);
        border-left: 3px solid var(--accent);
    }

    /* Mobile CTA Button */
    .mobile-cta-container {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-cta {
        width: 100%;
        background: linear-gradient(135deg, var(--accent), #a8e6cf);
        color: var(--black);
        border: none;
        padding: 16px 30px;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px -5px rgba(110, 231, 183, 0.3);
    }

    .mobile-nav-cta:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px -8px rgba(110, 231, 183, 0.5);
    }

    /* Mobile Social Links */
    .mobile-nav-social {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 40px;
    }

    .mobile-nav-social a {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

    .mobile-nav-social a:hover {
        background: var(--accent);
        color: var(--black);
        transform: translateY(-5px) rotate(360deg);
    }

    /* Overlay */
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        cursor: pointer;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {
    .mobile-nav {
        width: 90%;
        padding: 20px 15px;
    }

    .mobile-logo {
        font-size: 1.5rem;
    }

    .mobile-nav-links a {
        font-size: 1.1rem;
        padding: 12px 15px;
    }

    .mobile-nav-cta {
        padding: 14px 25px;
        font-size: 1.1rem;
    }

    .mobile-nav-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Landscape Mode */
@media (max-width: 896px) and (orientation: landscape) {
    .mobile-nav {
        padding: 15px 20px;
        overflow-y: auto;
    }

    .mobile-nav-header {
        margin-bottom: 20px;
    }

    .mobile-nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mobile-cta-container {
        grid-column: span 2;
    }

    .mobile-nav-links a {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--accent);
    color: var(--black);
    border: none;
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.hero-cta:hover {
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(110, 231, 183, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Floating Cards Section */
.floating-cards {
    padding: 150px 0;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Floating Icons Background */
.floating-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.icon-bg {
    position: absolute;
    font-size: 5.5rem;
    opacity: 0.35;
    animation: floatIcon 25s infinite ease-in-out;
    z-index: 1;
    filter: drop-shadow(0 0 15px currentColor);
    pointer-events: none;
}

/* Bright, vibrant colors */
.icon-1 { color: #ff4757; top: 10%; left: 5%; animation-delay: 0s; }
.icon-2 { color: #2ed573; top: 20%; right: 8%; animation-delay: 3s; }
.icon-3 { color: #ffa502; bottom: 25%; left: 8%; animation-delay: 6s; }
.icon-4 { color: #1e90ff; bottom: 15%; right: 12%; animation-delay: 9s; }
.icon-5 { color: #9c88ff; top: 45%; left: 3%; animation-delay: 12s; }
.icon-6 { color: #ff6b81; top: 65%; right: 5%; animation-delay: 15s; }
.icon-7 { color: #00d2d3; top: 15%; right: 20%; animation-delay: 18s; }
.icon-8 { color: #ff9ff3; bottom: 45%; left: 22%; animation-delay: 21s; }

@keyframes floatIcon {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(40px, -35px) rotate(10deg) scale(1.15);
        opacity: 0.5;
    }
    50% {
        transform: translate(-25px, 20px) rotate(-8deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(35px, 25px) rotate(-12deg) scale(1.1);
        opacity: 0.5;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
    opacity: 1;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Content Cards */
.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 3;
    margin-top: 80px;
}

.content-card {
    background: rgba(35, 35, 35, 0.9);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.content-card:hover {
    transform: translateY(-10px);
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.content-icon {
    font-size: 4rem;
    color: white;
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #1e90ff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Different colors for each icon */
.content-card:nth-child(1) .content-icon {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

.content-card:nth-child(2) .content-icon {
    background: linear-gradient(135deg, #2ed573, #32ff7e);
}

.content-card:nth-child(3) .content-icon {
    background: linear-gradient(135deg, #ffa502, #ff9f1a);
}

.content-card:nth-child(4) .content-icon {
    background: linear-gradient(135deg, #1e90ff, #18dcff);
}

.content-card:hover .content-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.content-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.content-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* ======================================= */
/* SERVICES SECTION - 4D HYPERDIMENSIONAL ANIMATION */
/* ======================================= */
/* ======================================= */
/* SERVICES SECTION - 4D HYPERDIMENSIONAL ANIMATION */
/* COMPLETE WITH SERVICE CARD STYLES */
/* ======================================= */

.services {
    padding: 150px 0;
    background-color: var(--dark-gray);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* 4D Quantum Field Background - Animated */
.services::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(110, 231, 183, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(110, 231, 183, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 90% 20%, rgba(110, 231, 183, 0.08) 0%, transparent 40%),
        repeating-conic-gradient(from 0deg, transparent 0deg, rgba(110, 231, 183, 0.02) 10deg, transparent 20deg);
    animation: quantumField 25s ease-in-out infinite;
    transform-origin: center;
    z-index: 0;
    pointer-events: none;
}

/* 4D Tesseract (Hypercube) - Main 4D Element */
.services .tesseract {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: tesseractRotate 40s linear infinite;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}

.services .tesseract-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(110, 231, 183, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 0 40px rgba(110, 231, 183, 0.2);
    animation: morphFace 12s ease-in-out infinite;
    background: radial-gradient(circle at 30% 40%, rgba(110, 231, 183, 0.05) 0%, transparent 60%);
    backdrop-filter: blur(2px);
}

/* Tesseract Face Positions */
.services .tesseract-face-1 { transform: rotateX(0deg) rotateY(0deg) translateZ(0px); animation-delay: 0s; }
.services .tesseract-face-2 { transform: rotateX(90deg) rotateY(0deg) translateZ(300px); animation-delay: -2s; }
.services .tesseract-face-3 { transform: rotateX(180deg) rotateY(0deg) translateZ(600px); animation-delay: -4s; }
.services .tesseract-face-4 { transform: rotateX(270deg) rotateY(0deg) translateZ(300px); animation-delay: -6s; }
.services .tesseract-face-5 { transform: rotateY(90deg) rotateX(0deg) translateZ(300px); animation-delay: -1s; }
.services .tesseract-face-6 { transform: rotateY(270deg) rotateX(0deg) translateZ(300px); animation-delay: -3s; }
.services .tesseract-face-7 { transform: rotateY(45deg) rotateX(45deg) translateZ(300px); animation-delay: -5s; }
.services .tesseract-face-8 { transform: rotateY(-45deg) rotateX(-45deg) translateZ(300px); animation-delay: -7s; }

/* 4D Hypercube Matrix */
.services .hypercube {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 15%;
    right: 2%;
    transform-style: preserve-3d;
    animation: hypercubeSpin 35s linear infinite;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.services .hypercube-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform-origin: center;
    animation: linePulse 5s ease-in-out infinite;
}

/* Hypercube Line Positions */
.services .hypercube-line-1 { transform: rotateX(0deg) rotateY(0deg) translateZ(250px); }
.services .hypercube-line-2 { transform: rotateX(90deg) rotateY(0deg) translateZ(250px); }
.services .hypercube-line-3 { transform: rotateX(180deg) rotateY(0deg) translateZ(250px); }
.services .hypercube-line-4 { transform: rotateX(270deg) rotateY(0deg) translateZ(250px); }
.services .hypercube-line-5 { transform: rotateY(90deg) rotateX(0deg) translateZ(250px); }
.services .hypercube-line-6 { transform: rotateY(270deg) rotateX(0deg) translateZ(250px); }
.services .hypercube-line-7 { transform: rotateY(45deg) rotateX(45deg) translateZ(250px); }
.services .hypercube-line-8 { transform: rotateY(-45deg) rotateX(-45deg) translateZ(250px); }
.services .hypercube-line-9 { transform: rotateY(135deg) rotateX(45deg) translateZ(250px); }
.services .hypercube-line-10 { transform: rotateY(-135deg) rotateX(-45deg) translateZ(250px); }
.services .hypercube-line-11 { transform: rotateX(45deg) rotateY(45deg) translateZ(250px); }
.services .hypercube-line-12 { transform: rotateX(-45deg) rotateY(-45deg) translateZ(250px); }

/* Floating Quantum Particles */
.services .quantum-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(2px);
    animation: quantumFloat 15s infinite ease-in-out;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    box-shadow: 0 0 20px var(--accent);
}

/* Particle Positions */
.services .particle-1 { top: 10%; left: 5%; animation-delay: 0s; }
.services .particle-2 { top: 15%; left: 95%; animation-delay: 1s; width: 10px; height: 10px; }
.services .particle-3 { top: 25%; left: 15%; animation-delay: 2s; }
.services .particle-4 { top: 35%; left: 85%; animation-delay: 3s; width: 8px; height: 8px; }
.services .particle-5 { top: 45%; left: 25%; animation-delay: 4s; }
.services .particle-6 { top: 55%; left: 75%; animation-delay: 5s; width: 12px; height: 12px; }
.services .particle-7 { top: 65%; left: 35%; animation-delay: 6s; }
.services .particle-8 { top: 75%; left: 65%; animation-delay: 7s; width: 7px; height: 7px; }
.services .particle-9 { top: 85%; left: 45%; animation-delay: 8s; }
.services .particle-10 { top: 20%; left: 45%; animation-delay: 9s; width: 9px; height: 9px; }
.services .particle-11 { top: 40%; left: 55%; animation-delay: 10s; }
.services .particle-12 { top: 60%; left: 15%; animation-delay: 11s; width: 5px; height: 5px; }
.services .particle-13 { top: 80%; left: 85%; animation-delay: 12s; }
.services .particle-14 { top: 90%; left: 8%; animation-delay: 13s; width: 11px; height: 11px; }
.services .particle-15 { top: 5%; left: 75%; animation-delay: 14s; }

/* 4D Wormhole Effect */
.services .wormhole {
    position: absolute;
    width: 900px;
    height: 900px;
    bottom: -300px;
    left: -300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(110, 231, 183, 0.03), 
        transparent, 
        rgba(110, 231, 183, 0.03), 
        transparent, 
        rgba(110, 231, 183, 0.03), 
        transparent);
    animation: wormholeRotate 25s linear infinite;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    filter: blur(30px);
}

/* Dimensional Rifts */
.services .rift {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(110, 231, 183, 0.1);
    border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
    animation: riftPulse 10s ease-in-out infinite;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    filter: blur(5px);
}

.services .rift-1 { 
    top: 5%; 
    right: 5%; 
    animation-delay: 0s;
    background: radial-gradient(circle at 70% 30%, rgba(110, 231, 183, 0.05) 0%, transparent 70%);
}

.services .rift-2 { 
    bottom: 10%; 
    left: 5%; 
    width: 300px; 
    height: 300px; 
    animation-delay: -3s;
    background: radial-gradient(circle at 30% 70%, rgba(110, 231, 183, 0.05) 0%, transparent 70%);
}

.services .rift-3 { 
    top: 40%; 
    left: 20%; 
    width: 250px; 
    height: 250px; 
    animation-delay: -5s;
    border-color: rgba(255, 255, 255, 0.08);
}

.services .rift-4 { 
    bottom: 30%; 
    right: 15%; 
    width: 350px; 
    height: 350px; 
    animation-delay: -7s;
    border-color: rgba(110, 231, 183, 0.12);
}

/* 4D Energy Beams */
.services .energy-beam {
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(110, 231, 183, 0.2), 
        rgba(110, 231, 183, 0.4), 
        rgba(110, 231, 183, 0.2), 
        transparent);
    transform: rotate(45deg);
    animation: beamPulse 8s ease-in-out infinite;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

.services .beam-1 { top: 20%; left: -50%; animation-delay: 0s; }
.services .beam-2 { top: 50%; left: -50%; transform: rotate(-30deg); animation-delay: -2s; width: 150%; }
.services .beam-3 { top: 80%; left: -50%; transform: rotate(15deg); animation-delay: -4s; width: 180%; }

/* ======================================= */
/* SERVICE CARD GRID STYLES */
/* ======================================= */

.services .container {
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 10;
}

.service-card {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

.service-card:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(110, 231, 183, 0.3);
    box-shadow: 0 30px 50px -15px rgba(110, 231, 183, 0.3);
    transform: translateY(-10px);
}

/* Card Glow Effect on Hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--accent), transparent);
    -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::before {
    opacity: 0.5;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.4s ease;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    transition: all 0.4s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section Button */
.services .btn-container {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.services .btn-services {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(110, 231, 183, 0.3);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.services .btn-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.services .btn-services:hover {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(110, 231, 183, 0.5);
}

.services .btn-services:hover::before {
    left: 100%;
}

.services .btn-services i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.services .btn-services:hover i {
    transform: translateX(8px);
}

/* 4D Animations */
@keyframes quantumField {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.8; 
    }
    33% { 
        transform: scale(1.15) rotate(120deg); 
        opacity: 1; 
    }
    66% { 
        transform: scale(0.85) rotate(240deg); 
        opacity: 0.8; 
    }
}

@keyframes tesseractRotate {
    0% { 
        transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg); 
    }
    25% { 
        transform: translate(-50%, -50%) rotateX(90deg) rotateY(180deg) rotateZ(90deg); 
    }
    50% { 
        transform: translate(-50%, -50%) rotateX(180deg) rotateY(360deg) rotateZ(180deg); 
    }
    75% { 
        transform: translate(-50%, -50%) rotateX(270deg) rotateY(540deg) rotateZ(270deg); 
    }
    100% { 
        transform: translate(-50%, -50%) rotateX(360deg) rotateY(720deg) rotateZ(360deg); 
    }
}

@keyframes morphFace {
    0%, 100% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; 
        opacity: 0.3; 
        transform: scale(1);
    }
    25% { 
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; 
        opacity: 0.5; 
        transform: scale(1.1);
    }
    50% { 
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; 
        opacity: 0.3; 
        transform: scale(0.9);
    }
    75% { 
        border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; 
        opacity: 0.5; 
        transform: scale(1.1);
    }
}

@keyframes hypercubeSpin {
    0% { 
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(0, 0); 
    }
    33% { 
        transform: rotateX(120deg) rotateY(240deg) rotateZ(120deg) translate(20px, -20px); 
    }
    66% { 
        transform: rotateX(240deg) rotateY(480deg) rotateZ(240deg) translate(-20px, 20px); 
    }
    100% { 
        transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg) translate(0, 0); 
    }
}

@keyframes linePulse {
    0%, 100% { 
        opacity: 0.1; 
        transform: scaleX(1) scaleY(1);
    }
    50% { 
        opacity: 0.4; 
        transform: scaleX(1.8) scaleY(1.5);
    }
}

@keyframes quantumFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.2; 
        filter: blur(2px);
    }
    20% { 
        transform: translate(40px, -30px) scale(1.8); 
        opacity: 0.5; 
        filter: blur(1px);
    }
    40% { 
        transform: translate(-30px, 40px) scale(1.2); 
        opacity: 0.3; 
        filter: blur(2px);
    }
    60% { 
        transform: translate(30px, 20px) scale(1.5); 
        opacity: 0.4; 
        filter: blur(1px);
    }
    80% { 
        transform: translate(-20px, -40px) scale(0.8); 
        opacity: 0.2; 
        filter: blur(3px);
    }
}

@keyframes wormholeRotate {
    0% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.1; 
    }
    50% { 
        transform: rotate(180deg) scale(1.3); 
        opacity: 0.2; 
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        opacity: 0.1; 
    }
}

@keyframes riftPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.1; 
        border-width: 1px;
    }
    25% { 
        transform: scale(1.2) rotate(90deg); 
        opacity: 0.2; 
        border-width: 2px;
    }
    50% { 
        transform: scale(0.9) rotate(180deg); 
        opacity: 0.1; 
        border-width: 1px;
    }
    75% { 
        transform: scale(1.1) rotate(270deg); 
        opacity: 0.2; 
        border-width: 2px;
    }
}

@keyframes beamPulse {
    0%, 100% { 
        opacity: 0.05; 
        transform: rotate(45deg) scaleX(1);
    }
    50% { 
        opacity: 0.15; 
        transform: rotate(45deg) scaleX(1.5);
    }
}

/* Animation for button entrance */
@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services .btn-container {
    animation: fadeInButton 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .services {
        padding: 120px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }
    
    .services .tesseract {
        width: 400px;
        height: 400px;
    }
    
    .services .hypercube {
        width: 350px;
        height: 350px;
    }
    
    .services .wormhole {
        width: 600px;
        height: 600px;
        bottom: -200px;
        left: -200px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services {
        padding: 100px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .services .btn-container {
        margin-top: 40px;
    }
    
    .services .btn-services {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    /* Reduce 4D animation complexity on mobile */
    .services .tesseract {
        width: 300px;
        height: 300px;
        opacity: 0.1;
    }
    
    .services .hypercube {
        width: 250px;
        height: 250px;
        opacity: 0.08;
    }
    
    .services .wormhole {
        width: 400px;
        height: 400px;
        opacity: 0.08;
    }
    
    .services .quantum-particle {
        opacity: 0.2;
    }
    
    .services .rift {
        width: 200px;
        height: 200px;
        opacity: 0.08;
    }
    
    .services .energy-beam {
        opacity: 0.05;
    }
    
    /* Simplify animations on mobile */
    .services::before {
        animation-duration: 40s;
    }
    
    .services .tesseract {
        animation-duration: 60s;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .services {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .services .btn-container {
        margin-top: 30px;
    }
    
    .services .btn-services {
        padding: 12px 30px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .services .tesseract {
        width: 200px;
        height: 200px;
    }
    
    .services .hypercube {
        width: 180px;
        height: 180px;
    }
    
    .services .wormhole {
        width: 300px;
        height: 300px;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .services .btn-services:hover {
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .services .btn-services {
        background: rgba(255, 255, 255, 0.03);
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .services::before,
    .services .tesseract,
    .services .hypercube,
    .services .quantum-particle,
    .services .wormhole,
    .services .rift,
    .services .energy-beam,
    .service-card,
    .services .btn-services {
        animation: none;
    }
}

/* Performance Optimizations */
.services {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.services .tesseract,
.services .hypercube {
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}


/* 3D Particle Globe Section - Fully Mobile Compatible - FIXED */
.globe-section {
    padding: 120px 0;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.globe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particles-globe {
    width: 100%;
    height: 100%;
    /* Improve performance on mobile */
    will-change: transform;
    transform: translateZ(0);
}

/* Mobile-specific globe adjustments */
@media (max-width: 768px) {
    #particles-globe {
        /* Reduce particle count or complexity for mobile */
        opacity: 0.8;
    }
    
    /* FIXED: Removed position:fixed - now stays in section */
    .globe-container {
        position: absolute;
        height: 100%;
    }
}

.globe-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-radius: 24px;
     border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    width: 90%;
}

.globe-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.globe-content p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 300;
}

.globe-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
    padding: 10px;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tablet Styles */
@media (max-width: 992px) {
    .globe-section {
        padding: 100px 0;
        min-height: auto;
    }
    
    .globe-content {
        max-width: 700px;
        padding: 35px;
    }
    
    .globe-stats {
        gap: 30px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .globe-section {
        padding: 80px 0;
    }
    
    .globe-content {
        width: 95%;
        padding: 30px 20px;
        margin: 0 auto;
      
    }
    
    .globe-content h2 {
        margin-bottom: 15px;
    }
    
    .globe-content p {
        margin-bottom: 25px;
        font-size: 0.95rem;
    }
    
    .globe-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 25px;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .globe-section {
        padding: 60px 0;
    }
    
    .globe-content {
        padding: 25px 15px;
    }
    
    .globe-content h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .globe-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .globe-stats {
        gap: 15px;
    }
    
    .stat-item {
        max-width: 160px;
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Landscape Mode on Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .globe-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .globe-content {
        padding: 20px 30px;
    }
    
    .globe-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .stat-item {
        max-width: 150px;
    }
}



/* High-end Mobile Devices (optional enhancement) */
@media (min-width: 768px) and (max-width: 992px) and (-webkit-min-device-pixel-ratio: 2) {
    
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .stat-item {
        /* Make stat items slightly larger for touch */
        padding: 15px;
        margin: 5px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Optional: Add subtle animation that works on mobile */
@keyframes floatGlobe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.globe-content {
    animation: floatGlobe 6s ease-in-out infinite;
}

/* Reduce animation on mobile if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .globe-content {
        animation: none;
    }
}

/* Optional: Add gradient overlay for better text readability on mobile */
.globe-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* CTA Section - Enhanced with 3D Animated Background */
.cta-section {
    padding: 200px 0;
    background-color: rgb(10, 10, 9);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* 3D Animated Background Container */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(110, 231, 183, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(110, 231, 183, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 40%, rgba(110, 231, 183, 0.1) 0%, transparent 35%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 6px);
    animation: rotate3D 30s linear infinite;
    transform-origin: center center;
    z-index: 1;
}

/* 3D Floating Cubes */
.cta-section .cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(110, 231, 183, 0.03);
    border: 1px solid rgba(110, 231, 183, 0.1);
    transform-style: preserve-3d;
    animation: floatCube 15s infinite ease-in-out;
    z-index: 1;
}

.cta-section .cube::before,
.cta-section .cube::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(110, 231, 183, 0.02);
    border: 1px solid rgba(110, 231, 183, 0.1);
}

.cta-section .cube::before {
    transform: rotateX(90deg) translateZ(30px);
}

.cta-section .cube::after {
    transform: rotateY(90deg) translateZ(30px);
}

/* Cube Positions */
.cta-section .cube-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.cta-section .cube-2 {
    bottom: 15%;
    right: 8%;
    width: 40px;
    height: 40px;
    animation-delay: 3s;
    animation-duration: 20s;
}

.cta-section .cube-3 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 1s;
    animation-duration: 25s;
}

.cta-section .cube-4 {
    bottom: 25%;
    left: 10%;
    width: 50px;
    height: 50px;
    animation-delay: 5s;
    animation-duration: 18s;
}

.cta-section .cube-5 {
    top: 40%;
    left: 20%;
    width: 30px;
    height: 30px;
    animation-delay: 2s;
    animation-duration: 22s;
}

.cta-section .cube-6 {
    bottom: 30%;
    right: 20%;
    width: 70px;
    height: 70px;
    animation-delay: 4s;
    animation-duration: 28s;
}

/* 3D Rotating Rings */
.cta-section .ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(110, 231, 183, 0.1);
    transform-style: preserve-3d;
    animation: rotateRing 20s linear infinite;
    z-index: 1;
}

.cta-section .ring-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    border-color: rgba(110, 231, 183, 0.15);
    animation-duration: 25s;
}

.cta-section .ring-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -200px;
    border-color: rgba(110, 231, 183, 0.08);
    animation-duration: 35s;
    animation-direction: reverse;
}

.cta-section .ring-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 10%;
    border-color: rgba(255, 255, 255, 0.05);
    animation-duration: 15s;
}

/* Floating Particles */
.cta-section .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.2;
    animation: floatParticle 10s infinite ease-in-out;
    z-index: 1;
}

/* Generate multiple particles with different positions */
.cta-section .particle-1 { top: 15%; left: 25%; animation-delay: 0s; }
.cta-section .particle-2 { top: 45%; left: 75%; animation-delay: 2s; width: 6px; height: 6px; }
.cta-section .particle-3 { top: 70%; left: 15%; animation-delay: 4s; }
.cta-section .particle-4 { top: 25%; left: 85%; animation-delay: 1s; width: 5px; height: 5px; }
.cta-section .particle-5 { top: 80%; left: 60%; animation-delay: 3s; }
.cta-section .particle-6 { top: 35%; left: 40%; animation-delay: 5s; width: 7px; height: 7px; }
.cta-section .particle-7 { top: 60%; left: 90%; animation-delay: 2.5s; }
.cta-section .particle-8 { top: 90%; left: 30%; animation-delay: 4.5s; }

/* Glowing Orbs */
.cta-section .orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(110, 231, 183, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    animation: pulseOrb 8s infinite ease-in-out;
    z-index: 1;
}

.cta-section .orb-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cta-section .orb-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation-delay: 2s;
    animation-duration: 12s;
}

.cta-section .orb-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 10%;
    background: radial-gradient(circle at center, rgba(110, 231, 183, 0.1) 0%, transparent 70%);
    animation-delay: 4s;
    animation-duration: 10s;
}

/* Animations */
@keyframes rotate3D {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes floatCube {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translateY(-30px) rotateX(90deg) rotateY(45deg) rotateZ(30deg);
    }
    50% {
        transform: translateY(20px) rotateX(180deg) rotateY(90deg) rotateZ(60deg);
    }
    75% {
        transform: translateY(-15px) rotateX(270deg) rotateY(135deg) rotateZ(90deg);
    }
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.1;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(20px) translateX(-30px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-20px) translateX(40px);
        opacity: 0.4;
    }
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

/* Content stays above animations */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9); /* Fixed color - was too dark */
    margin-bottom: 50px;
    font-weight: 300;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(110, 231, 183, 0.3);
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(110, 231, 183, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .cta-title {
        font-size: 2.8rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 120px 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 16px 35px;
    }
    
    /* Reduce animation complexity on mobile */
    .cta-section .cube,
    .cta-section .ring,
    .cta-section .orb {
        opacity: 0.5;
    }
    
    .cta-section .ring-1,
    .cta-section .ring-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 100px 0;
    }
    
    .cta-title {
        font-size: 1.9rem;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-section::before,
    .cta-section .cube,
    .cta-section .ring,
    .cta-section .particle,
    .cta-section .orb {
        animation: none;
    }
}

/* ======================================= */
/* FOOTER - 4D HYPERDIMENSIONAL ANIMATION */
/* ======================================= */

footer {
    background-color: var(--black);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(110, 231, 183, 0.1);
    z-index: 1;
}

/* 4D Quantum Void Background */
footer::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(110, 231, 183, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(110, 231, 183, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(110, 231, 183, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(110, 231, 183, 0.02) 0px, rgba(110, 231, 183, 0.02) 2px, transparent 2px, transparent 10px);
    animation: quantumVoid 30s ease-in-out infinite;
    transform-origin: center;
    z-index: 0;
    pointer-events: none;
}

/* 4D Dimensional Rift at Bottom */
footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(110, 231, 183, 0.2), 
        rgba(110, 231, 183, 0.8), 
        var(--accent), 
        rgba(110, 231, 183, 0.8), 
        rgba(110, 231, 183, 0.2), 
        transparent);
    filter: blur(3px);
    animation: riftWave 4s ease-in-out infinite;
    z-index: 2;
}

/* Floating 4D Cubes - Tesseract Fragments */
footer .cube-4d {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: cubeFloat4D 20s infinite ease-in-out;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

footer .cube-4d::before,
footer .cube-4d::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(110, 231, 183, 0.15);
    box-shadow: 0 0 30px rgba(110, 231, 183, 0.1);
}

footer .cube-4d::before {
    transform: rotateX(90deg) translateZ(40px);
}

footer .cube-4d::after {
    transform: rotateY(90deg) translateZ(40px);
}

footer .cube-1 {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

footer .cube-2 {
    bottom: 15%;
    right: 8%;
    width: 100px;
    height: 100px;
    animation-delay: -3s;
}

footer .cube-3 {
    top: 40%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation-delay: -6s;
}

footer .cube-4 {
    bottom: 25%;
    left: 10%;
    width: 70px;
    height: 70px;
    animation-delay: -9s;
}

/* 4D Spiral Galaxies */
footer .galaxy {
    position: absolute;
    border-radius: 50%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(110, 231, 183, 0.1), 
        transparent, 
        rgba(110, 231, 183, 0.1), 
        transparent, 
        rgba(110, 231, 183, 0.1), 
        transparent);
    filter: blur(20px);
    animation: galaxySpin 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

footer .galaxy-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    opacity: 0.15;
    animation-duration: 30s;
}

footer .galaxy-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
    opacity: 0.1;
    animation-duration: 40s;
    animation-direction: reverse;
}

/* Quantum Energy Particles */
footer .energy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(1px);
    animation: energyFlow 15s infinite linear;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    box-shadow: 0 0 15px var(--accent);
}

/* Particle Positions - 20 particles */
footer .particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
footer .particle-2 { top: 45%; left: 85%; animation-delay: -2s; width: 6px; height: 6px; }
footer .particle-3 { top: 70%; left: 25%; animation-delay: -4s; }
footer .particle-4 { top: 15%; left: 60%; animation-delay: -6s; width: 5px; height: 5px; }
footer .particle-5 { top: 85%; left: 45%; animation-delay: -8s; }
footer .particle-6 { top: 35%; left: 30%; animation-delay: -10s; width: 7px; height: 7px; }
footer .particle-7 { top: 55%; left: 70%; animation-delay: -12s; }
footer .particle-8 { top: 90%; left: 15%; animation-delay: -14s; width: 4px; height: 4px; }
footer .particle-9 { top: 25%; left: 45%; animation-delay: -16s; }
footer .particle-10 { top: 65%; left: 90%; animation-delay: -18s; width: 8px; height: 8px; }
footer .particle-11 { top: 5%; left: 80%; animation-delay: -20s; }
footer .particle-12 { top: 75%; left: 5%; animation-delay: -22s; width: 5px; height: 5px; }
footer .particle-13 { top: 40%; left: 50%; animation-delay: -24s; }
footer .particle-14 { top: 95%; left: 70%; animation-delay: -26s; width: 6px; height: 6px; }
footer .particle-15 { top: 10%; left: 95%; animation-delay: -28s; }
footer .particle-16 { top: 50%; left: 15%; animation-delay: -30s; width: 7px; height: 7px; }
footer .particle-17 { top: 30%; left: 75%; animation-delay: -32s; }
footer .particle-18 { top: 80%; left: 35%; animation-delay: -34s; width: 5px; height: 5px; }
footer .particle-19 { top: 60%; left: 55%; animation-delay: -36s; }
footer .particle-20 { top: 45%; left: 95%; animation-delay: -38s; width: 8px; height: 8px; }

/* 4D Time Ripples */
footer .time-ripple {
    position: absolute;
    border: 2px solid rgba(110, 231, 183, 0.1);
    border-radius: 50%;
    animation: timeRipple 8s ease-out infinite;
    z-index: 0;
    pointer-events: none;
}

footer .ripple-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

footer .ripple-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 15%;
    animation-delay: -2s;
    border-color: rgba(255, 255, 255, 0.08);
}

footer .ripple-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 70%;
    animation-delay: -4s;
}

footer .ripple-4 {
    width: 250px;
    height: 250px;
    bottom: 30%;
    left: 30%;
    animation-delay: -6s;
}

/* 4D Light Beams */
footer .light-beam {
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(110, 231, 183, 0.2), 
        rgba(110, 231, 183, 0.5), 
        var(--accent), 
        rgba(110, 231, 183, 0.5), 
        rgba(110, 231, 183, 0.2), 
        transparent);
    transform: rotate(-45deg);
    animation: beamScan 10s linear infinite;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    filter: blur(2px);
}

footer .beam-1 {
    top: 30%;
    left: -50%;
    animation-delay: 0s;
}

footer .beam-2 {
    top: 60%;
    left: -50%;
    transform: rotate(30deg);
    animation-delay: -3s;
    animation-duration: 12s;
}

footer .beam-3 {
    top: 90%;
    left: -50%;
    transform: rotate(-60deg);
    animation-delay: -6s;
    animation-duration: 15s;
}

/* Footer Content - Enhanced with 4D Effects */
footer .container {
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.footer-column {
    min-width: 200px;
    position: relative;
    z-index: 10;
}

/* 4D Hover Effects for Columns */
.footer-column {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.footer-column:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(110, 231, 183, 0.3);
}

.footer-logo:hover {
    color: var(--accent);
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(110, 231, 183, 0.6);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid rgba(110, 231, 183, 0.3);
    transition: all 0.4s ease;
}

.footer-column:hover .footer-tagline {
    border-left-color: var(--accent);
    color: rgba(255, 255, 255, 0.9);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    color: var(--white);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.4s ease;
}

.footer-column:hover h4::after {
    width: 100%;
}

.footer-links {
    list-style: none;
    position: relative;
}

.footer-links li {
    margin-bottom: 15px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(10px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '⟡';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--accent);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Copyright with 4D Effect */
.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(110, 231, 183, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.copyright p {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    line-height: 2;
    border: 1px solid rgba(110, 231, 183, 0.1);
}

/* 4D Animations */
@keyframes quantumVoid {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes riftWave {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.8;
        filter: blur(3px);
    }
    50% {
        transform: scaleX(1.5);
        opacity: 1;
        filter: blur(5px);
    }
}

@keyframes cubeFloat4D {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }
    20% {
        transform: translateY(-30px) rotateX(90deg) rotateY(45deg) rotateZ(30deg) scale(1.2);
    }
    40% {
        transform: translateY(20px) rotateX(180deg) rotateY(90deg) rotateZ(60deg) scale(0.9);
    }
    60% {
        transform: translateY(-15px) rotateX(270deg) rotateY(135deg) rotateZ(90deg) scale(1.1);
    }
    80% {
        transform: translateY(10px) rotateX(360deg) rotateY(180deg) rotateZ(120deg) scale(0.95);
    }
}

@keyframes galaxySpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes energyFlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(100px, -50px) scale(1.5);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, 100px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(80px, 80px) scale(1.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
}

@keyframes timeRipple {
    0% {
        transform: scale(0.5);
        opacity: 0.5;
        border-width: 2px;
    }
    100% {
        transform: scale(2);
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes beamScan {
    0% {
        left: -50%;
        opacity: 0.1;
    }
    50% {
        left: 0%;
        opacity: 0.3;
    }
    100% {
        left: 50%;
        opacity: 0.1;
    }
}

/* Tablet Responsive */
@media (max-width: 992px) {
    footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-column {
        min-width: auto;
    }
    
    .galaxy-1, .galaxy-2 {
        opacity: 0.1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .copyright p {
        font-size: 0.8rem;
        padding: 0 15px;
    }
    
    /* Reduce animation complexity on mobile */
    footer .cube-4d,
    footer .galaxy,
    footer .time-ripple,
    footer .light-beam {
        opacity: 0.08;
    }
    
    footer .energy-particle {
        opacity: 0.15;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        font-size: 1.6rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .copyright p {
        font-size: 0.75rem;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    footer::before,
    footer::after,
    footer .cube-4d,
    footer .galaxy,
    footer .energy-particle,
    footer .time-ripple,
    footer .light-beam,
    .footer-column,
    .footer-links li,
    .footer-links a::before {
        animation: none;
    }
}

/* Page Header Styles (for subpages) */
.page-header {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Services Page Specific */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.package-card {
    background-color: var(--medium-gray);
    border-radius: 20px;
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-card:hover {
    background-color: var(--light-gray);
    transform: translateY(-10px);
    border-color: var(--accent);
}

.package-card.featured {
    background: linear-gradient(145deg, var(--medium-gray), var(--black));
    border-color: var(--accent);
    transform: scale(1.05);
}

.package-header {
    margin-bottom: 30px;
    text-align: center;
}

.package-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.package-period {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.package-features {
    list-style: none;
    margin-bottom: 40px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li i {
    color: var(--accent);
}

.package-features li:last-child {
    border-bottom: none;
}

/* About Page Specific */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--medium-gray);
    border-radius: 20px;
    transition: var(--transition);
}

.process-step:hover {
    background-color: var(--light-gray);
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Customers Page Specific */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.testimonial-card {
    background-color: var(--medium-gray);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: var(--light-gray);
    transform: translateY(-10px);
}

.testimonial-content {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 30px;
}

.contact-form {
    background-color: var(--medium-gray);
    border-radius: 20px;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(110, 231, 183, 0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent);
    color: var(--black);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--white);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 80px auto 0;
    }
    
    .globe-content h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.8rem;
    }
    
    .globe-content h2 {
        font-size: 2.2rem;
    }
    
    .globe-content p {
        font-size: 1.1rem;
    }
    
    .globe-stats {
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta, .cta-button {
        padding: 18px 35px;
        font-size: 1rem;
    }
    
    .floating-cards {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.8rem;
        margin-bottom: 60px;
    }
    
    .icon-bg {
        font-size: 4rem;
        opacity: 0.3;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 30px;
        margin-top: 60px;
    }
    
    .content-card {
        padding: 40px 25px;
    }
    
    .content-icon {
        font-size: 3.5rem;
        height: 100px;
        width: 100px;
        margin-bottom: 25px;
    }
    
    .content-card h3 {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .globe-section {
        padding: 100px 0;
    }
    
    .globe-content {
        padding: 30px 20px;
    }
    
    .globe-content h2 {
        font-size: 1.8rem;
    }
    
    .globe-content p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .globe-stats {
        gap: 30px;
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .packages-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .floating-cards {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .icon-bg {
        font-size: 3rem;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .content-icon {
        font-size: 3rem;
        height: 90px;
        width: 90px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}