/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES
    - CSS Variables (Color Palette)
    - Reset & Base Styles
    - Typography
    - Container & Layout
2.  REUSABLE COMPONENTS
    - Buttons
    - Forms
    - Section Headers
    - Cards
3.  HEADER & NAVIGATION
    - Header Layout
    - Main Navigation
    - Mobile Navigation & Hamburger
4.  FOOTER
    - Footer Layout
    - Footer Links & Contact
5.  PAGE-SPECIFIC STYLES: INDEX
    - Parallax Background & Nebula
    - Hero Section
    - Services Section (3D Flip Cards)
    - Process Section (Timeline)
    - Industries Section (Tabs)
    - Testimonials Section (Slider)
    - CTA Section
6.  PAGE-SPECIFIC STYLES: CONTACT
    - Contact Grid Layout
    - Contact Info & Form Wrapper
7.  PAGE-SPECIFIC STYLES: LEGAL PAGES
    - Page Header (Breadcrumbs)
    - Legal Content Wrapper
8.  UTILITIES & WIDGETS
    - Preloader
    - Back to Top Button
    - Live Chat Widget
    - Scroll Down Indicator
9.  ANIMATIONS & KEYFRAMES
    - Fade In, Slide Up, etc.
    - Preloader animations
    - Parallax star movement
    - Other special effects
10. RESPONSIVE DESIGN (MEDIA QUERIES)
    - Large Desktops (1200px and up)
    - Tablets (up to 992px)
    - Mobile Devices (up to 768px)
    - Small Mobile Devices (up to 480px)
================================================
*/

/* 1. GLOBAL STYLES */
/* ================================================ */

:root {
    --primary-color: #4A90E2;
    /* A strong, professional blue */
    --secondary-color: #50E3C2;
    /* A vibrant, modern teal/mint */
    --accent-color: #F5A623;
    /* A warm, attention-grabbing orange */
    --dark-bg: #0D1117;
    /* Deep space blue/black for background */
    --medium-bg: #161B22;
    /* Slightly lighter for cards/sections */
    --light-bg: #21262D;
    /* For highlights and borders */
    --text-primary: #E6EDF3;
    /* Primary text color (off-white) */
    --text-secondary: #8B949E;
    /* Secondary text for subtitles, etc. */
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition-speed: 0.4s;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-section {
    padding: 100px 0;
}

/* 2. REUSABLE COMPONENTS */
/* ================================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* 3. HEADER & NAVIGATION */
/* ================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: height var(--transition-speed) ease;
}


.main-nav .nav-links {
    display: flex;
    gap: 35px;
}

.main-nav .nav-links a {
    color: var(--text-primary);
    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(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 6px 0;
    transition: all var(--transition-speed) ease;
    border-radius: 3px;
}

.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(45deg) translate(-7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--medium-bg);
    box-shadow: var(--shadow-strong);
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding-top: 100px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav ul li a {
    color: var(--text-primary);
    font-size: 1.2rem;
    padding: 10px 20px;
    display: block;
}

.mobile-nav ul li .btn {
    margin-top: 20px;
}

.nav-cta {
    display: block;
}

/* 4. FOOTER */
/* ================================================ */
.footer {
    background-color: var(--medium-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: var(--font-secondary);
}

.footer-about .logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.footer-contact a,
.footer-contact span {
    color: var(--text-secondary);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-legal a {
    margin: 0 10px;
    color: var(--text-secondary);
}

/* 5. PAGE-SPECIFIC STYLES: INDEX */
/* ================================================ */

/* Parallax Background */
.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

#stars1,
#stars2,
#stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: cover;
}

#stars1 {
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: move-stars 200s linear infinite;
}

#stars2 {
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: move-stars 150s linear infinite;
    opacity: 0.6;
}

#stars3 {
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: move-stars 100s linear infinite;
    opacity: 0.4;
}

.nebula-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(ellipse at center, rgba(74, 144, 226, 0.15) 0%, rgba(13, 17, 23, 0) 60%);
    transform: translate(-50%, -50%);
    z-index: -9;
    animation: pulse-glow 10s ease-in-out infinite;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--secondary-color), var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 5s ease infinite;
    background-size: 200% 200%;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services-section {
    background: var(--medium-bg);
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    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;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    background: var(--light-bg);
}

.service-card-front {
    background: linear-gradient(145deg, var(--medium-bg), var(--light-bg));
}

.service-card-front i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-card-front i {
    transform: scale(1.1);
}

.service-card-front h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.service-card-back {
    transform: rotateY(180deg);
    background: var(--primary-color);
}

.service-card-back h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-card-back p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.card-link {
    margin-top: 20px;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 3px;
}

.card-link:hover {
    color: var(--secondary-color);
}


/* Process Section */
.process-section {
    position: relative;
    z-index: 1;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
    left: 50%;
    padding-left: 50px;
}

.process-step:nth-child(even) {
    text-align: right;
    padding-right: 50px;
}

.step-icon-wrapper {
    order: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.process-step:nth-child(odd) .step-icon-wrapper {
    left: -28px;
}

.process-step:nth-child(even) .step-icon-wrapper {
    right: -28px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--medium-bg);
    border: 4px solid var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.process-step:hover .step-icon {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.step-content {
    width: calc(100% - 80px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    z-index: -1;
}

.process-step:nth-child(odd) .step-number {
    left: 0;
}

.process-step:nth-child(even) .step-number {
    right: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Industries Section */
.industries-section {
    background: var(--medium-bg);
    position: relative;
    z-index: 1;
}

.industries-container {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 50px;
    align-items: flex-start;
}

.industries-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.industry-tab {
    width: 100%;
    padding: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--transition-speed) ease;
}

.industry-tab i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.industry-tab:hover,
.industry-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateX(10px);
}

.industry-tab:hover i,
.industry-tab.active i {
    color: #fff;
}

.industry-content-wrapper {
    position: relative;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.industry-content {
    display: none;
}

.industry-content.active {
    display: block;
}

.industry-content h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.industry-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.industry-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.industry-content ul li::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    z-index: 1;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--medium-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -20px;
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin-bottom: 0;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-controls button {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    pointer-events: all;
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

.slider-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(13, 17, 23, 0.8);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: #fff;
}


/* 6. PAGE-SPECIFIC STYLES: CONTACT */
/* ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--medium-bg);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-control:focus+label,
.form-control:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--medium-bg);
    padding: 0 5px;
    color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2350E3C2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

#form-status {
    margin-top: 15px;
    font-weight: 500;
}

/* 7. PAGE-SPECIFIC STYLES: LEGAL PAGES */
/* ================================================ */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, var(--dark-bg) 100%);
    position: relative;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs span {
    color: var(--text-primary);
}

.legal-content {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 800px;
    background: var(--medium-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}


/* 8. UTILITIES & WIDGETS */
/* ================================================ */
/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    margin-bottom: 20px;
}

.loader-logo img {
    height: 80px;
    animation: pulse-logo 2s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background: var(--light-bg);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    animation: loading-bar 1.5s linear forwards;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    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-speed) ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 998;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    transition: transform 0.3s ease;
}

.live-chat-widget:hover {
    transform: scale(1.1);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* 9. ANIMATIONS & KEYFRAMES */
/* ================================================ */
@keyframes move-stars {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 10000px;
    }
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.25;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0;
    }

    100% {
        top: 8px;
        opacity: 1;
    }
}

@keyframes pulse-logo {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes loading-bar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* GSAP Animations */
.gsap-reveal {
    opacity: 0;
    transform: translateY(50px);
}


/* 10. RESPONSIVE DESIGN */
/* ================================================ */

@media (max-width: 1200px) {
    .industries-container {
        grid-template-columns: 35% 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .hamburger,
    .mobile-nav {
        display: block;
    }

    .mobile-nav ul {
        padding-top: 20px;
    }

    .industries-container {
        grid-template-columns: 1fr;
    }

    .industries-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    .industry-tab {
        flex-shrink: 0;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step,
    .process-step:nth-child(odd) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }

    .process-step:nth-child(even) {
        text-align: left;
    }

    .step-icon-wrapper,
    .process-step:nth-child(even) .step-icon-wrapper,
    .process-step:nth-child(odd) .step-icon-wrapper {
        left: 0;
        transform: translate(0, -50%);
    }

    .step-number,
    .process-step:nth-child(even) .step-number {
        right: auto;
        left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero {
        min-height: 80vh;
        height: auto;
        padding: 150px 0 100px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-slider-wrapper {
        padding: 0 15px;
    }

    /* Add padding if controls are gone */

    .live-chat-widget {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 320px;
    }

    .process-step,
    .process-step:nth-child(odd) {
        padding-left: 70px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon-wrapper,
    .process-step:nth-child(even) .step-icon-wrapper,
    .process-step:nth-child(odd) .step-icon-wrapper {
        left: -5px;
    }

    .contact-grid {
        padding: 25px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .content-wrapper {
        padding: 25px;
    }
}