/*
================================================
Theme: Lightstream Canvas
Version: 1.0
Author: Cool Productions
================================================

TABLE OF CONTENTS
------------------------------------------------
1.  CSS Variables & Global Styles
2.  Keyframe Animations
3.  Layout & Container Styles
4.  Header & Navigation
5.  Mobile Navigation
6.  Buttons & CTA Styles
7.  Background Canvas Animation
8.  Hero Section
9.  Section Headers
10. Services Section
11. Process Section
12. Industries Section
13. Testimonials Section
14. CTA Section
15. Subpage Styles (Legal, Contact)
16. Contact Page Specifics
17. Popup Styles
18. Footer
19. Scroll-Triggered Animations
20. 3D & Hover Effects
21. Media Queries (Responsiveness)
    - 1200px (Large Desktops)
    - 992px (Tablets)
    - 768px (Mobile Landscape)
    - 576px (Mobile Portrait)
------------------------------------------------
*/

/* 1. CSS Variables & Global Styles
------------------------------------------------ */
:root {
    --color-background: #0a0a0f;
    --color-surface: #12121c;
    --color-primary-accent: #00f2ff;
    --color-secondary-accent: #8a2be2;
    --color-tertiary-accent: #ff00f2;
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #a0a0b0;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-shadow: rgba(0, 0, 0, 0.5);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --glow-blur: 15px;
    --glow-spread: 5px;
    --gradient-primary: linear-gradient(45deg, var(--color-primary-accent), var(--color-secondary-accent), var(--color-tertiary-accent));
    --gradient-border: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* 2. Keyframe Animations
------------------------------------------------ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 var(--glow-blur) 0 var(--color-primary-accent);
    }

    50% {
        box-shadow: 0 0 calc(var(--glow-blur) + 10px) var(--glow-spread) var(--color-secondary-accent);
    }

    100% {
        box-shadow: 0 0 var(--glow-blur) 0 var(--color-primary-accent);
    }
}

@keyframes mouse-scroll {
    0% {
        opacity: 1;
        top: 29%;
    }

    15% {
        opacity: 1;
        top: 50%;
    }

    50% {
        opacity: 0;
        top: 50%;
    }

    100% {
        opacity: 0;
        top: 29%;
    }
}

/* 3. Layout & Container Styles
------------------------------------------------ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.glass-card {
    background: rgba(18, 18, 28, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 var(--color-shadow);
}

/* 4. Header & Navigation
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 60px;
    filter: invert(1);
    transition: var(--transition-fast);
}


.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 5. Mobile Navigation
------------------------------------------------ */
.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: 3px;
    transition: all 0.4s ease;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(-45deg);
    top: 50%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    transform: translateX(0);
    display: flex;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 25px 0;
}

.mobile-nav a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.mobile-nav .btn {
    margin-top: 30px;
}


/* 6. Buttons & CTA Styles
------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 100%;
    color: #fff;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary-accent);
    color: #fff;
    text-decoration: none;
}


/* 7. Background Canvas Animation
------------------------------------------------ */
.background-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#lightstream-canvas {
    width: 100%;
    height: 100%;
}


/* 8. Hero Section
------------------------------------------------ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    /* Offset for header */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 60px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-text-secondary);
    border-radius: 25%;
    opacity: 1;
    animation: mouse-scroll 2s infinite cubic-bezier(0.5, 0, 0.1, 1);
}

/* 9. Section Headers
------------------------------------------------ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 242, 255, 0.1);
    color: var(--color-primary-accent);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}


/* 10. Services Section
------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: var(--border-radius-md);
    padding: 2px;
    background: var(--gradient-border);
    transition: transform var(--transition-fast);
}

.service-card-inner {
    background-color: var(--color-surface);
    padding: 40px 30px;
    height: 100%;
    border-radius: calc(var(--border-radius-md) - 2px);
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-accent);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    margin-top: 1rem;
}

.card-link i {
    margin-left: 5px;
    transition: var(--transition-fast);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 11. Process Section
------------------------------------------------ */
.process-section {
    background-color: var(--color-surface);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    border: 3px solid var(--color-primary-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 1;
    box-shadow: 0 0 15px var(--color-primary-accent);
}

.process-step:nth-child(odd) .process-icon {
    right: -30px;
}

.process-step:nth-child(even) .process-icon {
    left: -30px;
}

.process-content {
    padding: 20px 30px;
    position: relative;
    border-radius: var(--border-radius-sm);
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 10px;
    z-index: -1;
}

.process-step:nth-child(odd) .step-number {
    right: 30px;
}

.process-step:nth-child(even) .step-number {
    left: 30px;
}

/* 12. Industries Section
------------------------------------------------ */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.industry-item {
    padding: 20px 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.industry-item:hover {
    background: var(--color-primary-accent);
    color: var(--color-background);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

.industry-item i {
    font-size: 1.2rem;
}


/* 13. Testimonials Section
------------------------------------------------ */
.testimonials-section {
    background-color: var(--color-surface);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 2;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--color-secondary-accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-name {
    display: block;
    font-weight: 600;
    color: #fff;
}

.author-title {
    color: var(--color-text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: absolute;
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.slider-btn:hover {
    background: var(--color-primary-accent);
    color: var(--color-background);
}


/* 14. CTA Section
------------------------------------------------ */
.cta-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    margin-bottom: 1rem;
}

.cta-button {
    flex-shrink: 0;
}

/* 15. Subpage Styles (Legal, Contact)
------------------------------------------------ */
.subpage .header {
    background-color: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 15, 0.8), rgba(10, 10, 15, 0.8));
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-subtitle {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
}

.breadcrumbs a {
    color: var(--color-text-primary);
}

.breadcrumbs a:hover {
    color: var(--color-primary-accent);
}

.page-content {
    padding-top: 50px;
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
}

.legal-content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content-wrapper p,
.legal-content-wrapper li {
    color: var(--color-text-secondary);
}

.legal-content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}


/* 16. Contact Page Specifics
------------------------------------------------ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-panel,
.contact-form-wrapper {
    padding: 40px;
}

.contact-info-panel h2,
.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.method-details p,
.method-details a {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
}

.contact-form .full-width {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group .optional {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.custom-select select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.custom-select select:focus {
    outline: none;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.custom-select {
    position: relative;
}

.custom-select::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-secondary);
}

.custom-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
}

/* 17. Popup Styles
------------------------------------------------ */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    padding: 40px;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup h3 {
    margin-bottom: 1rem;
}

.popup-close-btn {
    margin-top: 1.5rem;
}


/* 18. Footer
------------------------------------------------ */
.footer {
    background: var(--color-surface);
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-logo {
    height: 60px;
    filter: invert(1);
    margin-bottom: 1.5rem;
}

.footer-about-text {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.social-link:hover {
    background: var(--color-primary-accent);
    color: var(--color-background);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--color-text-secondary);
}

.footer-links ul a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.contact-info i {
    margin-top: 5px;
    color: var(--color-primary-accent);
}

.contact-info a {
    color: var(--color-text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 25px 0;
    text-align: center;
    color: var(--color-text-secondary);
}

/* 19. Scroll-Triggered Animations
------------------------------------------------ */
.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-load.fade-in-down,
.animate-on-scroll.fade-in-down {
    transform: translateY(-30px);
}

.animate-on-load.fade-in-up,
.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-in-right {
    transform: translateX(50px);
}

.animate-on-load.is-visible,
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.animate-on-load.delay-1 {
    transition-delay: 0.2s;
}

.animate-on-load.delay-2 {
    transition-delay: 0.4s;
}


/* 20. 3D & Hover Effects
------------------------------------------------ */
.service-card {
    transform-style: preserve-3d;
}

.service-card-inner {
    transform: translateZ(20px);
}

.service-card:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}


/* 21. Media Queries (Responsiveness)
------------------------------------------------ */

/* 1200px (Large Desktops) */
@media (max-width: 1200px) {
    .slider-controls {
        position: static;
        transform: none;
        margin-top: 30px;
        justify-content: center;
        gap: 20px;
    }

    .slider-btn {
        position: static;
    }
}

/* 992px (Tablets) */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .process-step:nth-child(odd) .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
    }

    .process-step:nth-child(odd) .step-number,
    .process-step:nth-child(even) .step-number {
        left: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

/* 768px (Mobile Landscape) */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

/* 576px (Mobile Portrait) */
@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    section {
        padding: 60px 0;
    }

    .header {
        padding: 15px 0;
    }

    .logo {
        height: 40px;
    }

    .hero-section {
        min-height: 90vh;
    }

    h1,
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
        text-align: left;
    }

    .contact-form .form-row {
        flex-direction: column;
        margin-bottom: 0;
    }

    .contact-form .form-group {
        margin-bottom: 20px;
    }
}