/*
---
TABLE OF CONTENTS
---
1.  VARIABLES & RESET
2.  GLOBAL STYLES & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Containers)
4.  PRELOADER
5.  BACKGROUND ELEMENTS
6.  HEADER & NAVIGATION
7.  FOOTER
8.  PAGE-SPECIFIC STYLES
    8.1. HERO SECTION
    8.2. SERVICES SECTION ("Platform Powers")
    8.3. VIRAL WAR ROOM SECTION
    8.4. ABOUT SECTION
    8.5. PROCESS SECTION ("Battle Plan")
    8.6. TESTIMONIALS SECTION
    8.7. CONTACT & LEGAL PAGES
9.  UTILITY & HELPERS (Back to Top, Chat Bubble)
10. KEYFRAME ANIMATIONS
11. RESPONSIVE DESIGN (Media Queries)
---
*/


/* 1. VARIABLES & RESET */
:root {
    --color-bg: #030408;
    --color-bg-secondary: #0a0b12;
    --color-primary: #69C9D0;
    /* TikTok Cyan */
    --color-secondary: #E1306C;
    /* Instagram Pink */
    --color-accent1: #1877F2;
    /* Facebook Blue */
    --color-accent2: #0A66C2;
    /* LinkedIn Cyan */
    --color-text: #EAEAEA;
    --color-text-muted: #8892b0;
    --color-border: rgba(105, 201, 208, 0.2);
    --color-glow: rgba(105, 201, 208, 0.2);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --section-padding: 100px 0;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. GLOBAL STYLES & TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--color-glow);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.section-padding {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--color-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--color-primary);
}

.section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}


/* 3. REUSABLE COMPONENTS */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(105, 201, 208, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-thaw {
    position: relative;
    overflow: hidden;
}

.btn-thaw span {
    position: relative;
    z-index: 2;
}

.btn-thaw .glimmer .glimmer-rect {
    fill: #fff;
    opacity: 0.2;
    transform: translateX(-150%);
    transition: transform 0.8s ease-in-out;
}

.btn-thaw:hover .glimmer .glimmer-rect {
    transform: translateX(150%);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--color-bg);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.btn-full-width {
    width: 100%;
}

/* 4. PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader-logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.preloader-logo {
    width: 100px;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-primary);
    filter: blur(50px);
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: -1;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    animation: loading 3s ease-in-out forwards;
}

.preloader-text {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* 5. BACKGROUND ELEMENTS */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, var(--color-glow) 0%, rgba(3, 4, 8, 0) 60%);
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
    animation: background-breathing 10s infinite alternate ease-in-out;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 11, 18, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 11, 18, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* 6. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(3, 4, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo {
    width: auto;
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.nav-logo-link:hover .nav-logo {
    transform: scale(1.05);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s ease-in-out;
}


/* 7. FOOTER */
.footer {
    background-color: var(--color-bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: 700;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
}

.footer-social a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--color-glow);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* 8.1. HERO SECTION */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-background-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3, 4, 8, 0.4) 0%, rgba(3, 4, 8, 0.9) 70%, var(--color-bg) 100%);
}

.hero-container {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    overflow: hidden;
}

.hero-title .reveal-text {
    display: inline-block;
    transform: translateY(110%);
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title span:nth-child(2) .reveal-text {
    animation-delay: 0.2s;
}


.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--color-text);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.hero-cta .btn-secondary:hover i {
    transform: translateY(3px);
}

.animate-on-load {
    opacity: 1;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards 0.5s;
}

.hero-social-proof {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* 8.2. SERVICES SECTION */
.services-section {
    background-color: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    perspective: 1000px;
}

.service-card-3d-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-3d-wrapper {
    transform: translateZ(20px);
    box-shadow: 0 0 40px var(--glow-color);
}

.service-card-content {
    text-align: center;
    position: relative;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg);
    border: 2px solid var(--icon-color);
    box-shadow: 0 0 20px var(--icon-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--icon-color);
    transition: transform 0.3s;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 30px var(--icon-color);
}

.service-card:hover .service-icon-wrapper i {
    transform: scale(0.9);
}

.service-title {
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 8.3. VIRAL WAR ROOM SECTION */
.viral-war-section {
    background-color: var(--color-bg);
}

.war-room-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.war-room-display {
    background: linear-gradient(rgba(10, 11, 18, 0.8), rgba(10, 11, 18, 0.9)),
        url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExOHYyZWpka21iZnd0bGNiaHNsaXp2MnY0aXZhYm40eW91enJtMzQ5aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/BHNfhgU5G3v45u9fAs/giphy.gif') center/cover;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 0 30px rgba(10, 11, 18, 0.5), inset 0 0 20px var(--color-glow);
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.status-light {
    width: 12px;
    height: 12px;
    background-color: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 10px #28a745;
    animation: pulse-green 1.5s infinite;
}

.display-main-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.stat-card {
    background: rgba(3, 4, 8, 0.7);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
}

.stat-card h4 {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-trend {
    font-size: 0.9rem;
}

.stat-trend.up {
    color: #28a745;
}

.stat-trend.down {
    color: #dc3545;
}

.stat-trend i {
    margin-right: 5px;
}

.war-room-intel ul {
    margin-top: 20px;
    margin-bottom: 30px;
}

.war-room-intel ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.war-room-intel ul i {
    color: var(--color-primary);
    font-size: 1.2rem;
    min-width: 20px;
}


/* 8.4. ABOUT SECTION */
.about-section {
    background-color: var(--color-bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .section-header .section-title::after {
    left: 0;
    transform: translateX(0);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-item .stat-label {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}

.about-image {
    perspective: 1500px;
}

.image-wrapper-3d {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.image-wrapper-3d:hover {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
}

.image-wrapper-3d img {
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
}

/* 8.5. PROCESS SECTION */
.process-section {
    background-color: var(--color-bg);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-border);
    transform-origin: top;
    transform: scaleY(0);
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.process-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.process-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-bg-secondary);
    border: 2px solid var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.process-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.energy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: 1;
}

.process-step.is-inview .energy-ring {
    animation: ripple 1.5s ease-out;
}

.process-content {
    padding-top: 15px;
}


/* 8.6. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--color-bg-secondary);
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    perspective: 1000px;
}

.testimonial-card-3d-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.4s, box-shadow 0.4s;
    transform-style: preserve-3d;
}

.testimonial-card:hover .testimonial-card-3d-wrapper {
    transform: translateZ(20px);
    box-shadow: 0 0 30px var(--color-glow);
}

.testimonial-content {
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 4rem;
    color: var(--color-border);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.author-info span {
    color: var(--color-primary);
    font-size: 0.9rem;
}


/* 8.7. CONTACT & LEGAL PAGES */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(rgba(3, 4, 8, 0.9), rgba(3, 4, 8, 1)), url(https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1) no-repeat center center/cover;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.crack-reveal {
    animation: crack-reveal-anim 1s cubic-bezier(0.6, 0.01, 0, 1) forwards;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-text-muted);
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background-color: var(--color-bg-secondary);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-heading {
    margin-bottom: 10px;
}

.contact-subheading {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    margin-bottom: 5px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-glow);
}

select option {
    background-color: var(--color-bg-secondary);
    color: var(--color-text);
}

textarea {
    resize: vertical;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    background-color: var(--color-bg-secondary);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    margin: 40px 0 20px;
    color: var(--color-primary);
}

/* 9. UTILITY & HELPERS */
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--color-primary);
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-bubble-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-blue 2s infinite;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--color-bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

.popup-content .btn {
    margin-top: 20px;
}

/* On-Scroll Animations - FIXED */
.animate-on-scroll {
    opacity: 1;
    /* Sirf initial state yahan rakhein */
    transform: translateY(50px);
}


/* 10. KEYFRAME ANIMATIONS */
@keyframes loading {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes background-breathing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes revealUp {
    from {
        transform: translateY(110%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 5px #28a745;
    }

    50% {
        box-shadow: 0 0 20px #28a745, 0 0 30px #28a745;
    }

    100% {
        box-shadow: 0 0 5px #28a745;
    }
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes crack-reveal-anim {
    0% {
        clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }

    100% {
        clip-path: polygon(-20% -20%, 120% -20%, 120% 120%, -20% 120%);
    }
}


/* 11. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--color-bg);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        gap: 2.5rem;
        padding-top: 3rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .war-room-grid,
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .testimonial-carousel {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .display-main-stats {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .chat-bubble {
        left: 20px;
        bottom: 20px;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .process-timeline {
        padding-left: 0;
    }

    .timeline-line {
        left: 19px;
        /* center on 40px icon */
    }

    .process-step {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .process-icon-wrapper {
        margin: 0;
    }

    .process-content {
        padding-top: 0;
    }
}