/*
Theme: Growth Arcade
Colors:
  - Purple: #A259FF (Primary)
  - Cyan: #00E5FF (Accent 1)
  - Orange: #FF8A00 (Accent 2)
  - Black: #0D0D0D (Background)
  - White: #F5F5F5 (Text)
Fonts:
  - Oswald (Headings)
  - Inter (Body)
*/

/* ------------------- */
/* ROOT & GLOBAL STYLES */
/* ------------------- */
:root {
    --primary-color: #A259FF;
    --accent-color-1: #00E5FF;
    --accent-color-2: #FF8A00;
    --bg-color: #0D0D0D;
    --surface-color: #1a1a1a;
    --text-color: #F5F5F5;
    --text-muted-color: #a0a0a0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1.2;
}

a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ------------------- */
/* UTILITY CLASSES     */
/* ------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color-1);
    border-color: var(--accent-color-1);
}

.btn-secondary:hover {
    background-color: var(--accent-color-1);
    color: var(--bg-color);
}

/* Logo styling for text-only logo */
.text-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    /* Aap apne theme ke hisaab se color change kar sakte hain */
    text-decoration: none;
    letter-spacing: 1px;
}

.text-logo span {
    color: #ff4d4d;
    /* Highlight color */
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* Section Header Styling */
.section-header .section-subtitle {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-color-1);
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header .section-title {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-header.text-center .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
}

.section-header:not(.text-center) .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
}

.section-header .section-intro {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted-color);
}


/* ------------------- */
/* HEADER & NAVIGATION */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 35px;
}

.main-nav .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-color);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--surface-color);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-link {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--text-color);
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* ------------------- */
/* HERO SECTION        */
/* ------------------- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 1)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23a259ff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9z'/%3E%3Cpath d='M6 5V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5h-1v-5h-9v5H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5v-9H0v-1h5V0h1v5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    animation: pan 60s linear infinite;
}

@keyframes pan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px 1000px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 10vw;
    line-height: 1;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--accent-color-1), 0 0 20px var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    animation: glitch 1.5s linear infinite;
}


/* Glitch Effect */
@keyframes glitch {

    2%,
    64% {
        transform: translate(2px, 0) skew(0deg);
    }

    4%,
    60% {
        transform: translate(-2px, 0) skew(0deg);
    }

    62% {
        transform: translate(0, 0) skew(5deg);
    }
}

.hero-title:before,
.hero-title:after {
    content: attr(data-glitch);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
}

.hero-title:before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    animation: glitch-top 1.5s linear infinite reverse;
}

.hero-title:after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-color-1), 2px 2px var(--primary-color);
    animation: glitch-bottom 1.5s linear infinite reverse;
}

@keyframes glitch-top {

    2%,
    64% {
        transform: translate(2px, -2px);
    }

    4%,
    60% {
        transform: translate(-2px, 2px);
    }

    62% {
        transform: translate(13px, -1px) skew(-13deg);
    }
}

@keyframes glitch-bottom {

    2%,
    64% {
        transform: translate(-2px, 0);
    }

    4%,
    60% {
        transform: translate(-2px, 0);
    }

    62% {
        transform: translate(-22px, 5px) skew(21deg);
    }
}


.hero-subtitle {
    font-size: 24px;
    color: var(--text-muted-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 3D Object */
.hero-3d-object {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    z-index: 1;
    display: none;
}

@media (min-width: 992px) {
    .hero-3d-object {
        display: block;
    }
}

.joystick {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    transform: rotateX(-20deg) rotateY(-30deg);
}

@keyframes float {

    0%,
    100% {
        transform: rotateX(-20deg) rotateY(-30deg) translateY(0);
    }

    50% {
        transform: rotateX(-20deg) rotateY(-30deg) translateY(-20px);
    }
}

.joystick-base {
    width: 150px;
    height: 40px;
    background: #333;
    position: absolute;
    bottom: 40px;
    left: 25px;
    transform: rotateX(90deg) translateZ(-20px);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.joystick-stick {
    width: 20px;
    height: 100px;
    background: linear-gradient(to top, #555, #888);
    position: absolute;
    bottom: 60px;
    left: 90px;
    transform: rotateX(90deg) translateZ(50px);
}

.joystick-ball {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -25px;
    left: -15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-color);
}


/* ------------------- */
/* SERVICES SECTION    */
/* ------------------- */
.services-section {
    background-color: var(--surface-color);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: transparent;
    aspect-ratio: 1 / 1.2;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 2px solid rgba(162, 89, 255, 0.2);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.5), rgba(13, 13, 13, 0.5));
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card-front:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 89, 255, 0.2);
}

.service-card-back {
    transform: rotateY(180deg);
    border-color: var(--accent-color-1);
}

.service-icon {
    font-size: 48px;
    color: var(--accent-color-1);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-color-1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted-color);
    font-size: 16px;
}

.service-card-back p {
    font-size: 15px;
}

.xp-gain {
    margin-top: 20px;
    font-family: var(--font-heading);
    color: var(--accent-color-2);
    font-size: 18px;
    font-weight: 700;
}

/* ------------------- */
/* ABOUT SECTION       */
/* ------------------- */
.about-section {
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
}

.stat-item {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--accent-color-1);
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted-color);
    line-height: 1.3;
}

/* ------------------- */
/* PROCESS SECTION     */
/* ------------------- */
.process-section {
    background-color: var(--surface-color);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    position: relative;
    margin-bottom: 50px;
}

.process-icon-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--primary-color);
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.1);
}

.process-line {
    width: 3px;
    height: 120px;
    background: var(--primary-color);
}

.process-content {
    padding: 10px 0 10px 40px;
    flex: 1;
}

.process-number {
    font-family: var(--font-heading);
    color: var(--accent-color-1);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.process-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.process-content p {
    color: var(--text-muted-color);
}


/* ------------------- */
/* TESTIMONIALS SECTION*/
/* ------------------- */
.testimonials-section {
    background-color: var(--bg-color);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.testimonial-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color-1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '\f10d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 24px;
    color: var(--accent-color-1);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted-color);
}

.testimonial-rating {
    color: var(--accent-color-2);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    left: -20px;
    box-sizing: content-box;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* ------------------- */
/* CTA SECTION         */
/* ------------------- */
.cta-section {
    background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.8)),
        url('https://www.transparenttextures.com/patterns/cubes.png') var(--surface-color);
    padding: 80px 0;
}

.cta-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-muted-color);
    font-size: 18px;
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.footer {
    background-color: var(--surface-color);
    padding-top: 80px;
    font-size: 15px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
    text-transform: capitalize;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.about-col .footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.about-col p {
    color: var(--text-muted-color);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--text-muted-color);
    border-radius: 50%;
    color: var(--text-muted-color);
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: var(--text-muted-color);
}

.links-col ul li a:hover {
    color: var(--accent-color-1);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted-color);
}

.footer-contact li a {
    color: var(--text-muted-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact li a:hover {
    color: var(--accent-color-1);
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-muted-color);
}

/* ------------------- */
/* LEGAL & CONTACT PAGES */
/* ------------------- */
.page-header {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    text-align: center;
    background-color: var(--surface-color);
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto;
}

.legal-content,
.contact-page-section {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 32px;
    color: var(--accent-color-1);
    margin-bottom: 15px;
}

.legal-section p,
.legal-section strong {
    color: var(--text-muted-color);
    line-height: 1.8;
}

.legal-section strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Contact Page specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--surface-color);
    padding: 50px;
    border-radius: 10px;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(162, 89, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 24px;
}

.contact-text h3 {
    font-size: 22px;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.contact-text p,
.contact-text p a {
    color: var(--text-muted-color);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-color);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-body);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(162, 89, 255, 0.3);
}

.btn-block {
    width: 100%;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted-color);
    font-size: 24px;
    cursor: pointer;
}

.popup-icon {
    font-size: 60px;
    color: var(--accent-color-1);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--text-muted-color);
}

/* ------------------- */
/* ANIMATIONS          */
/* ------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------- */
/* RESPONSIVE DESIGN   */
/* ------------------- */
@media (max-width: 992px) {
    .section-header .section-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 14vw;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-text .section-header:not(.text-center) .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-stats {
        margin-top: 40px;
    }

    .process-content {
        padding-left: 20px;
    }

    .process-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-section {
        height: 90vh;
    }

    .hero-title {
        font-size: 18vw;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        aspect-ratio: unset;
        min-height: 250px;
    }

    .service-card:hover .service-card-inner {
        transform: none;
    }

    .service-card-back {
        display: none;
    }

    /* Simpler interaction for mobile */

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .process-timeline::before {
        left: 40px;
    }

    .process-step {
        flex-direction: column;
    }

    .process-icon-wrapper {
        flex-direction: row;
        align-self: flex-start;
    }

    .process-line {
        width: 100px;
        height: 3px;
    }

    .process-content {
        padding-left: 0;
        margin-top: 20px;
    }

    .slider-controls {
        display: none;
    }

    /* Add swipe functionality in JS later if needed */
    .testimonial-slide {
        padding: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .page-header h1 {
        font-size: 42px;
    }
}