/* ===================================
   MOBILE-FIRST FEEL CSS ENHANCEMENTS
   FIXED RESPONSIVE BREAKPOINTS - MAINTAINS DESKTOP LAYOUT LONGER
   =================================== */

/* ===================================
   LARGE DESKTOP MEDIA QUERIES (Minor adjustments only)
   =================================== */

@media (max-width: 1400px) {
    .logo {
        font-size: 2.8rem; /* Smaller reduction */
    }
    
    .hero-title {
        font-size: 3.8rem; /* Keep larger */
    }
    
    .container {
        padding: 0 2rem; /* Slightly more padding */
    }
}

/* ===================================
   MEDIUM DESKTOP / LARGE TABLET (Keep desktop layout, minor tweaks only)
   =================================== */

@media (max-width: 1199px) {
    /* MINIMAL CHANGES - KEEP DESKTOP LAYOUT */
    .logo {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem; /* Still large */
    }
    
    .section-title {
        font-size: 2.2rem; /* Minor reduction */
    }

    .hero-text p {
        font-size: 1.05rem; /* Slight reduction */
    }
    
    /* Keep desktop grid layouts */
    .hero-content {
        grid-template-columns: 1fr 1fr; /* KEEP TWO COLUMNS */
        gap: 3rem; /* Reduce gap slightly */
    }

    .path-cards {
        grid-template-columns: 1fr 1fr; /* KEEP TWO COLUMNS */
        gap: 2rem;
    }

    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        grid-template-columns: 1fr 1fr; /* KEEP TWO COLUMNS */
        gap: 3rem;
    }


    /* Keep desktop process layout */
    .process-step {
        /* KEEP FLEX ROW LAYOUT */
        flex-direction: row;
        margin-bottom: 3rem;
    }

    .process-step:nth-child(even) {
        flex-direction: row-reverse; /* Keep alternating */
    }

    /* Minor size adjustments only */
    .step-visual {
        margin: 0 1.5rem; /* Reduce margin slightly */
    }

    .step-image {
        width: 180px; /* Slightly smaller */
        height: 135px;
    }

    /* Minor carousel adjustments */
    .blog-card {
        width: 320px; /* Slight reduction */
        margin-right: 1.5rem;
    }

    .specialization-card {
        width: 280px; /* Slight reduction */
        margin-right: 1.5rem;
    }
}

@media (max-width: 1023px) {
    /* STILL MINIMAL CHANGES - KEEP DESKTOP LAYOUT */
    .logo {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.2rem; /* Still large */
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem; /* Further minor reduction */
    }

    .for-talent-text h2,
    .for-companies-text h2,
    .what-we-do-text h2 {
        font-size: 2.2rem; /* Keep reasonably large */
    }

    /* KEEP ALL DESKTOP LAYOUTS */
    .hero-content {
        grid-template-columns: 1fr 1fr; /* STILL TWO COLUMNS */
        gap: 2.5rem;
    }

    .path-cards {
        grid-template-columns: 1fr 1fr; /* STILL TWO COLUMNS */
        gap: 2rem;
    }

    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        grid-template-columns: 1fr 1fr; /* STILL TWO COLUMNS */
        gap: 2.5rem;
    }

    /* Keep desktop process */
    .process-step {
        flex-direction: row; /* KEEP ROW LAYOUT */
        margin-bottom: 3rem;
    }

    .process-step:nth-child(even) {
        flex-direction: row-reverse;
    }

    /* Minor size adjustments */
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }

    .step-image {
        width: 160px;
        height: 120px;
    }

    /* Section padding adjustment */
    .for-talent-section,
    .for-companies-section,
    .what-we-do,
    .path-selection,
    .specializations,
    .blog-section,
    .testimonials,
    .process {
        padding: 6rem 0; /* Slight reduction */
    }

    /* Minor carousel adjustments */
    .blog-card {
        width: 300px;
        margin-right: 1.2rem;
    }

    .specialization-card {
        width: 260px;
        margin-right: 1.2rem;
    }
}

/* ===================================
   TABLET / LARGE MOBILE (Start transitioning to mobile layout)
   =================================== */

@media (max-width: 900px) {
    /* START MOBILE TRANSITIONS HERE */
    .hero-content {
        grid-template-columns: 1fr; /* NOW switch to single column */
        gap: 3rem;
        text-align: center;
    }

    .path-cards {
        grid-template-columns: 1fr; /* NOW switch to single column */
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        grid-template-columns: 1fr; /* NOW switch to single column */
        gap: 3rem;
        text-align: center;
    }

    /* NOW switch process to mobile layout */
    .process-step {
        flex-direction: column !important; /* NOW go to column */
        text-align: center;
        margin-bottom: 3rem;
    }

    .process-step:nth-child(even) {
        flex-direction: column !important;
    }

    .step-visual {
        margin: 0 0 1.5rem 0;
    }

    /* Mobile navigation starts here */
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ===================================
   TRUE MOBILE LAYOUT (767px and below)
   =================================== */

/* Enhanced Mobile Performance & Native Feel */
@media (max-width: 767px) {
    /* Optimize performance for mobile */
    * {
        -webkit-tap-highlight-color: rgba(180, 120, 240, 0.2);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Allow text selection for readable content */
    p, h1, h2, h3, h4, h5, h6, .testimonial-quote, .testimonial-quote-mobile, .faq-answer-content {
        -webkit-user-select: text;
        user-select: text;
    }

    /* Enable hardware acceleration for smooth animations */
    .hero, .path-card, .blog-card, .specialization-card, .testimonial-card, .testimonial-card-mobile {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
        backface-visibility: hidden;
    }

    /* Mobile-optimized touch targets */
    .btn, .path-card, .faq-question, .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    /* ========================================
       CLEAN MOBILE NAVIGATION WITH SLIDING EFFECT
       ======================================== */
    
    /* Clean mobile menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        background: rgba(6, 11, 31, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        overflow-y: auto;
        padding: 6rem 2rem 2rem 2rem;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    /* Clean menu links with sliding underline effect (matches navbar) */
    .mobile-menu a {
        display: block;
        padding: 1rem 0;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Sliding underline effect (same as navbar) */
    .mobile-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #00ffff, #00d4ff, #8b5cf6, #a855f7, #7c3aed);
        transition: width 0.3s ease;
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
    }

    .mobile-menu a:hover::after,
    .mobile-menu a:active::after {
        width: 100%;
    }

    .mobile-menu a:hover,
    .mobile-menu a:active {
        color: var(--text-primary);
    }

    /* Active/current page link */
    .mobile-menu a.active,
    .mobile-menu a[aria-current="page"] {
        color: var(--text-primary);
    }

    .mobile-menu a.active::after,
    .mobile-menu a[aria-current="page"]::after {
        width: 100%;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Clean mobile menu toggle */
    .mobile-menu-toggle {
        position: relative;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .mobile-menu-toggle:hover {
        color: var(--neon-blue);
    }

    /* Mobile-optimized hero section */
    .hero {
        padding: 100px 0 40px;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: 3.5rem !important;
        line-height: 1.15;
        margin-top: 0.15rem;
        margin-bottom: 1.8rem;
        letter-spacing: -0.02em;
        font-feature-settings: "kern" 1, "liga" 1;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        font-weight: 500;
    }

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        max-width: none;
    }

    .logo {
        font-size: 1.5rem !important;
        font-weight: 800 !important;
        background: linear-gradient(135deg, #00d4ff, #b478f0, #ff6b9d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.02em;
        line-height: 1;
        padding:0 !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    header {
        padding: 1rem 0;
        min-height: 80px;
    }

    .container {
        padding: 0 1.5rem;
    }

    nav {
        padding: 1rem;
    }

    /* Enhanced mobile CTA buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
        align-items: center;
    }

    .btn {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 14px;
        width: 100%;
        max-width: 320px;
        position: relative;
        overflow: hidden;
        transition: all 0.2s ease;
        justify-content: center;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .btn:active::before {
        left: 100%;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .btn-primary:active {
        box-shadow: 0 5px 20px rgba(180, 120, 240, 0.4);
    }

    /* Mobile-optimized stats */
    .hero-stats {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        padding: 2rem 1.5rem;
        margin-top: 2rem;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    /* Enhanced mobile path cards */
    .path-cards {
        gap: 2.5rem;
        padding: 0 0.5rem;
    }

    .path-card {
        padding: 2.5rem 2rem;
        border-radius: 28px;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .path-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--success-gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .path-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(180, 120, 240, 0.05), rgba(180, 120, 240, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .path-card:active {
        transform: scale(0.98);
        box-shadow: 0 10px 30px rgba(180, 120, 240, 0.2);
    }

    .path-card:active::after {
        transform: scaleX(1);
    }

    .path-card:active::before {
        opacity: 1;
    }

    .path-card-image {
        height: 180px;
        border-radius: 20px;
        margin-bottom: 2rem;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .card-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }

    .card-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .path-card-features {
        margin-bottom: 2.5rem;
    }

    .path-card-features li {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.5;
        padding-left: 2rem;
    }

    .path-card-features li::before {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        left: 0;
        top: 2px;
    }

    .path-card-cta {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        border-radius: 14px;
        font-weight: 600;
        position: relative;
    }

    .path-card-cta::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid currentColor;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        transition: all 0.3s ease;
    }

    .path-card:active .path-card-cta::after {
        transform: translateY(-50%) translateX(3px);
    }

    /* Mobile-optimized carousels with swipe indicators */
    .blog-carousel, .specialization-carousel {
        position: relative;
        padding: 1rem 0 2rem 0;
    }

    /* Enhanced mobile cards */
    .blog-card, .specialization-card {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }

    .blog-card {
        width: 280px;
        margin-right: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .blog-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, var(--neon-purple), var(--neon-purple), var(--neon-pink), var(--neon-purple));
        background-size: 300% 300%;
        z-index: -1;
        border-radius: 22px;
        opacity: 0;
        animation: gradientShift 3s ease infinite;
    }

    .blog-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 20px rgba(180, 120, 240, 0.15);
    }

    .blog-card:active::before {
        opacity: 0.3;
    }

    .specialization-card {
        width: 260px;
        margin-right: 1.5rem;
        padding: 1.8rem 1.5rem;
    }

    .specialization-card::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: radial-gradient(circle, rgba(180, 120, 240, 0.2), transparent);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .specialization-card:active {
        transform: scale(0.98);
    }

    .specialization-card:active::after {
        width: 200px;
        height: 200px;
    }

    /* Hide desktop testimonials on mobile */
    .desktop-testimonials {
        display: none !important;
    }

    /* Show mobile testimonials carousel */
    .mobile-testimonials {
        display: block !important;
    }

    /* Mobile Testimonials Carousel */
    .testimonials-carousel {
        position: relative;
        overflow: hidden;
        padding: 1rem 0 3rem 0;
        margin-top: 2rem;
    }
    
    .testimonials-carousel-wrapper {
        overflow: visible;
        width: 100%;
    }
    
    .testimonials-carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .testimonial-card-mobile {
        flex: 0 0 auto;
        width: 320px;
        margin-right: 2rem;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 28px;
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .testimonial-card-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--success-gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }
    
    .testimonial-card-mobile:active {
        transform: scale(0.98);
        box-shadow: 0 15px 35px rgba(180, 120, 240, 0.2);
    }
    
    .testimonial-card-mobile:active::before {
        transform: scaleX(1);
    }
    
    .testimonial-quote-mobile {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: var(--text-secondary);
        position: relative;
        font-style: italic;
    }
    
    .testimonial-quote-mobile::before {
        content: '"';
        font-size: 4rem;
        color: var(--neon-purple);
        position: absolute;
        top: -1.5rem;
        left: -1rem;
        opacity: 0.3;
        font-family: serif;
    }
    
    .testimonial-author-mobile {
        display: flex;
        align-items: center;
        gap: 1.2rem;
    }
    
    .testimonial-avatar-mobile {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        background: var(--success-gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.3rem;
        border: 3px solid rgba(180, 120, 240, 0.3);
        box-shadow: 0 10px 25px rgba(180, 120, 240, 0.2);
        flex-shrink: 0;
    }
    
    .testimonial-info-mobile {
        flex: 1;
    }

    .testimonial-info-mobile h4 {
        color: var(--text-primary);
        margin-bottom: 0.3rem;
        font-weight: 600;
        font-size: 1.1rem;
        margin: 0 0 0.3rem 0;
    }
    
    .testimonial-company-mobile {
        color: var(--neon-purple);
        font-size: 0.9rem;
        font-weight: 500;
        display: block;
        margin-top: 0.2rem;
    }
    
    /* Testimonials navigation dots */
    .testimonials-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .testimonial-dot {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(180, 120, 240, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 8px rgba(180, 120, 240, 0.2);
    }

    .testimonial-dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .testimonial-dot.active {
        border-color: var(--neon-purple);
        box-shadow: 0 0 15px rgba(180, 120, 240, 0.5);
    }
    
    .testimonial-dot.active::before {
        background: var(--neon-purple);
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(180, 120, 240, 0.5);
    }

    .testimonial-dot:hover {
        border-color: var(--neon-purple);
        box-shadow: 0 0 12px rgba(180, 120, 240, 0.4);
    }

    /* Enhanced mobile FAQ */
    .faq-item {
        border-radius: 20px;
        margin-bottom: 1rem;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .faq-item::before {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(180, 120, 240, 0.1), transparent);
        transition: left 0.5s ease;
        pointer-events: none;
    }

    .faq-item.active::before {
        left: 100%;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .faq-question:active {
        background: rgba(180, 120, 240, 0.1);
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .faq-answer-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Mobile-optimized process timeline */
    .process-step {
        margin-bottom: 3rem;
        padding: 0 1rem;
        position: relative;
    }

    .process-step::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--neon-purple), transparent);
        transform: translateX(-50%);
        opacity: 0.3;
    }

    .process-step:last-child::before {
        display: none;
    }

    /* Match desktop step content styling exactly */
    .step-content {
        background: #0a0e27 !important;
        backdrop-filter: blur(20px);
        border: 2px solid rgba(0, 212, 255, 0.3) !important;
        border-radius: 28px;
        padding: 2.5rem 2rem;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 4px 20px rgba(10, 14, 39, 0.8),
            0 0 20px rgba(0, 212, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
        margin: 0 1rem;
    }
    
    /* Match desktop title styling exactly */
    .step-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
        color: #ffffff !important;
        font-weight: 600;
        /* Remove any gradient effects */
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
    }
    
    /* Match desktop paragraph styling exactly */
    .step-content p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .testimonial-card,
    .step-content {
        padding: 1.5rem;
    }

    .process-timeline {
        padding: 0 1rem;
    }

    .step-visual {
        margin: 0 0 1rem 0;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .step-image {
        width: 120px;
        height: 90px;
    }

    .process-cta {
        margin-top: 3rem;
    }

    .process-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Enhanced mobile footer */
    .footer {
        background: var(--darker-bg);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 3rem 0 2rem;
    }

    .footer-content {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        position: relative;
        gap: 2.5rem;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    /* Mobile section spacing */
    .for-talent-section,
    .for-companies-section,
    .what-we-do,
    .path-selection,
    .specializations,
    .blog-section,
    .testimonials,
    .process,
    .faq-section {
        padding: 5rem 0;
    }

    /* Mobile typography enhancements using consolidated classes */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }

    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 3rem;
    }

    /* Mobile-optimized focus states */
    .btn:focus,
    .faq-question:focus {
        outline: 2px solid var(--neon-purple);
        outline-offset: 2px;
    }

    /* Enhanced mobile carousels */
    .blog-carousel-track,
    .specialization-carousel-track,
    .testimonials-carousel-track {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .hero-stats {
        animation: mobileFloat 4s ease-in-out infinite;
    }

    /* iOS Safari specific fixes */
    @supports (-webkit-touch-callout: none) {
        .hero {
            /* Fix height calculation for iOS */
            min-height: 100vh;
            min-height: -webkit-fill-available;
            padding-top: max(100px, env(safe-area-inset-top));
            /* Ensure proper rendering */
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        header {
            padding-top: env(safe-area-inset-top);
            /* Use safe-area-inset for better positioning */
            top: 0;
        }

        .mobile-menu {
            top: calc(80px + env(safe-area-inset-top)); /* Keep this as is since your menu is still top: 0 */
            padding-bottom: env(safe-area-inset-bottom);
        }
    }

    /* Mobile optimizations - reduce border glow intensity on smaller screens */
    .path-card,
    .specialization-card,
    .blog-card,
    .testimonial-card,
    .step-content,
    .for-talent-image-box,
    .for-companies-image-box,
    .about-image-box {
        animation-duration: 6s; /* Slower animation on mobile */
    }
    
    .path-card:hover,
    .specialization-card:hover,
    .blog-card:hover,
    .testimonial-card:hover,
    .step-content:hover,
    .for-talent-image-box:hover,
    .for-companies-image-box:hover,
    .about-image-box:hover {
        animation-duration: 4s; /* Slightly faster on hover but still slower than desktop */
    }

    /* ================================
       REORDER SECTIONS ON MOBILE - FORCE IMAGES TO TOP
       ================================ */
    
    /* Transform European Career Section */
    .for-talent-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .for-talent-image-box {
        order: -10 !important; /* Force image to top with higher priority */
        margin-bottom: 3rem;
        border-radius: 28px;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
    
    .for-talent-text {
        order: 10 !important; /* Force text to bottom */
    }
    
    .for-talent-image-box .image-container {
        height: 280px;
        border-radius: 24px;
        margin-bottom: 1.5rem;
        border: 2px solid rgba(180, 120, 240, 0.3);
        overflow: hidden;
        position: relative;
    }
    
    .for-talent-image-box .image-container::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 26px;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple));
        z-index: -1;
        animation: imageGlow 3s ease-in-out infinite alternate;
    }
    
    .for-talent-image-box .caption {
        text-align: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .for-talent-image-box .caption h3 {
        color: var(--text-primary);
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, var(--neon-purple), var(--text-primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    
    
    .for-talent-image-box .caption p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* What We Do Section */
    .what-we-do-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .about-image-box {
        order: -10 !important; /* Force image to top with higher priority */
        margin-bottom: 3rem;
        border-radius: 28px;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
    
    .what-we-do-text {
        order: 10 !important; /* Force text to bottom */
    }
    
    .about-image-box .image-container {
        height: 280px;
        border-radius: 24px;
        margin-bottom: 1.5rem;
        border: 2px solid rgba(180, 120, 240, 0.3);
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .about-image-box .image-container::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 26px;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
        z-index: -1;
        animation: imageGlow 3s ease-in-out infinite alternate;
    }
    
    .about-image-box .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 22px;
    }
    
    /* Placeholder for missing image */
    .about-image-box .placeholder-text {
        color: var(--text-secondary);
        font-size: 1rem;
        text-align: center;
        opacity: 0.7;
        padding: 2rem;
        border: 2px dashed rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.02);
    }
    
    .about-image-box .placeholder-text:active {
        border-color: var(--neon-purple);
        background: rgba(180, 120, 240, 0.05);
        color: var(--neon-purple);
    }
    
    /* Enhanced section headers using consolidated classes */
    .for-talent-text h2,
    .what-we-do-text h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .for-talent-text p,
    .what-we-do-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        text-align: center;
        color: var(--text-secondary);
    }
    
    /* Enhanced feature lists */
    .for-talent-features,
    .what-we-do-features {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .for-talent-features li,
    .what-we-do-features li {
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .for-talent-features li:active,
    .what-we-do-features li:active {
        background: rgba(180, 120, 240, 0.1);
        border-color: rgba(180, 120, 240, 0.3);
        transform: scale(0.98);
    }
    
    .for-talent-features li::before,
    .what-we-do-features li::before {
        content: '✓';
        background: var(--success-gradient);
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1rem;
        flex-shrink: 0;
        margin-right: 1rem;
        box-shadow: 0 5px 15px rgba(180, 120, 240, 0.3);
    }
    
    /* Enhanced CTA buttons in sections */
    .for-talent-text .btn,
    .what-we-do-text .btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: block;
        padding: 1.3rem 2rem;
        font-size: 1.1rem;
        border-radius: 16px;
        position: relative;
        overflow: hidden;
    }
    
    .for-talent-text .btn::after,
    .what-we-do-text .btn::after {
        content: '→';
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .for-talent-text .btn:active::after,
    .what-we-do-text .btn:active::after {
        transform: translateY(-50%) translateX(5px);
    }

    @media (max-width: 767px) {
    /* ===========================================
       COMPACT MOBILE CARD SECTIONS
       =========================================== */

    /* Reduce section padding significantly */
    .for-talent-section,
    .for-companies-section,
    .what-we-do {
        padding: 2rem 0 !important; /* Down from 3rem */
    }

    /* More compact card containers */
    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        display: block !important;
        background: var(--trust-card-bg);
        backdrop-filter: blur(20px);
        border-radius: 20px !important; /* Smaller radius */
        padding: 1.5rem !important; /* Much less padding */
        margin: 0 0.5rem !important; /* Tighter margins */
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        border: 2px solid;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important; /* Smaller shadow */
        animation: none !important; /* Remove animation for cleaner look */
        text-align: center;
    }

    /* Keep accent bars but make them thinner */
    .for-talent-content::after,
    .for-companies-content::after,
    .what-we-do-content::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px !important; /* Thinner accent */
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    /* Compact image containers */
    .for-talent-image-box,
    .for-companies-image-box,
    .about-image-box {
        order: -1;
        margin-bottom: 1rem !important; /* Less spacing */
        border-radius: 12px;
        background: transparent;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
        animation: none;
    }

    .for-talent-image-box .image-container,
    .for-companies-image-box .image-container,
    .about-image-box .image-container {
        height: 140px !important; /* Much smaller images */
        border-radius: 10px;
        margin-bottom: 0.5rem !important;
        overflow: hidden;
    }

    /* Compact text styling */
    .for-talent-text,
    .for-companies-text,
    .what-we-do-text {
        order: 1;
    }

    .for-talent-text h2,
    .for-companies-text h2,
    .what-we-do-text h2 {
        font-size: 1.5rem !important; /* Smaller titles */
        margin-bottom: 0.75rem !important; /* Less spacing */
        text-align: center;
    }

    .for-talent-text p,
    .for-companies-text p,
    .what-we-do-text p {
        font-size: 0.95rem !important; /* Smaller text */
        line-height: 1.4 !important; /* Tighter line height */
        margin-bottom: 1rem !important; /* Less spacing */
        text-align: center;
    }

    /* Much more compact feature lists */
    .for-talent-features,
    .for-companies-features,
    .what-we-do-features {
        background: rgba(255, 255, 255, 0.02) !important; /* Very subtle background */
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 1rem !important; /* Less padding */
        margin-bottom: 1rem !important; /* Less margin */
        text-align: left;
        list-style: none;
    }

    .for-talent-features li,
    .for-companies-features li,
    .what-we-do-features li {
        margin-bottom: 0.5rem !important; /* Tighter spacing */
        padding: 0.3rem 0 !important; /* Minimal padding */
        font-size: 0.9rem !important; /* Smaller text */
        line-height: 1.3 !important; /* Tighter lines */
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: transparent !important;
        border: none !important;
    }

    /* Show fewer feature items - keep only the most important */
    .for-talent-features li:nth-child(n+4),
    .for-companies-features li:nth-child(n+3),
    .what-we-do-features li:nth-child(n+3) {
        display: none !important;
    }

    /* Simplified checkmarks */
    .for-talent-features li::before {
        color: #00d4ff !important;
        content: '✓' !important;
        font-weight: bold !important;
        font-size: 0.8rem !important;
        background: none !important;
        border-radius: 0 !important;
        width: auto !important;
        height: auto !important;
        display: inline !important;
        position: static !important;
        margin-right: 0.5rem;
    }

    .for-companies-features li::before {
        color: #b478f0 !important;
        content: '✓' !important;
        font-weight: bold !important;
        font-size: 0.8rem !important;
        background: none !important;
        border-radius: 0 !important;
        width: auto !important;
        height: auto !important;
        display: inline !important;
        position: static !important;
        margin-right: 0.5rem;
    }

    .what-we-do-features li::before {
        color: #ff006e !important;
        content: '✓' !important;
        font-weight: bold !important;
        font-size: 0.8rem !important;
        background: none !important;
        border-radius: 0 !important;
        width: auto !important;
        height: auto !important;
        display: inline !important;
        position: static !important;
        margin-right: 0.5rem;
    }

    /* Compact CTA buttons */
    .for-talent-text .btn,
    .for-companies-text .btn,
    .what-we-do-text .btn {
        padding: 0.8rem 1.5rem !important;
        border-radius: 12px !important;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        color: white;
        border: 2px solid;
        font-size: 0.9rem !important;
        max-width: 280px !important;
        margin: 0 auto;
    }

    /* Hide captions to save space */
    .for-talent-image-box .caption,
    .for-companies-image-box .caption,
    .about-image-box .caption {
        display: none !important;
    }

    /* Reduce spacing between sections */
    .for-talent-section + .for-companies-section,
    .for-companies-section + .what-we-do {
        margin-top: -1rem !important; /* Overlap slightly */
    }
}

/* Extra compact for small screens */
@media (max-width: 480px) {
    .for-talent-section,
    .for-companies-section,
    .what-we-do {
        padding: 1.5rem 0 !important;
    }

    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        padding: 1.2rem !important;
        margin: 0 0.25rem !important;
        border-radius: 16px !important;
    }

    .for-talent-image-box .image-container,
    .for-companies-image-box .image-container,
    .about-image-box .image-container {
        height: 120px !important;
    }

    /* Show even fewer feature items */
    .for-talent-features li:nth-child(n+3),
    .for-companies-features li:nth-child(n+3),
    .what-we-do-features li:nth-child(n+2) {
        display: none !important;
    }
}

/* Very small mobile devices */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .trustworthy-section-overlay {
        top: 95%;
    }
    
    .trustworthy-section-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.4) 60%,
            rgba(255, 255, 255, 0.8) 85%,
            rgba(255, 255, 255, 1) 100%
        );
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        max-width: 280px;
    }

    .path-card {
        padding: 2rem 1.5rem;
    }

    .blog-card {
        width: 260px;
        padding: 1.5rem;
    }

    .specialization-card {
        width: 240px;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-stats {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    /* Smaller testimonial cards for very small screens */
    .testimonial-card-mobile {
        width: 300px;
        padding: 2rem 1.5rem;
    }
    
    .testimonial-quote-mobile {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-avatar-mobile {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .testimonial-info-mobile h4 {
        font-size: 1rem;
    }
    
    .testimonial-company-mobile {
        font-size: 0.85rem;
    }

    .step-content {
        margin: 0 0.5rem;
        padding: 2rem 1.5rem;
    }
    
    .step-image {
        width: 160px;
        height: 120px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .for-talent-image-box,
    .about-image-box {
        padding: 1.5rem;
    }
    
    .for-talent-image-box .image-container,
    .about-image-box .image-container {
        height: 240px;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .btn {
        max-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-width: 600px;
        margin: 0 auto;
        animation: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .testimonial-card-mobile {
        width: 280px;
        padding: 2rem 1.5rem;
    }
}

/* Universal carousel navigation button styles for mobile */
@media (max-width: 767px) {
    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        background: rgba(6, 11, 31, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(0, 212, 255, 0.4);
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.2rem;
        color: var(--neon-blue);
        transition: all 0.3s ease;
        z-index: 15;
        user-select: none;
        opacity: 0.8;
        visibility: visible;
        pointer-events: auto;
        
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        
        box-shadow: 
            0 0 20px rgba(0, 212, 255, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        
        animation: navButtonPulse 3s ease-in-out infinite;
    }

    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
        background: rgba(0, 212, 255, 0.2);
        border-color: var(--neon-blue);
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.6),
            0 2px 10px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        animation: none;
    }

    @media (hover: hover) {
        .carousel-nav:hover {
            opacity: 1;
            background: rgba(0, 212, 255, 0.1);
            border-color: var(--neon-blue);
            color: #ffffff;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 
                0 0 30px rgba(0, 212, 255, 0.5),
                0 0 50px rgba(0, 212, 255, 0.2),
                0 8px 25px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            animation: none;
        }
    }

    /* Hide arrow buttons by default for testimonials, show on hover */
    .testimonials-carousel .carousel-nav {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .testimonials-carousel:hover .carousel-nav {
        opacity: 0.8;
        visibility: visible;
    }
    
    /* Keep dots visible like blog section */
    .testimonials-indicators {
        display: flex !important;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    /* Enhanced mobile blog carousel */
    .blog-carousel {
        position: relative;
        overflow: hidden;
        padding: 1rem 0;
    }

    .blog-carousel-wrapper {
        overflow: visible;
        width: 100%;
    }

    .blog-carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .blog-card {
        flex: 0 0 auto;
        width: 320px;
        margin-right: 2rem;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 2rem;
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 2px solid rgba(255, 0, 110, 0.25);
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.2),
            0 0 15px rgba(255, 0, 110, 0.05),
            0 0 0 1px rgba(255, 0, 110, 0.08);
    }

    .blog-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 20px rgba(180, 120, 240, 0.15);
    }

    .blog-category {
        display: inline-block;
        background: var(--success-gradient);
        color: white;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .blog-card h3 {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .blog-card p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    .blog-read-more {
        color: var(--neon-blue);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .blog-read-more:hover {
        color: var(--neon-purple);
        transform: translateX(5px);
    }

    /* Cookie consent for mobile */
    .cookie-consent {
        position: fixed !important;
        left: 20px !important;
        right: 20px !important;
        margin: 0 auto;
    }

    .cookie-description {
        font-size: 0.7rem;
    }

    .cookie-buttons {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
        flex-shrink: 0;
    }

    .cookie-btn {
        padding: 0.55rem 0.45rem;
        border-radius: 10px;
        border: none;
        font-weight: 600;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    }

    .cookie-content {
        margin: 0 auto;
        display: block;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .cookie-title {
        font-size: 1rem;
    }
}

/* Experience Levels Section Mobile */
@media (max-width: 768px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .level-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .experience-levels {
        padding: 4rem 0;
    }
}

/* ===================================
   MOBILE UTILITY CLASSES
   =================================== */

.mobile-optimized {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.mobile-optimized * {
    -webkit-tap-highlight-color: rgba(180, 120, 240, 0.2);
    -webkit-touch-callout: none;
}

.power-save-mode * {
    animation-duration: 0.1s !important;
    transition-duration: 0.1s !important;
}

.power-save-mode .bg-animation::before {
    animation: none;
    opacity: 0.3;
}

.mobile-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.mobile-scroll-indicator {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #b478f0, #b478f0) !important;
    z-index: 1001 !important;
    transform-origin: left !important;
    transform: scaleX(0) !important;
    transition: transform 0.1s ease !important;
    width: 100% !important;
}

.skeleton-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-right: 1.5rem;
    opacity: 0.7;
    pointer-events: none;
}

.skeleton-card.blog-card {
    width: 280px;
}

.skeleton-card.specialization-card {
    width: 260px;
}

.skeleton-card.testimonial-card-mobile {
    width: 320px;
}

.loading-skeleton {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-category {
    width: 80px;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.skeleton-title {
    width: 90%;
    height: 24px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.skeleton-description {
    width: 100%;
    height: 16px;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.skeleton-description:last-of-type {
    width: 70%;
}

.skeleton-link {
    width: 100px;
    height: 16px;
    border-radius: 8px;
    margin-top: 1rem;
}

.skeleton-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin: 0 auto 1.5rem;
}

.skeleton-name {
    width: 80%;
    height: 20px;
    border-radius: 10px;
    margin: 0 auto 1rem;
}

.skeleton-desc {
    width: 90%;
    height: 14px;
    border-radius: 7px;
    margin: 0 auto 0.5rem;
}

.mobile-only {
    display: block !important;
}

.desktop-only {
    display: none !important;
}

/* RTL support for mobile */
@media (max-width: 767px) {
    [dir="rtl"] .path-card-features li::before {
        right: 0;
        left: auto;
    }

    [dir="rtl"] .mobile-menu {
        text-align: right;
    }

}

/* Enhanced Timeline for Mobile */
@media (max-width: 767px) {
    .process-timeline {
        position: relative;
        padding: 2rem 0;
        overflow: hidden;
    }
    
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, 
            transparent 0%,
            var(--neon-purple) 10%,
            var(--neon-purple) 50%,
            var(--neon-pink) 90%,
            transparent 100%
        );
        transform: translateX(-50%);
        border-radius: 2px;
        box-shadow: 0 0 20px rgba(180, 120, 240, 0.5);
        animation: timelinePulse 3s ease-in-out infinite;
    }
    
    .process-step {
        position: relative;
        margin-bottom: 4rem;
        padding: 0;
    }
    
    .process-step::before {
        display: none;
    }
    
    .step-visual {
        position: relative;
        z-index: 3;
        margin: 0 auto 2rem;
        width: fit-content;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0 auto 1.5rem;
        position: relative;
        box-shadow: 0 0 30px rgba(180, 120, 240, 0.4);
        animation: stepFloat 4s ease-in-out infinite;
        animation-delay: calc(var(--step-index, 0) * 0.5s);
    }
    
    .step-number::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple), var(--neon-pink));
        z-index: -1;
        animation: stepGlow 2s ease-in-out infinite alternate;
    }
    
    .step-number::after {
        content: '';
        position: absolute;
        inset: 2px;
        border-radius: 50%;
        background: var(--dark-bg);
        z-index: -1;
    }
    
    .step-image {
        width: 180px;
        height: 140px;
        border-radius: 20px;
        overflow: hidden;
        border: 3px solid;
        border-image: linear-gradient(135deg, var(--neon-purple), var(--neon-purple)) 1;
        position: relative;
        margin: 0 auto;
        transition: all 0.4s ease;
    }
    
    .step-image::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 23px;
        background: linear-gradient(135deg, var(--neon-purple), var(--neon-purple), var(--neon-pink));
        z-index: -1;
     
    }
    
    .step-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 17px;
        transition: all 0.4s ease;
    }
    
    .process-step:active .step-image img {
        transform: scale(1.1);
        filter: brightness(1.1);
    }
    
    .step-content {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 28px;
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        position: relative;
        overflow: hidden;
        margin: 0 1rem;
    }
    
    .step-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(180, 120, 240, 0.1), transparent);
        transition: left 0.8s ease;
    }
    
    .process-step:active .step-content::before {
        left: 100%;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
        background: linear-gradient(135deg, var(--neon-purple), var(--text-primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .step-content p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }
    
    .process-step:nth-child(1) .step-number { --step-index: 0; }
    .process-step:nth-child(2) .step-number { --step-index: 1; }
    .process-step:nth-child(3) .step-number { --step-index: 2; }
    .process-step:nth-child(4) .step-number { --step-index: 3; }
    .process-step:nth-child(5) .step-number { --step-index: 4; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-stats {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .path-card,
    .blog-card,
    .testimonial-card,
    .testimonial-card-mobile,
    .faq-item,
    .step-content {
        border-width: 2px;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .path-card:hover,
    .blog-card:hover,
    .testimonial-card:hover {
        transform: none;
    }

    .specialization-card:hover {
        transform: none;
    }

    .specialization-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.98);
    }

    .nav-links a::after {
        display: none;
    }

    .path-card,
    .specialization-card,
    .blog-card,
    .testimonial-card,
    .step-content,
    .for-talent-image-box,
    .for-companies-image-box,
    .about-image-box {
     
        box-shadow: var(--default-shadow);
    }
    
    .path-card:hover,
    .specialization-card:hover,
    .blog-card:hover,
    .testimonial-card:hover,
    .step-content:hover,
    .for-talent-image-box:hover,
    .for-companies-image-box:hover,
    .about-image-box:hover {
       
        box-shadow: var(--glow-shadow);
    }
}

/* Animations */
@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
}

@keyframes intenseBorderGlow {
    0%, 100% { 
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
    50% { 
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes mobileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes stepFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes stepGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}


@keyframes timelinePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes navButtonPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes menuGlow {
    0% { box-shadow: 
        -10px 0 40px rgba(0, 0, 0, 0.6),
        -10px 0 30px rgba(180, 120, 240, 0.5),
        -5px 0 15px rgba(180, 120, 240, 0.4),
        inset 3px 0 25px rgba(180, 120, 240, 0.15);
    }
    100% { box-shadow: 
        -10px 0 40px rgba(0, 0, 0, 0.6),
        -15px 0 40px rgba(180, 120, 240, 0.7),
        -8px 0 20px rgba(180, 120, 240, 0.5),
        inset 5px 0 30px rgba(180, 120, 240, 0.2);
    }
}

@keyframes linkNeonPulse {
    0% { text-shadow: 
        0 0 5px var(--neon-purple),
        0 0 10px var(--neon-purple),
        0 0 15px var(--neon-purple),
        0 0 20px var(--neon-purple);
    }
    100% { text-shadow: 
        0 0 8px var(--neon-purple),
        0 0 15px var(--neon-purple),
        0 0 25px var(--neon-purple),
        0 0 35px var(--neon-purple);
    }
}

@keyframes xGlow {
    0% { text-shadow: 
        0 0 5px var(--neon-purple),
        0 0 10px var(--neon-purple),
        0 0 15px var(--neon-purple);
    }
    100% { text-shadow: 
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple),
        0 0 30px var(--neon-purple);
    }
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes imageGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}
/* Responsive Design for talent page */
@media (max-width: 768px) {
    .benefits-grid,
    .opportunities-grid,
    .stories-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .application-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .application-info h2 {
        text-align: center;
    }

    .application-info .section-subtitle {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .application-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Mobile form optimizations */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .checkbox-group {
        gap: 1rem;
    }

    .benefit-card,
    .opportunity-card,
    .story-card,
    .requirement-category,
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .benefits-section,
    .opportunities-section,
    .success-stories,
    .requirements-section,
    .application-section,
    .contact-section {
        padding: 4rem 0;
    }

    .benefit-card,
    .opportunity-card,
    .story-card,
    .requirement-category,
    .contact-card {
        padding: 1.5rem;
    }

    .opportunity-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .story-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .application-form-container {
        padding: 1.5rem;
    }
}
/* Responsive Design for Companies Page */
@media (max-width: 768px) {
    .benefits-grid,
    .talent-profiles,
    .pricing-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h3 {
        text-align: center;
    }

    .contact-info p {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Mobile form optimizations */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .checkbox-group {
        gap: 1rem;
    }

    .benefit-card,
    .stat-card,
    .profile-card,
    .pricing-card,
    .case-study-card {
        padding: 2rem 1.5rem;
    }

    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .case-study-result {
        text-align: left;
    }

    .talent-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us,
    .hiring-process,
    .talent-showcase,
    .pricing-section,
    .case-studies,
    .contact-section {
        padding: 4rem 0;
    }

    .benefit-card,
    .stat-card,
    .profile-card,
    .pricing-card,
    .case-study-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .talent-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .offer-content {
        grid-template-columns: 1fr;
        gap: 3rem; /* Increased gap */
        align-items: stretch; /* Remove center alignment */
        text-align: center; /* Center content within each grid item */
    }
    
    .offer-visual {
        height: 300px;
        order: 1; /* Ensure image comes first */
        margin-bottom: 5rem; /* Extra spacing */
    }
    
    .sample-page {
        width: 240px;
        height: 280px;
    }
    
    .sample-1,
    .sample-2 {
        transform: none;
        position: relative;
        margin: 0 auto;
    }
    
    .sample-2 {
        display: none;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .offer-value {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .offer-details {
        order: 2; /* Ensure text comes second */
        margin-top: 1rem; /* Extra spacing */
    }
    
    .includes-list li {
        padding: 0.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .offer-cta {
        padding: 2rem 1.5rem;
    }
    
    .startup-offer {
        padding: 4rem 0;
    }
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .factors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .vision-visual {
        height: 300px;
    }
    
    .globe-representation {
        width: 250px;
        height: 250px;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .talent-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .vision-point {
        gap: 1rem;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .talent-advantage {
        padding: 4rem 0;
    }
    
    .global-vision {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .vision-content {
        padding: 0 1rem;
    }
    
    .factor-card {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes hubPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
.referral-hero {
grid-template-columns: 1fr;
gap: 3rem;
text-align: center;
}
.referral-visual {
    height: 300px;
}

.referral-network {
    width: 280px;
    height: 280px;
}

.referral-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.community-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

.referral-benefit {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.community-feature {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.referral-cta-buttons {
    flex-direction: column;
    align-items: center;
}

.referral-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
}
}
@media (max-width: 480px) {
.referral-steps {
grid-template-columns: 1fr;
}
.success-story-card .story-author {
    flex-direction: column;
    gap: 1rem;
}

.referral-program {
    padding: 4rem 0;
}

.community-living {
    padding: 2.5rem 1.5rem;
}
}
/* Animations */
@keyframes bonusFloat {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-8px);
}
}
@keyframes connectionPulse {
0%, 100% {
opacity: 0.3;
transform: scale(1);
}
50% {
opacity: 0.8;
transform: scale(1.02);
}
}
/* Mobile responsive */
@media (max-width: 768px) {
    .referral-image-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .referral-image-container {
        width: 250px;
        height: 250px;
    }
    
    .referral-image-container .bonus-indicator {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image-container {
        max-width: 400px;
        aspect-ratio: 1 / 1; /* Maintain square on mobile */
        padding: 1.5rem;
        border-radius: 24px;
    }
    
    .hero-image-container::before {
        border-radius: 26px;
    }
    
    .hero-main-image {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        max-width: 350px;
        aspect-ratio: 1 / 1; /* Maintain square on small mobile */
        padding: 1rem;
        border-radius: 20px;
    }
}

/* Animations */
@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
    100% { 
        background-position: 0% 50%;
    }
}
@media (max-width: 768px) {
    .desktop-testimonials {
        display: none;
    }
    
    .mobile-testimonials {
        display: block;
    }
    
    .timeline-question:hover,
    .timeline-question:focus {
        padding: 0.5rem;
        margin: -0.5rem;
    }
    
    .timeline-header-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-expand-icon {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .path-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .for-talent-content,
    .for-companies-content,
    .what-we-do-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

   

    .mobile-menu.active {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .process-step {
        flex-direction: column !important;
        text-align: center;
    }

    .step-visual {
        margin: 0 0 2rem 0;
    }

    .levels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animations */
@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: var(--default-shadow);
        border-color: inherit;
    }
    50% { 
        box-shadow: var(--glow-shadow);
    }
}

@keyframes intenseBorderGlow {
    0%, 100% { 
        box-shadow: var(--glow-shadow);
    }
    50% { 
        box-shadow: var(--intense-glow-shadow);
    }
}

@media (max-width: 768px) {
    .job-filters-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-badges {
        flex-direction: row;
        align-items: center;
        margin-top: 1rem;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .jobs-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .job-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .job-modal-header,
    .job-modal-body,
    .job-modal-footer {
        padding: 1.5rem;
    }
    
    .job-modal-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .job-filters-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1.2fr; /* 4 columns, search slightly wider */
        gap: 2rem;
        align-items: start;
        max-width: 1200px;
        margin: 0 auto 4rem auto;
    }
    
    /* Action buttons in a compact row */
    .filter-actions-row {
        grid-column: 1 / -1;
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }
    
    /* Decorative line above buttons */
    .filter-actions-row::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 212, 255, 0.5), 
            transparent
        );
    }
}

@media (max-width: 768px) {
    .job-filters-container {
        border-radius: 30px;
        padding: 2rem 1.5rem;
        margin: 0 1rem 3rem 1rem;
    }
    
    .job-filters-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .filter-actions-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .search-btn,
    .clear-btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .specializations {
        padding: 4rem 0;
    }
    
    .job-filters-container {
        border-radius: 25px;
        padding: 1.5rem 1rem;
        margin: 0 0.5rem 2rem 0.5rem;
    }
    
    .filter-select,
    .filter-input {
        padding: 0.9rem 1rem;
        border-radius: 15px;
    }
}
@media (max-width: 768px) {
    .pagination-container {
        gap: 0.5rem;
        padding: 1.5rem 1rem;
        margin-top: 3rem;
        border-radius: 25px;
        flex-wrap: wrap;
    }
    
    .pagination-prev,
    .pagination-next {
        min-width: 80px;
        font-size: 0.8rem;
        padding: 0.7rem 0.8rem;
    }
    
    .pagination-page {
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    /* Hide some page numbers on very small screens */
    .pagination-page:nth-child(n+8):nth-child(-n+20) {
        display: none;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        gap: 0.3rem;
        padding: 1rem 0.5rem;
        margin: 2rem 0.5rem 0 0.5rem;
    }
    
    .pagination-prev .btn-text,
    .pagination-next .btn-text {
        display: none;
    }
    
    .pagination-prev,
    .pagination-next {
        min-width: 35px;
        padding: 0.7rem;
    }
    
    .pagination-page {
        min-width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    /* Show fewer page numbers on mobile */
    .pagination-container .pagination-page:not(.active):nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 1024px) {
    .application-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .application-benefits {
        position: static;
        order: 2;
    }
    
    .application-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .apply-hero {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .apply-title {
        font-size: 2rem;
    }
    
    .job-apply-header {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .application-form-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grids {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .application-benefits {
        padding: 2rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .apply-hero-content {
        padding: 0 1rem;
    }
    
    .back-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-submit {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .file-upload-content {
        padding: 1.5rem;
        min-height: 100px;
    }
}
@media (max-width: 768px) {
    .terms-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .terms-toc {
        position: static;
        order: 2;
        margin-top: 2rem;
    }
    
    .terms-sections {
        order: 1;
        padding: 2rem;
    }
    
    .terms-intro {
        padding: 1.5rem;
    }
}
@media (max-width: 768px) {
    .relocation-visual-icon svg { width: 150px; height: 150px; }
    .resource-icon { width: 60px; height: 60px; border-radius: 15px; }
    .resource-icon svg { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
    .relocation-visual-icon svg { width: 120px; height: 120px; }
}
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .configurations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .config-header {
        margin-top: 0.5rem;
    }
    
    .config-badge {
        position: static;
        transform: none;
        margin: 0 auto 1rem auto;
        display: inline-block;
    }
}
@media (max-width: 768px) {
    .team-roles,
    .expertise-areas,
    .compliance-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .remote-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .roi-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .regional-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .roi-calculator {
        padding: 2rem;
    }
    
    .calculator-results {
        padding: 2rem;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trend-card {
        padding: 2rem 1.5rem;
    }
    
    .retention-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .comparison-label {
        min-width: 120px;
        font-size: 0.85rem;
    }
    
    .timeline-duration {
        min-width: 60px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .remote-benefits {
        grid-template-columns: 1fr;
    }
    
    .roi-calculator {
        padding: 1.5rem;
    }
    
    .calculator-results {
        padding: 1.5rem;
    }
    
    .roi-calculator h3 {
        font-size: 1.5rem;
    }
    
    .retention-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trend-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .comparison-timeline {
        margin: 0 1rem;
    }
    
    .timeline-bar {
        font-size: 0.7rem;
        padding-right: 4px;
    }
}
@media (max-width: 768px) {
    .mission-section,
    .story-section, 
    .difference-section,
    .values-section,
    .impact-section,
    .leadership-section {
        padding: 6rem 0;
    }
    
    .mission-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-timeline {
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .position-card {
        padding: 2rem;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .position-badges {
        flex-direction: row;
        align-items: center;
        align-self: flex-start;
    }
    
    .position-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }
    
    .position-apply-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .position-card {
        padding: 1.5rem;
    }
    
    .position-header h4 {
        font-size: 1.3rem;
    }
    
    .careers-positions {
        margin-top: 2rem;
    }
    
    .position-category {
        margin-bottom: 3rem;
    }
}
@media (max-width: 768px) {
    .stage-success-rate {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .criteria-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .criteria-category-main {
        padding: 2rem;
    }
    
    .criteria-header-main {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .criteria-icon-main {
        width: 60px;
        height: 60px;
    }
    
    .criteria-header-content h3 {
        font-size: 1.2rem;
    }
    
    .criteria-item {
        padding: 1.2rem;
    }
    
    .criteria-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .criteria-weight {
        align-self: center;
    }
}
@media (max-width: 968px) {
    .market-badges {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .market-badge {
        padding: 1.5rem 1rem;
    }
    
    .flag-image-container {
        width: 70px;
        height: 45px;
    }
}
@media (max-width: 768px) {
    .global-connection {
        flex-direction: column;
        gap: 2rem;
    }
    
    .connection-line {
        width: 3px;
        height: 80px;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    
    .definition-content,
    .pricing-breakdown {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
    }
    
    .market-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .comparison-row span:first-child {
        font-weight: 600;
        color: var(--dark-card-text-primary);
    }

    header nav.container {
  height: 2.5rem; /* adjust to the size you want */
  padding-top: 0.25rem;
}

.logo img {
    padding: 0;
}

}


@media (max-width: 400px) {
header nav.container {
  height: 2.5rem; /* adjust to the size you want */
  padding-top: 0.25rem;
}

.logo img {
    max-height: 5rem;
}
}
}



@media (max-width: 768px) {
    .free-quote-section .section-title {
        font-size: 2rem;
    }
    
    .quote-text-content {
        padding: 0 1rem;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group-inline input[type="email"] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .pathway-help {
        margin-top: 40px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .pathway-help h3 {
        font-size: 1.5rem;
    }
    
    .pathway-help p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .pathway-help .btn-outline {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

  @media (max-width: 1024px) {
    .action-jobs {
        order: 1;
    }
    
    .action-divider {
        order: 2;
    }
    
    .action-apply {
        order: 3;
    }

}


@media (max-width: 768px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
    
    .action-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    

    
    .section-title {
        font-size: 2.2rem;
    }
    
    .brutal-truths {
        text-align: left;
    }
}


@media (max-width: 768px) {
    .comparisons-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comparisons-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
    }
    
    .comparisons-item:last-child {
        border-bottom: none;
    }
    
    .comparisons-row.header .comparisons-item::before {
        display: none;
    }
    
    .comparisons-row:not(.header) .comparisons-item:nth-child(1)::before {
        content: "Model: ";
        font-weight: 600;
        color: #666;
    }
    
    .comparisons-row:not(.header) .comparisons-item:nth-child(2)::before {
        content: "Timeline: ";
        font-weight: 600;
        color: #666;
    }
    
    .comparisons-row:not(.header) .comparisons-item:nth-child(3)::before {
        content: "Best For: ";
        font-weight: 600;
        color: #666;
    }
}

@media (max-width: 768px) {
    .talent-what-we-do-intro-section {
        padding: 6rem 0 !important;
    }
    
    .talent-intro-glass-card {
        padding: 3rem 2rem !important;
        border-radius: 24px !important;
    }
    
    .talent-intro-main-title {
        font-size: 2.2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .talent-intro-description {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }
    
    .talent-intro-description::first-letter {
        float: none !important;
        font-size: 1em !important;
        font-weight: 400 !important;
        color: inherit !important;
        margin: 0 !important;
    }
}




@media (max-width: 480px) {
    .talent-what-we-do-intro-section {
        padding: 4rem 0 !important;
    }
    
    .talent-intro-glass-card {
        padding: 2.5rem 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .talent-intro-main-title {
        font-size: 1.9rem !important;
        font-family: 'Inter', sans-serif !important;
        letter-spacing: 0 !important;
    }
    
    .talent-intro-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .talent-intro-floating-dot {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .probability-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .matching-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .remote-support-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-paths {
        grid-template-columns: 1fr;
    }
    
    .recommendation-options {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .practical-category {
        padding: 3rem 2rem !important;
        border-radius: 20px !important;
    }
    
    .practical-category h3 {
        font-size: 1.9rem !important;
        margin-bottom: 2rem !important;
    }
    
    .remote-support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .support-item {
        padding: 2rem !important;
        border-radius: 16px !important;
    }
    
    .support-item h4 {
        font-size: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .support-item p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .practical-category {
        padding: 2.5rem 1.5rem !important;
        border-radius: 18px !important;
    }
    
    .practical-category h3 {
        font-size: 1.7rem !important;
        font-family: 'Inter', sans-serif !important;
        letter-spacing: 0 !important;
    }
    
    .support-item {
        padding: 1.8rem !important;
    }
    
    .support-item h4 {
        font-size: 1.1rem !important;
    }
    
    .support-item p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* Hide floating elements on very small screens */
    .practical-category::after,
    .support-item::after {
        display: none !important;
    }
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .steping-content {
        padding: 1.8rem;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .steping-content h4 {
        font-size: 1.1rem;
    }
    
    .steping-content h5 {
        font-size: 1rem;
    }
    
    .steping-content p {
        font-size: 0.95rem;
    }
    
    .steping-content ul li {
        font-size: 0.9rem;
        padding-left: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .content-section {
        scroll-margin-top: 100px;
    }
    
    .toc-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }
    
    .toc-link {
        text-align: center;
    }
    
    .toc-link:hover,
    .toc-link.active {
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table-wrapper {
        overflow-x: scroll;
    }
    
    .salary-options {
        grid-template-columns: 1fr;
    }
    
    .requirements-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-types-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-paths {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .remote-cta-buttons,
    .entry-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .preparation-phases {
        grid-template-columns: 1fr;
    }
    
    .accepting-countries {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .quick-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-quick-benefits {
        padding: 4rem 0;
    }
    
    .referral-terms {
        padding: 6rem 0;
    }
}


@media (max-width: 1024px) {
    .business-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-contact-card {
        position: static;
    }
    
    .business-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .business-info-section {
        padding: 6rem 0;
    }
    
    .business-info-header .section-title {
        font-size: 2rem;
    }
    
    .business-main-card,
    .business-contact-card,
    .business-compliance-card {
        padding: 2rem;
    }
    
    .business-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .business-name h3 {
        font-size: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .compliance-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .business-main-card,
    .business-contact-card,
    .business-compliance-card {
        padding: 1.5rem;
    }
    
    .business-info-header .section-title {
        font-size: 1.8rem;
    }
    
    .business-legal-notice {
        padding: 2rem;
    }
    
    .detail-icon,
    .compliance-badge {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .explanation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-item {
        border-right: none;
        text-align: left;
    }
    
    .comparison-item.label {
        background: rgba(102, 126, 234, 0.1);
        font-weight: 600;
    }
}

@media (max-width: 768px) {
.models-grid {
grid-template-columns: 1fr;
}
.included-grid {
    grid-template-columns: 1fr;
}

.quick-process-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
}