/* Table of Contents
---
1.  :root Variables
2.  Global Resets & Base Styles
3.  Preloader Styles
4.  General Layout & Helpers (Container, Buttons, Forms)
5.  Header & Navigation
6.  Mobile Navigation
7.  Footer
8.  Hero Section
9.  Services Section (3D Cards)
10. About Us Section
11. Industry Section (Tabs)
12. ROI Calculator Section
13. Testimonials Section (Slider)
14. CTA Section
15. Subpage Styles (Legal, Contact)
16. Live Chat Widget
17. Scroll & Animation Effects
18. Responsive Media Queries
--- */

/* 1. :root Variables */
:root {
    --color-primary: #9d4edd;
    --color-secondary: #c71585;
    --color-dark-bg: #0d011f;
    --color-light-bg: #1a0b2e;
    --color-card-bg: #1f0f38;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.1);

    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;

    --header-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --transition-cubic: cubic-bezier(0.68, -0.55, 0.27, 1.55);

    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(157, 78, 221, 0.4);
}

/* 2. Global Resets & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 3. Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo img {
    width: 100px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.preloader-dots {
    display: flex;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-image: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* 4. General Layout & Helpers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: capitalize;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.4s ease;
}

.btn-primary {
    background-image: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

/* 5. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(13, 1, 31, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-medium);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 65px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.35s ease-in-out;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    transform: rotate(45deg);
    top: 9.5px;
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(-45deg);
    bottom: 9.5px;
}

/* 6. Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-light-bg);
    z-index: 999;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav nav ul a {
    font-size: 1.5rem;
    color: var(--color-white);
}

/* 7. Footer */
.footer {
    background-color: var(--color-light-bg);
    padding-top: 80px;
    position: relative;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--color-primary);
    bottom: -150px;
    left: -100px;
}

.footer-shape.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--color-secondary);
    top: -100px;
    right: -80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    height: 65px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about-text {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-image: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-col-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul a {
    color: var(--color-text-muted);
    position: relative;
    padding-left: 15px;
}

.footer-links ul a::before {
    content: '\f054';
    /* FontAwesome chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.footer-links ul a:hover {
    color: var(--color-primary);
    padding-left: 20px;
}

.footer-links ul a:hover::before {
    opacity: 1;
    left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.contact-info li i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 5px;
}

.contact-info a {
    color: var(--color-text-muted);
}

.contact-info a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--color-text-muted);
}

/* 8. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-dark-bg);
    padding-top: var(--header-height);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(157, 78, 221, 0.2);
    top: 10%;
    left: 5%;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(199, 21, 133, 0.15);
    bottom: 15%;
    right: 10%;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(157, 78, 221, 0.1);
    top: 20%;
    right: 20%;
}

.hero-shape.shape-4 {
    width: 250px;
    height: 250px;
    background: rgba(199, 21, 133, 0.1);
    bottom: 5%;
    left: 25%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    perspective: 1500px;
}

.hero-3d-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.hero-3d-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateBox 25s infinite linear;
}

.hero-3d-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(31, 15, 56, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--color-primary);
    backdrop-filter: blur(5px);
}

.front {
    transform: rotateY(0deg) translateZ(150px);
}

.back {
    transform: rotateY(180deg) translateZ(150px);
}

.right {
    transform: rotateY(90deg) translateZ(150px);
}

.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.top {
    transform: rotateX(90deg) translateZ(150px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotateBox {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* 9. Services Section (3D Cards) */
.services-section {
    background-color: var(--color-light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-container {
    perspective: 1000px;
    min-height: 280px;
}

.service-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--transition-cubic);
}

.service-card-container:hover .service-card {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-light);
}

.card-front {
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.card-title {
    margin-bottom: 10px;
}

.card-summary {
    color: var(--color-text-muted);
}

.card-back p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* 10. About Us Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.about-features li i {
    color: var(--color-primary);
}

/* 11. Industry Section (Tabs) */
.industry-section {
    background-color: var(--color-light-bg);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 25px;
    border: 1px solid var(--color-border);
    background-color: transparent;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-button:hover,
.tab-button.active {
    background-image: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
}

.tab-content-wrapper {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    min-height: 150px;
    border: 1px solid var(--color-border);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 12. ROI Calculator Section */
.roi-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.roi-calculator {
    background: var(--color-light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-medium);
}

.roi-calculator .form-group {
    position: relative;
}

.roi-calculator input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--color-dark-bg);
    outline: none;
    border-radius: 5px;
    border: 1px solid var(--color-border);
}

.roi-calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-image: var(--gradient-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.range-value {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 600;
    color: var(--color-primary);
}

.roi-calculator button {
    width: 100%;
    margin-top: 10px;
}

.roi-result {
    margin-top: 30px;
    padding: 20px;
    background: var(--color-dark-bg);
    border-radius: var(--border-radius);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.roi-result.visible {
    opacity: 1;
    transform: translateY(0);
}

.roi-result h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.roi-result span {
    color: var(--color-primary);
    font-weight: 700;
}

.roi-result h4 {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* 13. Testimonials Section (Slider) */
.testimonials-section {
    background-color: var(--color-light-bg);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(20px);
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '\f10d';
    /* quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: -20px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.author-name {
    font-size: 1.1rem;
    color: var(--color-white);
}

.author-title {
    margin: 0;
    color: var(--color-text-muted);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 40px);
    left: 20px;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* 14. CTA Section */
.cta-section {
    background-image: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-content .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.cta-content .btn-primary:hover {
    background: var(--color-dark-bg);
    color: var(--color-white);
}

/* 15. Subpage Styles (Legal, Contact) */
.subpage .header {
    position: sticky;
}

.page-header {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-light-bg);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 25px;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-section {
    padding-top: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--color-light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-info-panel {
    padding: 40px;
    background-image: var(--gradient-primary);
}

.contact-info-panel h2 {
    margin-bottom: 1rem;
}

.contact-info-panel p {
    color: var(--color-white);
    opacity: 0.9;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-white);
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details p,
.method-details a {
    color: var(--color-white);
    margin: 0;
}

.contact-form-wrapper {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-text-muted);
}

.popup-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup-close-btn {
    margin-top: 1.5rem;
}

/* 16. Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

/* 17. Scroll & Animation Effects */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.services-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.services-grid .animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.services-grid .animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* 18. Responsive Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 80px 0;
    }

    .nav-list {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        margin: 1.5rem auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .roi-container {
        grid-template-columns: 1fr;
    }

    .roi-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls {
        display: none;
    }

    /* Hide arrows on mobile, rely on swipe/auto */

    .footer-top {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}