/*
Theme: Quantum Weave
Description: A futuristic, professional theme for a digital marketing agency.
*/

/* -------------------
   1. CSS Variables
   ------------------- */
:root {
    --primary-color: #00e5ff;
    --secondary-color: #9c27b0;
    --dark-bg: #0d0f25;
    --light-bg: #14183a;
    --darker-bg: #070814;
    --text-color: #e0e0e0;
    --light-text-color: #a0a8c4;
    --white-color: #ffffff;
    --glow-color: rgba(0, 229, 255, 0.6);
    --border-color: rgba(0, 229, 255, 0.2);

    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --section-padding: 100px 0;
}

/* -------------------
   2. Reset & Base Styles
   ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--white-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--white-color);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* -------------------
   3. Header & Navigation
   ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(13, 15, 37, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(7, 8, 20, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 60px;
    filter: invert(1);
    transition: transform var(--transition-speed) ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white-color);
    transition: all 0.3s ease-in-out;
}

/* -------------------
   4. Buttons & Reusable Components
   ------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--white-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-glow {
    box-shadow: 0 0 15px var(--glow-color), 0 0 25px var(--glow-color);
}

.btn-primary.btn-glow:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.6);
}

.section-header {
    margin-bottom: 50px;
}

.section-header .subtitle {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* -------------------
   5. Hero Section
   ------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 15, 37, 0.3) 0%, rgba(13, 15, 37, 0.9) 80%, var(--dark-bg) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--glow-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse span {
    position: absolute;
    display: block;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 8px;
    transform: translateX(-50%);
    background: var(--primary-color);
    border-radius: 4px;
    animation: scroll-wheel 1.5s infinite ease-out;
}

@keyframes scroll-wheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* -------------------
   6. Services Section
   ------------------- */
.services-section {
    background-color: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.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 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card-inner {
    background: var(--light-bg);
    position: relative;
    z-index: 1;
    padding: 1px;
    /* to prevent collapsing */
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-color);
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    color: var(--light-text-color);
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
}

.service-link i {
    transition: transform var(--transition-speed) ease;
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* -------------------
   7. About Section
   ------------------- */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-column {
    flex: 1;
    perspective: 1000px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image-wrapper:hover {
    transform: rotateY(0) rotateX(0);
}

.about-image-wrapper img {
    border-radius: var(--border-radius);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(0, 229, 255, 0.2));
    mix-blend-mode: overlay;
}

.about-content-column {
    flex: 1;
}

.about-features {
    margin-top: 30px;
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* -------------------
   8. Testimonials Section
   ------------------- */
.testimonials-section {
    background: var(--darker-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-quote p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author h4 {
    margin-bottom: 0;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

/* -------------------
   9. Industries Section
   ------------------- */
.industry-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.industry-icon-item {
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.industry-icon-item i {
    font-size: 3.5rem;
    color: var(--light-text-color);
    transition: all var(--transition-speed) ease;
    margin-bottom: 15px;
}

.industry-icon-item span {
    display: block;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.industry-icon-item:hover {
    transform: translateY(-10px);
}

.industry-icon-item:hover i {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--glow-color);
}

.industry-icon-item:hover span {
    color: var(--primary-color);
}

/* -------------------
   10. CTA Section
   ------------------- */
.cta-section {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?q=80&w=1949&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(13, 15, 37, 0.95), rgba(20, 24, 58, 0.85));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
}

/* -------------------
   11. Footer
   ------------------- */
.footer {
    background-color: var(--darker-bg);
    padding: 80px 0 0;
    position: relative;
}

.footer-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-about .footer-logo img {
    height: 60px;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--light-text-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--light-text-color);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-legal {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-legal a {
    color: var(--light-text-color);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* -------------------
   12. Utility Widgets
   ------------------- */
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--white-color);
    transform: scale(1.1);
}

/* Live Chat */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1001;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--white-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
    transition: transform 0.2s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-window {
    width: 350px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 15px;
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.chat-header h4 {
    font-size: 1rem;
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
}

.message.received p {
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    display: inline-block;
    max-width: 80%;
}

.chat-footer {
    padding: 15px;
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-color);
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
}

/* -------------------
   13. Inner Pages (Contact, Legal)
   ------------------- */
.page-header {
    padding: 180px 0 100px;
    background: var(--darker-bg);
    position: relative;
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, var(--light-bg) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--secondary-color) 0%, transparent 30%);
    opacity: 0.1;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
}

/* Contact Page */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-block {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-text h4 {
    margin-bottom: 5px;
}

.info-text p {
    margin-bottom: 0;
}

.contact-form-block {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Legal Pages */
.legal-content .content-wrapper {
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.legal-content p,
.legal-content li {
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

/* -------------------
   14. Responsiveness
   ------------------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        gap: 30px;
        padding-top: 50px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-container {
        flex-direction: column;
    }

    .about-image-wrapper {
        transform: rotateY(0) rotateX(0);
        margin-bottom: 30px;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .live-chat-widget {
        left: 20px;
        bottom: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        bottom: 90px;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .header-actions .btn {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}