/*
================================================
TABLE OF CONTENTS
================================================
1.  :root VARIABLES
2.  GLOBAL STYLES & RESETS
3.  UTILITY CLASSES
4.  TYPOGRAPHY
5.  BUTTONS & LINKS
6.  PRELOADER
7.  HEADER & NAVIGATION
    - Header Base
    - Main Navigation
    - Hamburger Menu
    - Mobile Navigation
8.  FOOTER
9.  PAGE & SECTION STYLES
    - 9.1 Hero Section (Index Page)
    - 9.2 Stats Section (Index Page)
    - 9.3 Services Section (Index Page)
    - 9.4 Process Section (Index Page)
    - 9.5 Industries Section (Index Page)
    - 9.6 Testimonials Section (Index Page)
    - 9.7 CTA Section (Index Page)
    - 9.8 Page Header (Subpages)
    - 9.9 Contact Section (Contact Page)
    - 9.10 Legal Content Section (Legal Pages)
10. INTERACTIVE COMPONENTS
    - Forms
    - Back to Top Button
    - Live Chat Widget
11. ANIMATIONS & EFFECTS
    - 3D Background & Starfield
    - Keyframe Animations
    - Scrollbar Styling
12. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. :root VARIABLES */
:root {
    --color-primary: #00f2fe;
    /* Vibrant Teal/Cyan */
    --color-secondary: #7a00ff;
    /* Electric Purple */
    --color-dark-bg: #0b0c1e;
    /* Deep Space Blue */
    --color-dark-bg-secondary: #12142a;
    /* Slightly lighter blue */
    --color-card-bg: #1a1c3a;
    /* Card background */
    --color-border: rgba(0, 242, 254, 0.2);
    --color-text: #d4d4d4;
    --color-text-light: #ffffff;
    --color-text-muted: #a0a0c0;
    --color-heading: #ffffff;
    --color-success: #00ff8c;
    --color-error: #ff4d4d;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-light: 0 4px 15px rgba(0, 242, 254, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary);
}

/* 2. GLOBAL STYLES & RESETS */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-text-light);
}

/* 3. UTILITY CLASSES */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

.content-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    position: relative;
}

.section-header .subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 20px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-muted);
}

/* 4. TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* 5. BUTTONS & LINKS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark-bg);
    border-color: var(--color-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-text-light);
    transition: all var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

/* 6. PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    margin-bottom: 20px;
}

.loader-logo img {
    max-width: 150px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: var(--color-card-bg);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    animation: loading-bar 2s infinite linear;
}

/* 7. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(11, 12, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 80px;
    transition: var(--transition-smooth);
}
.main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav .nav-links a {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-smooth);
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--color-primary);
}

.nav-cta {
    padding: 8px 22px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    display: block;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-dark-bg-secondary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    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: 25px 0;
}

.mobile-nav a {
    color: var(--color-text-light);
    font-size: 1.25rem;
    font-weight: 600;
}

.mobile-nav .btn {
    margin-top: 20px;
}

/* 8. FOOTER */
.footer {
    background-color: var(--color-dark-bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col .logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--color-text-muted);
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--color-text-muted);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-card-bg);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark-bg);
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p,
.footer-legal a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* 9. PAGE & SECTION STYLES */

/* 9.1 Hero Section (Index Page) */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 9.2 Stats Section (Index Page) */
.stats-section {
    padding: 60px 0;
    background-color: var(--color-dark-bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-text-light);
}

.stat-item p {
    color: var(--color-text-muted);
    margin: 0;
}

/* 9.3 Services Section (Index Page) */
.services-section {
    background-color: var(--color-dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-smooth);
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--color-text-light);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

.service-link {
    font-weight: 600;
    color: var(--color-primary);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* 9.4 Process Section (Index Page) */
.process-section {
    background-color: var(--color-dark-bg-secondary);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--color-border);
    transform: translateX(-50%);
}

.process-step {
    padding: 40px;
    position: relative;
    width: 50%;
    margin-bottom: 50px;
}

.process-step:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}

.process-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.process-step:nth-child(odd) .process-number {
    right: -40px;
}

.process-step:nth-child(even) .process-number {
    left: -40px;
}

.process-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--color-dark-bg);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border: 5px solid var(--color-dark-bg-secondary);
}

.process-step:nth-child(odd) .process-icon {
    right: -35px;
}

.process-step:nth-child(even) .process-icon {
    left: -35px;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.process-step p {
    color: var(--color-text-muted);
}

/* 9.5 Industries Section (Index Page) */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.industry-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.industry-item:hover {
    background-color: var(--color-primary);
    color: var(--color-dark-bg);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.industry-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.industry-item:hover i {
    color: var(--color-dark-bg);
}

.industry-item span {
    font-weight: 500;
}

/* 9.6 Testimonials Section (Index Page) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-slide {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.2;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* 9.7 CTA Section (Index Page) */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(11, 12, 30, 0.9), rgba(11, 12, 30, 0.9)), url('https://i.imgur.com/uR6akRo.jpeg') no-repeat center center/cover;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 9.8 Page Header (Subpages) */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark-bg), var(--color-dark-bg-secondary));
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header .breadcrumbs {
    color: var(--color-text-muted);
}

.page-header .breadcrumbs a {
    color: var(--color-text-light);
}

.page-header .breadcrumbs a:hover {
    color: var(--color-primary);
}

.page-header .breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
    color: var(--color-primary);
}

.page-header .breadcrumbs span {
    color: var(--color-primary);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDQwIDMyMCI+PHBhdGggZmlsbD0iIzBiMGMxZSIgZmlsbC1vcGFjaXR5PSIwLjMiIGQ9Ik0wLDEyOEwxMjAsMTQ5LjNDMjQwLDE3MSw0ODAsMjEzLDcyMCwyMTguN0M5NjAsMjI0LD EyMDAsMTkyLDEzMjAsMTc2TDE0NDAsMTYwTDE0NDAsMEwxMzIwLDBDOTYwLDAsNzIwLDAsNDgwLDAsMjQwLDAsMTIwLDAsMCwwWiI+PC9wYXRoPjwvc3ZnPg==');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* 9.9 Contact Section (Contact Page) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info .section-header h2 {
    font-size: 2.2rem;
}

.contact-info .section-header p {
    margin-left: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item .icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-light);
    font-size: 1.2rem;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-text-light);
}

.contact-info-item p {
    color: var(--color-text-muted);
    margin: 0;
}

.contact-info-item p a {
    color: var(--color-text-muted);
}

.contact-info-item p a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background-color: var(--color-card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-medium);
}

.contact-form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
}

/* 9.10 Legal Content Section (Legal Pages) */
.legal-content .content-wrapper {
    max-width: 800px;
    background-color: var(--color-card-bg);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    margin: -50px auto 0;
    position: relative;
    z-index: 2;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.legal-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.legal-content li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
}

.legal-header {
    padding-bottom: 150px;
}

/* 10. INTERACTIVE COMPONENTS */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--color-dark-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-text-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background-color: var(--color-card-bg);
    padding: 0 5px;
}

.form-control:focus+label,
.form-control:not(:placeholder-shown)+label,
.form-control.filled+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300f2fe' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

select.form-control option {
    background-color: var(--color-dark-bg-secondary);
    color: var(--color-text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

#form-status {
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--color-primary);
}

.live-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    z-index: 997;
    animation: chat-pulse 2s infinite;
}

/* 11. ANIMATIONS & EFFECTS */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#starfield {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes loading-bar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes chat-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00c0cc;
}

.animate-up,
.animate-left,
.animate-right {
    opacity: 0;
    visibility: hidden;
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .content-section {
        padding: 80px 0;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        left: 35px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }

    .process-step:nth-child(odd) {
        text-align: left;
    }

    .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
    }

    .process-number {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .section-header {
        text-align: center;
    }

    .contact-info-item {
        justify-content: center;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .stat-item:last-child {
        margin-bottom: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        padding: 150px 0 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .legal-content .content-wrapper {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .mobile-nav {
        max-width: 250px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-step,
    .process-step:nth-child(even) {
        padding-left: 60px;
    }

    .process-icon,
    .process-step:nth-child(even) .process-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        border-width: 3px;
    }
}