/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Big Poppa Code Brand Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    
    /* Brand Accent Colors */
    --accent-primary: #057176;      /* Teal - Your brand color */
    --accent-secondary: #b10000;    /* Red */
    --accent-tertiary: #004d00;     /* Green */
    --accent-purple: #6B2D9E;       /* Purple - Suit vibe */
    --accent-hover: #046569;
    
    /* Gradients */
    --gradient-hero: linear-gradient(to bottom, rgba(177, 0, 0, 0.7), rgba(0, 77, 0, 0.6));
    --gradient-primary: linear-gradient(135deg, #057176 0%, #046569 100%);
    --gradient-accent: linear-gradient(135deg, #b10000 0%, #004d00 100%);
    --gradient-glow: linear-gradient(135deg, rgba(5, 113, 118, 0.1) 0%, rgba(177, 0, 0, 0.1) 100%);
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b7280;
    --text-white: #ffffff;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(5, 113, 118, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

#navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-md);
}

/* Show regular nav menu only on screens 1440px+ */
@media (min-width: 1440px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-primary);
    transition: all var(--transition-smooth);
}

/* Hide mobile toggle on large screens (1440px+) */
@media (min-width: 1440px) {
    .mobile-toggle {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(5, 113, 118, 0.92) 0%, rgba(107, 45, 158, 0.85) 50%, rgba(177, 0, 0, 0.88) 100%),
        url('arthur-photo.jpg') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(5, 113, 118, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(177, 0, 0, 0.1) 0%, transparent 70%);
    animation: float 25s infinite ease-in-out reverse;
    border-radius: 50%;
}

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

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: white;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.8s ease;
    box-shadow: var(--shadow-md);
    max-width: 100%;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    animation: slideInLeft 0.8s ease;
}

.title-line {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-name {
    display: block;
    color: white;
    font-size: 1.2em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: white;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    animation: slideInLeft 0.8s 0.2s ease backwards;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-md);
    line-height: 1.9;
    animation: slideInLeft 0.8s 0.4s ease backwards;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    animation: slideInLeft 0.8s 0.6s ease backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
}

.btn-secondary {
    background: white;
    color: var(--accent-primary);
    border: 3px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 3px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-youtube {
    background: #ff0000;
    color: white;
    border: 3px solid #cc0000;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.hero-social {
    display: flex;
    gap: var(--spacing-sm);
    animation: slideInLeft 0.8s 0.8s ease backwards;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.3rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hero-social a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.hero-visual {
    display: none;
}

/* ===== FLOATING CARDS (Desktop) ===== */
@media (min-width: 1024px) {
    .hero-visual {
        display: block;
        position: absolute;
        right: 8%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .floating-card {
        position: absolute;
        background: white;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: 12px;
        border: 3px solid var(--accent-primary);
        box-shadow: var(--shadow-lg);
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
        animation: floatCard 6s infinite ease-in-out;
        font-weight: 700;
        color: var(--accent-primary);
    }
    
    .floating-card i {
        font-size: 1.8rem;
        color: var(--accent-primary);
    }
    
    .card-1 {
        animation-delay: 0s;
        top: -80px;
        right: 50px;
    }
    
    .card-2 {
        animation-delay: 2s;
        top: 40px;
        right: -30px;
    }
    
    .card-3 {
        animation-delay: 4s;
        top: 160px;
        right: 80px;
    }
    
    @keyframes floatCard {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-25px); }
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--accent-primary);
    padding-bottom: 0.3rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-accent);
    margin: var(--spacing-sm) auto 0;
    border-radius: 10px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    border: 5px solid var(--accent-primary);
    box-shadow: 0 15px 40px rgba(107, 45, 158, 0.3), 0 0 0 10px rgba(5, 113, 118, 0.1);
    transition: all var(--transition-smooth);
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(107, 45, 158, 0.5), 0 0 0 15px rgba(5, 113, 118, 0.2);
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        position: relative;
        top: 0;
    }
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.about-highlights {
    display: grid;
    gap: var(--spacing-md);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-purple);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 2rem;
    flex-shrink: 0;
    color: white;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.highlight-text h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-primary);
    font-weight: 800;
}

.highlight-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    border: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 30px rgba(107, 45, 158, 0.4);
    border-color: var(--accent-purple);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.skill-category {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-purple);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-primary);
    font-weight: 800;
    word-break: break-word;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
}

/* ===== EXPERIENCE/TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-accent);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.timeline-marker {
    position: absolute;
    left: -57px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 0 3px var(--accent-primary), var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.timeline-content:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-purple);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    row-gap: var(--spacing-xs);
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 800;
    word-break: break-word;
    max-width: 100%;
}

.timeline-period {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.timeline-tags span {
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    border: 2px solid var(--accent-primary);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.project-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    transition: all var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(107, 45, 158, 0.4);
    border-color: var(--accent-purple);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.project-header i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.project-header a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: color var(--transition-fast);
}

.project-header a:hover {
    color: var(--accent-primary);
    transform: scale(1.2);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-primary);
    font-weight: 800;
    word-break: break-word;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.project-tags span {
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 600;
    border: 2px solid var(--accent-primary);
}

.projects-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===== CONTENT SECTION ===== */
.content-wrapper {
    display: grid;
    gap: var(--spacing-lg);
}

.content-videos {
    margin-top: var(--spacing-lg);
}

.content-videos h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.content-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.youtube-card {
    border-color: #ff0000;
    border-width: 4px;
}

.content-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    row-gap: var(--spacing-xs);
}

.content-card-header i {
    font-size: 2.5rem;
    color: #ff0000;
}

.content-card-header h3 {
    font-size: 1.8rem;
    flex: 1;
    color: var(--accent-primary);
    font-weight: 800;
    min-width: 150px;
    word-break: break-word;
}

.badge {
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.content-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--accent-primary);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    background: var(--bg-secondary);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 9px;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    gap: var(--spacing-xs);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--accent-primary);
}

.video-placeholder p {
    color: var(--text-secondary);
    font-weight: 600;
}

.video-placeholder small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    margin-top: var(--spacing-md);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(107, 45, 158, 0.4);
    border-color: var(--accent-purple);
}

.contact-card i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--accent-primary);
    font-weight: 800;
}

.contact-card p {
    color: var(--text-muted);
}

.contact-link {
    color: var(--accent-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.contact-footer {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 3px solid var(--accent-primary);
}

.location {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    font-weight: 600;
}

.location i {
    color: var(--accent-primary);
    margin-right: var(--spacing-xs);
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.social-links-large a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.5rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.social-links-large a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-8px) scale(1.15);
    box-shadow: var(--shadow-glow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--accent-primary);
    padding: var(--spacing-md);
    text-align: center;
    border-top: 5px solid var(--accent-secondary);
}

.footer p {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Extra Small Devices (450px and below) - iPhone SE, small phones */
@media (max-width: 450px) {
    :root {
        --spacing-xs: 0.4rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .nav-container {
        padding: 0.6rem var(--spacing-sm);
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 100vh;
        padding: calc(var(--spacing-xl) + 70px) var(--spacing-sm) var(--spacing-md);
    }

    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .title-line {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .hero-cta {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }

    .hero-social {
        gap: 0.6rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-social a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .section {
        padding: 2.5rem var(--spacing-sm);
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-intro {
        font-size: 1rem;
        line-height: 1.7;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-sm);
        gap: 0.8rem;
    }

    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .highlight-text h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .highlight-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .about-stats {
        gap: 0.8rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 0.8rem;
    }

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

    .stat-label {
        font-size: 0.75rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-marker {
        left: -28px;
        width: 10px;
        height: 10px;
        border-width: 3px;
    }

    .timeline-content {
        padding: var(--spacing-sm);
    }

    .timeline-header h3 {
        font-size: 1.2rem;
    }

    .timeline-period {
        font-size: 0.8rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .timeline-tags {
        gap: 0.4rem;
    }

    .timeline-tags span {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }

    .project-card {
        padding: var(--spacing-sm);
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .content-card {
        padding: var(--spacing-sm);
    }

    .content-card-header h3 {
        font-size: 1.4rem;
    }

    .content-card p {
        font-size: 1rem;
    }

    .content-stats {
        gap: 0.6rem;
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 0.6rem;
    }

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

    .contact-card {
        padding: var(--spacing-sm);
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .social-links-large a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Mobile Menu - All screens under 1440px */
@media (max-width: 1439px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: var(--spacing-md);
        transition: left var(--transition-smooth);
        border-bottom: 3px solid var(--accent-primary);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: var(--spacing-sm);
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Small Devices (451px - 768px) - Most phones in portrait */
@media (min-width: 451px) and (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        min-height: 100vh;
        padding: calc(var(--spacing-xl) + 80px) var(--spacing-md) var(--spacing-xl);
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem var(--spacing-sm);
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .hero-tagline {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

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

    .section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

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

    .section-description {
        font-size: 1.05rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-image {
        max-width: 450px;
        margin: 0 auto;
        position: relative;
        top: 0;
    }

    .about-intro {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .highlight-item {
        padding: var(--spacing-sm);
    }

    .highlight-text h3 {
        font-size: 1.25rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -38px;
        width: 12px;
        height: 12px;
        border-width: 4px;
    }

    .timeline-content {
        padding: var(--spacing-sm);
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-header h3 {
        font-size: 1.3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .content-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* Medium Devices (769px - 1024px) - Tablets, small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding: calc(var(--spacing-xl) + 80px) var(--spacing-md) var(--spacing-xl);
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .about-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-md);
    }

    .about-image {
        position: relative;
        top: 0;
    }

    .about-intro {
        font-size: 1.15rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .timeline-content:hover {
        transform: translateX(10px);
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Devices (1025px - 1440px) - Desktops, large laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1100px;
        padding: 0 var(--spacing-md);
    }

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

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .about-content {
        grid-template-columns: 1fr 2fr;
        gap: var(--spacing-lg);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra Large Devices (1441px and above) - Large desktops, 4K monitors */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--spacing-md);
    }

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

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .section {
        padding: var(--spacing-xl) var(--spacing-md) calc(var(--spacing-xl) * 1.5);
    }

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

    .about-intro {
        font-size: 1.35rem;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .timeline-content {
        padding: calc(var(--spacing-md) * 1.5);
    }

    .floating-card {
        padding: var(--spacing-md) calc(var(--spacing-md) * 1.5);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
