/* TABLE OF CONTENTS
---
1.  VARIABLES & RESET
2.  GLOBAL STYLES & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Containers, etc.)
4.  PRELOADER & CURSOR
5.  HEADER & NAVIGATION
6.  MOBILE NAVIGATION
7.  FOOTER
8.  HERO SECTION
9.  SERVICES SECTION
10. PROCESS SECTION
11. ROI CALCULATOR SECTION
12. TESTIMONIALS SECTION
13. INDUSTRIES SECTION
14. CTA SECTION
15. SUBPAGE STYLES (Page Header, Legal, Contact)
16. POPUP & LIVE CHAT WIDGET
17. ANIMATIONS & KEYFRAMES
18. RESPONSIVE MEDIA QUERIES
--- */

/* 1. VARIABLES & RESET */
:root {
    --color-primary: #00aaff;
    /* A vibrant, techy blue */
    --color-primary-light: #61daff;
    --color-secondary: #ff00ff;
    /* A punchy magenta for accents */
    --color-bg-dark: #0a0a14;
    --color-bg-light: #121220;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text: #cccccc;
    --color-text-light: #ffffff;
    --color-heading: #ffffff;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
    --container-width: 1200px;
    --container-padding: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

/* 2. GLOBAL STYLES & TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    display: block;
    font-family: var(--font-accent);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 70ch;
}


/* 3. REUSABLE COMPONENTS */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 5px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-heading);
    transition: width var(--transition-medium);
    z-index: 1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--color-bg-dark);
}


.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-heading);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-heading);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}


/* 4. PRELOADER & CURSOR */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    max-width: 100px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preloader-bar::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--color-primary);
    animation: loading-bar 2.5s ease-out forwards;
}

.preloader p {
    font-family: var(--font-accent);
    color: var(--color-text);
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.cursor,
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.1s ease;
}

.cursor {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

body:hover .cursor,
body:hover .cursor-dot {
    opacity: 1;
}

.cursor.hovered {
    transform: scale(1.5);
    background-color: rgba(0, 170, 255, 0.2);
}


/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color var(--transition-medium), padding var(--transition-medium);
}

.header.scrolled {
    background-color: var(--color-bg-light);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link .logo {
    height: 80px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-accent);
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* 6. MOBILE NAVIGATION */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-light);
    margin: 5px 0;
    transition: all var(--transition-medium);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-bg-light);
    z-index: 1000;
    transition: right var(--transition-medium);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 2rem 0;
}

.mobile-nav nav a {
    font-size: 1.5rem;
    color: var(--color-text-light);
    font-family: var(--font-heading);
}

/* Toggled State for Mobile Menu Icon */
.mobile-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* 7. FOOTER */
.footer {
    background-color: var(--color-bg-light);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col .footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    transition: all var(--transition-medium);
}

.social-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-heading);
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    text-transform: capitalize;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info-list i {
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-info-list a {
    color: var(--color-text);
}

.contact-info-list a:hover {
    color: var(--color-primary);
}


.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}


/* 8. HERO SECTION */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Header height */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary) 0%, rgba(0, 170, 255, 0) 60%);
    opacity: 0.15;
    animation: float 15s infinite ease-in-out alternate;
}

.hero-bg-shape-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    left: 5%;
    animation-duration: 20s;
}

.hero-bg-shape-2 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.hero-bg-shape-3 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 25%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin: 2rem 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-border);
    border-radius: 25px;
}

.hero-scroll-down a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-scroll-down::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-text-light);
    border-radius: 2px;
    animation: scroll-anim 2s infinite;
}

/* 9. SERVICES SECTION */
.services-section {
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: transparent;
    aspect-ratio: 1 / 1.1;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    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;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: linear-gradient(145deg, var(--color-bg-light), var(--color-bg-dark));
}

.service-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, var(--color-primary), #005a85);
    color: var(--color-heading);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card-back h3 {
    color: var(--color-heading);
}

.service-card-back ul {
    margin: 1.5rem 0;
}

.service-card-back li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.btn-card {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    border: 1px solid #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-card:hover {
    background-color: #fff;
    color: var(--color-primary);
}


/* 10. PROCESS SECTION */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-step:nth-child(odd) .process-step-content {
    text-align: right;
}

.process-step-content {
    padding: 30px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    position: relative;
}

.process-step-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--color-bg-dark);
    border: 2px solid var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    z-index: 10;
    transition: transform var(--transition-medium);
}

.process-step:hover .process-step-number {
    transform: translateY(-50%) scale(1.1);
}

.process-step:nth-child(odd) .process-step-number {
    right: -30px;
}

.process-step:nth-child(even) .process-step-number {
    left: -30px;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* 11. ROI CALCULATOR SECTION */
.roi-calculator-section {
    background-color: var(--color-bg-light);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.roi-content h2 {
    margin-bottom: 2rem;
}

.roi-disclaimer {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--color-primary);
    border-radius: 5px;
}

.roi-disclaimer i {
    color: var(--color-primary);
    margin-top: 5px;
}

.roi-calculator {
    background-color: var(--color-bg-dark);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.form-group-calc {
    margin-bottom: 2rem;
}

.form-group-calc label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: var(--color-border);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 50%;
}

.range-value {
    text-align: right;
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--color-heading);
    margin-top: 0.5rem;
}

.calculator-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.calculator-results p {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.calculator-results h3 {
    font-size: 3rem;
    color: var(--color-primary);
}

/* 12. TESTIMONIALS SECTION */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-medium);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 40px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.testimonial-content {
    text-align: center;
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.prev-btn {
    margin-left: -22.5px;
}

.next-btn {
    margin-right: -22.5px;
}

.slider-controls button:hover {
    background-color: var(--color-primary);
}

/* 13. INDUSTRIES SECTION */
.industries-section {
    background-color: var(--color-bg-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.industry-item {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all var(--transition-medium);
}

.industry-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.1);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.industry-item h4 {
    font-size: 1.2rem;
}

/* 14. CTA SECTION */
.cta-section {
    background: linear-gradient(rgba(10, 10, 20, 0.8), rgba(10, 10, 20, 0.8)), url('https://via.placeholder.com/1920x600/0a0a14/121220') center/cover no-repeat fixed;
    padding: 120px 0;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 2rem auto;
    max-width: 60ch;
}

/* 15. SUBPAGE STYLES */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg-dark) 100%);
}

.page-header h1 {
    font-size: 4rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 60ch;
    margin: 1rem auto 0;
}

.breadcrumbs {
    margin-top: 1.5rem;
    font-family: var(--font-accent);
}

.breadcrumbs a {
    color: var(--color-text);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.legal-content,
.contact-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.content-wrapper h2 {
    margin: 2.5rem 0 1rem;
    font-size: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-list-page {
    margin-top: 2rem;
}

.contact-info-list-page li {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-list-page i {
    font-size: 1.5rem;
    color: var(--color-primary);
    width: 30px;
    text-align: center;
    margin-top: 5px;
}

.contact-info-list-page span {
    display: block;
    font-weight: 600;
}

.contact-info-list-page a {
    color: var(--color-text);
}

.contact-form-wrapper {
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-medium);
}

.form-group select {
    padding-right: 15px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300aaff'%3E%3Cpath d='M6 9.5L0 3.5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group textarea {
    padding-left: 15px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 43px;
    color: var(--color-primary);
}

.contact-form button {
    width: 100%;
}


/* 16. POPUP & LIVE CHAT WIDGET */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1002;
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    text-align: center;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.popup.show,
.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup.show {
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup h3 {
    margin-bottom: 0.5rem;
}

.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 170, 255, 0.3);
    transition: transform var(--transition-medium);
}

.live-chat-widget:hover {
    transform: scale(1.1);
}

/* 17. ANIMATIONS & KEYFRAMES */
.animate-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

[data-animation="fade-in-right"] {
    transform: translateX(-50px);
}

[data-animation="fade-in-left"] {
    transform: translateX(50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

.animate-in.in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes loading-bar {
    0% {
        width: 0;
    }

    80% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes float {
    to {
        transform: translateY(30px);
    }
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}


/* 18. RESPONSIVE MEDIA QUERIES */

/* Tablets and larger phones */
@media (max-width: 992px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .roi-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }

    .process-step:nth-child(even) {
        left: 0;
    }

    .process-step:nth-child(odd) .process-step-content {
        text-align: left;
    }

    .process-step-number {
        left: 0;
    }

    .process-step:nth-child(odd) .process-step-number,
    .process-step:nth-child(even) .process-step-number {
        left: 0;
    }
}

/* Small tablets */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        margin-left: -20px;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info-list li,
    .contact-info-list-page li {
        justify-content: center;
        text-align: left;
    }

    .slider-controls {
        display: none;
    }

    /* On smaller screens, swipe might be preferred, so hiding buttons is a simple solution */
    .page-header h1 {
        font-size: 3rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --container-padding: 15px;
    }

    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 600px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-form-wrapper,
    .content-wrapper {
        padding: 25px;
    }

    .cursor,
    .cursor-dot {
        display: none;
    }

    .live-chat-widget {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}