/* Dark + Gradients Theme for 3DProgramin */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e4e4e7;
    background: #09090b;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background gradient orbs */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
    animation: float2 25s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    bottom: -100px;
    right: 20%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 50px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.1); }
    66% { transform: translate(30px, -50px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(0.95); }
    66% { transform: translate(-30px, 50px) scale(1.05); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: #fafafa;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    color: #a1a1aa;
}

strong {
    color: #fafafa;
    font-weight: 500;
}

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b5cf6;
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-ghost {
    background: transparent;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
}

.btn-ghost:hover {
    border-color: #8b5cf6;
    color: #fff;
}

.btn-glow {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.0625rem;
    color: #fafafa;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #a1a1aa;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-menu a:hover {
    color: #fafafa;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #e4e4e7;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #a78bfa;
    margin-bottom: 32px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #71717a;
    max-width: 540px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fafafa;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #71717a;
}

/* Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-top: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.service-icon-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.service-icon-yellow { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.service-icon-red { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.service-icon-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.service-icon-pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.service-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.service-icon-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }

.service-card h3 {
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9375rem;
    margin: 0;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.about-image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
    border-radius: 24px;
    filter: blur(40px);
    z-index: 0;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #a1a1aa;
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    color: #71717a;
    border: 1px solid #27272a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    color: #e4e4e7;
    border-color: #3f3f46;
}

.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.portfolio-grid {
    margin: 0 -8px;
}

.portfolio-grid::after {
    content: '';
    display: block;
    clear: both;
}

.portfolio-item {
    position: relative;
    display: block;
    float: left;
    width: calc(25% - 16px);
    margin: 8px;
    border-radius: 12px;
    overflow: hidden;
    background: #18181b;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay span {
    color: #fafafa;
    font-weight: 500;
    font-size: 0.9375rem;
}

.portfolio-item:hover img {
    transform: scale(1.08);
    opacity: 0.7;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 32px;
    font-size: 1.0625rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #a1a1aa;
    font-size: 1rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #fafafa;
}

.contact-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: #fafafa;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #27272a;
    border-radius: 10px;
    transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #52525b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9375rem;
    display: none;
}

.contact-form .alert.alert-success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.contact-form .alert.alert-danger {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.875rem;
    color: #52525b;
}

.footer a {
    font-size: 0.875rem;
    color: #71717a;
    transition: color 0.2s;
}

.footer a:hover {
    color: #a1a1aa;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item {
        width: calc(33.333% - 16px);
    }

    .about-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 14px 16px;
    }

    .nav-menu .btn-glow {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-stats {
        gap: 40px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        max-width: 220px;
        margin: 0 auto;
    }

    .tech-stack {
        justify-content: center;
    }

    .portfolio-item {
        width: calc(50% - 16px);
    }

    .portfolio-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .portfolio-item {
        width: calc(100% - 16px);
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children animation */
.stagger-children .service-card,
.stagger-children .tech-tag {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.active .service-card,
.stagger-children.active .tech-tag {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.active .service-card:nth-child(1),
.stagger-children.active .tech-tag:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.active .service-card:nth-child(2),
.stagger-children.active .tech-tag:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.active .service-card:nth-child(3),
.stagger-children.active .tech-tag:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.active .service-card:nth-child(4),
.stagger-children.active .tech-tag:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.active .service-card:nth-child(5),
.stagger-children.active .tech-tag:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.active .service-card:nth-child(6),
.stagger-children.active .tech-tag:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.active .service-card:nth-child(7),
.stagger-children.active .tech-tag:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.active .service-card:nth-child(8),
.stagger-children.active .tech-tag:nth-child(8) { transition-delay: 0.4s; }

/* Hero animations */
.hero-badge {
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero h1 {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-stats {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

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

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

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

/* Gradient text shimmer */
.gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Button pulse glow */
.btn-primary {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 35px rgba(139, 92, 246, 0.6); }
}

/* Service card hover enhancements */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Service icon bounce on hover */
.service-card:hover .service-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* About image float */
.about-image img {
    animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* About glow pulse */
.about-image-glow {
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Tech tags hover */
.tech-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    transform: translateY(-2px);
}

/* Portfolio item enhanced hover */
.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.portfolio-item:hover::after {
    border-color: rgba(139, 92, 246, 0.5);
}

/* Filter button click effect */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:active::after {
    width: 200px;
    height: 200px;
}

/* Contact link hover */
.contact-link {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.contact-link:hover {
    padding-left: 8px;
}

.contact-link svg {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1);
    opacity: 1;
}

/* Form input focus animation */
.form-group {
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Submit button loading state */
.btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Nav link underline animation */
.nav-menu a:not(.btn-glow) {
    position: relative;
}

.nav-menu a:not(.btn-glow)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:not(.btn-glow):hover::after {
    transform: scaleX(1);
}

/* Stat number counter animation */
.hero-stat-number {
    display: inline-block;
}

/* Smooth section transitions */
.section {
    position: relative;
}

/* Magnific Popup Overrides */
.mfp-bg {
    background: rgba(9, 9, 11, 0.95);
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #fafafa;
    font-size: 28px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
