/*
* Digital Marketing Agency Website Stylesheet
*
* Table of Contents:
* 1.  Global Styles & Variables
* 2.  Utility Classes
* 3.  Keyframe Animations
* 4.  Header & Navigation
* 5.  Mobile Navigation
* 6.  Footer
* 7.  Buttons & Forms
* 8.  Hero Section
* 9.  Services Section (3D Cards)
* 10. About Us Section (Counters)
* 11. Industry Section (Slider)
* 12. Testimonials Section (Carousel)
* 13. ROI Calculator Section
* 14. CTA Section
* 15. Subpage & Legal Page Styles
* 16. Contact Page Styles
* 17. Popup Styles
* 18. Live Chat Widget
* 19. Responsive Design (Media Queries)
*/

/* 1. Global Styles & Variables
--------------------------------------------- */
:root {
    --primary-dark: #0F172A;
    --secondary-dark: #1E293B;
    --accent-blue: #3B82F6;
    --accent-hover: #2563EB;
    --accent-pink: #EC4899;
    --text-light: #F1F5F9;
    --text-muted: #94A3B8;
    --border-color: #334155;
    --success-color: #22c55e;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

/* 2. Utility Classes
--------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.section-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Keyframe Animations
--------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* 4. Header & Navigation
--------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    height: 80px;
    transition: var(--transition);
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.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-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

/* Mobile Toggle Active State */
.mobile-toggle.active .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* 5. Mobile Navigation
--------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--secondary-dark);
    z-index: 999;
    padding: 120px 40px 40px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav ul li a {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 500;
}

.mobile-nav ul li:last-child {
    margin-top: 20px;
}

/* Body class when mobile nav is open */
.no-scroll {
    overflow: hidden;
}


/* 6. Footer
--------------------------------------------- */
.footer {
    background-color: var(--primary-dark);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -150px;
    left: -150px;
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    top: -100px;
    right: -100px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col {
    z-index: 1;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-dark);
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-blue);
    transform: translateY(-5px);
}

.footer-col-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    position: relative;
}

.footer-links ul li a:hover {
    color: var(--text-light);
    padding-left: 10px;
}

.footer-links ul li a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -5px;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent-blue);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -2px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--accent-blue);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-muted);
}

.contact-info a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 7. Buttons & Forms
--------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary.header-cta.active,
.btn-primary.header-cta:hover {
    animation: pulse 1.5s infinite;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.btn-tertiary {
    background: transparent;
    color: #fff;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* 8. Hero Section
--------------------------------------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, var(--secondary-dark) 0%, var(--primary-dark) 70%);
}

.particle {
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    animation: float 20s infinite ease-in-out;
}

.hero-background .particle:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.hero-background .particle:nth-child(2) {
    width: 50px;
    height: 50px;
    left: 80%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 30s;
}

.hero-background .particle:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 20%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.hero-background .particle:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 90%;
    top: 80%;
    animation-delay: 1s;
    animation-duration: 35s;
}

.hero-background .particle:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 50%;
    top: 10%;
    animation-delay: 3s;
    animation-duration: 28s;
}


.hero-content {
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.highlight-container {
    position: relative;
    display: inline-block;
}

.highlight-text {
    color: var(--accent-blue);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 9. Services Section
--------------------------------------------- */
.services-section {
    background-color: var(--secondary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 300px;
    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;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.service-card-front {
    background-color: var(--primary-dark);
}

.service-card-back {
    background-color: var(--accent-blue);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card-back h3 {
    margin-bottom: 1rem;
}

.service-card-back p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-card-back .btn-tertiary {
    border-color: #fff;
}

.service-card-back .btn-tertiary:hover {
    background-color: #fff;
    color: var(--accent-blue);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-desc {
    color: var(--text-muted);
}


/* 10. About Us Section
--------------------------------------------- */
.about-section {
    background: var(--primary-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-list {
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    align-items: center;
}

.about-list i {
    color: var(--accent-pink);
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    background-color: var(--secondary-dark);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-blue);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
    display: inline;
}

.stat-card:nth-child(3) .stat-number::after {
    content: '%';
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}


/* 11. Industry Section
--------------------------------------------- */
.industry-section {
    background-color: var(--secondary-dark);
    overflow: hidden;
}

.industry-slider {
    display: flex;
    width: calc(200px * 14);
    /* 7 slides duplicated for seamless loop */
    animation: scroll 40s linear infinite;
}

.industry-slide {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
    background: var(--primary-dark);
    margin: 0 15px;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.industry-slide:hover {
    transform: translateY(-10px);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.industry-slide i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    transition: var(--transition);
}

.industry-slide:hover i {
    color: var(--accent-pink);
}

.industry-slide h4 {
    font-weight: 500;
    font-size: 1.1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 7));
    }
}

/* 12. Testimonials Section
--------------------------------------------- */
.testimonials-section {
    background: var(--primary-dark);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    height: 300px;
    /* Adjust as needed */
    overflow: hidden;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-controls button {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.slider-controls button:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* 13. ROI Calculator Section
--------------------------------------------- */
.roi-section {
    background-color: var(--secondary-dark);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--primary-dark);
    padding: 60px;
    border-radius: var(--border-radius);
}

.report-preview {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.report-preview i {
    font-size: 3rem;
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

.report-preview .btn-tertiary {
    margin-top: 1rem;
    border-style: solid;
}

.roi-calculator {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: var(--border-radius);
}

.roi-calculator h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.roi-calculator .form-group span {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--accent-blue);
}

.roi-calculator input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--primary-dark);
    outline: none;
    border-radius: 5px;
}

.roi-calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-pink);
    cursor: pointer;
    border-radius: 50%;
}

.roi-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.roi-results h4 {
    color: var(--text-muted);
    font-weight: 500;
}

.roi-results p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* 14. CTA Section
--------------------------------------------- */
.cta-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://via.placeholder.com/1920x600') no-repeat center center/cover;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}


/* 15. Subpage & Legal Page Styles
--------------------------------------------- */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: var(--secondary-dark);
}

.page-header .page-subtitle {
    max-width: 700px;
    margin: 1rem auto 0;
}

.page-header h1.animate-on-load {
    animation: fadeIn 1s ease-out;
}

.page-header p.animate-on-load,
.page-header .breadcrumbs {
    animation: fadeIn 1s 0.3s ease-out both;
}

.breadcrumbs {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

/* 16. Contact Page Styles
--------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--secondary-dark);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-info-panel {
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: center;
}

.method-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.method-details h3 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.method-details p,
.method-details p a {
    color: var(--text-muted);
    margin: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

/* 17. Popup Styles
--------------------------------------------- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--secondary-dark);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.popup-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content .btn {
    margin-top: 1.5rem;
}

/* 18. Live Chat Widget
--------------------------------------------- */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.chat-toggle .fa-times {
    display: none;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--secondary-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.live-chat-widget.open .chat-toggle .fa-comments {
    display: none;
}

.live-chat-widget.open .chat-toggle .fa-times {
    display: block;
}

.live-chat-widget.open .chat-window {
    transform: scale(1);
}

.chat-header {
    background: var(--primary-dark);
    padding: 15px;
    text-align: center;
}

.chat-header h3 {
    font-size: 1.1rem;
}

.chat-header p {
    font-size: 0.8rem;
    margin: 0;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-message {
    background: var(--primary-dark);
    padding: 10px 15px;
    border-radius: 15px;
    display: inline-block;
    max-width: 80%;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.chat-message.bot {
    border-bottom-left-radius: 2px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: transparent;
    color: var(--text-light);
    outline: none;
    padding: 0 10px;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 1.2rem;
    cursor: pointer;
}


/* 19. Responsive Design
--------------------------------------------- */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-content,
    .roi-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        border-right: none;
        padding-right: 0;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-links ul li a:hover {
        padding-left: 0;
    }

    .footer-links ul li a::before {
        display: none;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-window {
        width: calc(100vw - 40px);
    }

    .roi-wrapper {
        padding: 30px;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-slider {
        height: auto;
    }

    .testimonial-card {
        position: relative;
        opacity: 1;
        transform: scale(1);
        margin-bottom: 20px;
    }
}