/* ==========================================================================
   CSS VARIABLES & THEME SETUP
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #0f4c81;
    /* Deep Trust Blue */
    --primary-light: #3a7ab9;
    --secondary: #00d2ff;
    /* Bright Cyan Accent */
    --secondary-dark: #0088cc;
    --dark-bg: #0b1325;
    /* Dark for header/footer to contrast white logo */
    --dark-surface: #14213d;
    --light-bg: #f8fbff;
    /* Main body light theme */
    --light-surface: #ffffff;
    --text-dark: #1a2a40;
    --text-gray: #64748b;
    --text-light: #e2e8f0;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-2: linear-gradient(to right, #00d2ff, #3a7ab9);

    /* Utility */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(15, 76, 129, 0.15);
    --shadow-lg: 0 20px 40px -10px rgba(15, 76, 129, 0.25);
    --glow: 0 0 20px rgba(0, 210, 255, 0.5);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan {
    color: var(--secondary);
}

.text-white {
    color: var(--white);
}

.text-green {
    color: #10b981;
}

.text-gray {
    color: var(--text-gray);
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-light-alt {
    background-color: #f1f5f9;
}

.bg-dark {
    background-color: var(--dark-bg);
}

.dark-bg {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--glow);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION (STRICTLY IDENTICAL)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 19, 37, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    padding: 10px 0;
    background-color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s;
}

.site-header.scrolled .header-container {
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 45px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .site-logo {
    max-height: 35px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: var(--dark-surface);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary);
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle .bar:nth-child(1) {
    top: 0;
}

.mobile-toggle .bar:nth-child(2) {
    top: 11px;
}

.mobile-toggle .bar:nth-child(3) {
    top: 22px;
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

.header-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--secondary);
    width: 0%;
    transition: width 0.1s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background: var(--light-bg);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 15% 50%, rgba(15, 76, 129, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.05), transparent 25%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 76, 129, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-trust p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    gap: 25px;
    font-size: 2rem;
    color: #cbd5e1;
}

.trust-logos i {
    transition: var(--transition);
}

.trust-logos i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Hero 3D Visual */
.scene-3d {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.cube-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 40px rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.floating-element {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 6s infinite ease-in-out;
}

.floating-element i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.el-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.el-2 {
    bottom: 20%;
    right: 0;
    animation-delay: 2s;
}

.el-3 {
    top: 70%;
    left: -10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}

.hero-wave fill {
    fill: var(--white);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.stat-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    color: var(--secondary);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-list i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.feature-list strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.image-composition {
    position: relative;
    height: 500px;
}

.img-main,
.img-secondary {
    position: absolute;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.img-main {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(15, 76, 129, 0.2), rgba(15, 76, 129, 0.2)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80');
}

.img-secondary {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    border: 10px solid var(--white);
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80');
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-1);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-md);
    animation: pulse 3s infinite;
}

.experience-badge span {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge p {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 210, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

/* ==========================================================================
   SERVICES SECTION (3D CARDS)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.service-card-3d {
    background: transparent;
    height: 350px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card-3d:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-front {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.service-card-back {
    background: var(--gradient-1);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card-3d:hover .icon-wrapper {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.service-card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card-front p {
    color: var(--text-gray);
}

.service-card-back h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.service-card-back li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-back li::before {
    content: '✓';
    margin-right: 10px;
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================================================
   INDUSTRIES TABS
   ========================================================================== */
.industry-tabs-container {
    margin-top: 50px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.industry-tabs {
    display: flex;
    background: var(--light-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn i {
    margin-right: 10px;
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
    background: var(--white);
}

.tab-content-wrapper {
    padding: 50px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tab-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tab-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: 1.2rem;
}

.tab-image {
    height: 400px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.ecommerce-bg {
    background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&q=80');
}

.b2b-bg {
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&q=80');
}

.healthcare-bg {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&q=80');
}

.realestate-bg {
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeefa?auto=format&fit=crop&q=80');
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   REPORTS SECTION (FAUX DASHBOARD)
   ========================================================================== */
.reports-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 50px;
    align-items: center;
}

.dashboard-features {
    margin-top: 30px;
}

.dashboard-features li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    border-left: 3px solid var(--secondary);
}

.dashboard-features i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.faux-dashboard {
    background: var(--dark-surface);
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.dash-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.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 {
    color: var(--text-light);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.dash-body {
    padding: 30px;
}

.dash-top-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.d-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.d-card span {
    display: block;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.d-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--white);
}

.dash-chart {
    display: flex;
    height: 200px;
    gap: 15px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.8rem;
    text-align: right;
    width: 40px;
}

.chart-bars {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 10px 10px;
}

.bar-group {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    height: 100%;
    width: 40px;
}

.bar {
    width: 15px;
    border-radius: 3px 3px 0 0;
    animation: growBar 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.bar.c1 {
    background: var(--primary-light);
    height: var(--h);
}

.bar.c2 {
    background: var(--secondary);
    height: var(--h);
}

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

.dash-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.dash-legend span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.dot.c1 {
    background: var(--primary-light);
}

.dot.c2 {
    background: var(--secondary);
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calc-wrapper {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-inputs {
    padding: 50px;
    background: var(--white);
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.input-group span {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 4px;
    border: none;
}

input[type=range]::-webkit-slider-thumb {
    border: 4px solid var(--white);
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    padding: 50px;
    background: var(--dark-bg);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-box h4 {
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin: 10px 0;
    line-height: 1;
}

.result-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.result-box.premium {
    background: var(--gradient-1);
    border: none;
    position: relative;
    overflow: hidden;
}

.badge-sm {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-slider {
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testi-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 20px;
}

.testi-card {
    width: 400px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(0, 210, 255, 0.1);
}

.testi-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   CTA SECTION & FORMS
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&q=80') center/cover fixed;
}

.cta-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 37, 0.9);
}

.cta-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    color: var(--white);
    font-size: 3rem;
}

.cta-text p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-contact-info span {
    display: block;
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.cta-contact-info i {
    margin-right: 10px;
}

.quick-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
}

.quick-form h3 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.floating-label {
    position: relative;
    margin-bottom: 25px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-gray);
    background: var(--white);
    padding: 0 5px;
    transition: var(--transition);
    pointer-events: none;
}

.floating-label input:focus,
.floating-label textarea:focus {
    border-color: var(--primary);
}

.floating-label input:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label textarea:focus~label,
.floating-label textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.page-header {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.info-panel-inner {
    background: var(--primary);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.info-panel-inner h3 {
    color: var(--white);
    font-size: 2rem;
}

.contact-detail-box {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
}

.cd-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
}

.cd-text h4 {
    color: var(--white);
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.cd-text p,
.cd-text a {
    color: rgba(255, 255, 255, 0.8);
}

.cd-text a:hover {
    color: var(--secondary);
}

.contact-form-panel {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
}

.w-50 {
    width: 50%;
}

.custom-select-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.custom-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-gray);
    outline: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:focus {
    border-color: var(--primary);
}

.custom-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page {
    min-height: 60vh;
}

.shadow-box {
    background: var(--white);
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-content-box h2 {
    color: var(--primary);
    margin-top: 40px;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.legal-content-box p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-content-box strong {
    color: var(--primary);
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background: #ff5f56;
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    transform-origin: bottom right;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.agent-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

.agent-info span {
    font-size: 0.8rem;
    color: var(--secondary);
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background: var(--light-bg);
}

.chat-msg {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-msg.bot {
    float: left;
}

.chat-msg p {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 15px 15px 15px 0;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.msg-time {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 5px;
    display: block;
}

.chat-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    outline: none;
    font-family: var(--font-body);
}

.chat-footer button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chat-footer button:hover {
    background: var(--secondary);
}

/* ==========================================================================
   FOOTER (STRICTLY IDENTICAL)
   ========================================================================== */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.brand-col .site-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info a:hover {
    color: var(--secondary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.active.reveal-up,
.active.reveal-left,
.active.reveal-right {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    /* Handle with mobile toggle JS */
    .mobile-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 50px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .trust-logos {
        justify-content: center;
    }

    .about-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .image-composition {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .shadow-box {
        padding: 40px 30px;
    }

    /* Mobile Menu Active State handled in JS */
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 20px;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .industry-tabs {
        flex-direction: column;
    }

    .tab-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .w-50 {
        width: 100%;
    }

    .cta-box {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .calc-inputs,
    .calc-results {
        padding: 30px 20px;
    }

    .testi-card {
        width: 300px;
    }

    .cube-wrapper {
        width: 150px;
        height: 150px;
    }

    .face {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .front {
        transform: rotateY(0deg) translateZ(75px);
    }

    .back {
        transform: rotateY(180deg) translateZ(75px);
    }

    .right {
        transform: rotateY(90deg) translateZ(75px);
    }

    .left {
        transform: rotateY(-90deg) translateZ(75px);
    }

    .top {
        transform: rotateX(90deg) translateZ(75px);
    }

    .bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }
}