/*
--- DIGITAL MARKETING WEBSITE STYLES ---
Author: [AI Assistant]
Version: 1.0
-----------------------------------------

TABLE OF CONTENTS
1.  :root & Global Styles
2.  Utility Classes
3.  Header & Navigation
4.  Mobile Navigation
5.  Hero Section
6.  3D Cube Animation
7.  Services Section
8.  Process Section (Timeline)
9.  Interactive Report Section
10. Industries Section (Tabs)
11. Testimonials Section (Slider)
12. CTA Section
13. Footer
14. Page-Specific Styles (Contact, Legal)
15. Forms
16. Live Chat Widget
17. Animation Keyframes & Scroll Animations
18. Media Queries (Responsiveness)
    - Tablets (up to 1024px)
    - Mobile (up to 768px)

*/

/* 1. :root & Global Styles */
:root {
    --bg-dark: #0E0C15;
    /* Deep Graphite Black */
    --bg-dark-accent: #191622;
    /* Slightly lighter charcoal for sections */
    --primary-color: #FFB800;
    /* Bright Solar Amber */
    --secondary-color: #FF4B91;
    /* Vibrant Rose Magenta */
    --text-light: #F5F5F7;
    /* Soft white text */
    --text-dark: #2C2C2C;
    /* Charcoal text for light sections */
    --text-muted: #B3AFAF;
    /* Muted warm gray */
    --border-color: #2E2A3A;
    /* Subtle purple-gray divider */
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --transition-speed: 0.3s ease;
}


*,
*::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);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #ffffff;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 2. Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 242, 234, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.section-header {
    text-align: center;
    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(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* 3. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    background-color: rgba(10, 14, 26, 0.5);
    /* Semi-transparent base */
    backdrop-filter: blur(10px);
}

.site-header.scrolled {
    background-color: rgba(10, 14, 26, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    filter: invert(1);
}

.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: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.4s ease;
    border-radius: 2px;
}

/* 4. Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-dark-accent);
    z-index: 999;
    padding-top: 100px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav ul li {
    width: 100%;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 15px;
    display: block;
    width: 100%;
    transition: background-color var(--transition-speed);
}

.mobile-nav a:hover {
    background-color: var(--border-color);
    color: var(--primary-color);
}

.mobile-cta {
    text-align: center;
    margin-top: 30px;
}

/* Hamburger animation for open state */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 5. Hero Section */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 120px) 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 10%;
    right: 10%;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #4f46e5;
    top: 50%;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/* 6. 3D Cube Animation */
.hero-3d-visual {
    perspective: 1000px;
}

.cube-container {
    width: 300px;
    height: 300px;
    position: relative;
    margin: 0 auto;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.face.front {
    transform: rotateY(0deg) translateZ(150px);
}

.face.back {
    transform: rotateY(180deg) translateZ(150px);
}

.face.right {
    transform: rotateY(90deg) translateZ(150px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.face.top {
    transform: rotateX(90deg) translateZ(150px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

/* 7. Services Section */
.services-section {
    background-color: var(--bg-dark-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-dark);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--primary-color), transparent 30%);
    animation: rotate-border 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    z-index: 1;
}


.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
    min-height: 100px;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
}

/* 8. Process Section (Timeline) */
.process-section {
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.process-step-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step-container.left {
    left: 0;
}

.process-step-container.right {
    left: 50%;
}

.process-step {
    padding: 30px;
    background-color: var(--bg-dark-accent);
    border-radius: var(--border-radius);
    position: relative;
    border: 1px solid var(--border-color);
}

.process-step-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-dark);
    border: 4px solid var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}

.process-step-container.right::after {
    left: -10px;
}

.process-icon {
    position: absolute;
    top: -20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--border-color);
    z-index: -1;
    opacity: 0.5;
}

.process-step-container.left .process-icon {
    left: 20px;
}

.process-step-container.right .process-icon {
    right: 20px;
}


/* 9. Interactive Report Section */
.report-section {
    background-color: var(--bg-dark-accent);
}

.report-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dashboard-window {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.dashboard-header {
    display: flex;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-header span:nth-child(1) {
    background-color: #ff5f56;
}

.dashboard-header span:nth-child(2) {
    background-color: #ffbd2e;
}

.dashboard-header span:nth-child(3) {
    background-color: #27c93f;
}

.dashboard-body {
    padding-top: 20px;
}

.chart-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    margin: 20px 0;
    border-bottom: 2px solid var(--border-color);
}

.chart-bar {
    width: 15%;
    background: linear-gradient(0deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    height: 0;
    transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.report-visual.visible .chart-bar {
    height: var(--height);
}

.chart-bar::after {
    content: var(--label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
}


.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.kpi-card {
    background-color: var(--bg-dark-accent);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.kpi-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.kpi-value:first-letter {
    color: var(--primary-color);
}

.kpi-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* 10. Industries Section (Tabs) */
.industries-tabs {
    background: var(--bg-dark-accent);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 15px 25px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-speed);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

/* 11. Testimonials Section (Slider) */
.testimonials-section {
    background: var(--bg-dark-accent);
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-dark);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 200px;
    /* Adjust based on content */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s 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: 20px;
    text-align: center;
}

.testimonial-author {
    text-align: center;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

.author-title {
    color: var(--text-muted);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 100px);
    left: -50px;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background: var(--bg-dark-accent);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}


/* 12. CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 14, 26, 0.8), rgba(10, 14, 26, 0.8));
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 13. Footer */
.site-footer {
    background-color: var(--bg-dark-accent);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo img {
    height: 50px;
    filter: invert(1);
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col.contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col.contact strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
}

.legal-links a {
    color: var(--text-muted);
    margin-left: 20px;
}

.legal-links a:hover {
    color: var(--primary-color);
}


/* 14. Page-Specific Styles (Contact, Legal) */
.page-header {
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark-accent) 0%, var(--bg-dark) 100%);
}

.page-header .page-title {
    font-size: 3rem;
}

.page-header .page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.animate-on-load {
    animation: fadeInUp 1s ease-out;
}

.contact-section {
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--bg-dark-accent);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-details strong {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details span {
    color: var(--text-muted);
}

.contact-map {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-map iframe {
    filter: invert(90%) hue-rotate(180deg);
}

.legal-content {
    padding-bottom: 80px;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-text ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

/* 15. Forms */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-family);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.2);
}

.contact-form textarea {
    resize: vertical;
}

/* 16. Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1) rotate(15deg);
}

.chat-button svg {
    width: 30px;
    height: 30px;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--bg-dark-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--bg-dark);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.chat-message.received p {
    background-color: var(--border-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    display: inline-block;
    max-width: 80%;
}

.chat-footer {
    padding: 10px;
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: none;
    color: var(--text-light);
    padding: 0 10px;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.chat-footer button svg {
    width: 24px;
    height: 24px;
}


/* 17. Animation Keyframes & Scroll Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
[data-animation] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

[data-animation="slide-in-left"] {
    transform: translateX(-50px);
}

[data-animation="slide-in-right"] {
    transform: translateX(50px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: var(--delay, 0s);
}

/* 18. Media Queries (Responsiveness) */

/* Tablets */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-3d-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .report-content {
        grid-template-columns: 1fr;
    }

    .report-text {
        text-align: center;
    }

    .report-visual {
        margin-top: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 60px 0;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cube-container {
        width: 200px;
        height: 200px;
    }

    .cube .face {
        width: 200px;
        height: 200px;
        font-size: 1.5rem;
    }

    .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);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-description {
        min-height: auto;
    }

    .timeline-line {
        left: 20px;
    }

    .process-step-container {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .process-step-container.right {
        left: 0;
    }

    .process-step-container::after {
        left: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 15px;
    }

    .legal-links a {
        margin: 0 10px;
    }

    .slider-controls {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .testimonial-slider-container {
        padding: 40px 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}