/*
Theme Name: SEO Agency
Description: Custom CSS for the light-mode modern theme (Professional 3D Style)
*/

/* ==========================================================================
   CSS Variables & Tokens (Professional Light Mode)
   ========================================================================== */
:root {
    /* Colors - Corporate & Professional, No Neon */
    --color-primary: #1E3A8A; /* Deep Blue */
    --color-primary-hover: #172554;
    --color-secondary: #3B82F6; /* Professional Blue */
    --color-accent: #0284C7; /* Sky Blue */
    
    --color-bg: #F8FAFC; 
    --color-surface: #FFFFFF;
    
    --color-text: #475569; /* Slate 600 */
    --color-text-light: #64748B; 
    --color-heading: #0F172A; /* Slate 900 */
    
    --color-border: #E2E8F0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-text: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    
    /* Glassmorphism & 3D Shadows */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Soft 3D layered shadows - Softer for premium feel */
    --shadow-3d: 
        0 10px 30px -10px rgba(0, 0, 0, 0.05),
        0 20px 40px -15px rgba(0, 0, 0, 0.03);
        
    --shadow-3d-hover: 
        0 20px 40px -10px rgba(30, 58, 138, 0.1),
        0 30px 60px -15px rgba(30, 58, 138, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-spacing: 110px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother bounce */
    
    /* New Fonts */
    --font-serif: 'Playfair Display', serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.text-center {
    text-align: center;
}

.bg-light-gray {
    background-color: #F9F9F8; /* Warmer cream for editorial feel */
}

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-heading);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.fade-out {
    transform: translateY(-100%);
}

.loader-brand {
    color: white;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.03em;
    overflow: hidden;
}

.loader-brand span {
    display: inline-block;
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealText {
    100% { transform: translateY(0); }
}

/* 3D Card Utility with Spotlight */
.card-3d {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
    transition: all var(--transition-normal);
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 1;
    overflow: hidden; /* For spotlight */
}

/* Spotlight glow inside card */
.card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(59, 130, 246, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.card-3d:hover::after {
    opacity: 1;
}

.card-3d:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-3d-hover);
    border-color: transparent;
}

/* Image Utilities */
.img-curved {
    border-radius: 30px;
    overflow: hidden;
    object-fit: cover;
}

.shadow-heavy {
    box-shadow: 0 30px 60px -15px rgba(30, 58, 138, 0.25);
}

.float-anim {
    animation: float3d 6s ease-in-out infinite;
}

.float-anim-slow {
    animation: float3d 9s ease-in-out infinite reverse;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -10px rgba(30, 58, 138, 0.4);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-3d);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Fix for overflow */
}

.site-branding {
    display: flex;
    flex-direction: column;
    max-width: 250px;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.site-description {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.2;
    /* Truncate long descriptions to fix header overflow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu-container > ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    flex-wrap: wrap; /* Ensure many items wrap nicely */
}

.nav-menu-container li {
    position: relative; /* For dropdown positioning */
}

.nav-menu-container a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 5px;
    display: block;
}

.nav-menu-container a:hover,
.nav-menu-container li:hover > a {
    color: var(--color-primary);
}

/* Sub-menu Dropdowns */
.nav-menu-container .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-surface);
    box-shadow: var(--shadow-3d);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
}

.nav-menu-container li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu-container .sub-menu li {
    width: 100%;
}

.nav-menu-container .sub-menu a {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.nav-menu-container .sub-menu a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.nav-menu-container .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-heading);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* 3D Image Wrapper */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-image {
    max-width: 100%;
    transform: translateY(0);
    animation: float3d 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(30, 58, 138, 0.15));
}

@keyframes float3d {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Background Decorative Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.2;
    animation: moveMesh 20s ease-in-out infinite alternate;
}

@keyframes moveMesh {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.2); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

.shape-1 {
    width: 700px;
    height: 700px;
    background: var(--color-primary);
    top: -150px;
    left: -200px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    bottom: 50px;
    right: -100px;
    animation-direction: alternate-reverse;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    top: 30%;
    left: 40%;
    animation-duration: 25s;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    letter-spacing: -0.03em;
}

.check-list {
    list-style: none;
    margin: 25px 0;
}

.check-list li {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list i {
    font-size: 1.3rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-heading {
    margin-bottom: 60px;
}

.section-heading .subheading {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: left;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--color-primary);
    background: rgba(30, 58, 138, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.service-link {
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.process-image {
    display: flex;
    justify-content: center;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

.process-step {
    position: relative;
    padding-top: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.process-step:last-child::before {
    width: 50%;
}

.step-number {
    position: absolute;
    top: 0;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.step-content {
    padding: 30px 20px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-wrapper {
    display: flex;
    justify-content: space-around;
    padding: 60px 40px;
    background: var(--color-primary);
    color: white;
}

.stats-wrapper .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-weight: 500;
    font-size: 1.1rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    padding: 40px;
    text-align: left;
    position: relative;
    background: var(--color-surface);
}

.pricing-featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
    z-index: 2;
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--color-heading);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    margin-top: 5px;
}

.price .period {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-top: auto;
    margin-bottom: 5px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Wow Factor Sections (Marquee, Case Studies, FAQ, Testimonials)
   ========================================================================== */

/* 1. Client Marquee */
.client-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.5);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-border);
    margin: 0 40px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. Scrolling Background Text */
.scrolling-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 15rem;
    font-weight: 900;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.03);
    z-index: 0;
    pointer-events: none;
    animation: scrollBg 40s linear infinite;
}

@keyframes scrollBg {
    0% { transform: translate(0, -50%); }
    100% { transform: translate(-50%, -50%); }
}

/* 3. Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
}

.stars {
    color: #F59E0B;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 700;
    color: var(--color-heading);
}

/* 4. FAQ Accordion */
.faq-section {
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    background: var(--color-surface);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-heading);
}

.faq-header i {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-content {
    padding: 0 30px;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.faq-item.active {
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    padding: 0 30px 20px;
    max-height: 200px;
    opacity: 1;
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: border-color 0.2s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-hover {
    background: white;
    border-color: transparent;
    width: 80px;
    height: 80px;
    mix-blend-mode: difference;
}
.custom-cursor-dot.cursor-hover {
    width: 0;
    height: 0;
}

.cursor-btn-hover {
    mix-blend-mode: normal !important;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    width: 60px;
    height: 60px;
}
.custom-cursor-dot.cursor-btn-hover {
    width: 0;
    height: 0;
}

/* ==========================================================================
   Editorial & Parallax Upgrades
   ========================================================================== */

/* 1. Spinning Text Badge */
.about-image {
    position: relative;
}

.spinning-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-3d);
    z-index: 10;
}

.circular-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-heading);
    animation: spinRotate 15s linear infinite;
    text-align: center;
    padding: 20px;
    border-radius: 50%;
    border: 1px dashed var(--color-border);
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. Massive Background Numbers */
.step-content {
    position: relative;
    overflow: hidden; /* Contains the big number */
}

.bg-number {
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 12rem;
    font-weight: 900;
    color: var(--color-border);
    opacity: 0.2;
    z-index: 0;
    line-height: 1;
    font-family: var(--font-heading);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.step-content:hover .bg-number {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-primary);
    opacity: 0.1;
}

.step-content h3, .step-content p {
    position: relative;
    z-index: 2;
}

/* 3. Overlapping Layouts (Breaking the grid) */
@media (min-width: 992px) {
    .overlap-right {
        margin-right: -40px;
    }
    .overlap-left {
        margin-left: -40px;
    }
    .mt-custom {
        margin-top: 80px;
    }
}

/* 4. Fixed Parallax Reveal Section */
/* The sections before and after need relative positioning and a background to hide the fixed image underneath */
.stats-section,
.testimonials-section {
    position: relative;
    z-index: 5;
    background: var(--color-bg);
}

.parallax-reveal-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1; /* Keep it behind everything else */
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.parallax-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.massive-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: white;
    text-transform: uppercase;
}

/* CTA Section Update (Dark Mode) */
.cta-section {
    background: #0F172A; /* Slate 900 for massive contrast */
    color: white;
    border-radius: 30px;
    margin: 50px 20px 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.cta-section h2 {
    color: white;
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 80px 0 30px;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: #94A3B8;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-widget a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.site-info {
    border-top: 1px solid #1E293B;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #94A3B8;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-menu-container ul {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-featured {
        transform: none;
        z-index: 1;
    }
    
    .pricing-featured:hover {
        transform: translateY(-8px);
    }

    .about-container,
    .process-layout,
    .testimonials-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .overlap-right,
    .overlap-left {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .mt-custom {
        margin-top: 0 !important;
    }
    
    .spinning-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: 0;
    }
    
    .circular-text {
        width: 80px;
        height: 80px;
        font-size: 0.5rem;
        padding: 10px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        text-align: left;
    }

    .process-step::before {
        display: none;
    }
    
    .stats-wrapper {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    /* Mobile Menu Logic Fix */
    .site-branding {
        max-width: 70%;
    }
    
    .site-description {
        display: none; /* Hide on smaller screens */
    }

    .nav-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-surface);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu-container.toggled {
        display: block;
    }
    
    .nav-menu-container > ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }
    
    .nav-menu-container li {
        width: 100%;
    }
    
    /* Mobile Sub-menus */
    .nav-menu-container .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 15px;
        border-left: 2px solid var(--color-border);
        margin-left: 10px;
        margin-top: 5px;
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-grid, .pricing-grid, .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-widget-area {
        grid-template-columns: 1fr;
    }
    
    .site-info {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-section {
        margin: 0 10px 50px;
        padding: 60px 20px;
        border-radius: 30px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .scrolling-bg-text {
        font-size: 6rem;
    }
}
