/*
    STYLESHEET: Eric Alan Music Retro Wave Theme
    VERSION: 2.1
    AUTHOR: AI Assistant
*/

/*--------------------------------------------------------------
# FONT IMPORTS
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Poppins:wght@400;500&display=swap');

/*--------------------------------------------------------------
# CSS VARIABLES / THEME
--------------------------------------------------------------*/
:root {
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --color-bg-start: #0D0221;
    --color-bg-end: #0A0119;
    --color-text: #d1d1f0;
    --color-text-light: #ffffff;
    --color-text-muted: #8c8ca6;
    --color-primary: #FF00C1;
    /* Neon Pink */
    --color-secondary: #00E5FF;
    /* Neon Cyan */
    --glow-primary: 0 0 8px var(--color-primary), 0 0 16px rgba(255, 0, 193, 0.5);
    --glow-secondary: 0 0 8px var(--color-secondary), 0 0 16px rgba(0, 229, 255, 0.5);
    --border-color: rgba(0, 229, 255, 0.2);
    --border-color-hover: rgba(0, 229, 255, 0.8);
    --card-bg: rgba(23, 11, 48, 0.6);
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

/*--------------------------------------------------------------
# BASE & RESET STYLES
--------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--color-bg-start);
    background-image: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-end));
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/*--------------------------------------------------------------
# TYPOGRAPHY & GLOBAL ELEMENTS
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-text-light);
}

p {
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
# KEYFRAMES FOR ANIMATIONS
--------------------------------------------------------------*/
@keyframes neon-flicker {

    0%,
    100% {
        text-shadow: var(--glow-primary);
        opacity: 1;
    }

    50% {
        text-shadow: 0 0 6px var(--color-primary);
        opacity: 0.95;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes rotate-planet {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# HEADER & NAVIGATION
--------------------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(13, 2, 33, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 80px;
    filter:  invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo-link:hover .logo {
    transform: scale(1.1) rotate(-15deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    box-shadow: var(--glow-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
    cursor: pointer;
}

.bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    transition: all 0.3s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 2, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav nav ul {
    list-style: none;
}

.mobile-nav nav li {
    margin-bottom: 2.5rem;
}

.mobile-nav nav a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
}

.mobile-nav nav a:hover {
    color: var(--color-primary);
}

/*--------------------------------------------------------------
# BUTTONS
--------------------------------------------------------------*/
.btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 12px 30px;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    text-shadow: 0 0 5px var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-bg-start);
    box-shadow: var(--glow-secondary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# HERO SECTION
--------------------------------------------------------------*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -65%) perspective(500px) rotateX(60deg);
    background-image: linear-gradient(var(--color-secondary) 1px, transparent 1px), linear-gradient(90deg, var(--color-secondary) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: move-grid 20s linear infinite;
}

@keyframes move-grid {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -1000px;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 700;
    text-shadow: var(--glow-primary);
    animation: neon-flicker 3s infinite alternate;
}

.cursor {
    color: var(--color-secondary);
    display: inline-block;
    animation: cursor-blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 1.5rem 0 2.5rem;
    max-width: 50ch;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    perspective: 1000px;
}

.planet-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.planet {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate-planet 40s infinite linear;
}

.planet .body {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #5a1e9c, var(--color-bg-end) 70%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), 0 0 20px #2d0f50;
}

.planet .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 180%;
    border-radius: 50%;
    border: 3px solid var(--color-secondary);
    transform: translate(-50%, -50%) rotateX(80deg);
    box-shadow: var(--glow-secondary);
}

/*--------------------------------------------------------------
# GENERAL SECTION STYLING
--------------------------------------------------------------*/
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--color-text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 10px auto 0;
}

/*--------------------------------------------------------------
# INTERACTIVE SERVICES HUB
--------------------------------------------------------------*/
.services-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.services-hub-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.service-item:hover {
    background-color: rgba(0, 229, 255, 0.1);
    border-color: var(--color-secondary);
}

.service-item.active {
    background-color: var(--card-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.service-item i {
    font-size: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.service-item.active i {
    color: var(--color-primary);
    transform: scale(1.2);
}

.service-item h3 {
    font-size: 1.1rem;
    margin: 0;
}

.service-display {
    min-height: 300px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.display-content.fade-out {
    animation: fadeOut 0.3s forwards;
}

.display-content.fade-in {
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.display-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    text-shadow: var(--glow-primary);
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# ABOUT SECTION
--------------------------------------------------------------*/
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-content p {
    color: var(--color-text);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-icon {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
    transition: all var(--transition-speed) ease;
}

.tech-icon:hover {
    color: var(--color-secondary);
    transform: scale(1.05);
    border-color: var(--color-secondary);
    box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.2);
}

.tech-icon i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tech-icon span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# MISSION PROTOCOL TIMELINE
--------------------------------------------------------------*/
.process-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-bg-start);
    border: 4px solid var(--color-secondary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--glow-secondary);
    transition: transform 0.3s ease;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-item.is-visible::after {
    transform: scale(1.2);
}

.timeline-content {
    padding: 20px 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0% 50%, 15px 40%);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    clip-path: polygon(0 0, 100% 0, 100% 50%, calc(100% - 15px) 60%, 100% 50%, 100% 100%, 0 100%);
}

.timeline-phase {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.timeline-content h3 {
    color: var(--color-text-light);
    margin-top: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# STATS SECTION
--------------------------------------------------------------*/
.stats-section {
    padding: 80px 0;
    background-color: var(--color-bg-end);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-text-light);
    line-height: 1;
}

.stat-item span:not(.stat-number) {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# TESTIMONIALS SECTION
--------------------------------------------------------------*/
.testimonials-section {
    background-color: rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
    padding-top: 150px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-left: 4px solid var(--color-primary);
}

.author-name {
    color: var(--color-text-light);
}

.author-title {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-top: 1.5rem;
    font-style: italic;
}

/*--------------------------------------------------------------
# CTA SECTION
--------------------------------------------------------------*/
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, rgba(255, 0, 193, 0.1), rgba(0, 229, 255, 0.1));
}

.cta-container {
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--color-text-light);
}

.cta-text {
    font-size: 1.2rem;
    color: var(--color-text);
    max-width: 60ch;
    margin: 1rem auto 2rem;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer {
    padding-top: 80px;
    background-color: var(--color-bg-end);
    border-top: 1px solid var(--border-color);
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
    margin-top: -50px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col-title {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.footer-about-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    font-size: 0.9rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.contact-info i {
    color: var(--color-primary);
}

.contact-info a {
    color: var(--color-text-muted);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
    border-radius: 50%;
}

.social-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

/* Other styles for subpages, popups, etc. remain the same */
.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    color: var(--color-secondary);
}

.content-wrapper ul {
    list-style-position: inside;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel,
.contact-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.contact-method h3 {
    margin: 0;
    font-size: 1.1rem;
}

.contact-method a,
.contact-method p {
    margin: 0;
    color: var(--color-text-muted);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(13, 2, 33, 0.8);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    padding: 12px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.contact-form button {
    width: 100%;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 2, 33, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-end);
    border: 2px solid var(--color-primary);
    box-shadow: var(--glow-primary);
    padding: 40px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--color-text-muted);
}

.popup .fa-check-circle {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.popup h3 {
    color: var(--color-text-light);
}

.popup p {
    color: var(--color-text-muted);
}

.popup .btn {
    margin-top: 20px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------
# RESPONSIVE STYLES
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .about-visual {
        max-width: 500px;
        margin: 30px auto 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .contact-info {
        justify-content: center;
    }

    .services-hub-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
        clip-path: none;
    }

    .timeline-item:nth-child(even) .timeline-content {
        clip-path: none;
    }
}

@media (max-width: 768px) {

    .contact-wrapper,
    .contact-form .form-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .testimonials-section,
    .footer {
        clip-path: none;
        margin-top: 0;
        padding-top: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .header .logo-text {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .content-wrapper {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}