/* ==========================================================================
   1. Global Styles & Variables
   ========================================================================== */

/* Import a professional font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for easy theme management */
:root {
    --primary-color: #4A90E2;
    /* A vibrant, professional blue */
    --primary-color-dark: #357ABD;
    --secondary-color: #50E3C2;
    /* A modern teal/mint accent */
    --bg-dark-primary: #121828;
    /* Deep navy blue */
    --bg-dark-secondary: #1A2035;
    /* Slightly lighter navy for cards */
    --text-light: #F0F4F8;
    /* Off-white for body text */
    --text-medium: #A0AEC0;
    /* Lighter gray for subtitles */
    --text-dark: #1A202C;
    --border-color: #2D3748;
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #50E3C2 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.23);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* General Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-light);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Section Title Styling */
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-medium);
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 1.5rem 0;
}

#main-header.scrolled {
    background-color: rgba(18, 24, 40, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.nav-logo img {
    height: 70px;
    transition: transform 0.4s ease;
}

.nav-logo:hover img {
    transform: rotate(360deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}


/* ==========================================================================
   3. Hero Section
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark-primary);
    z-index: -1;
    opacity: 0.9;
}

/* Background Animation */
.hero-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    background: transparent;
    border-radius: 50%;
    box-shadow:
        -25vw -40vh 5px var(--primary-color),
        20vw 30vh 4px var(--secondary-color),
        -5vw 15vh 3px var(--primary-color),
        30vw -20vh 2px var(--secondary-color),
        -10vw -10vh 2px white;
    animation: zoom-in-out 30s linear infinite;
}

@keyframes zoom-in-out {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 60%;
    text-align: left;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero 3D Element */
.hero-3d-element-container {
    perspective: 1000px;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-element {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    background: rgba(74, 144, 226, 0.1);
    backdrop-filter: blur(5px);
}

.face.front {
    transform: rotateY(0deg) translateZ(100px);
}

.face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down-indicator a {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-medium);
    border-radius: 12px;
    position: relative;
}

.scroll-down-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background-color: var(--text-medium);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ==========================================================================
   4. Services Section
   ========================================================================== */

.services-section {
    background-color: var(--bg-dark-secondary);
    padding-top: 8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--bg-dark-primary);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    fill: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   5. About Us Section
   ========================================================================== */

.about-section {
    background-color: var(--bg-dark-primary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text .section-title h2::after {
    left: 0;
    transform: translateX(0);
}

.about-features {
    margin-top: 2rem;
    padding-left: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features li svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.about-image-container {
    flex: 1;
    position: relative;
    perspective: 1500px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transform: rotateY(-20deg) rotateX(10deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image-container:hover .about-image {
    transform: rotateY(0) rotateX(0);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: 1;
}

/* ==========================================================================
   6. Interactive Report Section
   ========================================================================== */
.interactive-report-section {
    background-color: var(--bg-dark-secondary);
}

.report-viewer {
    background-color: var(--bg-dark-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
    overflow: hidden;
}

.report-tabs {
    display: flex;
    background-color: var(--bg-dark-secondary);
}

.report-tab-btn {
    flex: 1;
    padding: 1.25rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.report-tab-btn.active {
    color: var(--text-light);
    border-bottom-color: var(--primary-color);
}

.report-tab-btn:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.report-content-area {
    padding: 2rem;
}

.report-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.report-content.active {
    display: block;
}

.report-content h3 {
    margin-bottom: 2rem;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.report-kpi {
    background-color: var(--bg-dark-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.report-kpi h4 {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.kpi-change {
    font-weight: 600;
}

.kpi-change.positive {
    color: #48BB78;
}

.kpi-change.negative {
    color: #F56565;
}

.kpi-change.neutral {
    color: var(--text-medium);
}

.report-chart {
    margin-top: 3rem;
}

.report-chart p {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

.css-chart {
    height: 250px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    background-color: var(--bg-dark-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.bar {
    width: 10%;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: grow-bar 1s ease-out;
    position: relative;
    text-align: center;
}

.bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-medium);
}

@keyframes grow-bar {
    from {
        height: 0;
    }
}

/* ==========================================================================
   7. Testimonials Section
   ========================================================================== */

.testimonials-section {
    background-color: var(--bg-dark-primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '“';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 20rem;
    color: var(--bg-dark-secondary);
    z-index: 0;
    font-family: serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-slide.exit {
    transform: translateX(-100%);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    color: var(--text-light);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: calc(100% - 8rem);
    left: 4rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================================================
   8. ROI Calculator Section
   ========================================================================== */
.roi-calculator-section {
    background-color: var(--bg-dark-secondary);
}

.calculator-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
    background-color: var(--bg-dark-primary);
    padding: 4rem;
    border-radius: 10px;
}

.calculator-info {
    flex: 1;
}

.calculator-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.calculator-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark-secondary);
    color: var(--text-light);
    font-size: 1rem;
}

.roi-result-container {
    margin-top: 2rem;
    background-color: var(--bg-dark-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    display: none;
    /* Hidden by default */
}

.roi-result-container h4 {
    margin-bottom: 1rem;
}

.roi-result-container p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.roi-final-value {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 1.25rem;
}

#result-roi {
    color: var(--secondary-color);
    font-weight: 700;
}


/* ==========================================================================
   9. CTA Section
   ========================================================================== */

.cta-section {
    background: var(--gradient-primary);
    color: white;
}

.cta-content h2 {
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: var(--text-light);
    color: var(--primary-color-dark);
    transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

#main-footer {
    background-color: var(--bg-dark-secondary);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-about img {
    height: 40px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
    color: var(--text-medium);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}


/* ==========================================================================
   11. Live Chat Widget
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-dark);
    transition: transform 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--bg-dark-secondary);
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.chat-window.open {
    transform: scale(1);
}

.chat-header {
    padding: 1rem;
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
}

.message p {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.95rem;
}

.message.received p {
    background-color: var(--bg-dark-primary);
    border-bottom-left-radius: 0;
    color: var(--text-light);
}

.chat-footer {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    background: var(--bg-dark-primary);
    color: var(--text-light);
    border-radius: 20px;
}

.chat-footer button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 0 1rem;
    margin-left: 0.5rem;
    border-radius: 20px;
    cursor: pointer;
}

/* ==========================================================================
   12. Contact & Legal Page Specific Styles
   ========================================================================== */

.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-dark-secondary);
}

.page-header h1 {
    font-size: 3rem;
}

.contact-page-section,
.legal-content-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item .icon {
    font-size: 1.5rem;
}

.contact-form-container {
    background-color: var(--bg-dark-secondary);
    padding: 3rem;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-text ul {
    list-style: disc;
    padding-left: 2rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   13. Animations
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll[data-animation="fade-in"] {
    transform: translateY(20px);
}

.animate-on-scroll[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="slide-in-left"] {
    transform: translateX(100px);
}

.animate-on-scroll[data-animation="slide-in-right"] {
    transform: translateX(-100px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ==========================================================================
   14. Responsiveness
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
    .header-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--bg-dark-primary);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        gap: 2rem;
        padding-top: 3rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero .container {
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-3d-element-container {
        display: none;
        /* Hide complex animation on smaller screens */
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        order: 2;
    }

    .about-image-container {
        order: 1;
    }

    .about-image {
        transform: rotateY(0) rotateX(0);
    }

    .calculator-wrapper {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        text-align: center;
    }

    .hero-content h1 {
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .report-tabs {
        flex-direction: column;
    }

    .report-tab-btn {
        border-bottom: 1px solid var(--border-color);
    }

    .report-tab-btn.active {
        border-bottom-color: var(--primary-color);
    }

    .testimonial-slider-container {
        padding: 0;
    }

    .slider-controls {
        display: none;
        /* Can implement dots for mobile if needed */
    }

    .testimonial-slider {
        height: auto;
        min-height: 350px;
    }
}