/* 
   SaaS Digital Marketing Agency Template 
   Envato ThemeForest Quality 
*/

:root {
    --primary: #4F46E5;       /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.5);
    --secondary: #06B6D4;     /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --accent: #111827;        /* Gray-900 */
    
    --bg-main: #F8FAFC;
    --hero-bg: #070B2E;
    
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    --card-bg: #ffffff;
    --card-radius: 24px;
    --border: rgba(226, 232, 240, 1);
    --border-glow: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 20px 40px -10px var(--primary-glow);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============ TYPOGRAPHY ============ */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.display-4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.display-5 { font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 1.125rem; font-weight: 400; line-height: 1.7; color: var(--text-muted); }

/* ============ UTILITIES & COMPONENTS ============ */
.section-pad {
    padding: 100px 0;
}
.rounded-xl {
    border-radius: var(--card-radius);
}
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
}
.glass-panel-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-md);
}

/* ============ BUTTONS ============ */
.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    transition: var(--transition);
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px var(--primary-glow);
}
.btn-outline-glow {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-glow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}
.btn-link-modern {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-link-modern i {
    transition: transform 0.3s ease;
}
.btn-link-modern:hover {
    color: var(--secondary);
}
.btn-link-modern:hover i {
    transform: translateX(4px);
}

/* ============ NAVBAR ============ */
.navbar-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-brand-modern {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-brand-modern .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.nav-links-modern {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-links-modern a:hover {
    color: #fff;
}

/* ============ HERO SECTION ============ */
.hero-marketing {
    background-color: var(--hero-bg);
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}
/* Glowing orbs and grid */
.hero-marketing::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(79, 70, 229, 0) 70%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}
.hero-marketing::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(6, 182, 212, 0) 70%);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.trust-badges img {
    height: 24px;
    opacity: 0.7;
    transition: var(--transition);
}
.trust-badges img:hover {
    opacity: 1;
}

/* Hero Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    z-index: 2;
    height: 600px;
}
.ui-card {
    position: absolute;
    border-radius: 16px;
    padding: 24px;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
}
.ui-card-1 {
    top: 10%;
    left: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation-delay: 0s;
}
.ui-card-2 {
    top: 40%;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation-delay: 1.5s;
    z-index: 3;
}
.ui-card-3 {
    bottom: 5%;
    left: 10%;
    width: 260px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation-delay: 3s;
}

/* Simulated UI Elements */
.ui-skeleton-text {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}
.ui-chart-bar {
    width: 30px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    position: absolute;
    bottom: 0;
}
.ui-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* ============ MARQUEE ============ */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}
.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}
.marquee-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
}
.marquee-item:hover {
    color: var(--text-dark);
}

/* ============ SERVICES ============ */
.service-card-modern {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}
.service-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    transition: var(--transition);
}
.service-card-modern:hover .service-icon-modern {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

/* ============ COUNTERS (DARK) ============ */
.counters-section {
    background-color: var(--accent);
    color: #fff;
    position: relative;
}
.counter-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}
.counter-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.counter-num {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

/* ============ PORTFOLIO ============ */
.project-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.project-img-wrapper {
    height: 250px;
    overflow: hidden;
    background: #e2e8f0;
}
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}
.project-metrics {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(79, 70, 229, 0.03);
    border-radius: 12px;
    margin: 20px 0;
}
.metric-box {
    flex: 1;
}
.metric-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============ TIMELINE ============ */
.process-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}
.process-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.2;
}
.process-step {
    display: flex;
    gap: 24px;
    position: relative;
}
.process-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px var(--bg-main);
}
.process-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

/* ============ TESTIMONIALS ============ */
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.review-stars {
    color: #f59e0b;
    margin-bottom: 16px;
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.reviewer-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============ PRICING ============ */
.pricing-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}
.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}
.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}
.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}
.pricing-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
.pricing-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pricing-list li i {
    color: var(--primary);
}

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin: 100px 20px;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    z-index: 1;
}

/* ============ FOOTER ============ */
.footer-modern {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* ============ ANIMATIONS ============ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .dashboard-mockup { display: none; }
    .hero-marketing { padding-top: 120px; text-align: center; }
    .process-wrapper::before { left: 20px; }
    .process-num { width: 40px; height: 40px; }
    .cta-section { margin: 50px 10px; border-radius: 24px; }
}

/* ============ THEME GEAR ============ */
.theme-gear {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: #fff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 1050; transition: all 0.3s ease; border: 2px solid var(--primary);
}
.theme-gear:hover { background: var(--primary); color: #fff; transform: translateY(-50%) rotate(90deg); }

/* ============ CONTACT PAGE ============ */
.contact-card-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.contact-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.social-links-lg a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.social-links-lg a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* Premium Accordion */
.premium-accordion .accordion-item {
    margin-bottom: 0;
}
.premium-accordion .accordion-button {
    font-size: 1.1rem;
    padding: 1.5rem 0;
}
.premium-accordion .accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    box-shadow: none;
}
.premium-accordion .accordion-button:focus {
    box-shadow: none;
}
.premium-accordion .accordion-body {
    padding-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============ ABOUT PAGE ============ */
.about-floating-card {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}
.about-floating-card:hover { transform: translateY(-5px) scale(1.02); }
.about-floating-card.top-right { top: -20px; right: -20px; }
.about-floating-card.bottom-left { bottom: -20px; left: -20px; }
.about-floating-card.bottom-right { bottom: 20px; right: -40px; }

.stat-card-modern {
    transition: all 0.3s ease;
}
.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.1) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
}

.team-card-modern {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s ease;
}
.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background: #f8f9fa;
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card-modern:hover .team-img-wrapper img {
    transform: scale(1.05);
}
.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(7, 11, 46, 0.8), transparent);
    transition: bottom 0.4s ease;
}
.team-card-modern:hover .team-social {
    bottom: 0;
}
.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.team-social a:hover {
    background: var(--primary);
    color: #fff;
}
.team-info {
    padding: 24px;
    text-align: center;
}

.cta-card-modern {
    background: linear-gradient(135deg, #070B2E 0%, #0a0f3d 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ============ SERVICES PAGE ============ */
.service-card-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    transition: all 0.4s ease;
}
.service-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3) !important;
}

.process-timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 30px;
}
.process-timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(79, 70, 229, 0.1);
    z-index: 1;
}
.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
.timeline-node {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.1);
    position: relative;
    transition: all 0.3s ease;
}
.timeline-step:hover .timeline-node {
    transform: scale(1.1);
    background: var(--primary);
    color: #fff;
}
.timeline-number {
    position: absolute;
    top: -30px;
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}
.timeline-step:hover .timeline-number {
    color: var(--primary);
    transform: translateY(-5px);
}
.timeline-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: all 0.3s ease;
}
.timeline-step:hover .timeline-icon {
    color: #fff;
}

/* Mobile Timeline Stack */
@media (max-width: 768px) {
    .process-timeline-horizontal {
        flex-direction: column;
        padding-top: 0;
        padding-left: 30px;
    }
    .process-timeline-horizontal::before {
        top: 0;
        bottom: 0;
        left: 45px;
        right: auto;
        height: 100%;
        width: 2px;
    }
    .timeline-step {
        display: flex;
        text-align: left;
        margin-bottom: 30px;
        padding: 0;
    }
    .timeline-node {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }
    .timeline-number {
        top: 50%;
        left: -40px;
        transform: translateY(-50%);
    }
    .timeline-step:hover .timeline-number {
        transform: translateY(-50%) translateX(-5px);
    }
}

/* ============ WORK PAGE ============ */
.portfolio-filter-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.portfolio-filter-btn:hover {
    border-color: rgba(79, 70, 229, 0.4);
    color: var(--primary);
}
.portfolio-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.project-card-modern {
    transition: all 0.4s ease;
}
.project-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
}
.project-img-wrapper img {
    transition: transform 0.8s ease;
}
.project-card-modern:hover .project-img-wrapper img {
    transform: scale(1.05);
}
.project-overlay {
    background: rgba(7, 11, 46, 0.3);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: all 0.4s ease;
}
.project-card-modern:hover .project-overlay {
    opacity: 1;
}

.metric-box {
    transition: all 0.3s ease;
}
.project-card-modern:hover .metric-box {
    background: #fff !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.05);
}

.achievement-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.achievement-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(79, 70, 229, 0.2);
}
.achievement-badge i {
    font-size: 1.2rem;
}

/* ============ CASE STUDY PAGE ============ */
.glass-stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}
.glass-stat-card:nth-child(1) { animation-delay: 0s; }
.glass-stat-card:nth-child(2) { animation-delay: 2s; }
.glass-stat-card:nth-child(3) { animation-delay: 4s; }

.challenge-card {
    border-top: 5px solid var(--bs-danger) !important;
}
.solution-card {
    border-top: 5px solid var(--primary) !important;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15) !important;
}

.dashboard-mockup {
    position: relative;
}
.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 15px; left: 15px;
    width: 12px; height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
    z-index: 10;
}

.tech-badge {
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
    color: var(--primary);
}

/* ============ NAVBAR DROPDOWN ============ */
.nav-links-modern .dropdown-menu {
    background: rgba(7, 11, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 10px;
    margin-top: 15px;
}
.nav-links-modern .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}
.nav-links-modern .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.nav-links-modern .dropdown-toggle::after {
    margin-left: 0.3em;
    vertical-align: 0.155em;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
}
