/*
    Table of Contents:
    1.  :root Variables & Global Styles
    2.  Typography & Base Elements
    3.  Utility Classes
    4.  Header & Navigation
    5.  Mobile Menu
    6.  Footer
    7.  Buttons & Forms
    8.  Hero Section & 3D Globe Animation
    9.  Page Header (for inner pages)
    10. Section Styling (General)
    11. Services Section & 3D Cards
    12. Process Section & Timeline
    13. Industries Section
    14. ROI Calculator Section
    15. Testimonials Section & Slider
    16. Report & CTA Section
    17. Contact Page Specifics
    18. Legal Pages Specifics
    19. Popups & Modals (Success, Report)
    20. Live Chat Widget
    21. Animation Keyframes & Scroll Effects
    22. Responsive Design (Media Queries)
*/

/* 1. :root Variables & Global Styles */
:root {
    --color-primary: #00bfff;
    /* Deep Sky Blue */
    --color-secondary: #0aefff;
    /* Cyan accent */
    --color-background: #0d1117;
    /* Dark Navy/Charcoal */
    --color-surface: #161b22;
    /* Slightly lighter surface */
    --color-border: #30363d;
    --color-text-primary: #c9d1d9;
    /* Light gray text */
    --color-text-secondary: #8b949e;
    --color-white: #ffffff;
    --color-success: #2ea043;

    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 191, 255, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 191, 255, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Typography & Base Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-white);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

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;
}

/* 3. Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* 4. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav .nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    left: 0;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.mobile-menu-toggle.is-active .hamburger-inner {
    background-color: transparent;
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* 5. Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    transition: color var(--transition-speed) ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-secondary);
}

/* 6. Footer */
.footer {
    background-color: var(--color-surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col.about-col .logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-col.about-col p {
    margin: 1.5rem 0;
    color: var(--color-text-secondary);
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--color-white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a,
.footer-contact span {
    color: var(--color-text-secondary);
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

.footer-col ul a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    color: var(--color-text-secondary);
}

.footer-legal-links a {
    color: var(--color-text-secondary);
    margin-left: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

/* 7. Buttons & Forms */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    box-shadow: 0 6px 20px rgba(10, 239, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    background-color: var(--color-surface);
    padding: 0 0.25rem;
    color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}


/* 8. Hero Section & 3D Globe Animation */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 17, 23, 0) 0%, var(--color-background) 70%),
        linear-gradient(180deg, var(--color-background) 0%, #0a0c10 100%);
    z-index: -1;
}

.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    pointer-events: none;
}

.globe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform: translate(-50%, -50%) rotateZ(20deg);
    animation: rotate-globe 40s linear infinite;
}

.globe-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4c98ff, #0055d4);
    box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.5), inset 20px 20px 40px rgba(255, 255, 255, 0.2);
}

.globe-worldmap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(https://i.imgur.com/vHnIeVU.png);
    /* Placeholder-like, just for effect */
    background-size: cover;
    border-radius: 50%;
    opacity: 0.2;
    animation: move-map 20s linear infinite;
}

.globe-inner-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 50px #000;
}

.globe-outer-shadow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 102%;
    height: 102%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 191, 255, 0.1) 50%, rgba(0, 191, 255, 0.0) 70%);
    animation: pulse-shadow 4s ease-in-out infinite;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.typing-effect::after {
    content: '_';
    opacity: 1;
    animation: blink 1s infinite;
}

/* 9. Page Header (for inner pages) */
.page-header-section {
    position: relative;
    padding: 12rem 0 6rem;
    text-align: center;
    background-color: var(--color-surface);
    overflow: hidden;
}

.legal-header {
    padding: 10rem 0 4rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* 10. Section Styling (General) */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.section-description {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--color-text-secondary);
}

/* 11. Services Section & 3D Cards */
.services-section {
    background-color: var(--color-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px) scale(1.02);
}

.service-card-inner {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link i {
    transition: transform var(--transition-speed) ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 12. Process Section & Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-background);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-content {
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    position: relative;
}

.timeline-content h3 {
    color: var(--color-secondary);
}

.timeline-content p {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* 13. Industries Section */
.industries-section {
    background-color: var(--color-surface);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.industry-item:hover {
    transform: translateY(-8px);
    background-color: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: color var(--transition-speed) ease;
}

.industry-item:hover i {
    color: var(--color-secondary);
}

.industry-item span {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* 14. ROI Calculator Section */
.roi-calculator-section {
    padding: 0;
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.roi-content {
    padding: 4rem;
}

.roi-calculator {
    padding: 4rem;
    background-color: var(--color-background);
    height: 100%;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form .form-group label {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.calculator-form input {
    background-color: var(--color-surface);
}

.calculator-results {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
}

.calculator-results h4 {
    color: var(--color-text-secondary);
    font-family: var(--font-secondary);
    font-weight: 500;
}

.calculator-results p {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
}

.calculator-results small {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

/* 15. Testimonials Section & Slider */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 250px;
    /* Prevent layout shift */
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fade-out 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    animation: fade-in 0.5s ease;
}

.testimonial-slide i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--color-text-secondary);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: calc(100% - 8rem);
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

/* 16. Report & CTA Section */
.report-cta-section {
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url(https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2070&auto=format&fit=crop) center/cover no-repeat;
    text-align: center;
}

.report-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.report-cta-content p {
    color: var(--color-text-secondary);
    margin: 1.5rem 0 2.5rem;
}

/* 17. Contact Page Specifics */
.contact-section-standalone {
    background-color: var(--color-surface);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--color-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.contact-info {
    padding: 3rem;
}

.contact-info .section-header {
    margin-bottom: 2.5rem;
}

.contact-info .section-header p {
    color: var(--color-text-secondary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    font-weight: 700;
}

.contact-text p {
    margin: 0;
    color: var(--color-text-secondary);
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 3rem;
}

/* 18. Legal Pages Specifics */
.legal-content {
    background-color: var(--color-surface);
    padding: 4rem 0;
}

.legal-content .container {
    max-width: 800px;
    background: var(--color-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-section p,
.legal-section li {
    color: var(--color-text-secondary);
}

.legal-section strong {
    color: var(--color-text-primary);
}

/* 19. Popups & Modals (Success, Report) */
.popup,
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show,
.modal.show {
    opacity: 1;
    visibility: visible;
}

.popup-content,
.modal-content {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content,
.modal.show .modal-content {
    transform: scale(1);
}

.modal-content {
    max-width: 800px;
    text-align: left;
}

.popup-close-btn,
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.popup-close-btn:hover,
.modal-close-btn:hover {
    color: var(--color-white);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.popup-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.modal-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-align: right;
}

/* 20. Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 1rem;
    background-color: var(--color-background);
    color: var(--color-white);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    max-width: 80%;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.message p {
    font-size: 0.9rem;
    margin: 0;
}

.message.received {
    background-color: var(--color-background);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}

.message.sent {
    background-color: var(--color-primary);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.chat-footer {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid var(--color-border);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 0.5rem;
    color: var(--color-white);
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* 21. Animation Keyframes & Scroll Effects */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes rotate-globe {
    from {
        transform: translate(-50%, -50%) rotateZ(20deg) rotateY(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateZ(20deg) rotateY(360deg);
    }
}

@keyframes move-map {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -1200px 0;
    }
}

@keyframes pulse-shadow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Scroll Animations */
[data-animation] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animation="fade-up"] {
    transform: translateY(40px);
}

[data-animation="phase-in-left"] {
    transform: translateX(-50px);
}

[data-animation="phase-in-right"] {
    transform: translateX(50px);
}

[data-animation="scale-up"] {
    transform: scale(0.9);
}

[data-animation].visible {
    opacity: 1;
    transform: none;
}

/* 22. Responsive Design (Media Queries) */

/* Tablets and below */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .roi-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .roi-content,
    .contact-info {
        padding: 2.5rem;
    }

    .roi-calculator,
    .contact-form-wrapper {
        padding: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col.about-col {
        grid-column: 1 / -1;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 80%;
        max-width: 300px;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
        left: 0;
        text-align: left !important;
    }

    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials,
    .footer-contact {
        justify-content: center;
    }

    .footer-contact li {
        text-align: left;
    }

    .footer-col h3::after {
        left: 50%;
        margin-left: -20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-legal-links {
        margin-top: 1rem;
    }

    .footer-legal-links a {
        margin: 0 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .live-chat-widget {
        right: 1rem;
        bottom: 1rem;
    }

    .chat-window {
        width: calc(100vw - 2rem);
    }
}