/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-deep: #050508;
    --bg-panel: #0f1016;
    --primary: #00f2ea;
    /* Neon Cyan */
    --primary-dim: rgba(0, 242, 234, 0.15);
    --secondary: #ff0055;
    /* Neon Magenta */
    --secondary-dim: rgba(255, 0, 85, 0.15);
    --text-main: #ffffff;
    --text-muted: #a0aab9;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 28, 0.7);

    /* Fonts */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 90px;
    /* Thoda badhaya hai taaki content chipke na */

    /* Animation Speeds */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* =========================================
   2. FRACTAL BACKGROUND SYSTEM
   ========================================= */
.fractal-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#fractalCanvas {
    opacity: 0.4;
}

.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 242, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.08) 0%, transparent 40%);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* =========================================
   3. UTILITY CLASSES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.center-align {
    text-align: center;
}

.gradient-text {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-dim);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
}

/* =========================================
   4. HEADER & NAV (FIXED LAYOUT)
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 8, 0.95);
    /* Zada dark kiya taki overlap na dikhe */
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* IMPORTANT: Logo Sizing Fix */
.brand-logo {
    max-height: 60px;
    /* Logo height restrict kar di */
    width: auto;
    filter: invert(1);
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    display: block;
    color: #fff;
}

.nav-link:hover {
    color: var(--primary);
}

.fractal-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-item:hover .fractal-underline {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons */
.cta-button {
    position: relative;
    padding: 12px 30px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.primary-glitch {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 234, 0.4), transparent);
    transform: skewX(-20deg);
}

.primary-glitch:hover .btn-glitch {
    left: 100%;
    transition: 0.5s;
}

.primary-glitch:hover {
    background: var(--primary-dim);
    box-shadow: 0 0 20px var(--primary-dim);
    color: #fff;
}

.primary-filled {
    background: var(--secondary);
    color: #fff;
    border: none;
}

.primary-filled:hover {
    background: #d60047;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.secondary-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Mobile Menu Trigger */
.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* =========================================
   5. HERO SECTION (FIXED PADDING & LAYOUT)
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* IMPORTANT: Padding added so text sits below header */
    padding-top: 130px;
    padding-bottom: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-right: 50px;
}

.hero-label {
    display: inline-block;
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
    /* White color forced */
}

/* Fix for overlapping text and glow */
.hero-title .gradient-text {
    display: block;
    font-size: 4.2rem;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 242, 234, 0.5));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-projector {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hologram-icon {
    font-size: 80px;
    color: var(--primary);
    filter: drop-shadow(0 0 15px var(--primary));
    animation: float 4s ease-in-out infinite;
}

.hologram-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulse 3s infinite;
}

/* Geometric Shapes in Background */
.poly-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--glass-border), transparent);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rotate 20s linear infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    animation: float 8s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    color: var(--primary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

/* =========================================
   6. STATS BAR
   ========================================= */
.stats-bar {
    background: var(--bg-panel);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   7. SERVICES GRID (FRACTAL)
   ========================================= */
.services-section {
    padding: 100px 0;
    position: relative;
}

.fractal-divider {
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.fractal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.fractal-card {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.fractal-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-front {
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
}

.card-front h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

.card-front p {
    color: var(--primary);
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.card-back {
    background: linear-gradient(145deg, #121220, #0a0a0f);
    transform: rotateY(180deg);
    border: 1px solid var(--primary);
}

.icon-hex {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: var(--primary);
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fractal-card:hover .icon-hex {
    background: var(--primary);
    color: #000;
}

.service-list {
    text-align: left;
    margin: 25px 0;
    width: 100%;
    padding-left: 10px;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.service-list i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 0.8rem;
}

.card-link {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.card-link:hover {
    border-bottom-color: var(--primary);
}

/* =========================================
   8. CALCULATOR
   ========================================= */
.calculator-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #0b0b10, var(--bg-deep));
}

.calc-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background: rgba(15, 16, 22, 0.6);
    padding: 50px;
}

.calc-content {
    flex: 1;
    min-width: 320px;
}

.calc-content h2 {
    margin-bottom: 15px;
    color: #fff;
}

.calc-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #2a2a35;
    border-radius: 5px;
    outline: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary);
    border: 3px solid #fff;
}

.range-value {
    margin-top: 10px;
    font-family: var(--font-head);
    color: #fff;
    font-size: 1.2rem;
}

select {
    width: 100%;
    padding: 15px;
    background: #050508;
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
}

select:focus {
    border-color: var(--primary);
    outline: none;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.result-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.result-box.highlight {
    border-color: var(--secondary);
    background: rgba(255, 0, 85, 0.08);
}

.result-box span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.result-box h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.calc-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 450px;
    background: #020203;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.graph-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 85%;
}

.graph-bar {
    width: 15%;
    background: linear-gradient(to top, var(--primary), transparent);
    border-top: 4px solid var(--primary);
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 -10px 20px rgba(0, 242, 234, 0.1);
}

.graph-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
}

.graph-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-head);
    font-size: 0.7rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
}

/* =========================================
   9. PROCESS & TESTIMONIALS
   ========================================= */
.process-section {
    padding: 100px 0;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-deep);
    border: 3px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--primary);
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    padding: 30px;
    background: var(--bg-panel);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: 0.3s;
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.step-num {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.timeline-item.left .step-num {
    left: 20px;
    right: auto;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: #08080c;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 380px;
    background: var(--bg-panel);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    scroll-snap-align: center;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.1);
}

.quote-icon {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 25px;
}

.review-text {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #fff;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   10. FAQ & FOOTER
   ========================================= */
.faq-section {
    padding: 100px 0;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 25px 10px;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-family: var(--font-head);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-header i {
    font-size: 0.9rem;
    transition: 0.3s;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-body p {
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-item.active .accordion-body {
    max-height: 250px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--secondary);
}

/* CTA Banner */
.cta-banner {
    padding: 120px 0;
    background: linear-gradient(135deg, #100510, #051010);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.button-group {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background: #020203;
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 60px;
    filter: invert(1);
    margin-bottom: 25px;
}

.brand-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 320px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-block;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-list i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    margin-left: 25px;
    color: #555;
}

.legal-links a:hover {
    color: var(--primary);
}

/* Live Chat */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.4);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background: #ff1a6b;
}

.chat-bubble {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 260px;
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.live-chat-widget:hover .chat-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.typing-dots {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 0.5;
}

.typing-dots span {
    animation: blink 1.4s infinite both;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* =========================================
   11. ANIMATIONS (KEYFRAMES)
   ========================================= */
@keyframes glitch-anim-1 {
    0% {
        clip: rect(20px, 450px, 30px, 0);
    }

    20% {
        clip: rect(80px, 450px, 90px, 0);
    }

    40% {
        clip: rect(10px, 450px, 50px, 0);
    }

    60% {
        clip: rect(60px, 450px, 70px, 0);
    }

    80% {
        clip: rect(30px, 450px, 40px, 0);
    }

    100% {
        clip: rect(90px, 450px, 100px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 450px, 80px, 0);
    }

    20% {
        clip: rect(70px, 450px, 20px, 0);
    }

    40% {
        clip: rect(20px, 450px, 60px, 0);
    }

    60% {
        clip: rect(90px, 450px, 10px, 0);
    }

    80% {
        clip: rect(50px, 450px, 90px, 0);
    }

    100% {
        clip: rect(10px, 450px, 40px, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =========================================
   12. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-title .gradient-text {
        font-size: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline::after {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left {
        text-align: left;
    }

    .timeline-item::after {
        left: 30px;
        right: auto;
    }
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-trigger {
        display: flex;
    }

    .hero-section {
        padding-top: 100px;
        height: auto;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-visual {
        height: 350px;
        width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .calc-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul li a:hover {
        padding-left: 0;
    }

    .social-links {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .legal-links a {
        margin: 0 10px;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-deep);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-link {
    font-size: 1.8rem;
    font-family: var(--font-head);
    color: #fff;
    font-weight: 700;
}

.mobile-link.highlight {
    color: var(--primary);
}

/* Contact Page Specific */
.contact-section {
    padding: 180px 0 100px;
}

.form-wrapper {
    background: var(--bg-panel);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    resize: vertical;
}

/* Legal Page Specific */
.legal-content {
    padding: 160px 0 100px;
}

.legal-content h1 {
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 3rem;
}

.legal-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #fff;
}

.legal-content p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ccc;
}