/* 
 * AbdulTSD Premium Design System v3.0
 * Theme: "Digital Craftsman" - Sophisticated Tech Professional
 * Architecture: Mobile-First, Component-Based, Accessible
 */

/* ========================================
   1. DESIGN TOKENS & CSS VARIABLES
   ======================================== */
:root {
    /* === BRAND COLORS === */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #fbbf24;

    /* Indigo Scale */
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;

    /* Cyan Scale */
    --secondary-400: #22d3ee;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;

    /* Amber/Gold Scale */
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* === GRADIENTS === */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    --gradient-gold: linear-gradient(135deg, #fff3b0 0%, #fbbf24 50%, #f59e0b 100%);
    --gradient-silver: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);

    /* === NEUTRAL PALETTE (Rich Obsidian) === */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #94a3b8;
    /* Increased contrast from #64748b */
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.15);
    /* Slightly stronger for better separation */

    /* === SEMANTIC COLORS === */
    --success: #10b981;
    --error: #f43f5e;
    --warning: #f97316;
    --info: #3b82f6;

    /* === SHADOWS (Layered Depth) === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 40px 80px rgba(0, 0, 0, 0.8);

    /* === BORDER RADIUS === */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* === SPACING SCALE (8px base) === */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;

    /* === TYPOGRAPHY === */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);

    /* === ANIMATION TIMING === */
    --duration-fast: 200ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.16, 1, 0.3, 1);

    /* === LAYOUT === */
    --container-max: 1400px;
    --section-padding: clamp(4rem, 8vw, 6rem);
}

/* ========================================
   2. RESET & FOUNDATIONAL STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--slate-100);
    background: var(--slate-950);
    overflow-x: hidden;
    /* Mobile scroll optimization */
    -webkit-overflow-scrolling: touch;
}

main {
    padding-top: 75px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    color: var(--slate-400);
    margin-bottom: var(--space-2);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--duration-base) var(--easing-smooth);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ========================================
   3. LAYOUT SYSTEM - MOBILE FIRST
   ======================================== */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
}

/* Heading Alignment */
.section-title,
.section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

.section-title h2 {
    margin-bottom: var(--space-2);
}

/* About Section Image */
.about-img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--duration-base);
}

.about-img:hover {
    transform: scale(1.02);
}

/* Footer Contrast Fix */
footer {
    background: var(--slate-900);
    /* Dark Background */
    color: var(--slate-200);
    /* Light Text (High Contrast) */
    padding: var(--space-8) 0;
    text-align: center;
}

footer a {
    color: var(--white);
    opacity: 0.8;
}

footer a:hover {
    opacity: 1;
    color: var(--secondary-500);
    /* Cyan accent on hover */
}

/* ========================================
   4. HERO SECTION (Signature Element)
   ======================================== */
.hero {
    background: var(--slate-950);
    position: relative;
    padding: var(--space-12) 0 var(--space-8);
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.hero .badge {
    background: var(--glass-bg) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-transform: none;
    backdrop-filter: blur(5px);
}

.badge-icon {
    font-size: 1.1em;
}


/* Subtle gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero .logo {
    width: auto;
    height: 100px;
    margin: 0 auto var(--space-4);
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(79, 70, 229, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    margin-bottom: var(--space-3);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s var(--easing-bounce);
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--slate-500);
    max-width: 800px;
    margin: 0 auto var(--space-6);
    font-weight: 400;
    animation: fadeInUp 0.8s 0.2s var(--easing-bounce) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   5. BUTTON SYSTEM
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--duration-base) var(--easing-smooth);
    position: relative;
    overflow: hidden;
    padding: 0.8em 1.6em;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--duration-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

.btn-sm {
    padding: 0.4rem 1rem !important;
    font-size: 0.875rem !important;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--slate-50);
    transform: translateY(-2px);
    border-color: var(--slate-300);
    color: var(--primary-600);
}

.btn-success {
    background: #25D366 !important;
    /* WhatsApp Green */
    color: white !important;
}

.btn-success:hover {
    background: #128C7E !important;
    color: white !important;
}

/* Icon Spacing in Buttons */
.btn i,
.btn img {
    margin-right: 0.5rem;
}

.btn-sm i,
.btn-sm img {
    margin-right: 0.3rem;
}

.btn-sm.btn-icon-only i {
    margin-right: 0;
}

/* ========================================
   6. CARD SYSTEM (Premium Components)
   ======================================== */
.service-card,
.platform-card,
.testimonial-card {
    background: var(--glass-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    border: 1px solid var(--glass-border);
    transition: all var(--duration-base) var(--easing-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* === Glassmorphism Components === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Glassmorphism hover effect for specific components */
.service-card::after,
.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--duration-base);
    z-index: 0;
}

.service-card:hover,
.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::after,
.platform-card:hover::after {
    opacity: 0.03;
}

/* Ensure content is above overlay */
.service-card>*,
.platform-card>* {
    position: relative;
    z-index: 1;
}

/* === Service Cards === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-4);
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    margin-bottom: var(--space-2);
    color: var(--white);
}

.service-card p {
    color: var(--slate-400);
    flex-grow: 1;
    margin-bottom: var(--space-4);
}

.service-card .btn-link {
    color: var(--primary-600);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.service-card:hover .btn-link {
    gap: 0.75rem;
    color: var(--primary-700);
}

/* === Platform Cards === */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-4);
}

.platform-card {
    text-align: center;
    position: relative;
}

.platform-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--primary-600);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.platform-header img {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-3);
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all var(--duration-base);
}

.platform-card:hover .platform-header img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.platform-stats {
    display: flex;
    justify-content: space-around;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    margin: var(--space-3) 0;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-weight: 700;
    color: var(--slate-900);
    font-size: 1rem;
}

.platform-cta {
    color: var(--primary-600);
    font-weight: 600;
    margin-top: var(--space-2);
    font-size: 0.9rem;
}

/* === Testimonial Cards === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: var(--space-4);
}

.testimonial-card {
    border-top: 4px solid var(--secondary-500);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: var(--accent-500);
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--slate-700);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: var(--space-3);
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--slate-500);
    font-size: 0.9rem;
}

/* ========================================
   7. CONTACT FORM (Premium UX)
   ======================================== */
.contact-form {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
}

.contact-form h1,
.contact-form h2,
.contact-form h3,
.contact-form p,
.contact-form .section-title,
.contact-form .section-subtitle {
    color: var(--white) !important;
}

.form-container {
    background: var(--slate-900);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

label {
    display: block;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: var(--space-1);
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    transition: all var(--duration-base);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   8. FOOTER & UTILITIES
   ======================================== */
footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer a:hover {
    color: var(--white);
}

.floating-buttons {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    z-index: 9999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: all var(--duration-base);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-email {
    background: #EA4335;
}

/* ========================================
   9. FAQ & ACCORDION
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: transparent;
    font-weight: 600;
    text-align: left;
    color: var(--white);
    cursor: pointer;
    transition: background var(--duration-base);
}

.faq-question:hover {
    background: var(--slate-50);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-600);
    font-weight: 300;
    transition: transform var(--duration-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--easing-smooth);
}

.faq-answer p {
    padding: 0 var(--space-3) var(--space-3);
    color: var(--slate-500);
}

/* ========================================
   10. SOCIAL SECTION
   ======================================== */
.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.social-card {
    background: var(--glass-bg);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base);
}

.social-card:hover {
    border-color: var(--primary-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-3);
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.875rem 1.75rem;
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base);
    backdrop-filter: blur(5px);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-600);
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: clamp(3rem, 6vw, 4rem);
    }

    .hero {
        padding: var(--space-8) 0 var(--space-6);
    }

    .hero .logo {
        height: 80px;
    }

    .form-container {
        padding: var(--space-4);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .floating-buttons {
        bottom: var(--space-3);
        right: var(--space-3);
    }

    .fab {
        width: 52px;
        height: 52px;
    }
}

/* ========================================
   12. ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-600);
    outline-offset: 2px;
}

/* ========================================
   13. UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-decoration-none {
    text-decoration: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   12. GLOBAL HEADER (Custom Navbar)
   ======================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-600);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--slate-700);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-600);
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    /* Mobile Menu Toggle Button */
    .menu-toggle {
        font-size: 1.5rem;
        color: var(--slate-900);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        transition: color 0.3s;
    }

    .menu-toggle:hover {
        color: var(--primary-600);
    }

    /* Fullscreen Mobile Menu Overlay */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--slate-950);
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        flex-direction: column;
        padding: 2rem;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3rem;
    }

    .menu-close {
        font-size: 2rem;
        color: var(--white);
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }

    .mobile-nav-list li {
        margin-bottom: 1.5rem;
    }

    .mobile-nav-list a {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        display: block;
        transition: color 0.3s;
    }

    .mobile-nav-list a:hover {
        color: var(--primary-600);
    }

    .mobile-menu-footer {
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid var(--slate-100);
    }
}

/* ========================================
   13. ENHANCED FOOTER (Ported)
   ======================================== */
.footer-enhanced {
    background: linear-gradient(135deg, #0a0a0a, #141414);
    color: #eaeaea;
    padding: 80px 20px 40px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer-enhanced::before,
.footer-enhanced::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.footer-enhanced::before {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
}

.footer-enhanced::after {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.12), transparent 70%);
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-section h5,
.footer-section h6 {
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 15px;
}

.footer-section p a {
    color: #eaeaea;
    text-decoration: underline;
}

/* === GLOBAL DARK OVERRIDES === */
.bg-white {
    background-color: var(--slate-900) !important;
}

.card {
    background-color: var(--slate-900);
    border-color: var(--glass-border);
}

.text-dark {
    color: var(--white) !important;
}

.text-muted {
    color: var(--slate-400) !important;
}

.modal-content {
    background-color: var(--slate-900);
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.modal-header,
.modal-footer {
    border-color: var(--glass-border);
}

.list-group-item {
    background-color: var(--slate-900);
    color: var(--white);
    border-color: var(--glass-border);
}

.dropdown-menu {
    background-color: var(--slate-900);
    border-color: var(--glass-border);
}

.dropdown-item {
    color: var(--white);
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
}

/* === MOBILE PERFORMANCE OPTIMIZATIONS === */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Disable expensive animations on mobile */
    .glass-card::before,
    .service-card::after,
    .platform-card::after {
        display: none;
    }

    /* Optimize transforms for mobile */
    .glass-card,
    .service-card,
    .platform-card {
        transform: none !important;
        will-change: auto;
    }

    /* Simplify hover effects on mobile */
    .glass-card:hover,
    .service-card:hover,
    .platform-card:hover {
        transform: translateY(-5px) !important;
    }

    /* Disable CLS-causing elements on mobile */
    .bg-orb {
        display: none !important;
    }
}

/* === TEXT GRADIENTS === */
.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ========================================
   DROPDOWN FIX - Ensure Options are Visible
   ======================================== */
.form-select.bg-transparent option,
.form-select option {
    background-color: #1e293b !important;
    color: #ffffff !important;
    padding: 8px !important;
}

.form-select.bg-transparent option:hover,
.form-select option:hover {
    background-color: #334155 !important;
}