/* ==========================================================================
   CSS VARIABLES & GLOBAL SETTINGS
   ========================================================================== */
:root {
    /* Color Palette - Cyber/Digital Marketing Theme */
    --bg-dark: #070b14;
    --bg-darker: #04060b;
    --bg-card: rgba(16, 24, 46, 0.7);
    --primary-cyan: #00f0ff;
    --primary-magenta: #ff00ea;
    --primary-blue: #0b4cff;
    --text-main: #e0e6ed;
    --text-muted: #8b9bb4;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    --gradient-glow: linear-gradient(90deg, var(--primary-magenta), var(--primary-cyan), var(--primary-blue));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Layout & Utilities */
    --container-width: 1280px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.3);
    --shadow-glow-large: 0 0 40px rgba(11, 76, 255, 0.4);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);

    /* Z-Index */
    --z-back: -1;
    --z-normal: 1;
    --z-header: 100;
    --z-modal: 1000;
    --z-loader: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border-glass);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-large);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   GLOBAL LOADER
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-darker);
    z-index: var(--z-loader);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-family: var(--font-heading);
    color: var(--primary-cyan);
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: pulseText 1.5s infinite alternate;
}

.loader-line {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: var(--primary-magenta);
    animation: scanLine 2s infinite linear;
    box-shadow: 0 0 10px var(--primary-magenta);
}

.loader-orbs {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.loader-orbs .orb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: bounceOrb 1s infinite alternate;
}

.loader-orbs .orb:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}

.loader-orbs .orb:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--primary-magenta);
    box-shadow: 0 0 10px var(--primary-magenta);
}

@keyframes pulseText {
    0% {
        opacity: 0.5;
        text-shadow: none;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 15px var(--primary-cyan);
    }
}

@keyframes scanLine {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

@keyframes bounceOrb {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(4, 6, 11, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.header.scrolled {
    padding: 5px 0;
    background: rgba(4, 6, 11, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-fast);
}

.header.scrolled .header-inner {
    height: 70px;
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: width var(--transition-fast);
    box-shadow: 0 0 8px var(--primary-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 10px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background: var(--primary-cyan);
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary-cyan);
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -10px;
    left: 0;
}

.hamburger-inner::after {
    content: '';
    bottom: -10px;
    left: 0;
}

/* Mobile Menu Slide-out */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 101;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 240, 255, 0.2);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.mobile-logo {
    height: 35px;
}

.close-mobile-menu {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-mobile-menu:hover {
    transform: rotate(90deg);
    color: var(--primary-magenta);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

.mobile-nav-link::before {
    content: '\f101';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 15px;
    color: var(--primary-cyan);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.mobile-nav-footer {
    margin-top: auto;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-modal);
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-darker);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--bg-card);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-cyan);
    font-size: 1.2rem;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff66;
    border: 2px solid var(--bg-darker);
}

.chat-header h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.chat-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.close-chat:hover {
    color: var(--primary-magenta);
}

.chat-body {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
}

.chat-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    position: relative;
}

.bot-message {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.message-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-align: right;
}

.chat-footer {
    padding: 15px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#chatForm {
    display: flex;
    gap: 10px;
}

#chatInput {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--white);
    font-family: var(--font-body);
    outline: none;
    transition: border 0.3s;
}

#chatInput:focus {
    border-color: var(--primary-cyan);
}

#chatForm button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-cyan);
    border: none;
    color: var(--bg-darker);
    cursor: pointer;
    transition: transform 0.3s;
}

#chatForm button:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   HERO SECTION & 3D ELEMENTS
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-back);
    background: radial-gradient(circle at center, #0a1122 0%, #04060b 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: var(--z-normal);
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 30px;
    padding: 5px 15px;
    margin-bottom: 25px;
}

.badge-icon {
    color: var(--primary-cyan);
    margin-right: 10px;
    font-size: 0.9rem;
    animation: zap 2s infinite;
}

@keyframes zap {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px var(--primary-cyan);
    }

    50% {
        opacity: 0.5;
        text-shadow: none;
    }
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-cyan);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-magenta);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* 3D Isometric Composition */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.isometric-composition {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(35deg);
    animation: floatGrid 10s infinite ease-in-out alternate;
}

@keyframes floatGrid {
    0% {
        transform: rotateX(-20deg) rotateY(35deg) translateY(0);
    }

    100% {
        transform: rotateX(-25deg) rotateY(45deg) translateY(-30px);
    }
}

.iso-cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
}

.iso-cube-1 {
    top: -50px;
    left: -80px;
    animation: bounceCube 4s infinite alternate ease-in-out;
}

.iso-cube-2 {
    top: 50px;
    left: 80px;
    animation: bounceCube 5s infinite alternate-reverse ease-in-out;
}

.iso-cube-3 {
    top: 100px;
    left: -50px;
    transform: scale(0.6);
    animation: bounceCube 3s infinite alternate ease-in-out;
}

@keyframes bounceCube {
    0% {
        transform: translateZ(0);
    }

    100% {
        transform: translateZ(50px);
    }
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(11, 76, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: rgba(0, 240, 255, 0.8);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(5px);
}

.front {
    transform: rotateY(0deg) translateZ(50px);
}

.back {
    transform: rotateY(180deg) translateZ(50px);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.top {
    transform: rotateX(90deg) translateZ(50px);
    background: rgba(255, 0, 234, 0.1);
    border-color: rgba(255, 0, 234, 0.5);
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

.floating-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    animation: rotateRing 20s linear infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 0, 234, 0.2);
    animation: rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotateX(90deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(90deg) rotateZ(360deg);
    }
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
    padding: 30px 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.marquee-item i {
    font-size: 0.4rem;
    color: var(--primary-magenta);
    box-shadow: 0 0 10px var(--primary-magenta);
    border-radius: 50%;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   GLOBAL SECTION STYLES
   ========================================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-heading {
    margin-bottom: 50px;
}

.sub-heading {
    font-family: var(--font-heading);
    color: var(--primary-magenta);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 3rem;
    margin-bottom: 20px;
}

.body-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Scroll Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    animation: fadeUp 1s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ABOUT / MISSION SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateX(10px);
}

.feature-list i {
    font-size: 1.5rem;
    margin-top: 3px;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-list p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* About Visual Animation */
.tech-circle-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.tc-1 {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: spin 20s linear infinite;
}

.tc-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(255, 0, 234, 0.3);
    border-width: 2px;
    animation: spin 15s linear infinite reverse;
}

.tc-3 {
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(11, 76, 255, 0.1) 0%, transparent 70%);
    border: none;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.center-icon {
    font-size: 4rem;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px var(--primary-cyan);
    position: relative;
    z-index: 2;
}

.orbiting-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 10s linear infinite;
}

.node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.n-1 {
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
}

.n-2 {
    bottom: 20%;
    right: -5px;
    background: var(--primary-magenta);
    box-shadow: 0 0 15px var(--primary-magenta);
}

.n-3 {
    bottom: 20%;
    left: -5px;
    background: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue);
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* tc-1/tc-2 */
.orbiting-nodes {
    transform-origin: center;
    animation: spinCenter 12s linear infinite;
}

@keyframes spinCenter {
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   SERVICES SECTION (3D CARDS)
   ========================================================================== */
.services-section {
    background: var(--bg-darker);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.service-card-3d {
    height: 350px;
    background: transparent;
    cursor: pointer;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card-3d:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-front {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.card-back {
    background: linear-gradient(135deg, rgba(11, 76, 255, 0.2), rgba(0, 240, 255, 0.1));
    transform: rotateY(180deg);
    border-color: rgba(0, 240, 255, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-front p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.view-more {
    font-family: var(--font-heading);
    color: var(--primary-magenta);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more i {
    transition: transform 0.3s ease;
}

.service-card-3d:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.3);
}

.card-back h3 {
    color: var(--primary-cyan);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card-back ul {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-back ul li {
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
}

.card-back ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-magenta);
    font-family: var(--font-heading);
    font-weight: bold;
}

.card-back .btn {
    margin-top: auto;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding-right: 50px;
    margin-bottom: 60px;
}

.timeline-item.right {
    left: 50%;
    padding-right: 0;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    right: -25px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.right .timeline-dot {
    left: -25px;
    right: auto;
    border-color: var(--primary-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 234, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.02);
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item.right .timeline-content::before {
    left: -10px;
    right: auto;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-cyan);
}

.timeline-item.right .timeline-content h3 {
    color: var(--primary-magenta);
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Range Input */
.range-group {
    margin-top: 30px;
    margin-bottom: 40px;
}

.range-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--primary-cyan);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 0 15px var(--primary-cyan);
    border: 2px solid var(--white);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* Toggles */
.service-toggles h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.custom-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.custom-toggle input {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    position: relative;
    transition: 0.4s;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.4s;
    border-radius: 50%;
}

.custom-toggle input:checked+.toggle-slider {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--primary-cyan);
}

.custom-toggle input:checked+.toggle-slider::before {
    transform: translateX(24px);
    background-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.toggle-label {
    font-size: 1.1rem;
}

/* Result Card */
.result-card {
    background: linear-gradient(180deg, rgba(16, 24, 46, 1) 0%, rgba(4, 6, 11, 1) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-glow);
}

.result-header {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.result-row span {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.result-row strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.result-row.highlight {
    border: none;
    padding-bottom: 0;
    margin-top: 10px;
    background: rgba(0, 240, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.result-row.highlight span {
    color: var(--white);
    font-weight: 700;
}

.result-row.highlight strong {
    color: #00ff66;
    font-size: 2.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

.result-footer {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.result-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ==========================================================================
   LIVE REPORT DASHBOARD (CSS 3D)
   ========================================================================== */
.dashboard-mockup {
    max-width: 1000px;
    margin: 50px auto 0;
    background: #0b101e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(0, 240, 255, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.dash-header {
    height: 40px;
    background: #05080f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.dash-dots {
    display: flex;
    gap: 8px;
}

.dash-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.dash-dots span:nth-child(2) {
    background: #ffbd2e;
}

.dash-dots span:nth-child(3) {
    background: #27c93f;
}

.dash-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dash-body {
    display: flex;
    height: 400px;
}

.dash-sidebar {
    width: 80px;
    background: #070b14;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.dash-main {
    flex-grow: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dash-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}

.dash-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.dash-value {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trend-up {
    color: #00ff66;
    font-size: 1rem;
}

.trend-down {
    color: #ff5f56;
    font-size: 1rem;
}

/* 3D Isometric Bar Chart */
.dash-chart-container {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 40px;
    perspective: 800px;
}

.css-chart-3d {
    display: flex;
    gap: 30px;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateZ(0deg);
}

.chart-bar {
    position: relative;
    width: 40px;
    height: 200px;
    transform-style: preserve-3d;
}

.chart-bar .bar-front,
.chart-bar .bar-right,
.chart-bar .bar-top {
    position: absolute;
    bottom: 0;
    background: rgba(0, 240, 255, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.8);
    transition: height 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chart-bar .bar-front {
    width: 40px;
    height: var(--h);
    transform: translateZ(20px);
    background: rgba(0, 240, 255, 0.4);
}

.chart-bar .bar-right {
    width: 40px;
    height: var(--h);
    transform: rotateY(90deg) translateZ(20px);
    background: rgba(0, 240, 255, 0.8);
}

.chart-bar .bar-top {
    width: 40px;
    height: 40px;
    transform: rotateX(90deg) translateZ(calc(var(--h) - 20px));
    background: var(--primary-cyan);
    box-shadow: 0 0 15px var(--primary-cyan);
}

.chart-bar:nth-child(even) .bar-front {
    background: rgba(255, 0, 234, 0.4);
    border-color: rgba(255, 0, 234, 0.8);
}

.chart-bar:nth-child(even) .bar-right {
    background: rgba(255, 0, 234, 0.8);
    border-color: rgba(255, 0, 234, 0.8);
}

.chart-bar:nth-child(even) .bar-top {
    background: var(--primary-magenta);
    box-shadow: 0 0 15px var(--primary-magenta);
    border-color: var(--primary-magenta);
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card i {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.industry-card:hover i {
    transform: rotateY(180deg);
    color: var(--primary-magenta);
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background: var(--bg-darker);
    overflow: hidden;
}

.testimonial-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    scroll-snap-align: center;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.03);
}

.feedback {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--white);
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--primary-magenta);
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><line x1="0" y1="100%" x2="100%" y2="0" stroke="rgba(0,240,255,0.1)" stroke-width="2"/></svg>'), linear-gradient(45deg, var(--bg-dark), var(--bg-darker));
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.inner-page-main {
    padding-top: 80px;
}

.page-header-section {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(11, 76, 255, 0.2) 0%, transparent 70%);
    z-index: var(--z-back);
}

.page-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    overflow: hidden;
    margin-top: 40px;
}

.contact-info {
    padding: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    padding: 50px;
}

.custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-form .form-group {
    margin-bottom: 25px;
}

.custom-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-main);
    letter-spacing: 1px;
}

.custom-form label .req {
    color: var(--primary-magenta);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300f0ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.custom-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close-btn:hover {
    color: var(--primary-magenta);
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   LEGAL PAGES SPECIFIC
   ========================================================================== */
.legal-header {
    padding: 80px 0 40px;
}

.legal-content {
    padding-bottom: 100px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.legal-section p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* ==========================================================================
   FOOTER (GLOBAL)
   ========================================================================== */
.footer {
    background: #020305;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    padding-top: 80px;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s;
}

.footer-logo:hover img {
    filter: grayscale(0%) brightness(100%);
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-cyan);
    color: var(--bg-darker);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
    border-color: var(--primary-cyan);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-magenta);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 10px;
    color: var(--primary-cyan);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.fc-icon {
    color: var(--primary-cyan);
    font-size: 1.2rem;
    margin-top: 2px;
}

.fc-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.fc-text strong {
    display: block;
    color: var(--white);
    font-weight: normal;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: var(--primary-cyan);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container,
    .about-grid,
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 5px;
        right: auto;
    }

    .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -10px;
        right: auto;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dash-stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .custom-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .dash-sidebar {
        display: none;
    }

    .chat-window {
        width: 300px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-visual {
        display: none;
    }

    .calculator-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .css-chart-3d {
        gap: 15px;
    }

    .chart-bar {
        width: 20px;
    }

    .chart-bar .bar-front,
    .chart-bar .bar-right {
        width: 20px;
    }

    .chart-bar .bar-top {
        width: 20px;
        height: 20px;
    }
}