/* assets/css/style.css */

:root {
    /* Color Palette */
    --bg-dark: #050814;
    --bg-gradient-start: #0a0f1c;
    --bg-gradient-end: #03040a;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --spacing-section: 4rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at top left, var(--bg-gradient-start), var(--bg-gradient-end));
    z-index: -1;
}

/* Add a subtle grid pattern overlay */
.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none;
    z-index: -1;
}

/* Add a subtle blue glow to the background */
.bg-gradient::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

p {
    line-height: 1.7;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 0 auto 3rem auto;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 10px var(--accent-glow);
}

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

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--spacing-section) 0;
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                padding 0.3s ease;
    border-radius: var(--radius-lg);
    background: rgba(5, 8, 20, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    opacity: 0;
    pointer-events: none;
}

.navbar.nav-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.navbar.scrolled {
    background: rgba(5, 8, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0;
}

.nav-links > a:not(.btn-contact):not(:nth-last-child(2))::after {
    content: '';
    position: absolute;
    right: -0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    color: var(--text-primary);
}

.btn-contact {
    background: var(--accent-blue);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px var(--accent-glow);
    margin-left: 0.5rem;
}

.btn-contact:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Animated Canvas Background */
#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-tagline {
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dynamic-roles {
    position: relative;
    height: 1.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.role-text {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: top 0.5s ease, opacity 0.5s ease;
}

.role-text.active {
    top: 0;
    opacity: 1;
}

.role-text.exit {
    top: -100%;
    opacity: 0;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-card {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--accent-glow);
}

.stat-title {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.skill-pill {
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: default;
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Core Expertise Tags */
.expertise-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    letter-spacing: 0.01em;
}

.expertise-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4));
}

.expertise-tag:hover .expertise-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Wider container for expertise tags */
.skills-container {
    max-width: 960px;
}


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

.platform-card {
    padding: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow);
}

.platform-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.platform-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-desc {
    color: var(--text-secondary);
    flex-grow: 1;
}

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

.podcast-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.podcast-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.podcast-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.podcast-card:hover .podcast-thumb {
    transform: scale(1.08);
}

.podcast-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.podcast-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: #fff;
}

.podcast-card:hover .podcast-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.podcast-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-video-modal:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery Section */
.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.gallery-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

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

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 1rem 2rem;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease;
    opacity: 0;
}

.toast.show {
    top: 40px;
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: none;
}

.toast.success .success-icon {
    display: block;
    color: #10b981;
}

.toast.error .error-icon {
    display: block;
    color: #ef4444;
}

.toast-text {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

/* Consultation Form Styles */
.form-modal-content {
    max-width: 700px;
    padding: 3rem 2.5rem;
}

.consult-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.consult-form-header h2 {
    font-size: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.consult-form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.half-width {
    flex: 1;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.consult-form select.form-control option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Animations & Skeletons */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.skeleton {
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    color: transparent !important;
    border-color: transparent !important;
    pointer-events: none;
}

.skeleton::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
    content: '';
}

.skeleton * {
    visibility: hidden;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* =============================================
   RESPONSIVE DESIGN — Comprehensive Overhaul
   ============================================= */

/* --- Tablet (≤ 992px) --- */
@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
        gap: 2.5rem;
    }

    /* Profile image comes FIRST (above name) on tablet & mobile */
    .hero-image-wrap {
        order: -1;
    }

    .profile-card {
        width: 240px;
        height: 240px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

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

    .quick-tags {
        justify-content: center;
    }

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

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

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

    .gallery-grid {
        column-count: 2;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {

    :root {
        --spacing-section: 3rem;
    }

    section {
        padding: var(--spacing-section) 0;
    }

    /* Navbar mobile dropdown */
    .navbar {
        top: 0.8rem;
        width: calc(100% - 1.5rem);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: rgba(5, 8, 20, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1.5rem 0;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

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

    /* Remove vertical separators on mobile */
    .nav-links > a:not(.btn-contact)::after {
        display: none;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .btn-contact {
        margin: 0.5rem 0 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 3rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .hero-tagline {
        font-size: 0.8rem;
        text-align: center;
        display: block;
    }

    /* Dynamic role text — center on mobile */
    .dynamic-roles {
        width: 100%;
        text-align: center;
    }

    .role-text {
        width: 100%;
        text-align: center;
        left: 0;
    }

    /* Quick tags center */
    .quick-tags {
        justify-content: center !important;
    }

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

    /* Profile card */
    .hero-image-wrap {
        order: -1;
    }

    .profile-card {
        width: 200px;
        height: 200px;
    }

    /* Platforms */
    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 2rem;
    }

    /* Platform tag (Paid Learning Platform etc.) — align with title */
    .platform-card .hero-tagline {
        text-align: left;
        display: block;
    }

    /* Podcasts */
    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        column-count: 2;
        column-gap: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    /* Section title */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Skills */
    .skills-container {
        gap: 0.8rem;
    }

    .skill-pill {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Contact form */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Consultation modal */
    .form-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- Small Mobile (≤ 480px) --- */
@media (max-width: 480px) {

    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.03em;
    }

    .profile-card {
        width: 170px;
        height: 170px;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .gallery-grid {
        column-count: 1;
    }

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

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

    .platforms-grid,
    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .form-modal-content {
        padding: 1.5rem 1rem;
    }

    .consult-form-header h2 {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .navbar {
        width: calc(100% - 1rem);
    }
}

