/*
 * Digital Marketing Agency Website Stylesheet
 * Author: Cedar Logan Estate Redesign
 * Version: 1.0
 */

/* ---------------------------------- */
/* 1. Global Setup & Variables        */
/* ---------------------------------- */
:root {
    --primary-color: #1a1a2e;
    /* Dark blue/purple */
    --secondary-color: #1f1f38;
    /* Lighter dark blue for cards */
    --accent-color-1: #00f5d4;
    /* Bright cyan */
    --accent-color-2: #ff00ff;
    /* Bright magenta */
    --text-color: #f0f0f0;
    --text-muted-color: #a0a0b0;
    --bg-color: #0d0d1a;
    /* Even darker background */
    --font-family-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --section-padding: 80px 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-sans);
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------------------------------- */
/* 2. Base Typography & Elements      */
/* ---------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted-color);
}

a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: white;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------- */
/* 3. Layout & Helpers              */
/* ---------------------------------- */
.container {
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding: var(--section-padding);
}

.dark-section {
    background-color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ---------------------------------- */
/* 4. Buttons                       */
/* ---------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-color-1);
    color: var(--primary-color);
    border-color: var(--accent-color-1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color-1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}


/* ---------------------------------- */
/* 5. Header & Navigation           */
/* ---------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    height: var(--header-height);
    transition: all var(--transition-speed) ease;
}

.site-header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo img {
    height: 60px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-muted-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color-1);
    transition: width var(--transition-speed) ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 5px;
    transition: all 0.25s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 5px;
    transition: all 0.25s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Nav Open State */
.nav-open .hamburger {
    background: transparent;
}

.nav-open .hamburger::before {
    transform: rotate(45deg);
}

.nav-open .hamburger::after {
    transform: rotate(-45deg);
}

/* ---------------------------------- */
/* 6. Hero Section                  */
/* ---------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, var(--primary-color) 0%, var(--bg-color) 100%);
    z-index: -1;
}

#particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--accent-color-1);
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Animated Text Effect */
.animate-text {
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Hero Element */
.hero-3d-element {
    position: absolute;
    bottom: 5%;
    right: 5%;
    perspective: 1000px;
    display: none;
    /* Hidden on small screens, shown on desktop */
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.face {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--accent-color-1);
    color: var(--accent-color-1);
    font-weight: 600;
    font-size: 1rem;
}

.face.front {
    transform: rotateY(0deg) translateZ(50px);
}

.face.back {
    transform: rotateY(180deg) translateZ(50px);
}

.face.right {
    transform: rotateY(90deg) translateZ(50px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.face.top {
    transform: rotateX(90deg) translateZ(50px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* ---------------------------------- */
/* 7. Services Section              */
/* ---------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--secondary-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.03);
    border-color: var(--accent-color-1);
    box-shadow: 0 15px 30px rgba(0, 245, 212, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    color: var(--accent-color-1);
    margin: 0 auto;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.2) rotate(10deg);
}

.service-title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-muted-color);
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.service-link::after {
    content: ' →';
}

/* ---------------------------------- */
/* 8. ROI Calculator Section        */
/* ---------------------------------- */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.calculator-form .form-group {
    margin-bottom: 2rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.calculator-form input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.calculator-form input[type="range"]:hover {
    opacity: 1;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color-1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

.calculator-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color-1);
    border-radius: 50%;
    cursor: pointer;
}

.range-value {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.calculator-results {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-title {
    margin-bottom: 2rem;
    color: var(--accent-color-1);
}

.result-item {
    margin-bottom: 1.5rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted-color);
    margin-bottom: 0.5rem;
}

.result-item p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.result-item.highlight p {
    color: var(--accent-color-1);
    font-size: 2.2rem;
}


/* ---------------------------------- */
/* 9. Process Section (Timeline)    */
/* ---------------------------------- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 70px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 70px;
    text-align: left;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--secondary-color);
    border: 4px solid var(--accent-color-1);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease;
}

.timeline-item.show .timeline-dot {
    transform: scale(1.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--secondary-color);
    position: relative;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.timeline-step {
    position: absolute;
    top: -20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 20px;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 20px;
}


.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}


/* ---------------------------------- */
/* 10. Industry Section              */
/* ---------------------------------- */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.industry-item {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.industry-item:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    border-color: var(--accent-color-1);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.industry-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}


/* ---------------------------------- */
/* 11. Testimonials Section          */
/* ---------------------------------- */
.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--secondary-color);
    padding: 2rem 3rem;
    border-radius: var(--border-radius);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.author-name {
    margin: 0;
    font-size: 1rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--accent-color-1);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--accent-color-1);
    color: var(--primary-color);
}


/* ---------------------------------- */
/* 12. Sample Report & CTA          */
/* ---------------------------------- */
.sample-report-section {
    background-image: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('https://i.imgur.com/GZqWJ2r.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* ---------------------------------- */
/* 13. Footer                       */
/* ---------------------------------- */
.site-footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about .logo {
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-muted-color);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: var(--text-muted-color);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-color-1);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-muted-color);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted-color);
}

/* ---------------------------------- */
/* 14. Page Specific Styles         */
/* ---------------------------------- */
/* Page Header */
.page-header {
    background: var(--primary-color);
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h3,
.contact-details-wrapper h3 {
    margin-bottom: 2rem;
}

.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 textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: var(--font-family-sans);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
}

.contact-details-list li {
    display: flex;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-details-list strong {
    width: 80px;
    color: var(--accent-color-1);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted-color);
}


/* ---------------------------------- */
/* 15. Modals and Widgets           */
/* ---------------------------------- */
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    position: relative;
    animation: slideInUp 0.4s ease;
}

.close-modal-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: white;
}

.modal-body img {
    margin: 1rem 0;
    border-radius: var(--border-radius);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 250px;
    overflow-y: auto;
}

.chat-message {
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    max-width: 80%;
}

.chat-message.bot {
    background: var(--primary-color);
    border-top-left-radius: 0;
}

.chat-footer {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid var(--primary-color);
}

.chat-footer input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    padding: 0.5rem;
    outline: none;
}

.chat-footer button {
    background: var(--accent-color-1);
    border: none;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

/* ---------------------------------- */
/* 16. Animations                   */
/* ---------------------------------- */
/* Scroll Animations */
[data-scroll-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll-animate="fade-up"] {
    transform: translateY(50px);
}

[data-scroll-animate="fade-in"] {
    transform: scale(0.95);
}

[data-scroll-animate="fade-left"] {
    transform: translateX(50px);
}

[data-scroll-animate="fade-right"] {
    transform: translateX(-50px);
}

[data-scroll-animate="zoom-in"] {
    transform: scale(0.8);
}

[data-scroll-animate].show {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------------------------------- */
/* 17. Responsive Design            */
/* ---------------------------------- */
/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 70px;
    }

    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-step,
    .timeline-item:nth-child(even) .timeline-step {
        left: 20px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        margin-top: 2rem;
    }

    .hero-3d-element {
        display: none;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .header-content {
        width: 100%;
    }

    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-open .main-nav {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    h1,
    .page-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .testimonial-slider {
        height: 300px;
    }
}