/* ---------------------------------- */
/*          TABLE OF CONTENTS         */
/* ---------------------------------- */
/* 
1.  GLOBAL & ROOT VARIABLES
2.  BASE STYLES & TYPOGRAPHY
3.  UTILITY & HELPER CLASSES
4.  HEADER & NAVIGATION
5.  MOBILE NAVIGATION
6.  HERO SECTION
7.  SERVICES SECTION
8.  PROCESS SECTION
9.  INDUSTRIES SECTION
10. TESTIMONIALS SECTION
11. CTA SECTION
12. FOOTER
13. PAGE-SPECIFIC STYLES (Contact, Legal)
14. INTERACTIVE ELEMENTS (Buttons, Forms)
15. ANIMATIONS & KEYFRAMES
16. MISCELLANEOUS (Scrollbar, Cursor, etc.)
17. RESPONSIVE DESIGN (Media Queries)
*/


/* ---------------------------------- */
/*    1. GLOBAL & ROOT VARIABLES      */
/* ---------------------------------- */

:root {
    --color-mint: #3EF8B0;
    --color-violet: #7B61FF;
    --color-coral: #FF9F9F;
    --color-black: #1A1A1A;
    --color-dark-grey: #2a2a2e;
    --color-grey: #555;
    --color-light-grey: #f4f4f7;
    --color-white: #ffffff;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------- */
/*    2. BASE STYLES & TYPOGRAPHY     */
/* ---------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-grey);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-violet);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-mint);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------- */
/*   3. UTILITY & HELPER CLASSES      */
/* ---------------------------------- */

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header .subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-violet);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.section-header .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 2px;
    background-color: var(--color-mint);
}

.text-center {
    text-align: center;
}

section {
    padding: 6rem 0;
}

/* ---------------------------------- */
/*      4. HEADER & NAVIGATION        */
/* ---------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, top var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.header .container {
    gap: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.main-nav .nav-links {
    display: flex;
    gap: 2rem;
}

.main-nav .nav-links a {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-black);
    position: relative;
    padding: 0.5rem 0;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-mint);
    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: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    margin: 6px 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ---------------------------------- */
/*      5. MOBILE NAVIGATION        */
/* ---------------------------------- */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-dark-grey);
    z-index: 999;
    padding-top: calc(var(--header-height) + 2rem);
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav ul li a {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
}

.mobile-nav ul li .btn {
    margin-top: 1rem;
}

body.nav-open {
    overflow: hidden;
}

.hamburger.open .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------------------------------- */
/*        6. HERO SECTION             */
/* ---------------------------------- */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-black);
    background-color: var(--color-light-grey);
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content .subtitle {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-violet);
    margin-bottom: 1rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-violet), var(--color-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: 2.5rem;
    color: var(--color-grey);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--color-black);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-black);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ---------------------------------- */
/*      7. SERVICES SECTION           */
/* ---------------------------------- */

.services-section {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-light-grey);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--color-violet);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background-color: var(--color-violet);
    color: var(--color-white);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.learn-more {
    font-weight: 600;
    color: var(--color-violet);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more i {
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* ---------------------------------- */
/*        8. PROCESS SECTION          */
/* ---------------------------------- */

.process-section {
    background-color: var(--color-light-grey);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-mint), var(--color-violet));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 5rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 5rem;
}

.timeline-content {
    padding: 2rem;
    background: var(--color-white);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: -2.5rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: -2.5rem;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background: var(--color-white);
    z-index: -1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background: var(--color-white);
    z-index: -1;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border: 4px solid var(--color-violet);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-icon {
    position: absolute;
    top: -30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-coral);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-top: 0;
}

.timeline-content p {
    margin-bottom: 0;
}

/* ---------------------------------- */
/*      9. INDUSTRIES SECTION         */
/* ---------------------------------- */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.industry-item {
    background: var(--color-light-grey);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.industry-item:hover {
    background-color: var(--color-violet);
    color: var(--color-white);
    transform: scale(1.05);
}

.industry-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-coral);
    transition: color var(--transition-speed) ease;
}

.industry-item:hover i {
    color: var(--color-mint);
}

.industry-item h4 {
    transition: color var(--transition-speed) ease;
}

.industry-item:hover h4 {
    color: var(--color-white);
}

/* ---------------------------------- */
/*    10. TESTIMONIALS SECTION        */
/* ---------------------------------- */

.testimonials-section {
    background-color: var(--color-dark-grey);
    color: var(--color-light-grey);
    overflow: hidden;
}

.testimonials-section .section-header h2 {
    color: var(--color-white);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    text-align: center;
}

.testimonial-content {
    background-color: var(--color-black);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background-color: var(--color-black);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--color-mint);
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-mint);
}

.author-info h4 {
    color: var(--color-white);
    margin: 0;
}

.author-info span {
    color: var(--color-light-grey);
    opacity: 0.8;
}

.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(--color-violet);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
    pointer-events: all;
    margin: 0 -25px;
}

.slider-controls button:hover {
    background-color: var(--color-mint);
    color: var(--color-black);
}

/* ---------------------------------- */
/*        11. CTA SECTION             */
/* ---------------------------------- */

.cta-section {
    background-color: var(--color-light-grey);
    background-image: linear-gradient(45deg, rgba(123, 97, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(123, 97, 255, 0.1) 25%, transparent 25%);
    background-size: 20px 20px;
}

.cta-section h2 {
    font-size: 2.8rem;
}

.cta-section p {
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    font-size: 1.1rem;
}

/* ---------------------------------- */
/*        12. FOOTER                  */
/* ---------------------------------- */
.footer {
    background-color: var(--color-dark-grey);
    color: var(--color-light-grey);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-mint);
}

.footer-about .logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.footer-social a:hover {
    background-color: var(--color-mint);
    color: var(--color-black);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
    color: var(--color-light-grey);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--color-mint);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--color-mint);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--color-grey);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

.footer-legal a {
    color: var(--color-light-grey);
    opacity: 0.7;
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--color-mint);
}

/* ---------------------------------- */
/* 13. PAGE-SPECIFIC STYLES           */
/* ---------------------------------- */

/* Page Header (Contact, Legal) */
.page-header {
    padding: 8rem 0 4rem;
    background-color: var(--color-dark-grey);
    text-align: center;
    color: var(--color-white);
}

.page-header h1 {
    color: var(--color-white);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-light-grey);
    opacity: 0.8;
    max-width: 600px;
    margin: 1rem auto 0;
}

.breadcrumbs {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--color-light-grey);
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--color-mint);
}

.breadcrumbs span {
    color: var(--color-mint);
}

.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 0.5rem;
}

.legal-header {
    padding: 6rem 0 3rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--color-light-grey);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-violet);
}

.contact-info-item h4 {
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
}

/* Legal Content Section */
.legal-content {
    padding: 5rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-mint);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* ---------------------------------- */
/*  14. INTERACTIVE ELEMENTS          */
/* ---------------------------------- */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-violet);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #6a50e0;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Forms */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-violet);
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.2);
}

#form-status {
    margin-top: 1rem;
    font-weight: 600;
}


/* ---------------------------------- */
/*    15. ANIMATIONS & KEYFRAMES      */
/* ---------------------------------- */

/* Scroll Animations */
.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for staggered effect */
.hero-content>*:nth-child(1) {
    transition-delay: 0.2s;
}

.hero-content>*:nth-child(2) {
    transition-delay: 0.4s;
}

.hero-content>*:nth-child(3) {
    transition-delay: 0.6s;
}

.hero-content>*:nth-child(4) {
    transition-delay: 0.8s;
}

.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.1s;
}

.service-card:nth-child(5) {
    transition-delay: 0.2s;
}

.service-card:nth-child(6) {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* ---------------------------------- */
/* 16. MISCELLANEOUS                  */
/* ---------------------------------- */
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--color-violet);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral);
}

/* Custom Cursor */
body {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-mint);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-coral);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

a:hover~.cursor-outline,
button:hover~.cursor-outline,
.service-card:hover~.cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--color-mint);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-violet);
    color: var(--color-white);
    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: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-mint);
    color: var(--color-black);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-coral);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 998;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.live-chat-widget:hover {
    transform: scale(1.1);
}

/* Floating Helper */
.floating-helper {
    position: fixed;
    right: 30px;
    top: 50%;
    width: 80px;
    height: 80px;
    z-index: 990;
    transition: transform 0.5s ease-out;
}

.floating-helper .eye {
    transition: transform 0.2s;
}


/* ---------------------------------- */
/* 17. RESPONSIVE DESIGN              */
/* ---------------------------------- */

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        text-align: center;
        height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .process-timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 4rem;
        padding-right: 1rem;
    }

    .timeline-dot {
        left: -10px !important;
    }

    .timeline-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .timeline-content::after {
        left: -15px !important;
        right: auto !important;
    }

    .timeline-icon {
        left: -30px !important;
        right: auto !important;
    }

    .slider-controls {
        position: static;
        transform: none;
        margin-top: 2rem;
        justify-content: center;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social,
    .footer-contact {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .floating-helper {
        display: none;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }
}