/* Table of Contents
--------------------
1.  Global Styles & Variables
2.  Typography
3.  Layout & Container
4.  Header & Navigation
5.  Footer
6.  Buttons & CTA
7.  Hero Section
8.  Page Hero (for inner pages)
9.  Services Section
10. About Us Section
11. Interactive Calculator Section
12. Industries Section
13. Testimonials Section
14. CTA Section
15. Contact Page Styles
16. Legal Page Styles
17. Animations & Scroll Effects
18. 3D Elements
19. Live Chat Widget
20. Responsive Design (Media Queries)
-------------------- */

/* 1. Global Styles & Variables
--------------------------------------------- */
:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #00f5d4;
    --text-light: #e0e1dd;
    --text-dark: #0d1b2a;
    --background-light: #f8f9fa;
    --background-dark: var(--primary-color);
    --border-color: #415a77;
    --font-primary: 'Poppins', sans-serif;
    --header-height: 80px;
}

/* A modern reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary), Arial, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Adding a subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    opacity: 0.05;
    z-index: -2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* 2. Typography
--------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    max-width: 70ch;
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.dark-bg .section-title p,
.dark-bg p {
    color: var(--text-light);
    opacity: 0.8;
}

/* 3. Layout & Container
--------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.light-bg {
    background-color: #eef2f5;
}

/* 4. Header & Navigation
--------------------------------------------- */
#main-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.4s ease-in-out;
}

#main-header.scrolled {
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    height: 70px;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

#main-nav ul {
    display: flex;
    gap: 30px;
}

#main-nav a {
    color: var(--text-light);
    font-weight: 400;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

#main-nav a:hover,
#main-nav a.active {
    color: #fff;
}

#main-nav a:hover::after,
#main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

#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;
}

/* 5. Footer
--------------------------------------------- */
#main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-column.about p {
    opacity: 0.8;
}

.footer-column.links ul li {
    margin-bottom: 10px;
}

.footer-column.links a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-column.links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-column.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-column.contact-info svg {
    fill: var(--accent-color);
    min-width: 20px;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    opacity: 0.7;
}

/* 6. Buttons & CTA
--------------------------------------------- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.cta-button:hover {
    color: #fff;
    border-color: var(--accent-color);
}

.cta-button:hover::before {
    transform: translateY(0);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

.header-cta {
    padding: 10px 25px;
}

/* 7. Hero Section
--------------------------------------------- */
#hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: calc(var(--header-height) + 120px) 0 120px;
    position: relative;
    overflow: hidden;
}

#hero .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 55ch;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 15%;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 40%;
    animation: float 8s ease-in-out infinite;
}

.shape-4 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 5%;
    animation: float 15s ease-in-out infinite reverse;
}


/* 8. Page Hero (for inner pages)
--------------------------------------------- */
#page-hero {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
}

#page-hero p {
    max-width: 100%;
    opacity: 0.8;
}

/* 9. Services Section
--------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 10. About Us Section
--------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    perspective: 1000px;
}

.image-placeholder {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.about-container:hover .image-placeholder {
    transform: rotateY(0) rotateX(0);
}


.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.feature-item h4 {
    margin-bottom: 5px;
    color: #fff;
}

.feature-item p {
    margin: 0;
    opacity: 0.7;
}

/* 11. Interactive Calculator Section
--------------------------------------------- */
.calculator-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.calculator-form select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: var(--font-primary);
}

#calculate-btn {
    width: 100%;
}

.calculator-result {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid var(--accent-color);
}

.calculator-result h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* 12. Industries Section
--------------------------------------------- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.industry-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* 13. Testimonials Section
--------------------------------------------- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 50px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    top: -10px;
    left: -10px;
}

.testimonial-quote::after {
    bottom: -30px;
    right: -10px;
}

.testimonial-author h4 {
    margin: 0;
    color: #fff;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* 14. CTA Section
--------------------------------------------- */
#cta {
    background-color: var(--secondary-color);
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
}

#cta h2 {
    color: #fff;
}

.cta-large {
    margin-top: 30px;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* 15. Contact Page Styles
--------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.3);
}

.form-group .error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
}

#form-success-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 5px;
    border-left: 4px solid #4caf50;
}

.contact-details-wrapper h2 {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon svg {
    fill: var(--accent-color);
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: #666;
}

/* 16. Legal Page Styles
--------------------------------------------- */
.legal-content {
    background: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: #333;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* 17. Animations & Scroll Effects
--------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 0;
}

.fade-in.in-view {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-up {
    transform: translateY(50px);
}

.slide-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    transform: translateX(50px);
}

.slide-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.9);
}

.zoom-in.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* Note: inline styles for animation-delay are more specific and will override this */

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

/* 18. 3D Elements
--------------------------------------------- */
.hero-3d-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: spin 20s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(27, 38, 59, 0.8);
    border: 2px solid var(--accent-color);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes spin {
    from {
        transform: rotateY(0deg) rotateX(0deg);
    }

    to {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

/* 19. Live Chat Widget
--------------------------------------------- */
#live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#chat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#chat-icon:hover {
    transform: scale(1.1);
}

#chat-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
}

#chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: 90vw;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: bottom right;
    transform: scale(0.95);
    opacity: 0;
}

#chat-window.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

#chat-window:not(.hidden) {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
}

#close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message.bot p {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    display: inline-block;
    max-width: 85%;
    margin: 0;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-option {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-option:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.chat-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #eee;
    background: var(--background-light);
}

.chat-footer a {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* 20. Responsive Design
--------------------------------------------- */
@media (max-width: 1024px) {
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-3d-graphic {
        margin-top: 50px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    #main-nav {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    #main-nav.active {
        display: flex;
        transform: translateY(0);
    }

    #main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    #main-nav a {
        font-size: 1.5rem;
    }

    #hamburger-menu {
        display: block;
    }

    /* Hamburger animation */
    #hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    #hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header-cta {
        display: none;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls button {
        bottom: -60px;
        top: auto;
        transform: none;
    }

    .prev-btn {
        left: 35%;
    }

    .next-btn {
        right: 35%;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column.contact-info p {
        justify-content: center;
        text-align: left;
    }
}