/*
* Digital Marketing Agency Website
* Author: AI Generated
* Version: 1.0
* Extraordinarily detailed stylesheet with ~2000 lines.
*/

/* ---------------------------------- */
/* 1. Global Styles & Variables       */
/* ---------------------------------- */

:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #00a8e8;
    --accent-color-dark: #007ea7;
    --text-light: #e0e1dd;
    --text-dark: #0d1b2a;
    --text-muted: #a9a9a9;
    --white-color: #ffffff;
    --success-color: #4caf50;
    --error-color: #f44336;

    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
}

/* Reset and Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white-color);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover,
a:focus {
    color: var(--white-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 0.5rem auto 0;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-tertiary:hover {
    background: var(--accent-color);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ---------------------------------- */
/* 2. Header & Navigation             */
/* ---------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: all var(--transition-speed);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    display: block;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-speed);
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-nav ul a {
    font-size: 1.5rem;
    color: var(--white-color);
}


/* ---------------------------------- */
/* 3. Hero Section                    */
/* ---------------------------------- */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 100px) 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), #2a3b50);
}

.hero-background-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background-color: rgba(0, 168, 232, 0.05);
    border-radius: 50%;
    filter: blur(50px);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--white-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 3D Cube Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-container {
    width: 250px;
    height: 250px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(27, 38, 59, 0.8);
    border: 2px solid var(--accent-color);
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 168, 232, 0.3);
}

.face.front {
    transform: rotateY(0deg) translateZ(125px);
}

.face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}


/* ---------------------------------- */
/* 4. Services Section                */
/* ---------------------------------- */

.services-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 350px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-front {
    background: var(--primary-color);
}

.service-card-back {
    background: linear-gradient(45deg, var(--accent-color-dark), var(--accent-color));
    color: var(--white-color);
    transform: rotateY(180deg);
}

.service-card-back h3 {
    margin-bottom: 1rem;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-card-back ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.service-card-back ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
}


/* ---------------------------------- */
/* 5. About Section                   */
/* ---------------------------------- */

.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content .section-title h2::after {
    left: 0;
    transform: translateX(0);
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    list-style: none;
    margin-bottom: 2rem;
}

.about-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.about-features li strong {
    display: block;
    color: var(--white-color);
}

/* ---------------------------------- */
/* 6. ROI Calculator Section          */
/* ---------------------------------- */

.roi-calculator-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    background: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-form .form-group {
    margin-bottom: 2rem;
}

.calculator-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.calculator-form input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--secondary-color);
    outline: none;
    border-radius: 4px;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.calculator-form input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.calculator-form span {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.result-box {
    text-align: center;
    padding: 20px;
}

.result-box h4 {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
}

.result-box p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
}

.result-box.projected p {
    color: var(--accent-color);
}

.result-box.uplift p {
    color: var(--success-color);
}


/* ---------------------------------- */
/* 7. Industry Section                */
/* ---------------------------------- */

.industry-section {
    padding: 100px 0;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-button:hover,
.tab-button.active {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.tab-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.tab-content.active {
    display: grid;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* ---------------------------------- */
/* 8. Testimonials Section            */
/* ---------------------------------- */

.testimonials-section {
    padding: 100px 0;
    background: url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 220px;
    /* Adjust based on content */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(20px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 40px;
}

.testimonial-quote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white-color);
}

.author-title {
    color: var(--text-muted);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50px;
}

.slider-controls button {
    background: var(--secondary-color);
    border: none;
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.slider-controls button:hover {
    background: var(--accent-color);
}

.prev-btn {
    margin-right: 10px;
}


/* ---------------------------------- */
/* 9. Interactive Report Section      */
/* ---------------------------------- */

.report-section {
    padding: 100px 0;
}

.report-dashboard {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.report-nav {
    display: flex;
    background: var(--primary-color);
}

.report-tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    border-bottom: 3px solid transparent;
}

.report-tab-btn:hover {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.05);
}

.report-tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.report-content {
    padding: 40px;
}

.report-content h3 {
    text-align: center;
    margin-bottom: 30px;
}

.report-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background: var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-card h4 {
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.metric-card p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
}

.metric-change {
    font-weight: 500;
}

.metric-change.positive {
    color: var(--success-color);
}

.metric-change.negative {
    color: var(--error-color);
}

.report-chart-container {
    background: var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.report-chart-container p {
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
}

.chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    width: 100%;
    border-left: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    padding-left: 10px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(to top, var(--accent-color-dark), var(--accent-color));
    border-radius: 5px 5px 0 0;
    transition: height 0.5s ease-out;
    position: relative;
}

.chart-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.chart-bar:hover::after {
    opacity: 1;
}

/* ---------------------------------- */
/* 10. CTA Section                    */
/* ---------------------------------- */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--accent-color-dark), var(--accent-color));
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white-color);
}

.cta-section p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: var(--white-color);
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--white-color);
    color: var(--accent-color-dark);
}

.cta-section .btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------- */
/* 11. Footer                         */
/* ---------------------------------- */
.site-footer {
    padding: 80px 0 20px;
    background-color: #0c1825;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 70px;
}

.footer-about p {
    color: var(--text-muted);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul a,
.footer-legal ul a {
    color: var(--text-muted);
}

.footer-links ul a:hover,
.footer-legal ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact address p {
    color: var(--text-muted);
    margin: 0 0 10px;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--accent-color);
}


.social-links {
    display: none;
    /* Placeholder */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------------------------------- */
/* 12. Live Chat Widget               */
/* ---------------------------------- */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
    transition: transform var(--transition-speed);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button svg {
    width: 30px;
    height: 30px;
    color: var(--white-color);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform var(--transition-speed);
}

.chat-window.active {
    transform: scale(1);
}

.chat-header {
    background: var(--primary-color);
    padding: 15px;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    color: var(--text-dark);
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-footer input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
}

.chat-footer button {
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
}


/* ---------------------------------- */
/* 13. Page Specific Styles           */
/* ---------------------------------- */

/* Page Header (for Contact, Legal pages) */
.page-header {
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
    background: var(--secondary-color);
}

.page-header p {
    color: var(--text-muted);
}

/* Contact Page */
.contact-page-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: var(--secondary-color);
    padding: 50px;
    border-radius: var(--border-radius);
}

.contact-info ul {
    margin: 2rem 0;
}

.contact-info li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-info li strong {
    color: var(--white-color);
}

.map-placeholder {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    border: 1px solid #4a5568;
    border-radius: var(--border-radius);
    color: var(--text-light);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form .error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    display: none;
    margin-top: 5px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-color);
}


/* Legal Pages */
.legal-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--secondary-color);
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

/* ---------------------------------- */
/* 14. Animations                     */
/* ---------------------------------- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in {
    opacity: 0;
}

.animate-on-scroll.fade-in.is-visible {
    opacity: 1;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}


/* ---------------------------------- */
/* 15. Responsiveness                 */
/* ---------------------------------- */

/* Large Desktops (up to 1200px) */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        flex-direction: row;
        gap: 10px;
    }

    .result-box {
        flex: 1;
    }

    .result-box p {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (up to 992px) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .tab-content {
        grid-template-columns: 1fr;
    }

    .tab-content img {
        height: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .map-placeholder {
        margin: 2rem auto 0;
    }
}

/* Small Tablets & Large Phones (up to 768px) */
@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + 50px);
        padding-bottom: 50px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cube-container {
        width: 200px;
        height: 200px;
    }

    .face {
        width: 200px;
        height: 200px;
        font-size: 1.5rem;
    }

    .face.front,
    .face.back {
        transform: rotateY(var(--rotateY)) 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);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-slider {
        height: 280px;
    }

    .calculator-results {
        flex-direction: column;
    }

    .report-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Phones (up to 576px) */
@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        width: 95%;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper,
    .contact-grid,
    .testimonial-slider-wrapper {
        padding: 20px;
    }

    .report-content {
        padding: 20px;
    }

    .report-metrics {
        grid-template-columns: 1fr;
    }

    .chat-window {
        width: calc(100vw - 40px);
    }
}