/* ==========================================================================
   CSS Variables & Theme Setup
   Dark Tech/Digital Marketing Theme
   ========================================================================== */
:root {
    /* Primary Color Palette */
    --primary-color: #0d6efd;
    /* Vibrant Blue */
    --primary-dark: #0a58ca;
    --secondary-color: #6610f2;
    /* Deep Purple */
    --accent-color: #fd7e14;
    /* Orange/Conversion color */

    /* Background Colors (Dark Theme) */
    --bg-main: #0a0e17;
    /* Very Dark Blue/Black */
    --bg-alt: #111827;
    --bg-card: #1f2937;
    --glass-bg: rgba(31, 41, 55, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Text Colors */
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-heading: #ffffff;

    /* System Colors */
    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Utilities */
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(13, 110, 253, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mt-4 {
    margin-top: 2rem;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 16, 242, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link .logo {
    height: 60px;
}

.nav {
    display: none;
    /* hidden on mobile */
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta {
    display: none;
}

/* Hidden on mobile by default */

/* Mobile Toggle */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-heading);
    transition: all var(--transition-base);
    border-radius: 3px;
}

.mobile-toggle .bar-top {
    top: 0;
}

.mobile-toggle .bar-middle {
    top: 10px;
}

.mobile-toggle .bar-bottom {
    top: 20px;
}

.mobile-toggle[aria-expanded="true"] .bar-top {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-toggle[aria-expanded="true"] .bar-middle {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-bottom {
    transform: rotate(-45deg);
    top: 10px;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-alt);
    z-index: 999;
    padding: 80px 20px 20px;
    transition: left var(--transition-slow);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav nav a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.mobile-nav nav a.btn {
    margin-top: 1rem;
    color: #fff;
}

/* Desktop overrides */
@media(min-width: 992px) {
    .nav {
        display: block;
    }

    .header-cta {
        display: inline-flex;
    }

    .mobile-toggle {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(13, 110, 253, 0.1), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(102, 16, 242, 0.1), transparent 25%);
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: pulseGlow 8s infinite alternate;
}

.hero-glow.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.2);
    top: -100px;
    left: -100px;
}

.hero-glow.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(102, 16, 242, 0.2);
    bottom: -50px;
    right: -50px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media(min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

@media(min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media(min-width: 1200px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 3D Hero Visual Element */
.hero-visual {
    perspective: 1000px;
}

.main-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform var(--transition-slow);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.main-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-header {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 150px;
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    height: 0;
    /* Animated in JS or keyframes */
    animation: growUp 2s ease-out forwards;
    animation-delay: 1s;
}

.chart-bar.highlight {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 15px var(--primary-color);
}

.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
}

.badge-1 {
    top: -20px;
    right: -30px;
    color: var(--success);
    animation: floatDelay 5s infinite;
}

.badge-2 {
    bottom: -20px;
    left: -30px;
    color: var(--accent-color);
    animation: floatDelay 7s infinite alternate;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--bg-main), var(--bg-alt), var(--bg-main));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media(min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 0;
}

.stat-item span {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   General Section Styles
   ========================================================================== */
section {
    padding: 6rem 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-visual {
    position: relative;
}

.image-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.overlay-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, transparent 100%);
    z-index: 1;
}

.about-svg {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s linear forwards;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.check-list {
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    color: var(--success);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
    background-color: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(13, 110, 253, 0.1);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.service-link i {
    transition: transform var(--transition-base);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */
.calculator-section {
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 100 L100 0" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .calc-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.range-group {
    margin-bottom: 2rem;
}

.range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.range-header span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 0 0 10px var(--primary-color);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.result-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-val {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight-res .result-val {
    font-size: 2rem;
}

@media(max-width: 768px) {
    .calc-results {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Industries Section (Tabs)
   ========================================================================== */
.tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-alt);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid var(--glass-border);
}

@media(min-width: 992px) {
    .tab-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tab-text ul {
    list-style: none;
}

.tab-text ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tab-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.mockup-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-main);
    border-radius: var(--border-radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Reports / Live UI Section
   ========================================================================== */
.reports-section {
    background-color: var(--bg-card);
}

.report-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .report-wrapper {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.chart-container {
    padding: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.chart-header h5 {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.chart-header h2 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trend.up {
    font-size: 1rem;
    color: var(--success);
    font-family: var(--font-body);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.chart-tabs span {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
}

.chart-tabs span.active {
    background: rgba(255, 255, 255, 0.1);
}

.css-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding-top: 20px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12%;
    height: 100%;
    justify-content: flex-end;
    gap: 10px;
}

.bar-col .bar {
    width: 100%;
    background: linear-gradient(180deg, var(--primary-color), rgba(13, 110, 253, 0.2));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease-out;
}

.bar-col .bar:hover {
    background: linear-gradient(180deg, var(--secondary-color), rgba(102, 16, 242, 0.2));
    cursor: pointer;
}

.bar-col span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testi-slide {
    display: none;
    animation: fadeIn 0.5s;
}

.testi-slide.active {
    display: block;
}

.testi-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(13, 110, 253, 0.2);
    margin-bottom: 1.5rem;
}

.testi-card p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.client-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    opacity: 0.9;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* ==========================================================================
   Live Chat Widget
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.chat-widget.active {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
}

.chat-header button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
}

.chat-msg {
    padding: 0.8rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.chat-msg.bot {
    background: rgba(13, 110, 253, 0.1);
    border-left: 3px solid var(--primary-color);
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--glass-border);
}

.chat-input input {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-main);
}

.chat-input input:focus {
    outline: none;
}

.chat-input button {
    padding: 0 1rem;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Footer (Identical across pages)
   ========================================================================== */
.footer {
    background-color: var(--bg-main);
    padding: 5rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.1;
    border-radius: 50%;
}

.footer-shape.shape-1 {
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
}

.footer-shape.shape-2 {
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media(min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-main);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

.contact-info-list a {
    color: var(--text-muted);
}

.contact-info-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Subpage Headers & Forms (For Contact, Legal pages)
   ========================================================================== */
.page-header-section {
    position: relative;
    padding: 150px 0 80px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.page-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 0.5rem;
}

.contact-section,
.page-content {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media(min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.5fr;
    }
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.content-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
}

.content-wrapper h2 {
    margin-top: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.content-wrapper p,
.content-wrapper ul {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--glass-border);
    max-width: 400px;
    position: relative;
}

.popup-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-10deg) rotateX(5deg);
    }

    100% {
        transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
    }
}

@keyframes floatDelay {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes growUp {
    from {
        height: 0;
    }
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
        transform: scale(0.8);
    }

    to {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
    animation-delay: var(--delay, 0s);
}