/*
--- ASTRO-RETRO CHRONOSCAPE THEME ---

Colors:
- Indigo: #3F37C9
- Neon Pink: #F72585
- Soft Yellow: #F4E409
- Dark BG: #1a1a2e
- Light Text: #e0e0fc
- Lighter BG: #16213e
- Accent BG: #0f3460
*/

/* 1. CSS Variables & Global Styles
-------------------------------------------------- */
:root {
    --color-indigo: #3F37C9;
    --color-neon-pink: #F72585;
    --color-soft-yellow: #F4E409;
    --color-dark-bg: #1a1a2e;
    --color-dark-bg-transparent: rgba(26, 26, 46, 0.95);
    --color-light-bg: #16213e;
    --color-accent-bg: #0f3460;
    --color-text-light: #e0e0fc;
    --color-text-medium: #a7a7d1;
    --color-text-dark: #1a1a2e;
    --color-border: rgba(247, 37, 133, 0.2);
    --font-primary: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
}

a {
    color: var(--color-neon-pink);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-soft-yellow);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.subpage section:not(.page-header) {
    padding: 60px 0;
}


/* 2. Header & Navigation
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--color-dark-bg-transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(22, 33, 62, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 80px;
    filter: invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-neon-pink);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}


/* Header Actions & Mobile Toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: transform 0.4s ease, top 0.2s ease 0.2s, bottom 0.2s ease 0.2s;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav.open .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: top 0.2s ease, transform 0.4s ease 0.2s;
}

.mobile-nav.open .bar-middle {
    transform: scaleX(0);
}

.mobile-nav.open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    transition: bottom 0.2s ease, transform 0.4s ease 0.2s;
}


/* Mobile Navigation Panel */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-light-bg);
    z-index: 999;
    padding: 120px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav nav ul li a {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-nav .btn {
    margin-top: 20px;
    width: 100%;
}


/* 3. Reusable Components (Buttons, Forms)
-------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--color-neon-pink);
    color: #fff;
    border-color: var(--color-neon-pink);
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.5);
}

.btn-primary:hover {
    background-color: #d91c71;
    border-color: #d91c71;
    box-shadow: 0 0 25px rgba(247, 37, 133, 0.8);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: var(--color-text-medium);
}

.btn-secondary:hover {
    background-color: var(--color-neon-pink);
    border-color: var(--color-neon-pink);
    color: #fff;
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(63, 55, 201, 0.3);
    color: var(--color-soft-yellow);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* 4. Page Specific Sections
-------------------------------------------------- */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--color-border) 1px, transparent 1px), linear-gradient(to right, var(--color-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    animation: pan-grid 60s linear infinite;
}

@keyframes pan-grid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 800px 800px;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-title .highlight {
    color: var(--color-neon-pink);
    text-shadow: 0 0 20px var(--color-neon-pink);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* Stats Section */
.stats-section {
    background-color: var(--color-light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--color-accent-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--color-neon-pink);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-soft-yellow);
    line-height: 1;
}

.stat-label {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: var(--color-text-medium);
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-flip {
    background-color: transparent;
    perspective: 1000px;
    height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card-flip: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;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-front {
    background: linear-gradient(145deg, var(--color-light-bg), var(--color-accent-bg));
}

.service-card-back {
    background: linear-gradient(145deg, var(--color-indigo), var(--color-neon-pink));
    color: white;
    transform: rotateY(180deg);
}

.service-card-back p,
.service-card-back h3 {
    color: white;
}

.service-icon i {
    font-size: 3rem;
    color: var(--color-neon-pink);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--color-neon-pink);
}

.service-card-front h3 {
    margin-bottom: 0.5rem;
}

.service-card-front p {
    font-size: 0.9rem;
}

.btn-card {
    margin-top: 1.5rem;
    padding: 8px 20px;
    background-color: var(--color-soft-yellow);
    color: var(--color-text-dark);
    font-weight: 700;
    border-radius: 5px;
}

.btn-card:hover {
    background-color: #fff;
}


/* GSAP Timeline Section */
.timeline-section {
    padding: 0;
    min-height: 300vh;
}

.timeline-pin {
    height: 100vh;
    overflow: hidden;
    padding: 80px 0;
}

.timeline-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    position: absolute;
    opacity: 0;
    text-align: center;
    max-width: 600px;
}

.decade-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--color-soft-yellow);
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-light-bg);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background-color: var(--color-accent-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-content p::before {
    content: '“';
    font-size: 3rem;
    color: var(--color-neon-pink);
    line-height: 0;
    margin-right: 5px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-neon-pink);
}

.author-info h4 {
    margin-bottom: 0;
    color: #fff;
}

.author-info span {
    color: var(--color-text-medium);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.slider-controls button {
    background-color: var(--color-indigo);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.slider-controls button:hover {
    background-color: var(--color-neon-pink);
}


/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-item {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(145deg, var(--color-light-bg), var(--color-accent-bg));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.industry-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 25px rgba(247, 37, 133, 0.4);
    border-color: var(--color-neon-pink);
}

.industry-item i {
    font-size: 3rem;
    color: var(--color-soft-yellow);
    margin-bottom: 1rem;
}


/* CTA Section */
.cta-section {
    background: var(--color-indigo) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><path fill="%23F72585" opacity="0.1" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-1c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm63 22c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zM34 90c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm56-75c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z"></path></svg>');
    text-align: center;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background-color: var(--color-soft-yellow);
    color: var(--color-text-dark);
    border-color: var(--color-soft-yellow);
    box-shadow: 0 0 20px rgba(244, 228, 9, 0.5);
}

.cta-section .btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
}


/* 5. Subpage Styles (Legal, Contact)
-------------------------------------------------- */

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), var(--color-dark-bg);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--color-neon-pink);
}

.breadcrumbs {
    margin-top: 1rem;
    color: var(--color-text-medium);
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs span {
    color: var(--color-soft-yellow);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-header .section-description {
    margin-top: 1.5rem;
}

/* Legal Page Content */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.content-wrapper h2 {
    margin: 2rem 0 1rem;
    color: var(--color-neon-pink);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--color-light-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-panel h2 {
    color: var(--color-neon-pink);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-indigo);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.method-details p,
.method-details p a {
    margin: 0;
    color: var(--color-text-medium);
}

/* Contact Form */
.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--color-accent-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-neon-pink);
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

.full-width {
    width: 100%;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}


/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 450px;
    border: 1px solid var(--color-border);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-text-medium);
}

.popup-content .fa-check-circle {
    font-size: 4rem;
    color: var(--color-soft-yellow);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

.popup-close-btn {
    margin-top: 1.5rem;
}

/* 6. Footer
-------------------------------------------------- */
.footer {
    background-color: var(--color-light-bg);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes .footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--color-indigo);
    bottom: -150px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--color-neon-pink);
    top: -80px;
    right: -80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-col-title {
    margin-bottom: 1.5rem;
    color: var(--color-soft-yellow);
}

.footer-logo-link img {
    height: 80px;
    filter: invert(1);
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-medium);
}

.social-link:hover {
    background-color: var(--color-neon-pink);
    border-color: var(--color-neon-pink);
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--color-text-medium);
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--color-neon-pink);
    margin-top: 5px;
}

.contact-info a {
    color: var(--color-text-medium);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--color-text-medium);
}


/* 7. Animations & Interactivity
-------------------------------------------------- */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn-up 0.8s ease-out forwards;
}

.animate-on-load:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-on-load:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-on-load:nth-child(3) {
    animation-delay: 0.6s;
}


@keyframes fadeIn-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-indigo);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: var(--color-light-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--color-indigo);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-message.agent p {
    background-color: var(--color-accent-bg);
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
    border-top-left-radius: 3px;
    max-width: 80%;
    color: var(--color-text-light);
}

.chat-footer {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--color-border);
}

.chat-footer input {
    flex-grow: 1;
    background: var(--color-accent-bg);
    border: 1px solid var(--color-border);
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}

.chat-footer button {
    background: var(--color-indigo);
    border: none;
    color: #fff;
    padding: 0 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}


/* 8. Responsive Design
-------------------------------------------------- */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .nav-list {
        display: none;
    }

    .mobile-toggle,
    .mobile-nav {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 600px;
        height: auto;
        padding: 150px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .testimonial-slide {
        padding: 25px;
    }

    .slider-controls {
        padding: 0;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
    }
}