/* -----------------------------------------------------------
   1. VARIABLES & RESET (Theming Engine)
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    /* FONTS */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* LIGHT THEME (Default) - Premium Clean */
    --bg-main: #F8FAFC;
    /* Slightly cooler, brighter white-grey */
    --bg-surface: #FFFFFF;
    --text-primary: #0F172A;
    /* Deep Slate */
    --text-secondary: #475569;
    /* Slate 600 - better readability */
    --text-inverse: #FFFFFF;

    --border-light: #E2E8F0;

    /* Accents - Vibrant & Electric */
    --accent-blue: #2563EB;
    /* Primary Brand Blue */
    --accent-purple: #7C3AED;
    --accent-pink: #EC4899;
    --accent-green: #10B981;
    --accent-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);

    /* Shadows - Soft & Diffused */
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -4px rgba(0, 0, 0, 0.1);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 16px;

    /* Transition & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --ease-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Animation Assets */
    --orb-opacity: 0.6;
}

[data-theme="dark"] {
    /* DARK THEME (Deep Space) */
    --bg-main: #020617;
    /* Darker, richer black-blue */
    --bg-surface: #0F172A;
    /* Slate 900 */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-inverse: #000000;

    --border-light: #1E293B;

    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    --orb-opacity: 0.4;


    /* Accents (Brighter for dark mode) */
    --accent-blue: #60A5FA;
    --accent-purple: #A78BFA;
    --accent-pink: #F472B6;
    --accent-green: #34D399;

    /* Shadows */
    --shadow-soft: 0px 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0px 20px 25px -5px rgba(0, 0, 0, 0.5);

    --orb-opacity: 0.25;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.splash-logo {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* -----------------------------------------------------------
   SPLASH SCREEN
----------------------------------------------------------- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Pure Void Black */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-img {
    height: 80px;
    width: auto;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.splash-logo-img.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .splash-logo-img {
        height: 50px;
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* -----------------------------------------------------------
   UTILITIES & COMPONENTS
----------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
}

.text-blue {
    color: var(--accent-blue);
}

.text-purple {
    color: var(--accent-purple);
}

.text-pink {
    color: var(--accent-pink);
}

.text-green {
    color: var(--accent-green);
}

.text-center {
    text-align: center;
}

.bento-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .bento-card {
    background: rgba(30, 41, 59, 0.4);
    /* Glassy dark */
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    /* Bolder */
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--ease-smooth);
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn:active {
    transform: scale(0.95);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--accent-purple);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-surface);
}

/* Link Arrow Hover */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-top: 1rem;
    transition: var(--ease-smooth);
}

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

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

/* -----------------------------------------------------------
   THEME TOGGLE
----------------------------------------------------------- */
.theme-switch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--ease-smooth);
}

.theme-switch:hover {
    background: var(--border-light);
    transform: rotate(15deg);
}

/* -----------------------------------------------------------
   BACKGROUND ORBS
----------------------------------------------------------- */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: var(--orb-opacity);
    transition: opacity 0.5s ease;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 90px);
    }
}

/* -----------------------------------------------------------
   NAVBAR
----------------------------------------------------------- */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    /* Match hero section width */
    z-index: 1000;
}

.nav-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-pill);
    padding: 0.7rem 20px;
    /* Match .container padding for perfect alignment */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--ease-smooth);
}

[data-theme="dark"] .nav-container {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo Images - Theme Switching */
.nav-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-icon {
    transform: scale(1.08);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-logo img,
.footer-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    border-radius: 0;
}

.footer-logo img {
    height: 36px;
}

/* Light theme: show light logo, hide dark logo */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

/* Dark theme: show dark logo, hide light logo */
[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Legacy text logo (fallback) */
.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    background: var(--text-primary);
    color: var(--bg-surface);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-nav:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* -----------------------------------------------------------
   HERO SECTION - NEW BENTO GRID LAYOUT
----------------------------------------------------------- */
#hero {
    padding: 140px 0 40px 0;
    min-height: auto;
}

.bento-grid-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.hero-main h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -0.04em;
}

.hero-main p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Right Column */
.hero-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Services Card */
.hero-services-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
}

.hero-services-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-services-card .card-title i {
    color: var(--accent-blue);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-item i {
    font-size: 0.9rem;
}

/* Trust Card */
.hero-trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.trust-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.hero-trust-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 0.85rem;
}

/* -----------------------------------------------------------
   SECTIONS STYLING
----------------------------------------------------------- */
.section-services {
    padding: 3rem 0;
}

.section-why {
    padding: 3rem 0;
    /* Removed background */
}

.section-testimonials {
    padding: 3rem 0;
}

.section-cta-final {
    padding: 4rem 0 2rem 0;
    text-align: center;
    /* Removed background */
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Service Cards */
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.service-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.service-icon.pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent-pink);
}

.bento-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-action {
    margin-top: 1.5rem;
}

.service-btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.65rem 1.5rem;
}

/* Feature Cards */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-avatar.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.author-avatar.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.author-name {
    font-weight: 700;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-container {
    max-width: 700px;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* -----------------------------------------------------------
   FOOTER (REDESIGNED)
----------------------------------------------------------- */
footer {
    width: 100%;
}

.site-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-light);
    padding: 6rem 0 3rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .footer-logo img {
    height: 38px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--ease-smooth);
    font-size: 1.3rem;
}

.footer-socials a:hover {
    background: var(--accent-pink);
    color: white;
    border-color: var(--accent-pink);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(236, 72, 153, 0.4);
}

.footer-socials a[href*="linkedin"] {
    color: #0077B5;
    border-color: rgba(0, 119, 181, 0.3);
}

.footer-socials a[href*="linkedin"]:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
    box-shadow: 0 10px 20px -5px rgba(0, 119, 181, 0.4);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    width: 100%;
}

.footer-copyright, .footer-made-with {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN
----------------------------------------------------------- */
@media (max-width: 1024px) {
    .bento-grid-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-main h1 {
        font-size: 2.8rem;
    }

    .hero-right-column {
        flex-direction: row;
    }

    .hero-services-card,
    .hero-trust-card {
        flex: 1;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    #hero {
        padding: 120px 0 30px 0;
    }

    .bento-grid-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-main {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .hero-main h1 {
        font-size: 2.2rem;
    }

    .hero-main p {
        margin: 0 auto 1.5rem auto;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .hero-right-column {
        flex-direction: column;
    }

    .bento-card,
    .hero-services-card,
    .hero-trust-card {
        padding: 1.5rem !important;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section-services,
    .section-why,
    .section-testimonials {
        padding: 2.5rem 0;
    }

    .section-cta-final {
        padding: 3rem 0 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .splash-logo {
        font-size: 3rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .nav-container {
        background: var(--bg-surface) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        border-bottom: 1px solid var(--border-light) !important;
        border-radius: 0 0 24px 24px;
    }

    .mobile-menu-active {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 999;
        padding: 2rem;
        animation: slideInMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes slideInMenu {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .mobile-menu-active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-main);
        opacity: 0.96;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: -1;
    }

    .mobile-menu-active a {
        font-size: 2.2rem;
        font-family: var(--font-heading);
        color: var(--text-primary);
        margin: 1.2rem 0;
        font-weight: 800;
        text-decoration: none;
        transition: transform 0.3s ease, color 0.3s ease;
        text-align: center;
        opacity: 0;
        animation: popIn 0.4s ease forwards;
        letter-spacing: -0.02em;
        position: relative;
        z-index: 10;
    }

    .mobile-menu-active a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0%;
        height: 4px;
        background: var(--accent-blue);
        transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 4px;
    }

    .mobile-menu-active a:nth-child(1) { animation-delay: 0.1s; }
    .mobile-menu-active a:nth-child(2) { animation-delay: 0.15s; }
    .mobile-menu-active a:nth-child(3) { animation-delay: 0.2s; }
    .mobile-menu-active a:nth-child(4) { animation-delay: 0.25s; }
    .mobile-menu-active a:nth-child(5) { animation-delay: 0.3s; }

    @keyframes popIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mobile-menu-active a:hover {
        color: var(--accent-blue);
        transform: scale(1.05);
    }
    
    .mobile-menu-active a:hover::after {
        width: 80%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.85rem 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* -----------------------------------------------------------
   Page-specific utilities (for subpages)
----------------------------------------------------------- */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.masonry-grid {
    column-count: 2;
    column-gap: 2rem;
}

.project-card {
    break-inside: avoid;
    margin-bottom: 2rem;
    padding: 1rem;
}

.project-mockup {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    position: relative;
}

.mockup-header {
    height: 24px;
    background: #E5E5E5;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}

.mockup-content {
    height: 250px;
    background-size: cover;
    background-position: center;
}

/* Trusted Strip */
.trusted-strip {
    padding: 2rem 0 4rem 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
    font-size: 1.8rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* -----------------------------------------------------------
   STARTUP DIALOG (Portfolio Alert)
----------------------------------------------------------- */
.startup-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.startup-dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.startup-dialog {
    background: var(--bg-surface);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.startup-dialog-overlay.active .startup-dialog {
    transform: translateY(0) scale(1);
}

.startup-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}

.startup-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.startup-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.startup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.startup-close:hover {
    color: var(--accent-blue);
}

[data-theme="dark"] .startup-dialog {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------------------------
   SERVICES ACCORDION (New Premium Style)
----------------------------------------------------------- */
.services-menu-container {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

.service-acc-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.service-acc-item:hover {
    border-color: var(--acc-color, var(--accent-blue));
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.service-acc-item.active {
    background: var(--bg-main);
    border-color: var(--acc-color, var(--accent-blue));
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

.service-acc-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.s-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.s-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-secondary);
    opacity: 0.2;
    min-width: 2rem;
}

.service-acc-item.active .s-num {
    opacity: 1;
    color: var(--acc-color, var(--accent-blue));
}

.s-title-group h3 {
    margin: 0;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.service-acc-item.active .s-title-group h3 {
    color: var(--acc-color, var(--accent-blue));
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
    .footer-content {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
}

.s-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
    font-weight: 500;
}

.acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-acc-item.active .acc-icon {
    background: var(--acc-color, var(--accent-blue));
    border-color: var(--acc-color, var(--accent-blue));
    color: #fff;
    transform: rotate(45deg);
}

.service-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.service-acc-item.active .service-acc-content {
    opacity: 1;
}

.s-content-inner {
    padding: 0 2rem 2rem 5.5rem;
    /* align with text */
    border-top: 1px solid transparent;
}

.service-acc-item.active .s-content-inner {
    border-top-color: var(--border-light);
    padding-top: 1.5rem;
}

.s-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.s-sub-card {
    background: var(--bg-surface);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s;
}

.s-sub-card:hover {
    transform: translateY(-2px);
    border-color: var(--acc-color, var(--accent-blue));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .service-acc-header {
        padding: 1.25rem;
    }

    .s-header-left {
        gap: 1rem;
    }

    .s-content-inner {
        padding: 0 1.25rem 1.5rem 1.25rem;
    }

    .s-num {
        font-size: 1.2rem;
    }

    .s-title-group h3 {
        font-size: 1.1rem;
    }
}