/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #602281;
    --secondary-color: #f342c4;
    --link-color: #07dce5;
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --bg-light: #1a1a1a;
    --bg-dark: #000000;
    --white: #ffffff;
    /* Global background tones (tuned to martinprado.me) */
    --bg-gradient-start: #0b0711; /* near-black with slight purple */
    --bg-gradient-end: #52207b;   /* deep royal purple */
    --gradient-1: linear-gradient(135deg, #602281 0%, #f342c4 100%);
    --gradient-2: linear-gradient(135deg, #f342c4 0%, #602281 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #000; /* base pure black */
    min-height: 100vh;
    position: relative;
}

/* Global highlight color */
strong {
    color: #07dce5;
}

/* Scroll-driven gradient layer (top black → bottom purple). Opacity driven by --bg-shift (0..1) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        #120a1a 25%,
        #201031 50%,
        #2f1650 75%,
        #4f1c78 100%
    );
    opacity: var(--bg-shift, 0);
    transition: opacity 120ms linear; /* smoothness */
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

/* Theme transition (Phantom-like) */
/* Disable alt theme color shift; keep text as-is */
body.theme-alt::before { opacity: 1; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham', 'Arial Black', sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--link-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Current page indicator */
.nav-link.active-page {
    color: #ffffff !important;
}
.nav-link.active-page::after { width: 100%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: grid; /* align video and text in same grid cell */
    place-items: center;
    overflow: hidden;
    background: #000000; /* hero fully black as requested */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top center, rgba(96, 34, 129, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(243, 66, 196, 0.2) 0%, transparent 50%);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--white);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    bottom: -250px;
    right: -250px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid; /* overlap children */
    place-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.hero-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1;
}

.hero-video video {
    width: min(60vw, 1400px);
    height: auto;
    filter: none;
    opacity: 0.85;
    position: relative;
    z-index: 0;
    min-width: 800px;
    margin: 0 auto;
    display: block;
}

.hero-subtitle {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    /* Gradient animation is handled by inline styles in HTML */
}

/* Gradient animation keyframes removed - handled by inline styles */

.hero-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 66, 196, 0.4);
    border-color: transparent;
}

.cta-button:hover::before {
    left: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Shared gradient animation for headings */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Lazy image performance hint */
img[loading="lazy"] { content-visibility: auto; }

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease 0.6s forwards;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Journey Section */
.journey {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.timeline-carousel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-row {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.timeline-items {
    display: flex;
    gap: 2rem;
    padding-right: 0;
}

.timeline-row-top .timeline-items {
    animation: scrollRight 30s linear infinite;
}

.timeline-row-bottom .timeline-items {
    animation: scrollLeft 30s linear infinite;
}

.timeline-row:hover .timeline-items {
    animation-play-state: paused;
}

.timeline-item {
    flex: 0 0 350px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(96, 34, 129, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px;
    justify-content: flex-start;
}

.timeline-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.timeline-content h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--link-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.75rem;
}

.timeline-content { position: relative; padding-bottom: 28px; }
.work-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.timeline-logo {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    transition: all 0.3s ease;
}
.timeline-logo[loading="lazy"] { content-visibility: auto; }

.timeline-item:hover .timeline-logo {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(243, 66, 196, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Section-triggered background color shift for Services blocks */
.service-detail, .services { position: relative; z-index: 0; }
.service-detail::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1000px 500px at 50% 0%, rgba(7,220,229,0.14), transparent 65%);
    opacity: 0;
    transition: opacity 500ms ease;
    z-index: -1;
}
.service-detail.in-view::after { opacity: 1; }

.services-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 1rem;
}

.service-card {
    background: rgba(20, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 34, 129, 0.2);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(243, 66, 196, 0.3);
    border-color: rgba(243, 66, 196, 0.5);
}

.service-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    background: rgba(243, 66, 196, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.service-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: none;
    z-index: 1;
}

/* Lazy loading quality hint */
img[loading="lazy"] {
    content-visibility: auto;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: #000000;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(10px);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card h4 {
    font-size: 0.875rem;
    color: #07dce5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--link-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.service-link:hover {
    background: var(--link-color);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(7, 220, 229, 0.3);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.services-navigation {
    display: none;
}

@media (min-width: 769px) {
    .services-navigation {
        display: none !important;
    }
    
    .services-dots {
        display: none !important;
    }
}

.services-nav-prev,
.services-nav-next {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-nav-prev:hover,
.services-nav-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    background: var(--primary-color);
    border-radius: 4px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--link-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--link-color);
}

.contact-form {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(96, 34, 129, 0.3);
    box-shadow: 0 10px 40px rgba(96, 34, 129, 0.2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #602281;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.country-code {
    flex: 0 0 120px;
    padding: 1.2rem 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #602281;
    border-radius: 12px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    font-size: 1.1rem;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: left;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f342c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
    padding-right: 2rem;
}

.country-code:focus {
    border-color: #f342c4;
    box-shadow: 0 0 20px rgba(243, 66, 196, 0.4);
    background-color: rgba(243, 66, 196, 0.05);
}

.phone-input-wrapper input {
    flex: 1;
    margin-bottom: 0;
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f342c4;
    box-shadow: 0 0 20px rgba(243, 66, 196, 0.4);
    background: rgba(243, 66, 196, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: transparent;
    color: var(--link-color);
    border: 2px solid var(--link-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 66, 196, 0.3);
    color: var(--white);
    border-color: transparent;
}

.submit-btn:hover::before {
    left: 0;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* footer social removed in favor of quick links */

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp (shared) */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}
.whatsapp-float i { font-size: 2rem; color: #fff; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Timeline animation */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content {
        padding: 1rem;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    
    .hero-video video {
        width: 90% !important;
        max-width: 350px !important;
        height: auto;
        display: block !important;
        opacity: 1 !important;
        min-width: auto !important;
    }
    
    .hero-subtitle {
        font-size: 3.5rem !important;
    }
    
    .hero-title {
        font-size: 1.25rem !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Timeline mobile layout */
    .timeline-carousel {
        gap: 1rem;
    }
    
    .timeline-row {
        animation-duration: 20s;
    }
    
    .timeline-item {
        flex: 0 0 250px;
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-logo {
        width: 100%;
        height: 220px;
    }
    
    /* Services mobile layout */
    .services-carousel {
        overflow: hidden;
        position: relative;
    }
    
    .services-track {
        display: flex;
        grid-template-columns: none;
        overflow: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0;
        padding: 0;
        transition: transform 0.3s ease;
    }
    
    .services-track::-webkit-scrollbar {
        display: none;
    }
    
    .service-card {
        flex: 0 0 100%;
        scroll-snap-align: none;
        margin: 0;
    }
    
    .services-dots {
        display: flex !important;
    }
    
    .services-navigation {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        justify-content: space-between;
        padding: 0 0.5rem;
        pointer-events: none;
        z-index: 10;
    }
    
    .services-nav-prev,
    .services-nav-next {
        pointer-events: all;
        background: rgba(96, 34, 129, 0.9) !important;
        width: 35px !important;
        height: 35px !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Sticky Header Animation */
.sticky-section {
    position: sticky;
    top: 80px;
    z-index: 10;
    background: var(--white);
    padding: 1rem 0;
    margin-bottom: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.sticky-section.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Parallax Effects */
.parallax-bg {
    transform: translateY(0);
    transition: transform 0.5s ease-out;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

  
