/*
--- TABLE OF CONTENTS ---
1.  GLOBAL STYLES & VARIABLES
2.  GENERAL LAYOUT & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Cards, Forms)
4.  HEADER & NAVIGATION
5.  MOBILE NAVIGATION
6.  HERO SECTION
7.  SERVICES SECTION
8.  ABOUT US SECTION
9.  STATS BAR
10. INDUSTRY SECTION (TABS)
11. ROI CALCULATOR SECTION
12. TESTIMONIALS SECTION
13. SAMPLE REPORT SECTION
14. CTA (CALL TO ACTION) SECTION
15. PAGE-SPECIFIC STYLES (Subpages)
16. FOOTER
17. INTERACTIVITY & POPUPS (Chat, Form Popup)
18. ANIMATIONS & KEYFRAMES
19. RESPONSIVE DESIGN (Media Queries)
*/


/* 1. GLOBAL STYLES & VARIABLES
-------------------------------------------------------------- */
:root {
    --primary-color: #00a99d;
    /* A vibrant teal */
    --primary-hover: #00c4b7;
    --secondary-color: #f3f7f6;
    --dark-blue: #0d1b2a;
    --mid-blue: #1b263b;
    --light-blue: #415a77;
    --text-color: #e0e1dd;
    --text-muted: #a9b4c2;
    --bg-color: #0d1b2a;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}


/* 2. GENERAL LAYOUT & TYPOGRAPHY
-------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}


/* 3. REUSABLE COMPONENTS (Buttons, Cards, Forms)
-------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 169, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 169, 157, 0.6);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--mid-blue);
    border: 1px solid var(--light-blue);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.3);
}


/* 4. HEADER & NAVIGATION
-------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    height: var(--header-height);
}

.header.scrolled {
    background-color: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 45px;
    transition: height 0.3s ease;
}

.header.scrolled .logo {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
}

.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: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(-45deg);
    top: 50%;
}


/* 5. MOBILE NAVIGATION
-------------------------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--mid-blue);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 2rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.mobile-nav .btn {
    margin-top: 1rem;
}


/* 6. HERO SECTION
-------------------------------------------------------------- */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.15;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    animation: move-blob-1 15s infinite alternate;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 10%;
    animation: move-blob-2 20s infinite alternate;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 25%;
    opacity: 0.1;
    animation: move-blob-3 18s infinite alternate;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(0, 169, 157, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


/* 7. SERVICES SECTION
-------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--mid-blue);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: translateZ(-10px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(0, 169, 157, 0.5);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    margin-bottom: 1rem;
    color: white;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
}


/* 8. ABOUT US SECTION
-------------------------------------------------------------- */
.about-section {
    background-color: var(--mid-blue);
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.about-image img {
    filter: saturate(0.8);
}

.about-image-wrapper:hover .about-image {
    transform: rotate(0);
}

.about-image-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: -1;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-image-shape {
    top: -10px;
    left: -10px;
}

.about-features {
    list-style: none;
    margin: 1.5rem 0;
}

.about-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}


/* 9. STATS BAR
-------------------------------------------------------------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 80px;
    padding: 30px;
    background-color: var(--dark-blue);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-number::after {
    content: '%';
}

.stat-item:nth-child(2) .stat-number::after,
.stat-item:nth-child(3) .stat-number::after {
    content: '+';
}

.stat-label {
    margin: 0;
    color: var(--text-muted);
    font-weight: 500;
}


/* 10. INDUSTRY SECTION (TABS)
-------------------------------------------------------------- */
.industry-tabs-wrapper {
    background-color: var(--mid-blue);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.industry-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.industry-tab-link {
    background-color: transparent;
    border: 1px solid var(--light-blue);
    color: var(--text-muted);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.industry-tab-link:hover {
    background-color: var(--light-blue);
    color: white;
}

.industry-tab-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.industry-tab-pane {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.industry-tab-pane.active {
    display: block;
}

.industry-tab-pane p {
    max-width: 500px;
    margin: 1rem auto 1.5rem;
}


/* 11. ROI CALCULATOR SECTION
-------------------------------------------------------------- */
.roi-section {
    background-color: var(--dark-blue);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-calculator-card {
    background-color: var(--mid-blue);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.roi-result-wrapper {
    margin-top: 2rem;
    padding: 20px;
    background-color: var(--dark-blue);
    border-radius: var(--border-radius);
    text-align: center;
    display: none;
    /* Hidden by default */
}

.roi-result-wrapper h4 {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.roi-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.roi-result-wrapper small {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* 12. TESTIMONIALS SECTION
-------------------------------------------------------------- */
.testimonials-section {
    position: relative;
    background: url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png'), var(--mid-blue);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: white;
    font-weight: 600;
}

.testimonial-company {
    color: var(--text-muted);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 100px);
    left: 50px;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.prev-btn {
    margin-left: -75px;
}

.next-btn {
    margin-right: -75px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-blue);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}


/* 13. SAMPLE REPORT SECTION
-------------------------------------------------------------- */
.report-section {
    background-color: var(--dark-blue);
}

.report-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.report-image-wrapper {
    position: relative;
}

.report-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.report-image-wrapper:hover .report-image {
    transform: scale(1.03);
}


/* 14. CTA (CALL TO ACTION) SECTION
-------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(45deg, var(--dark-blue), var(--mid-blue));
    padding: 80px 0;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}


/* 15. PAGE-SPECIFIC STYLES (Subpages)
-------------------------------------------------------------- */
body.subpage {
    padding-top: var(--header-height);
}

body.subpage .header {
    background-color: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-header {
    padding: 60px 0;
    background-color: var(--mid-blue);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: white;
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
    color: var(--text-muted);
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

.content-wrapper p,
.content-wrapper li {
    color: var(--text-muted);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* Contact Page specific */
.contact-page-section {
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--mid-blue);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-methods {
    list-style: none;
    margin-top: 2rem;
}

.contact-methods li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-methods h4 {
    margin-bottom: 0.25rem;
    color: white;
}

.contact-methods a,
.contact-methods span {
    color: var(--text-muted);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* 16. FOOTER
-------------------------------------------------------------- */
.footer {
    background-color: var(--dark-blue);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary-color);
    filter: blur(120px);
    opacity: 0.1;
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

.footer-shape.shape-2 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -80px;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-col-title {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-muted);
}

.footer-links ul a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-muted);
}

.contact-info a:hover {
    color: white;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* 17. INTERACTIVITY & POPUPS (Chat, Form Popup)
-------------------------------------------------------------- */
/* Live Chat */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 169, 157, 0.5);
    z-index: 998;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-bubble.hide {
    transform: scale(0);
    opacity: 0;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background-color: var(--mid-blue);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 998;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.chat-window.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--dark-blue);
}

.close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
}

.chat-body textarea {
    height: 80px;
    resize: none;
}

/* Form Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--mid-blue);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-close {
    margin-top: 1.5rem;
}


/* 18. ANIMATIONS & KEYFRAMES
-------------------------------------------------------------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes move-blob-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -30px) scale(1.1);
    }
}

@keyframes move-blob-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-40px, 60px) scale(0.9);
    }
}

@keyframes move-blob-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 20px) scale(1.2);
    }
}


/* 19. RESPONSIVE DESIGN (Media Queries)
-------------------------------------------------------------- */
@media (max-width: 1024px) {

    .about-wrapper,
    .roi-wrapper,
    .report-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .roi-wrapper {
        text-align: center;
    }

    .report-wrapper {
        text-align: center;
        gap: 2rem;
    }

    .report-image-wrapper {
        order: -1;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-actions .btn {
        width: 80%;
        max-width: 300px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-slider {
        height: 350px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .chat-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 80px;
    }

    .chat-bubble {
        right: 20px;
        bottom: 20px;
    }
}