/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM (Light Theme focus, Dark header/footer)
   ========================================================================== */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
    --border-dark: #1e293b;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

.bg-white {
    background-color: var(--bg-main);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-gray {
    color: #cbd5e1 !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-green {
    color: var(--secondary) !important;
}

.mt-4 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ==========================================================================
   4. BUTTONS & FORMS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-heading);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn-accent:hover {
    background-color: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    color: #fff;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: buttonGlow 3s infinite;
}

@keyframes buttonGlow {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* ==========================================================================
   5. HEADER & NAVIGATION (STRICT REQUIREMENT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-dark);
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.site-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #ffffff 100%);
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-box {
    max-width: 600px;
}

.hero-text-box .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
}

.card-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.card-lbl {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: -3s;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   7. STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    display: inline-block;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-text {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: var(--primary-light);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.2;
    transform: translate(10%, 10%);
}

.about-img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    z-index: 2;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}

.exp-years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.exp-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.about-features {
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.about-features i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: height 0.4s ease;
    opacity: 0.05;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.75rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* ==========================================================================
   10. INDUSTRIES SECTION
   ========================================================================== */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.tab-btn:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    align-items: center;
    border: 1px solid var(--border-color);
}

.tab-text h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.tab-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.tab-list i {
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

.tab-img-box {
    text-align: center;
    background: var(--bg-alt);
    padding: 4rem 2rem;
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

.xl-icon {
    font-size: 6rem;
    color: var(--primary-light);
    opacity: 0.5;
}

/* ==========================================================================
   11. ROI CALCULATOR
   ========================================================================== */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.input-group label span {
    color: var(--primary);
    background: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    outline: none;
    transition: var(--transition);
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-outputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.output-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.output-card h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.output-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.highlight-output {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
}

.highlight-output h4 {
    color: #94a3b8;
}

.roi-label {
    margin-top: 0.5rem;
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--secondary);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   12. REPORTS SECTION
   ========================================================================== */
.reports-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mock-dashboard {
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dash-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
}

.dots .red {
    background: #ef4444;
}

.dots .yellow {
    background: #eab308;
}

.dots .green {
    background: #22c55e;
}

.dash-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.dash-body {
    padding: 2rem;
}

.chart-container {
    height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    padding-top: 20px;
}

.bar {
    width: 12%;
    background: linear-gradient(to top, var(--primary-dark), var(--primary-light));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease;
}

.bar:hover {
    filter: brightness(1.2);
    cursor: pointer;
}

.dash-metrics {
    display: flex;
    gap: 2rem;
}

.metric {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.m-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* ==========================================================================
   13. TESTIMONIALS SECTION
   ========================================================================== */
.testim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testim-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--bg-alt);
    opacity: 0.8;
}

.testim-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testim-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 3rem;
    color: var(--primary-light);
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   14. CTA SECTION
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* ==========================================================================
   15. FOOTER (STRICT REQUIREMENT)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding-top: 4rem;
}

.footer-top {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.footer-contact-info a {
    color: #94a3b8;
}

.footer-contact-info a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 1.5rem 0;
    background-color: #000000;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #64748b;
    font-size: 0.875rem;
}

.legal-links a:hover {
    color: #fff;
}

/* ==========================================================================
   16. LEGAL & CONTACT PAGES STYLES
   ========================================================================== */
.page-header {
    background: var(--bg-dark);
    padding: 8rem 0 4rem;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #94a3b8;
}

.breadcrumbs a {
    color: var(--primary-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Contact Form Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: #fff;
    padding: 4rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.contact-info-panel {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 12px;
}

.contact-info-panel h3 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-alt);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ==========================================================================
   17. LIVE CHAT WIDGET
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.chat-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    color: #fff;
}

.chat-header button {
    color: #fff;
}

.chat-body {
    padding: 1rem;
    height: 250px;
    background: var(--bg-alt);
    overflow-y: auto;
}

.chat-msg {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.bot-msg {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    align-self: flex-start;
}

.chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
}

.chat-input button {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* ==========================================================================
   18. ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gs-reveal {
    visibility: hidden;
}

/* Used by GSAP */
.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* ==========================================================================
   19. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-box {
        margin: 0 auto;
    }

    .hero-btn-group {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-container,
    .reports-container,
    .calc-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 4rem;
        transition: var(--transition);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tab-body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tab-list li {
        justify-content: center;
    }

    .tab-img-box {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-link,
    .social-links,
    .footer-contact-info li {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .flex-between {
        justify-content: center;
        flex-direction: column;
    }

    .legal-content,
    .contact-wrapper {
        padding: 2rem;
    }
}