
        @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Clean Light Section Background */
.section--why-turtltech {
    position: relative;
    padding: 90px 0;
    background-color: #f8fafc; /* Professional Light Background */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #0f172a;
    overflow: hidden;
}

.light-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.9) 100%);
    pointer-events: none;
    z-index: 0;
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* Header Styling (Dark Text for Light Background) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    letter-spacing: -1px;
    color: #0f172a !important; 
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Controls (Light Theme Arrows) */
.viewport-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.glass-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
    transition: all 0.3s ease;
}

.glass-arrow:hover:not(:disabled) {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.08);
}

.glass-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

/* Slider Track & Strict 4-Card Grid */
.why-cards-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0 30px;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide-item {
    flex: 0 0 calc(25% - 18px) !important;
    max-width: calc(25% - 18px) !important;
    min-width: 260px;
}

/* Base Card Style (White Clean Box) */
.card-3d {
    position: relative;
    background: #ffffff !important;
    border-radius: 24px;
    text-decoration: none;
    color: #0f172a !important;
    display: flex;
    flex-direction: column;
    height: 380px; 
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
}

/* GOOGLE LOGO COLORS BORDER (Blue, Red, Yellow, Green) */
.google-color-border {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

/* Hover State: Google Colors Glow & Elevation */
.card-3d:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(66, 133, 244, 0.25);
    border-color: #4285F4;
}

.card-3d:hover .google-color-border {
    opacity: 1;
}

/* Full-Card Background Image Container */
.card-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.45s ease;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dark Gradient Overlay to ensure text is 100% readable on hover */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.card-3d:hover .card-bg-media {
    opacity: 1; /* Reveals full card image on hover */
}

.card-3d:hover .bg-img {
    transform: scale(1);
}

/* Card Content Overlay (Z-index keeps it above background image) */
.card-content {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 3;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.card-3d:hover .icon-wrap {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.service-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.card-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #2563eb !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Shift tag to vibrant Google Yellow/Blue on hover */
.card-3d:hover .card-tag {
    color: #fa6065 !important;
}

/* Text transitions to Bright White on Hover */
.card-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    transition: color 0.3s ease;
}

.card-3d:hover .card-title {
    color: #171616 !important;
}

.card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 !important;
    transition: color 0.3s ease;
}

.card-3d:hover .card-desc {
    color: #0d0d0d !important;
}
.card-3d:hover .card-desc1 {
    color: #fff !important;
}


/* Footer Action Link */
.card-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    transition: all 0.3s ease;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.card-3d:hover .card-footer-link {
    color: #34A853; /* Highlights with Google Green on hover */
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .slide-item { flex: 0 0 calc(50% - 12px) !important; max-width: calc(50% - 12px) !important; }
}

@media (max-width: 640px) {
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-title { font-size: 28px !important; }
    .viewport-controls { align-self: flex-end; }
    .slide-item { flex: 0 0 100% !important; max-width: 100% !important; }
}

        /* Header Flex Container */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligns arrows to the bottom of the title text */
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
}

/* Left Content Alignment */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-blue, #2563eb);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
    color: var(--text-main, #0f172a);
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Right Controls Alignment */
.viewport-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0; /* Prevents arrows from shrinking on smaller screens */
    margin-bottom: 4px; /* Slight optical adjustment to align with baseline */
}

.glass-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main, #0f172a);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.glass-arrow:hover:not(:disabled) {
    background: var(--text-main, #0f172a);
    color: #ffffff;
    border-color: var(--text-main, #0f172a);
    transform: scale(1.08);
}

.glass-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Stacking for Tablet & Mobile */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .viewport-controls {
        align-self: flex-end; /* Moves buttons to the right edge when stacked on mobile */
    }
}
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Section Layout */
.tech-services-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #0f172a;
    overflow: hidden;
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header & Navigation Arrows */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: #0f172a !important;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.viewport-controls {
    display: flex;
    gap: 12px;
}

.glass-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #c0c0c0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
    transition: all 0.3s ease;
}

.glass-arrow:hover:not(:disabled) {
    background: #2563eb;
    color: rgb(35, 34, 34);
    border-color: #2563eb;
    transform: scale(1.05);
}

/* Main Interactive Grid (Sidebar + Viewport) */
.services-interactive-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar Accordion & Filter Tabs */
.glass-accordion-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.accordion-step {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.step-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #4338ca;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    flex-grow: 1;
}

.step-indicator {
    font-size: 20px;
    font-weight: 700;
    color: #64748b;
}

.interactive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-btn {
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

.tag-btn:hover {
    border-color: #93c5fd;
    color: #1e3a8a;
    background: #eff6ff;
}

.tag-btn.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.tag-btn.is-active .tag-dot {
    background: #38bdf8;
}

.step-footer-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
}

/* Viewport & Slider Cards */
.services-cards-viewport {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    min-width: 280px;
}

/* Card Structure - GUARANTEED VISIBLE TEXT */
.card-3d {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 440px;
    background: #ffffff !important;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    transition: all 0.35s ease;
}

/* Top Color Border Glow */
.card-glow-border {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #e2e8f0;
    transition: all 0.35s ease;
    z-index: 5;
}

.card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #2563eb !important;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Fixed Text Colors - NEVER turns white on white card */
.card-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important; /* Forces Dark Navy */
    line-height: 1.3 !important;
    margin: 0 0 12px 0 !important;
    transition: color 0.3s ease;
}

.card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important; /* Forces Readable Slate Gray */
    margin: 0 !important;
}

/* Card Bottom Media Box */
.card-media-box {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
    background: #f1f5f9;
    flex-shrink: 0;
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.explore-btn {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

/* PROPER HOVER STATE (High Contrast & Colorful Glow) */
.card-3d:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    border-color: #bfdbfe;
    background: #ffffff !important; /* Keeps background white so dark text stays legible */
}

.card-3d:hover .card-glow-border {
    background: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);
    height: 6px;
}

.card-3d:hover .card-title {
    color: #2563eb !important; /* Turns title vivid blue on hover instead of invisible white */
}

.card-3d:hover .media-img {
    transform: scale(1.08);
}

.card-3d:hover .media-overlay {
    opacity: 1;
}

/* Responsive Rules */
@media (max-width: 1100px) {
    .services-interactive-grid { grid-template-columns: 1fr; }
    .slide-item { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
}

@media (max-width: 640px) {
    .slide-item { flex: 0 0 100%; max-width: 100%; }
    .section-header { flex-direction: column; align-items: flex-start; }
}
        /* Container Layout */
.services-picker__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column: Questions */
.services-picker__block {
    flex: 1 1 300px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.services-picker__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.services-picker__tag {
    padding: 8px 16px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.services-picker__tag:hover, 
.services-picker__tag[tabindex="0"]:focus {
    background: #1e1d28;
    color: #ffffff;
    border-color: #1e1d28;
}

/* Right Column: Service Cards */
.services-picker__slider-wrap {
    flex: 2 1 600px;
    min-width: 0; /* Prevents flex blowout */
}

.services-picker__slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

/* Individual Cards */
.services-picker__item {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.services-picker__item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dark Card Specific Styling (Targeting the first item or specific ID if needed) */
.services-picker__item[id="73636"] {
    background: #1e1d28;
    color: #ffffff;
    border: none;
}

.services-picker__item[id="73636"] .services-picker__item-description {
    color: #9ca3af;
}

/* Card Typography & Spacing */
.services-picker__item-category {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #6b7280;
}

.services-picker__item-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.services-picker__item-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 30px;
}

/* Bottom Image Section */
.services-picker__item-link {
    margin-top: auto; /* Forces image to the bottom */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
}

.services-picker__item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-picker__item:hover .services-picker__item-image {
    transform: scale(1.05);
}

.services-picker__item-view,
.services-picker__item-line,
.services-picker__item-mask,
.services-picker__item-icon {
    display: none; /* Hiding the messy default arrows and masks to keep it clean, you can remove this if you want them visible */
}

/* Hide scrollbar for cleaner look */
.services-picker__slider::-webkit-scrollbar {
    display: none;
}
        /* Mobile menu hidden state */
        .tgmobile__menu {
            transform: translateX(-100%);
            /* Move off-screen */
            visibility: hidden;
            opacity: 0;
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        }

        /* When active, the menu appears */
        .tgmobile__menu.active {
            transform: translateX(0);
            visibility: visible;
            opacity: 1;
        }

        /* Backdrop hidden state */
        .tgmobile__menu-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        /* When active, the backdrop appears */
        .tgmobile__menu-backdrop.active {
            visibility: visible;
            opacity: 1;
        }


        .tgmobile__menu {
            left: -104%;
            transition: left 0.3s ease-in-out;
        }

        .tgmobile__menu.active {
            left: 0;
        }

        .tgmobile__menu.active {
            position: fixed;
            top: 0;
            left: -104%;
            width: 350px;
            height: 100vh;
            background: #fff;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
            transition: left 0.3s ease-in-out;
            z-index: 1000;
            display: block;
        }

        /* Mobile devices only */
        @media screen and (max-device-width: 390px) and (min-device-width: 480px) {
            .tgmobile__menu.active {
                width: 280px;
                left: 0;
                left: -88% !important;
            }
        }

        .tgmobile__menu:not(.active) {
            transform: translateX(-100%);
            /* Moves menu off-screen when inactive */
        }

        .tgmobile__menu:not(.active) {

            opacity: 1;
            visibility: hidden;
        }

        ;
        /* Moves menu off-screen when inactive */

        @media (max-width: 576px) {
            .tgmobile__menu.active {
                width: 390px;
                left: 0;
                left: -95% !important;
            }

            .tgmobile__menu .nav-logo img {
                max-height: 83px;
                margin-left: -25px;
                margin-top: -37px !important;
            }
        }


        .services__details-area {
            padding: 10px;
        }

        /* Mobile Menu Styling */
        .tgmobile__menu {
            display: none;
        }

        .tgmobile__menu.active {
            left: 0;
            position: fixed;
            top: 0;

            width: 343px;
            height: 100vh;
            background: #fff;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
            transition: left 0.3s ease-in-out;
            z-index: 1000;
            display: block;
        }

        .tgmobile__menu-box {
            padding: 20px;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }

        .menu-toggle-btn {
            position: fixed;
            top: 10px;
            left: 316px;
            background: #333;
            color: #fff;
            border: none;
            padding: 10px 15px;
            font-size: 18px;
            cursor: pointer;
            z-index: 1100;
            border-radius: 5px;
        }

        .tgmobile__menu-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-in-out;
            z-index: 999;
        }

        .tgmobile__menu-backdrop.active {
            opacity: 1;
            visibility: visible;
        }
  /* ==========================================================================
   1. STRONGER BACKGROUND OVERLAY (THE MOST CRITICAL FIX)
   Darkens the left side and bottom where your text and buttons sit, 
   while keeping the right side of the photo visible.
   ========================================================================== */
.card .card__mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.92) 0%, 
        rgba(15, 23, 42, 0.75) 45%, 
        rgba(15, 23, 42, 0.30) 100%
    );
    z-index: 1;
    transition: all 0.5s ease;
}

/* Make collapsed cards slightly darker so white vertical text pops */
.card:not(.active) .card__mask {
    background: rgba(15, 23, 42, 75%);
}

/* ==========================================================================
   2. COLLAPSED CARDS VERTICAL TEXT & CATEGORY LABELS
   Removes the unreadable dark gradient/colored text and replaces it with 
   high-contrast, bold white typography.
   ========================================================================== */
.card__name,
.card__category,
.vertical-text {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    /* Clean dark drop-shadow ensures legibility over any photo color */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    z-index: 5;
    position: relative;
}

/* Top-right "WEBSITE DEVELOPMENT" badge styling */
.card .top-right-label {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.4); /* Subtle dark pill background */
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   3. MAIN HEADING & DESCRIPTION TYPOGRAPHY
   Removes the blurry white outline and applies crisp, high-contrast styling.
   ========================================================================== */
.card__text {
    position: relative;
    z-index: 5;
    max-width: 650px;
    padding-left: 2rem;
}
/* ==========================================================================
   1. HIGH-CONTRAST COLOR HIERARCHY FOR HEADINGS & TEXT
   Uses crisp white, bright gold highlights, and icy slate for distinct layers.
   ========================================================================== */
.card__text h1,
.card__text .title-h1 {
    color: #FFFFFF !important;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    /* Deep dual-layer shadow guarantees crisp edges over bright photo areas */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 1);
}

/* Add a <span> around key words in your HTML heading to apply this gold accent */
.card__text h1 span,
.card__text .title-h1 span {
    color: #FFD54F !important; /* Bright Gold/Yellow accent that pops on dark backgrounds */
    text-shadow: 0 2px 10px rgba(255, 179, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.9);
}

.card__text p,
.card__text .description-n {
    color: #FFD54F !important; /* Icy Slate Blue-Grey visually separates body text from headings */
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   2. FIX FOR THE MUDDY TOP-RIGHT CATEGORY & VERTICAL LABELS
   Encases vibrant electric colors inside a solid dark badge so they never wash out.
   ========================================================================== */
.card__name,
.card__category,
.vertical-text,
.top-right-label {
    color: #ffdf29 !important; /* Vibrant Electric Cyan replaces dark, muddy colors */
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    background: rgba(15, 23, 42, 0.85); /* Solid dark backdrop ensures 100% visibility */
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.3); /* Subtle matching cyan border */
    display: inline-block;
}

/* OPTIONAL: If you want all 4 brand colors in a clean, readable text gradient */
.brand-gradient-text {
    background: linear-gradient(90deg, #FF5252 0%, #FFD54F 33%, #69F0AE 66%, #40C4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.9));
}

/* ==========================================================================
   3. BUTTON STYLING WITH BRAND ACCENT INJECTION
   ========================================================================== */
.card__text .btn,
.card__text button {
    background: #FFFFFF;
    color: #0F172A !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #00E5FF; /* Electric cyan border ties into the color theme */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.card__text .btn:hover,
.card__text button:hover {
    background: #00E5FF;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

/* ==========================================================================
   4. BUTTON & CONTROLS VISIBILITY
   ========================================================================== */
.card__text .btn,
.card__text button {
    background-color: #ffffff;
    color: #0f172a !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.card__text .btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

/* Ensure navigation arrows and bottom buttons stay above the mask */
.card__arrows,
.card__icon,
.card__info {
    position: relative;
    z-index: 5;
}