/*
========================================
--- TABLE OF CONTENTS
========================================
1.  ROOT VARIABLES & RESET
2.  GENERAL STYLES & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Containers)
4.  PRELOADER & CURSOR
5.  HEADER & NAVIGATION
6.  MOBILE NAVIGATION
7.  FOOTER
8.  HERO SECTION & PARTICLE CANVAS
9.  SECTION STYLES (Services, About, etc.)
    9.1. Section Header
    9.2. Services Section
    9.3. About Section
    9.4. Process Section
    9.5. Testimonials Section
    9.6. CTA Section
10. SUB-PAGE STYLES (Contact, Legal)
    10.1. Page Header
    10.2. Legal Content
    10.3. Contact Page
    10.4. Popup
11. ANIMATIONS & KEYFRAMES
12. RESPONSIVE DESIGN
========================================
*/

/* 1. ROOT VARIABLES & RESET
---------------------------------------- */
:root {
    --color-bg: #050a19;
    --color-bg-light: #0d1226;
    --color-primary: #00f5ff;
    --color-secondary: #ff00ff;
    --color-accent: #4d00ff;
    --color-text: #e0e0e0;
    --color-text-dark: #a0a0b8;
    --color-border: rgba(0, 245, 255, 0.2);
    --font-family: 'Poppins', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --shadow-glow: 0 0 15px var(--color-primary), 0 0 30px var(--color-primary);
    --shadow-glow-secondary: 0 0 15px var(--color-secondary), 0 0 30px var(--color-secondary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. GENERAL STYLES & TYPOGRAPHY
---------------------------------------- */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.section-padding {
    padding: 100px 0;
}

.subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 3. REUSABLE COMPONENTS
---------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 250%;
    height: 250%;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6);
    border-color: var(--color-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* 4. PRELOADER & CURSOR
---------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-core {
    width: 60px;
    height: 60px;
    border: 5px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: screen;
}

body:hover .cursor-glow {
    opacity: 1;
}

.cursor-glow.pointer {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 245, 255, 0.1);
}

/* 5. HEADER & NAVIGATION
---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(5, 10, 25, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    filter: invert(1);
    transition: var(--transition-fast);
}


.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.is-active .bar-top {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-toggle.is-active .bar-middle {
    opacity: 0;
}

.mobile-toggle.is-active .bar-bottom {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* 6. MOBILE NAVIGATION
---------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 10, 25, 0.95);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.is-open nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.is-open nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.is-open nav li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.is-open nav li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.is-open nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.is-open nav li:nth-child(5) {
    transition-delay: 0.5s;
}


.mobile-nav nav a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.mobile-nav .btn {
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* 7. FOOTER
---------------------------------------- */
.footer {
    background-color: var(--color-bg-light);
    padding: 80px 0 0;
    position: relative;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 245, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 40%);
    opacity: 0.5;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-col-title {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-logo {
    height: 50px;
    filter: invert(1);
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--color-text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--color-bg);
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: var(--color-text-dark);
    position: relative;
    transition: var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.footer-links ul a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--color-primary);
}

.footer-links ul a:hover::before {
    opacity: 1;
    left: -2px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.contact-info li i {
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-info a {
    color: var(--color-text-dark);
}

.contact-info a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--color-text-dark);
}

/* 8. HERO SECTION & PARTICLE CANVAS
---------------------------------------- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--color-text);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 9. SECTION STYLES
---------------------------------------- */

/* 9.1 Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* 9.2 Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.service-card:hover .card-glow {
    width: 400px;
    height: 400px;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--color-primary);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 9.3 About Section */
.about-section {
    background-color: var(--color-bg-light);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.about-image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid var(--color-primary);
    top: -20px;
    left: -20px;
    z-index: 1;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-image-bg {
    transform: translate(20px, 20px);
}

.stats-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.stat-item p {
    color: var(--color-text-dark);
    margin: 0;
}


/* 9.4 Process Section */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 70px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 70px;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
    justify-content: flex-start;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-bg);
    border: 4px solid var(--color-primary);
    top: 30px;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-item.is-visible .timeline-dot {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    padding: 20px 30px;
    background: var(--color-bg-light);
    position: relative;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.timeline-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* 9.5 Testimonials Section */
.testimonials-section {
    background-color: var(--color-bg-light);
}

.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    margin: auto;
}

.testimonial-slider {
    display: flex;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-3 * (100% / 3)));
    }
}

.testimonial-slider:hover {
    animation-play-state: paused;
}


.testimonial-card {
    flex: 0 0 100%;
    padding: 40px;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    margin: 0 1.5rem;
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--color-border);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.author-info h4 {
    margin: 0;
    color: #fff;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* 9.6 CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(5, 10, 25, 0.9), rgba(5, 10, 25, 0.9)), url(https://images.pexels.com/photos/159306/construction-site-build-construction-work-159306.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 10. SUB-PAGE STYLES
---------------------------------------- */

/* 10.1 Page Header */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -50px;
    right: -50px;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.breadcrumbs {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-dark);
}

.breadcrumbs a {
    color: var(--color-text-dark);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.breadcrumbs span {
    color: var(--color-primary);
}

/* 10.2 Legal Content */
.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--color-text);
}

.legal-content strong {
    color: #fff;
}


/* 10.3 Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.contact-info-panel {
    position: relative;
    padding: 2rem;
}

.panel-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(0, 245, 255, 0.15) 0%, transparent 50%);
    border-radius: 10px;
}

.contact-info-panel h2 {
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.method-details p {
    margin: 0;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 15px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition-fast);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.contact-form .form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--color-text-dark);
    pointer-events: none;
    transition: var(--transition-fast);
}

.contact-form .form-group input:focus+label,
.contact-form .form-group input:not(:placeholder-shown)+label,
.contact-form .form-group textarea:focus+label,
.contact-form .form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--color-bg-light);
    padding: 0 5px;
    color: var(--color-primary);
}

.optional {
    font-size: 0.8em;
    opacity: 0.7;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}


/* 10.4 Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup:target,
.popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content,
.popup.is-visible .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-text-dark);
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup h3 {
    margin-bottom: 1rem;
}

.popup-close-btn {
    margin-top: 1.5rem;
}

/* 11. ANIMATIONS & KEYFRAMES
---------------------------------------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.fade-in-down {
    transform: translateY(-50px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* 12. RESPONSIVE DESIGN
---------------------------------------- */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-top: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        cursor: auto;
    }

    .cursor-glow {
        display: none;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero {
        min-height: 600px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .testimonial-slider-wrapper {
        width: 100%;
    }

    .testimonial-card {
        margin: 0 1rem;
    }

    .contact-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .header .container {
        width: 95%;
    }

    .header-cta {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links,
    .contact-info,
    .footer-links ul {
        justify-content: center;
    }
}