/*
* Digital Marketing Agency Website Stylesheet
*
* Table of Contents:
* 1.  :root & Global Variables
* 2.  Base & Reset Styles
* 3.  Typography & Utility Classes
* 4.  Header & Navigation
* 5.  Mobile Navigation
* 6.  Hero Section & 3D Cube Animation
* 7.  Services Section & 3D Flip Cards
* 8.  Testimonials Section & Slider
* 9.  Industries Section
* 10. Calculator Section
* 11. Footer
* 12. Contact Page Styles
* 13. Legal Page Styles
* 14. Live Chat Widget
* 15. Animations & Scroll Effects
* 16. Responsive Design (Media Queries)
*/

/* 1. :root & Global Variables */
:root {
    --primary-color: #00aaff;
    /* A vibrant, professional blue */
    --secondary-color: #00f0c0;
    /* A bright teal/mint for accents */
    --dark-bg: #121828;
    /* Deep navy blue background */
    --light-bg: #1a2238;
    /* Slightly lighter bg for cards/sections */
    --text-color: #e0e0e0;
    /* Light gray for body text */
    --heading-color: #ffffff;
    /* White for headings */
    --border-color: #2a3457;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s ease;
}

/* 2. Base & Reset Styles */
*,
*::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(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

main {
    padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

/* 3. Typography & Utility Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #a0a8c3;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 240, 192, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.highlight {
    color: var(--secondary-color);
}

.text-light {
    color: #fff !important;
}

/* 4. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 24, 40, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-speed);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    height: 70px;
    background-color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    transition: height var(--transition-speed);
}

.site-header.scrolled .logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--heading-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-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* 5. Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--light-bg);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav a {
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-nav .btn {
    width: 100%;
}

/* Hamburger animation */
.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 6. Hero Section & 3D Cube Animation */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26, 34, 56, 0.8) 0%, var(--dark-bg) 70%);
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+CjxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgZmlsbD0iIzEyMTgyOCI+PC9yZWN0Pgo8cmVjdCB4PSIxNSIgd2lkdGg9IjEiIGhlaWdodD0iMzAiIGZpbGw9InJnYmEoMjYsMzQsNTYsMC4zKSI+PC9yZWN0Pgo8cmVjdCB5PSIxNSIgd2lkdGg9IjMwIiBoZWlnaHQ9IjEiIGZpbGw9InJnYmEoMjYsMzQsNTYsMC4zKSI+PC9yZWN0Pgo8L3N2Zz4=');
    opacity: 0.3;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    letter-spacing: -2px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 2rem auto 3rem;
    color: #a0a8c3;
}

.hero-3d-wrapper {
    position: absolute;
    right: 5%;
    bottom: 10%;
    perspective: 1000px;
}

.scene {
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-60px);
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: rgba(0, 170, 255, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--heading-color);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(60px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(60px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(60px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(60px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(60px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(60px);
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* 7. Services Section & 3D Flip Cards */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.service-card-front {
    justify-content: center;
}

.service-card-back {
    transform: rotateY(180deg);
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), #0077b3);
}

.service-icon {
    margin-bottom: 20px;
    background-color: rgba(0, 170, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
    transition: fill var(--transition-speed);
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon svg {
    fill: #fff;
}

.service-card-front h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card-front p {
    font-size: 0.95rem;
    color: #a0a8c3;
    margin-bottom: 0;
}

.service-card-back h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 25px;
    width: 100%;
    padding-left: 20px;
}

.service-card-back li {
    color: #fff;
    margin-bottom: 8px;
    position: relative;
}

.service-card-back li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: var(--secondary-color);
}

.btn-learn-more {
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: all var(--transition-speed);
}

.btn-learn-more:hover {
    background-color: #fff;
    color: var(--primary-color);
}


/* 8. Testimonials Section & Slider */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 250px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(20px);
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--heading-color);
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-quote::before {
    top: -10px;
    left: 0;
}

.testimonial-quote::after {
    bottom: -30px;
    right: 0;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    margin: 0;
}

.testimonial-author span {
    color: #a0a8c3;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.slider-controls button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* 9. Industries Section */
.industries-section {
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-item {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.industry-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.industry-item p {
    margin-bottom: 0;
    color: #a0a8c3;
}

/* 10. Calculator Section */
.calculator-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    background: var(--dark-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-content h2 {
    font-size: 2rem;
}

.calculator-content p {
    color: #a0a8c3;
}

.calculator-form .form-group {
    margin-bottom: 25px;
}

.calculator-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.calculator-form input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--light-bg);
    border-radius: 5px;
    outline: none;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition-speed);
}

.calculator-form input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--secondary-color);
}

.calculator-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.calculator-results {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.calculator-results h3 {
    margin-bottom: 15px;
}

.calculator-results p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.calculator-results span {
    font-weight: 700;
    color: var(--heading-color);
}

.calculator-results #est-roas {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* 11. Footer */
.site-footer-main {
    background-color: #0c101c;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col.about p {
    color: #a0a8c3;
}

.footer-col.links ul li {
    margin-bottom: 10px;
}

.footer-col.links a {
    color: #a0a8c3;
    transition: all var(--transition-speed);
}

.footer-col.links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col.contact-info p {
    color: #a0a8c3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-col.contact-info svg {
    fill: var(--primary-color);
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0a8c3;
}

.legal-links ul,
.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #a0a8c3;
}

.legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 12. Contact Page Styles */
.contact-page-section {
    padding: 100px 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    background: var(--light-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
}

.contact-info-container h3 {
    color: var(--secondary-color);
}

.contact-info-container p {
    color: #a0a8c3;
}

.contact-details {
    margin: 20px 0;
}

.contact-details p {
    font-weight: 500;
}

/* 13. Legal Page Styles */
.legal-page-section {
    padding: 100px 0;
}

.legal-page-section .container {
    max-width: 800px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
}

.legal-page-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.legal-page-section h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page-section p {
    line-height: 1.8;
    color: #a0a8c3;
}

.legal-page-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-page-section li {
    margin-bottom: 0.5rem;
    color: #a0a8c3;
}

/* 14. Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
    transition: all var(--transition-speed);
    transform: scale(1);
}

.chat-bubble:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.chat-bubble svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.4s ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background-color: var(--dark-bg);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    color: #fff;
}

.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

.message p {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    line-height: 1.4;
    margin: 0;
}

.message.received p {
    background-color: var(--dark-bg);
    border-bottom-left-radius: 3px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: var(--dark-bg);
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 15px;
    cursor: pointer;
}

/* 15. Animations & Scroll Effects */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    transform: translateY(20px);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 16. Responsive Design (Media Queries) */

/* Tablet */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-3d-wrapper {
        display: none;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}


/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .services-section,
    .testimonials-section,
    .industries-section,
    .calculator-section,
    .contact-page-section,
    .legal-page-section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col.contact-info p {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-info-container {
        text-align: center;
    }

    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3rem;
    }

    .calculator-wrapper {
        padding: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}