/*
================================================
    * Evans Custom Landscape Solutions - v3.1 Stylesheet *
================================================
*/

/* [ PREVIOUS STYLES 1-7 REMAIN THE SAME ] */

/* ... (paste all CSS from the previous step from section 1 to 7) ... */

/* ---------------------------------- */
/*          1. GLOBAL & SETUP         */
/* ---------------------------------- */

:root {
    --primary-color: #00e5ff;
    /* Cyan */
    --secondary-color: #9f55ff;
    /* Purple */
    --accent-color: #ff2a6d;
    /* Magenta/Red for CTAs */
    --dark-bg: #010103;
    --light-glass: rgba(10, 15, 30, 0.5);
    --border-color: rgba(0, 229, 255, 0.2);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --header-height: 80px;
    --glow-primary: 0 0 15px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0, 229, 255, 0.3);
    --glow-accent: 0 0 15px rgba(255, 42, 109, 0.6), 0 0 30px rgba(255, 42, 109, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--dark-bg);
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

body.loaded {
    opacity: 1;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

/* ---------------------------------- */
/*     2. PRELOADER & CURSOR          */
/* ---------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 80px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.preloader-bar {
    width: 150px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    animation: load 1.5s ease-out forwards;
}

@keyframes load {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, border-width 0.3s, background-color 0.3s;
    z-index: 9999;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 229, 255, 0.2);
    border-width: 1px;
}

.cursor.clicked {
    transform: translate(-50%, -50%) scale(0.8);
}

/* ---------------------------------- */
/*       3. 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 0.3s, backdrop-filter 0.3s, border-bottom-color 0.3s;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--light-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    height: 100px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    /* Displayed by default on desktop */
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.25rem;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    /* Hidden by default on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active .bar:first-child {
    transform: translateY(11px) rotate(45deg);
}

.mobile-toggle.active .bar:last-child {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav nav ul li {
    margin: 2rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-nav.active nav ul li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.active nav ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active nav ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.active nav ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.active nav ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav.active nav ul li:nth-child(5) {
    transition-delay: 0.5s;
}


.mobile-nav nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
}


/* ---------------------------------- */
/*           4. BUTTONS & CTAs        */
/* ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    box-shadow: var(--glow-accent);
    transform: translateY(-3px);
    color: #fff;
}

.btn.btn-large {
    padding: 1rem 3rem;
    font-size: 1.4rem;
}


/* ---------------------------------- */
/*          5. HERO SECTION           */
/* ---------------------------------- */
.hero-section {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    perspective: 1000px;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(120px);
    transform-style: preserve-3d;
}

.hero-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary-color);
    top: -20%;
    right: -20%;
}

.hero-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    bottom: -15%;
    left: -15%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
}

.hero-title span {
    display: block;
}

.hero-title .highlight-text {
    color: var(--primary-color);
}

.reveal-text {
    overflow: hidden;
    display: block;
}

.reveal-text::after {
    content: '';
    display: block;
    transform: translateY(110%);
    animation: reveal 1s 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

h1 .reveal-text:nth-child(1)::after {
    animation-delay: 0.6s;
}

h1 .reveal-text:nth-child(2)::after {
    animation-delay: 0.7s;
}

h1 .reveal-text:nth-child(3)::after {
    animation-delay: 0.8s;
}

@keyframes reveal {
    to {
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 2rem 0 3rem;
    max-width: 600px;
    color: var(--text-secondary);
}

/* ---------------------------------- */
/*      6. PARTNERS SECTION (NEW)     */
/* ---------------------------------- */
.partners-section {
    padding: 2rem 0;
    background: #030407;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.marquee-content img {
    height: 35px;
    width: auto;
    margin: 0 3rem;
    filter: grayscale(1) brightness(1.5) contrast(0.5);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.marquee-content img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* ---------------------------------- */
/*         7. SERVICES SECTION        */
/* ---------------------------------- */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-glass);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 255, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 229, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-description {
    min-height: 80px;
}

/* ---------------------------------- */
/*         8. DATA SECTION (UPDATED)  */
/* ---------------------------------- */
.data-section {
    padding: 6rem 0;
    background-color: #030407;
}

.data-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.data-chart-container {
    background: var(--light-glass);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 400px;
    /* Ensure container has height */
}

.data-chart-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* NEW: Placeholder and Canvas Styling */
.chart-placeholder,
#growthChart {
    position: absolute;
    top: 60px;
    /* Adjust to be below the h3 title */
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    width: calc(100% - 4rem);
    height: calc(100% - 60px - 4rem);
    transition: opacity 0.5s ease-in-out;
}

.chart-placeholder {
    opacity: 1;
    z-index: 2;
}

.chart-placeholder.fade-out {
    opacity: 0;
}

#growthChart {
    opacity: 0;
}

#growthChart.loaded {
    opacity: 1;
}

.data-kpi-grid {
    display: grid;
    gap: 2rem;
}

.kpi-card {
    background: var(--light-glass);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.kpi-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.kpi-label {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------------------------------- */
/*          9. SERP SECTION (NEW)     */
/* ---------------------------------- */
.serp-section {
    padding: 6rem 0;
}

.serp-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #0a0e1a;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.serp-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.serp-search-bar {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.serp-search-bar::placeholder {
    color: var(--text-secondary);
}

.serp-results {
    padding: 1.5rem;
}

.serp-result {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.serp-result:last-child {
    border-bottom: none;
}

.serp-result h3 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #8ab4f8;
    /* Google-like link color */
    margin-bottom: 0.25rem;
}

.serp-result .result-url {
    color: #99ffa2;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.serp-result .result-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.serp-result.dominant {
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(rgba(0, 229, 255, 0.05), transparent);
    box-shadow: var(--glow-primary);
    position: relative;
}

.result-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-family: var(--font-heading);
    padding: 0.2rem 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
}

.serp-result.dominant h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.serp-result.other {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.serp-result.other:hover {
    opacity: 1;
}


/* ---------------------------------- */
/*         10. PROCESS SECTION         */
/* ---------------------------------- */
.process-section {
    padding: 6rem 0;
    background-color: #030407;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.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-step:nth-child(odd) .step-content {
    padding-right: 40px;
}

.process-step:nth-child(even) .step-content {
    padding-left: 40px;
}

.step-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: var(--dark-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 2;
}

.process-step:nth-child(odd) .step-number {
    right: -30px;
}

.process-step:nth-child(even) .step-number {
    left: -30px;
}

.step-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 1.1rem;
}


/* ---------------------------------- */
/*      11. TESTIMONIALS SECTION      */
/* ---------------------------------- */
.testimonials-section {
    padding: 6rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-glass);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 35px;
}

.testimonial-text::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-name {
    font-size: 1.25rem;
    margin: 0;
}

.author-title {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------------------------------- */
/*          12. CTA SECTION           */
/* ---------------------------------- */
.cta-section {
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* ---------------------------------- */
/*           13. FOOTER               */
/* ---------------------------------- */
.footer {
    background-color: #030407;
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 100px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-links ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    align-items: flex-start;
}

.contact-info-list li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info-list li a {
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* ---------------------------------- */
/*         14. SUBPAGE STYLES         */
/* ---------------------------------- */
.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 1, 3, 0.8), var(--dark-bg));
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(159, 85, 255, 0.15), transparent 60%);
    animation: slow-pulse 8s infinite alternate;
}

@keyframes slow-pulse {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.page-header h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    position: relative;
}

.page-header .page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-secondary);
    position: relative;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.page-content {
    padding: 5rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-glass);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.content-wrapper h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.content-wrapper ul {
    list-style: none;
    padding-left: 0;
}

.content-wrapper ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.content-wrapper ul li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.content-wrapper .last-updated {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-secondary);
    text-align: right;
}

/* ---------------------------------- */
/*       15. CONTACT PAGE STYLES      */
/* ---------------------------------- */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.3);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    width: 100%;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 3, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--light-glass);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}


/* ---------------------------------- */
/*        16. ANIMATIONS              */
/* ---------------------------------- */
.animate-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

.animate-in[data-animation="fade-in-right"] {
    transform: translateX(-50px);
}

.animate-in[data-animation="fade-in-left"] {
    transform: translateX(50px);
}

.animate-in[data-animation="zoom-in"] {
    transform: scale(0.9);
}

.animate-in.visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------- */
/*       17. RESPONSIVENESS           */
/* ---------------------------------- */
@media (max-width: 992px) {

    .nav,
    .header-actions .header-cta {
        display: none;
        /* Hide nav and CTA button */
    }

    .mobile-toggle {
        display: flex;
        /* Show hamburger menu */
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important;
        margin-bottom: 3rem;
    }

    .process-step:nth-child(even) {
        left: 0;
    }

    .process-step .step-content {
        padding-left: 20px !important;
        padding-right: 0 !important;
    }

    .process-step .step-number {
        left: 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        line-height: 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info-list li {
        justify-content: center;
    }
}