/*
================================================================================
TABLE OF CONTENTS
================================================================================
1.  ROOT VARIABLES & RESET
2.  GENERAL STYLES & TYPOGRAPHY
3.  UTILITY CLASSES (Container, Buttons)
4.  HEADER & NAVIGATION
    - Desktop Header
    - Mobile Toggle
    - Mobile Navigation
5.  FOOTER
6.  PAGE-SPECIFIC BASE STYLES
    - Home Page
    - Subpages (Legal, Contact)
7.  PAGE SECTIONS (INDEX.HTML)
    - Hero Section
    - Services Section
    - About Section
    - Interactive (ROI Calculator) Section
    - Testimonials Section
    - Industries Section
    - CTA Section
8.  PAGE SECTIONS (OTHER PAGES)
    - Page Header
    - Contact Page
    - Legal Pages (Content Wrapper)
9.  INTERACTIVE ELEMENTS
    - 3D Effects
    - Popup
    - Live Chat Widget
10. ANIMATIONS & KEYFRAMES
11. RESPONSIVE MEDIA QUERIES
    - Laptops & Large Tablets (~1200px)
    - Tablets (~992px)
    - Mobile Devices (~768px)
================================================================================
*/


/* 1. ROOT VARIABLES & RESET
-------------------------------------------------- */
:root {
    --primary-color: #6a40e4;
    --secondary-color: #00d1ff;
    --dark-bg: #0a0c1f;
    --dark-bg-2: #12142a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-light: #e0e0e0;
    --text-medium: #a0a3c4;
    --text-dark: #1e2038;
    --white: #ffffff;
    --header-height: 80px;
    --font-family: 'Poppins', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-medium);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}

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;
}


/* 2. UTILITY CLASSES
-------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #5932c9;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 64, 228, 0.3);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.section-header {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}


/* 3. HEADER & NAVIGATION
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
    padding: 0 20px;
}

.header.scrolled {
    background-color: rgba(10, 12, 31, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--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: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.4s ease;
    position: absolute;
}

.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);
}

.mobile-nav-open .bar-middle {
    opacity: 0;
}

.mobile-nav-open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-bg-2);
    z-index: 999;
    padding-top: var(--header-height);
    transition: right var(--transition-slow);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 2rem;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
}

.mobile-nav .btn {
    margin-top: 1rem;
}


/* 4. FOOTER
-------------------------------------------------- */
.footer {
    background-color: var(--dark-bg-2);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    bottom: -200px;
    left: -100px;
    filter: blur(100px);
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: -150px;
    right: -100px;
    filter: blur(100px);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-medium);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-medium);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info li a {
    color: var(--text-medium);
}

.contact-info li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}


/* 5. PAGE-SPECIFIC BASE STYLES
-------------------------------------------------- */
.home-page main {
    padding-top: var(--header-height);
}

.subpage main {
    padding-top: var(--header-height);
}


/* 6. PAGE SECTIONS (INDEX.HTML)
-------------------------------------------------- */
/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-background-shapes .shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -10%;
    left: -15%;
    animation: move-blob 15s infinite alternate;
}

.hero-background-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -10%;
    right: -10%;
    animation: move-blob 20s infinite alternate-reverse;
}

.hero-background-shapes .shape-3 {
    width: 300px;
    height: 300px;
    background: #ff57bf;
    bottom: 20%;
    left: 10%;
    animation: move-blob 18s infinite alternate;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-tag {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin: 1.5rem 0 2.5rem;
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-3d {
    perspective: 1500px;
}

.hero-image-3d img {
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotateX(10deg) rotateY(-20deg) rotateZ(5deg);
    transition: transform 1s ease;
}

.hero-image-3d:hover img {
    transform: rotate(0);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--dark-bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color), transparent, transparent);
    transform: scale(0);
    transition: transform 0.7s ease;
    opacity: 0.2;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scale(3);
}

.service-card-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.card-title {
    margin-bottom: 1rem;
}

.card-description {
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 600;
    color: var(--secondary-color);
}

.card-link i {
    transition: transform var(--transition-fast);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 64, 228, 0.3), rgba(0, 209, 255, 0.3));
    mix-blend-mode: hard-light;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-features {
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--secondary-color);
    margin-top: 5px;
}

/* Interactive ROI Calculator Section */
.interactive-section {
    padding: 6rem 0;
    background-color: var(--dark-bg-2);
}

.interactive-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4e29b4 100%);
    border-radius: 20px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.calculator-form input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
}

.calculator-result {
    margin-top: 2rem;
    text-align: center;
}

.calculator-result h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

#roi-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Adjust height as needed */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-slide .fa-quote-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-light);
}

.author-company {
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Industries Section */
.industries-section {
    padding: 6rem 0;
    background-color: var(--dark-bg-2);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-fast);
}

.industry-item:hover {
    transform: translateY(-8px);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.industry-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

.industry-item h3 {
    font-size: 1.1rem;
}

.industry-item:hover i,
.industry-item:hover h3 {
    color: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-wrapper {
    background: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDE1fHxkaWdpdGFsJTIwYmFja2dyb3VuZHxlbnwwfHx8fDE2NzEwMTg1MzA&ixlib=rb-4.0.3&q=80&w=1200') no-repeat center center/cover;
    padding: 5rem 3rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(10, 12, 31, 0.8);
}

.cta-content,
.cta-action {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* 7. PAGE SECTIONS (OTHER PAGES)
-------------------------------------------------- */
/* Page Header */
.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background-color: var(--dark-bg-2);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--text-medium);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.breadcrumbs span {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Page */
.contact-page-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--dark-bg-2);
    padding: 3rem;
    border-radius: 15px;
}

.contact-info-block h3 {
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-methods li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.contact-methods h4 {
    margin-bottom: 0.3rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-family);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 64, 228, 0.3);
}

.contact-form .full-width {
    width: 100%;
    margin-top: 1rem;
}

/* Legal Pages */
.page-content {
    padding: 4rem 0 6rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-bg-2);
    padding: 3rem;
    border-radius: 15px;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* 8. INTERACTIVE ELEMENTS
-------------------------------------------------- */
/* 3D Service Card Tilt Effect */
.service-card[data-tilt] {
    transform-style: preserve-3d;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 31, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--dark-bg-2);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-fast);
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.popup-close {
    margin-top: 2rem;
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--dark-bg-2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all var(--transition-fast);
}

.chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background-color: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--white);
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 150px;
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    width: 100%;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 5px;
    color: var(--white);
}


/* 9. ANIMATIONS & KEYFRAMES
-------------------------------------------------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes move-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, -50px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}


/* 10. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
/* Laptops & Large Tablets (~1200px) */
@media (max-width: 1200px) {
    .hero .container {
        gap: 2rem;
    }
}

/* Tablets (~992px) */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-3d img {
        transform: rotateX(5deg) rotateY(0deg) rotateZ(0deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .interactive-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile Devices (~768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .interactive-wrapper,
    .contact-wrapper,
    .content-wrapper {
        padding: 2rem;
    }

    .interactive-wrapper {
        text-align: center;
    }

    .slider-controls {
        padding: 0;
        bottom: -60px;
        top: auto;
        justify-content: center;
        gap: 1rem;
    }

    .testimonial-slider-wrapper {
        padding-bottom: 60px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links,
    .contact-info li {
        justify-content: center;
    }

    .contact-info li {
        text-align: left;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}