/* Table of Contents
--------------------
1.  Variables & Resets
2.  Global Styles & Typography
3.  Utility Classes
4.  Preloader
5.  Header & Navigation
6.  Mobile Navigation
7.  Buttons & Forms
8.  Page Header & Breadcrumbs
9.  Footer
10. Hero Section
11. Services Section
12. Stats Section
13. Process Section
14. Industries Section
15. Testimonials Section
16. CTA Section
17. Contact Page
18. Legal Pages
19. Widgets (Back to Top, Chat)
20. Animations & Keyframes
21. Media Queries
--------------------*/

/* 1. Variables & Resets
--------------------*/
:root {
    --primary-color: #00a0a0;
    /* Vibrant Teal */
    --secondary-color: #1a237e;
    /* Deep Indigo */
    --dark-bg: #0d1117;
    /* Near Black */
    --dark-bg-secondary: #161b22;
    /* Darker Gray */
    --light-bg: #f4f7fc;
    --text-light: #e6edf3;
    --text-dark: #333;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Global Styles & Typography
--------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.content-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    background-color: rgba(0, 160, 160, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
}

/* 3. Utility Classes
--------------------*/
.text-center {
    text-align: center;
}

.hidden-visually {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 4. Preloader
--------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    margin-bottom: 20px;
}

.loader-logo img {
    max-width: 150px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    animation: loading 2s infinite linear;
    transform-origin: left;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 5. Header & Navigation
--------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-smooth);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header .logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.main-nav .nav-links {
    display: flex;
    gap: 35px;
}

.main-nav .nav-links a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    font-size: 1rem;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    display: block;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    padding: 10px;
}

.hamburger .line {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* 6. Mobile Navigation
--------------------*/
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--dark-bg-secondary);
    z-index: 999;
    padding: 100px 30px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav ul li a {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-nav ul li .btn {
    margin-top: 20px;
    text-align: center;
}

/* 7. Buttons & Forms
--------------------*/
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.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-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
}

.header.scrolled .btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.header.scrolled .btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Form styling from contact page */
.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #fff;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus,
.contact-form .form-control:not(:placeholder-shown) {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 160, 0.15);
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #999;
    background-color: #fff;
    padding: 0 5px;
    transition: all var(--transition-fast);
    pointer-events: none;
}

.contact-form .form-control:focus+label,
.contact-form .form-control:not(:placeholder-shown)+label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}

.contact-form select:required:invalid {
    color: #999;
}

.contact-form option[value=""][disabled] {
    display: none;
}

.contact-form option {
    color: var(--text-dark);
}

.contact-form textarea.form-control {
    height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
}

#form-status {
    margin-top: 15px;
    font-weight: 500;
}

/* 8. Page Header & Breadcrumbs
--------------------*/
.page-header {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.6), rgba(0, 160, 160, 0.6));
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: #fff;
}

/* 9. Footer
--------------------*/
.footer {
    background-color: var(--dark-bg);
    color: var(--text-muted);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about .logo img {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.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: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 5px;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* 10. Hero Section
--------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(26, 35, 126, 0) 70%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out alternate;
}

.shape1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.shape2 {
    width: 600px;
    height: 600px;
    bottom: 5%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape3 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 25%;
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 11. Services Section
--------------------*/
.services-section {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 280px;
}

.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-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
}

.service-card-front {
    z-index: 2;
}

.service-card-back {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    transform: rotateY(180deg);
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card-front h3 {
    margin-bottom: 10px;
}

.service-card-front p {
    color: #666;
}

.service-card-back h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-card-back li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.btn-card-back {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #fff;
    font-weight: 500;
}

.btn-card-back:hover {
    background: #fff;
    color: var(--secondary-color);
}

/* 12. Stats Section
--------------------*/
.stats-section {
    background-color: var(--dark-bg-secondary);
    color: var(--text-light);
    padding: 80px 0;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.stats-text h3 {
    color: #fff;
    margin-bottom: 15px;
}

.stats-text p {
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    background: var(--dark-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 160, 160, 0.1);
    border-color: var(--primary-color);
}

.stat-value,
.stat-unit {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.stat-label {
    margin: 0;
    color: var(--text-muted);
    font-weight: 500;
}

/* 13. Process Section
--------------------*/
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--light-bg);
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: height 1s ease-in-out;
}

.process-timeline.in-view .timeline-line::after {
    height: 100%;
}

.process-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: #fff;
    border: 4px solid var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all var(--transition-smooth);
    z-index: 2;
}

.process-step.in-view {
    opacity: 1;
    transform: translateX(0);
}

.process-step.in-view .step-icon {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.step-content {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.step-content h4 {
    margin-bottom: 10px;
}

.step-content p {
    margin: 0;
}

/* 14. Industries Section
--------------------*/
.industries-section {
    background-color: var(--light-bg);
}

.industries-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.industry-image-pane {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.industry-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: scale(1.05);
}

.industry-image.active {
    opacity: 1;
}

.industry-item {
    padding: 30px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.industry-item.active {
    border-left-color: var(--primary-color);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    opacity: 1;
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.industry-item h3 {
    margin-bottom: 10px;
}

.industry-item p {
    margin: 0;
}

/* 15. Testimonials Section
--------------------*/
.testimonials-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.testimonials-section .section-header .section-title {
    color: #fff;
}

.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-color: var(--dark-bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--border-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* 16. CTA Section
--------------------*/
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--secondary-color);
    border-color: #fff;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: #fff;
}

/* 17. Contact Page
--------------------*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: #fff;
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-info-item h4 {
    margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
    margin: 0;
    color: #666;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* 18. Legal Pages
--------------------*/
.legal-page {
    background-color: var(--dark-bg);
}

.legal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 160, 160, 0.1), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(26, 35, 126, 0.1), transparent 30%);
    z-index: -1;
}

.legal-content {
    padding: 80px 0;
}

.legal-content .content-wrapper {
    background-color: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: #555;
    font-size: 1.05rem;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

/* 19. Widgets (Back to Top, Chat)
--------------------*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 160, 160, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.live-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 998;
}

.live-chat-widget:hover {
    transform: scale(1.1) rotate(10deg);
}

/* 20. Animations & Keyframes
--------------------*/
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 21. Media Queries
--------------------*/
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .process-step {
        padding-left: 90px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        left: 0;
        font-size: 1.8rem;
    }

    .timeline-line {
        left: 35px;
    }
}

@media (max-width: 992px) {

    .main-nav,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        min-height: 600px;
        height: auto;
        padding: 150px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .stats-content,
    .industries-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-text {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .industries-wrapper {
        gap: 30px;
    }

    .industry-image-pane {
        height: 350px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        padding: 10px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 250px;
    }

    .process-timeline {
        max-width: 100%;
    }

    .timeline-line {
        left: 20px;
    }

    .process-step {
        padding-left: 60px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .testimonial-slider-wrapper {
        padding: 0 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }

    .testimonial-slide {
        padding: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        margin-top: 10px;
    }

    .legal-content .content-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value,
    .stat-unit {
        font-size: 2.5rem;
    }

    .contact-grid {
        padding: 20px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .live-chat-widget {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        left: 20px;
        bottom: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 20px;
    }
}