/* ============================================
   DeepMaji Portfolio — Design System
   Premium developer portfolio with glassmorphism
   ============================================ */

:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary: #ec4899;
    --accent-cyan: #06b6d4;

    --bg-base: #030712;
    --bg-darker: #000000;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.8);

    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
}

/* ── Base ── */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    letter-spacing: -0.015em;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-padding {
    padding: 6rem 0;
}

/* ── Gradient Text ── */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ── Color Overrides ── */
.text-warning {
    color: var(--primary-light) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-warning {
    background-color: var(--primary) !important;
}

.bg-darker {
    background-color: var(--bg-darker) !important;
}

/* ── Buttons ── */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), #f472b6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--primary-light);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

/* ── Forms ── */
.form-control,
.form-select {
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(17, 24, 39, 0.9);
    border-color: var(--primary-light);
    color: var(--text-main);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ── Navbar ── */
#mainNav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    padding: 1.25rem 0;
}

#mainNav.navbar-scrolled {
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-link {
    color: var(--text-muted) !important;
    position: relative;
    padding-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ── Section Headers ── */
.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* ──────────────────────────────
   HERO SECTION
   ────────────────────────────── */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-base), transparent);
    z-index: 1;
}

/* ──────────────────────────────
   ABOUT SECTION
   ────────────────────────────── */
.about-stat {
    text-align: center;
    padding: 1.25rem 0;
}

.about-stat h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.about-stat span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.about-highlight:hover .hl-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.hl-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--primary-light);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* ──────────────────────────────
   SKILLS SECTION
   ────────────────────────────── */
.skill-category-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.skill-card i {
    font-size: 1.5rem;
    color: var(--primary-light);
    width: 30px;
    text-align: center;
}

.skill-card .skill-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-card .skill-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    min-width: 40px;
}

.skill-card .skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 1.5s ease;
}

/* ──────────────────────────────
   GLASSMORPHISM CARDS
   ────────────────────────────── */
.card,
.bg-card,
.service-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ── Service Cards ── */
.service-card {
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    transform: scale(1.1) rotate(5deg);
}

/* ──────────────────────────────
   PRICING SECTION
   ────────────────────────────── */
/* ──────────────────────────────
   PRICING SECTION
   ────────────────────────────── */
.pricing-switcher {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    margin-bottom: 4rem;
}

.pricing-switcher .nav-pills .nav-link {
    border-radius: 100px !important;
    padding: 12px 28px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none !important;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-switcher .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.pricing-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Glass Inner Glow */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.04);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(139, 92, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: -50px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.5rem;
    font-weight: 900;
    padding: 4px 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.pricing-header {
    margin-bottom: 0.75rem;
    position: relative;
}

.pricing-header h4 {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.pricing-price span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-left: 3px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.25rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    color: white;
    transform: translateX(5px);
}

.pricing-features li i {
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.pricing-features li.excluded {
    color: rgba(255, 255, 255, 0.2);
}

.pricing-features li.excluded i {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.pricing-card .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pricing-card .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.pricing-card:hover .btn::after {
    left: 150%;
}

.pricing-card:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.pricing-card:active .btn {
    transform: scale(0.95);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: orb-float 20s infinite alternate ease-in-out;
}

@keyframes orb-float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-50px) scale(1.1);
    }
}

/* ──────────────────────────────
   PROJECT CARDS (Case Study)
   ────────────────────────────── */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.project-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-card .project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-card .project-body {
    padding: 1.5rem;
}

.project-card .tech-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--primary-light);
    font-weight: 600;
    margin: 0.15rem;
}

.project-card .project-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card .project-links a:hover {
    color: var(--primary-light);
}

/* ──────────────────────────────
   TIMELINE / JOURNEY
   ────────────────────────────── */
.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 28px;
    height: 28px;
    background: var(--bg-base);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot i {
    font-size: 0.65rem;
    color: var(--primary-light);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ──────────────────────────────
   TESTIMONIALS (Swiper)
   ────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.testimonial-card .stars {
    color: #facc15;
    margin-bottom: 1rem;
}

.testimonial-card .review-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-card .client-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Swiper nav overrides */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ──────────────────────────────
   CONTACT SECTION
   ────────────────────────────── */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-btn:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    color: var(--text-main);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-btn i {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.contact-btn.whatsapp-btn i {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.contact-btn.email-btn i {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-light);
}

.contact-btn.call-btn i {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

/* ──────────────────────────────
   FOOTER
   ────────────────────────────── */
footer {
    border-top: 1px solid var(--border-light);
    background-color: #000;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.5;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(to bottom, var(--primary), var(--secondary));
}

/* ── Animations ── */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
}

/* ── Typed cursor ── */
.typed-cursor {
    color: var(--primary);
    font-size: 1.1em;
}

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ══════════════════════════════
   RESPONSIVE OVERRIDES
   ══════════════════════════════ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-light);
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-section h1 {
        font-size: 2rem !important;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .timeline-container {
        padding-left: 35px;
    }

    .timeline-dot {
        left: -28px;
        width: 24px;
        height: 24px;
    }
}