/* ========================================
   MODERN DEVELOPER CV - 2024 EDITION
   Super Pro Visual Impact Design
======================================== */

/* CSS Variables - Mobile First Design */
:root {
    /* Primary Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --danger-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --success-gradient: linear-gradient(135deg, #56ccf2 0%, #2f80ed 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Dark Glass Morphism */
    --dark-glass-bg: rgba(0, 0, 0, 0.25);
    --dark-glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography - Mobile First */
    --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Mobile First Spacing */
    --section-padding: 40px;
    --container-padding: 16px;
    
    /* Mobile First Typography */
    --hero-title-size: 2rem;
    --hero-description-size: 0.95rem;
    --section-title-size: 1.6rem;
    --base-font-size: 16px;
    
    /* Animations */
    --fast: 0.3s;
    --medium: 0.6s;
    --slow: 1s;
    --bezier: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--primary-gradient);
    color: white;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #1a202c;
    background: #0a0e1a;
    overflow-x: hidden !important;
    position: relative;
    font-size: var(--base-font-size);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    opacity: 1; /* Always visible on mobile to prevent scroll issues */
}

/* Fallback for when JavaScript is disabled */
body.no-js {
    opacity: 1 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a202c;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* ========================================
   NAVIGATION - Glassmorphism
======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--fast) var(--bezier);
}

.navbar.scrolled {
    background: var(--dark-glass-bg);
    box-shadow: var(--glass-shadow);
}

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

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--fast) var(--bezier);
    position: relative;
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--fast) var(--bezier);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all var(--fast) var(--bezier);
}

.hamburger:hover {
    background: var(--glass-bg);
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all var(--fast) var(--bezier);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ========================================
   HERO SECTION - EXPLOSIVE IMPACT
======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #1e3a8a 0%, #0f172a 50%, #000000 100%);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-family="monospace" font-size="10" fill="%23667eea" opacity="0.1">01101010</text></svg>') repeat;
    animation: codeRain 20s linear infinite;
    opacity: 0.1;
}

@keyframes codeRain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(102, 126, 234, 0.3);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 50px;
    color: #10b981;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: var(--glass-shadow);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Main Hero Layout - Default Mobile First */
.hero-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Content */
.hero-content {
    color: white;
}

.hero-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-title {
    font-size: var(--hero-title-size);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    word-break: break-word;
    hyphens: auto;
}

.name-primary {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-secondary {
    display: block;
    color: white;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

/* Animated Role */
.hero-role {
    margin-bottom: 2rem;
}

.role-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.role-prefix {
    color: rgba(255, 255, 255, 0.8);
}

.role-animated {
    position: relative;
    height: 1.8rem;
    overflow: hidden;
}

.role-text {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--medium) var(--bezier);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.role-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Description */
.hero-description {
    font-size: var(--hero-description-size);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 100%;
    padding: 0 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
}

.hero-description strong {
    color: #4ade80;
    font-weight: 700;
}

.hero-description em {
    color: #60a5fa;
    font-style: normal;
    font-weight: 600;
}

/* Hero Tech Highlights */
.hero-tech-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.tech-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--dark-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-glass-border);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all var(--fast) var(--bezier);
    white-space: nowrap;
}

.tech-highlight:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-highlight i {
    color: #60a5fa;
    font-size: 1rem;
    min-width: 16px;
}

.tech-highlight strong {
    color: #4ade80;
    font-weight: 600;
}

/* Removed duplicate old styles */

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all var(--fast) var(--bezier);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--fast) var(--bezier);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--medium) var(--bezier);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* WhatsApp Buttons - Psychology-Driven Call to Action */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--fast) var(--bezier);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    animation: whatsappGlow 3s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6); }
}

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

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.btn-whatsapp i {
    font-size: 1.2rem;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.btn-whatsapp-alt {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 2px solid #25D366;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--fast) var(--bezier);
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.btn-whatsapp-alt:hover {
    background: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-quick {
    color: #25D366 !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
    background: rgba(37, 211, 102, 0.05) !important;
}

.whatsapp-quick:hover {
    background: rgba(37, 211, 102, 0.15) !important;
    border-color: #25D366 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* WhatsApp Contact Card */
.whatsapp-contact-card {
    background: var(--dark-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

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

.whatsapp-icon-large {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 1rem;
    animation: whatsappBounce 2s infinite;
}

@keyframes whatsappBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.whatsapp-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.whatsapp-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.btn-whatsapp-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--fast) var(--bezier);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    margin: 0.5rem;
    width: calc(100% - 1rem);
    justify-content: center;
}

.btn-whatsapp-secondary {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 2px solid #25D366;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--fast) var(--bezier);
    margin: 0.5rem;
    width: calc(100% - 1rem);
    justify-content: center;
}

.btn-whatsapp-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-secondary:hover {
    background: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-benefits {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.benefit-item i {
    color: #25D366;
    font-size: 1.2rem;
}

/* About WhatsApp CTA */
.about-whatsapp-cta {
    margin-top: 2rem;
    text-align: center;
}

.btn-whatsapp-about {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--fast) var(--bezier);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* Projects WhatsApp CTA */
.btn-whatsapp-projects {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--fast) var(--bezier);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    margin-top: 1.5rem;
}

.btn-whatsapp-projects:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* ========================================
   MOBILE FIRST RESPONSIVE DESIGN - COMPLETELY REDESIGNED
======================================== */

/* Base Mobile Styles (320px+) - Everything starts mobile first */
.hero-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-content {
    order: 2;
    width: 100%;
    max-width: 100%;
}

.hero-visual {
    order: 1;
    max-width: 100%;
    margin: 0 auto;
    display: none; /* Hide complex visual on mobile for better performance */
}

.hamburger {
    display: flex;
}

.nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--dark-glass-bg);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--glass-shadow);
    padding: 1.5rem 0;
    z-index: 10000;
}

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

.nav-link {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-tech-highlights {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.tech-highlight {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    line-height: 1.4;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.tech-highlight span {
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
}

.quick-contact {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.contact-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.8rem;
    font-size: 1rem;
}

/* All sections mobile first */
.about-content,
.contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.skills-grid,
.education-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.timeline-content {
    padding: 1.5rem;
    margin-left: 0;
    border-radius: 12px;
}

.timeline-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.projects-container {
    grid-template-columns: 1fr;
}

/* Small Mobile Enhancements (375px+) */
@media (min-width: 375px) {
    :root {
        --hero-title-size: 2.5rem;
        --hero-description-size: 1.05rem;
        --container-padding: 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }
    
    .stat-item:last-child {
        grid-column: 1 / -1;
        max-width: 150px;
        margin: 0 auto;
    }
}

/* Large Mobile Enhancements (480px+) */
@media (min-width: 480px) {
    :root {
        --hero-title-size: 2.8rem;
        --section-padding: 50px;
        --container-padding: 24px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
    
    .stat-item:last-child {
        grid-column: auto;
        max-width: none;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
        flex: 1;
        max-width: 200px;
    }
}

/* Tablet Portrait (768px+) */
@media (min-width: 768px) {
    :root {
        --hero-title-size: 3.5rem;
        --hero-description-size: 1.2rem;
        --section-title-size: 2.5rem;
        --section-padding: 80px;
        --container-padding: 30px;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        backdrop-filter: none;
        width: auto;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 1rem;
        border-bottom: none;
    }
    
    .hero-main {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
        text-align: left;
        padding: 0;
        align-items: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        display: flex; /* Show visual on tablet and up */
    }
    
    .hero-description {
        padding: 0;
        text-align: left;
    }
    
    .hero-tech-highlights {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .tech-highlight {
        white-space: nowrap;
        width: auto;
        max-width: none;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 2fr 1fr;
        text-align: left;
        gap: 3rem;
    }
    
    .highlight-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .highlight-item:hover {
        transform: translateX(10px);
    }
    
    .highlight-item i {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .highlight-item h4 {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .highlight-item p {
        font-size: 1rem;
        text-align: left;
    }
    
    .contact-method {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }
    
    .contact-method i {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-method h4 {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .contact-method p {
        font-size: 1rem;
        text-align: left;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .education-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .education-content {
        text-align: left;
    }
    
    .education-content h3 {
        font-size: 1.2rem;
    }
    
    .institution {
        font-size: 1rem;
    }
    
    .year {
        font-size: 0.9rem;
    }
    
    .education-details {
        justify-content: flex-start;
    }
    
    .education-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
    }
    
    .education-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    
    /* Restore timeline for tablet and up */
    .timeline::before {
        display: block;
        content: '';
        position: absolute;
        left: 30px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary-gradient);
        border-radius: 2px;
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    }
    
    .timeline-item {
        padding-left: 100px;
        margin-bottom: 4rem;
    }
    
    .timeline-marker {
        display: block;
        position: absolute;
        left: 18px;
        top: 0;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--primary-gradient);
        border: 4px solid white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.6);
        z-index: 3;
    }
    
    .timeline-content {
        margin-left: 0;
        padding: 2.5rem;
    }
    
    .timeline-content::before {
        display: block;
        content: '';
        position: absolute;
        left: -10px;
        top: 20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--glass-border) transparent transparent;
    }
    
    .timeline-header {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .timeline-header h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .timeline-meta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .timeline-body li {
        font-size: 1rem;
        padding-left: 2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-body li::before {
        content: '▶';
        font-size: 0.8rem;
        top: 2px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    :root {
        --hero-title-size: 4.5rem;
        --section-padding: 100px;
        --container-padding: 40px;
    }
    
    .hero-main {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    :root {
        --hero-title-size: 5rem;
        --section-padding: 120px;
        --container-padding: 50px;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-main {
        gap: 5rem;
    }
}

/* All old duplicate styles removed - now using clean mobile-first approach */

/* Quick Contact */
.quick-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--fast) var(--bezier);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.1rem;
    color: #60a5fa;
}

/* ========================================
   HERO VISUAL - TECH SPHERE
======================================== */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/* Tech Sphere */
.tech-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.sphere-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glass-shadow);
    z-index: 10;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.center-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    animation: centerPulse 3s infinite;
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* Tech Orbits */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation: rotate 30s linear infinite reverse;
}

.orbit-3 {
    width: 360px;
    height: 360px;
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tech-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #60a5fa;
    box-shadow: var(--glass-shadow);
    transition: all var(--fast) var(--bezier);
    cursor: pointer;
}

.tech-node:hover {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Position tech nodes around orbits */
.orbit-1 .tech-node:nth-child(1) { top: -25px; left: calc(50% - 25px); }
.orbit-1 .tech-node:nth-child(2) { top: calc(50% - 25px); right: -25px; }
.orbit-1 .tech-node:nth-child(3) { bottom: -25px; left: calc(50% - 25px); }

.orbit-2 .tech-node:nth-child(1) { top: -25px; left: calc(50% - 25px); }
.orbit-2 .tech-node:nth-child(2) { top: calc(50% - 25px); right: -25px; }
.orbit-2 .tech-node:nth-child(3) { bottom: -25px; left: calc(50% - 25px); }
.orbit-2 .tech-node:nth-child(4) { top: calc(50% - 25px); left: -25px; }

.orbit-3 .tech-node:nth-child(1) { top: -25px; left: calc(50% - 25px); }
.orbit-3 .tech-node:nth-child(2) { bottom: -25px; left: calc(50% - 25px); }

/* Experience Cards */
.experience-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.exp-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--fast) var(--bezier);
    animation: slideInRight 0.8s var(--bezier);
    animation-delay: var(--delay);
    animation-fill-mode: both;
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.exp-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.exp-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.exp-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.exp-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.exp-year {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ========================================
   SECTIONS BASE STYLING
======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--section-title-size);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION - ENHANCED
======================================== */
.about {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    text-align: center;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    transition: all var(--fast) var(--bezier);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.about-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    transition: all var(--fast) var(--bezier);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.highlight-item i {
    font-size: 2rem;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    height: fit-content;
    transition: all var(--fast) var(--bezier);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all var(--fast) var(--bezier);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-item i {
    color: #60a5fa;
    width: 24px;
    font-size: 1.2rem;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

/* ========================================
   EXPERIENCE SECTION - MOBILE-FIRST TIMELINE
======================================== */
.experience {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(102, 126, 234, 0.03) 50%, transparent 51%);
    z-index: 1;
}

.experience .container {
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Mobile-first timeline - no line on mobile */
.timeline::before {
    display: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 0;
}

.timeline-marker {
    display: none; /* Hide on mobile */
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    transition: all var(--fast) var(--bezier);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.timeline-content::before {
    display: none; /* Hide arrow on mobile */
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.timeline-header {
    margin-bottom: 1rem;
    text-align: center;
}

.timeline-header h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.8rem;
    text-align: center;
}

.company {
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.duration {
    color: white;
    font-size: 0.9rem;
    background: var(--primary-gradient);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: var(--font-mono);
    display: inline-block;
    text-align: center;
}

.timeline-body {
    line-height: 1.6;
    text-align: left;
}

.timeline-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-body li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all var(--fast) var(--bezier);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timeline-body li:hover {
    color: white;
    transform: translateX(3px);
}

.timeline-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    font-size: 1rem;
    top: 0;
    width: 1rem;
}

.timeline-body strong {
    color: white;
    font-weight: 700;
}

.management-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(96, 165, 250, 0.1);
    border-left: 4px solid #60a5fa;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.management-section h4 {
    color: #60a5fa;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.management-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.management-section strong {
    color: white;
    font-weight: 600;
}

.note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    border-radius: 5px;
}

/* ========================================
   SKILLS SECTION - INTERACTIVE VISUALIZATION
======================================== */
.skills {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.skills .container {
    position: relative;
    z-index: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all var(--fast) var(--bezier);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--medium) var(--bezier);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.skill-category h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-percentage {
    color: #60a5fa;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
    transition: width 1.5s var(--bezier);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShimmer 2s infinite;
}

@keyframes skillShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tags .tech-tag {
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--fast) var(--bezier);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-tags .tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--medium) var(--bezier);
}

.tech-tags .tech-tag:hover::before {
    left: 100%;
}

.tech-tags .tech-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

/* ========================================
   PROJECTS SECTION - ENHANCED
======================================== */
.projects {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.projects-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.placeholder-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px dashed rgba(102, 126, 234, 0.5);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--fast) var(--bezier);
    box-shadow: var(--glass-shadow);
}

.placeholder-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.placeholder-card i {
    font-size: 4rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.placeholder-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.placeholder-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   EDUCATION SECTION - ENHANCED
======================================== */
.education {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.education-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all var(--fast) var(--bezier);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.education-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.education-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.education-content h3 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.institution {
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.year {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0 0 1rem 0;
    font-family: var(--font-mono);
}

.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
}

.education-tag {
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--fast) var(--bezier);
    text-align: center;
}

.education-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ========================================
   CONTACT SECTION - MODERN FORM
======================================== */
.contact {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #000000 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    text-align: center;
}

.contact-info .contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all var(--fast) var(--bezier);
    text-align: center;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-method i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact-method h4 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form input,
.form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--fast) var(--bezier);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form input::placeholder,
.form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

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

/* ========================================
   FOOTER - ENHANCED
======================================== */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.3);
}

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

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--fast) var(--bezier);
    font-weight: 500;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

/* TECH SPHERE MOBILE OPTIMIZATIONS */
.tech-sphere {
    width: 250px;
    height: 250px;
}

.orbit-1 { width: 120px; height: 120px; }
.orbit-2 { width: 170px; height: 170px; }
.orbit-3 { width: 210px; height: 210px; }

.tech-node {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* MOBILE TOUCH OPTIMIZATIONS */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .contact-link {
        min-height: 48px;
        padding: 12px 20px;
        touch-action: manipulation;
    }
    
    .hamburger {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
    
    .tech-node {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

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

/* GPU Acceleration for smooth animations */
.tech-orbit,
.floating-icon,
.exp-card,
.btn,
.tech-node {
    transform: translateZ(0);
    will-change: transform;
}

/* Preload critical animations */
.hero-title,
.tech-sphere,
.status-badge {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ========================================
   ENHANCED MOBILE RESPONSIVENESS & UX
======================================== */

/* Enhanced Mobile Navigation Animations */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link.animate-in {
    animation: slideInFromRight 0.3s ease forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* FINAL MOBILE OPTIMIZATIONS */
/* Enhanced Touch Targets for Mobile */
@media (max-width: 767px) {
    /* Fix hero section height to prevent unwanted scroll */
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding: 60px 0 40px 0 !important;
    }
    
    /* Reduce content spacing on mobile */
    .hero-main {
        gap: 1rem !important;
    }
    
    .hero-content {
        gap: 1rem !important;
    }
    
    .hero-tech-highlights {
        gap: 0.75rem !important;
        margin: 1rem 0 !important;
    }
    
    .tech-highlight {
        padding: 0.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .hero-stats {
        margin: 1rem 0 !important;
        gap: 1rem !important;
    }
    
    .hero-buttons {
        margin: 1rem 0 !important;
    }
    
    .quick-contact {
        margin: 1rem 0 0 0 !important;
    }
    
    /* Hide complex visual elements on mobile to reduce content height */
    .hero-visual {
        display: none !important;
    }
    
    /* DISABLE ALL ANIMATIONS ON MOBILE - LOAD EVERYTHING AT ONCE */
    .animate__animated,
    .animate__fadeInDown,
    .animate__fadeInLeft,
    .animate__fadeInUp,
    .animate__fadeInRight,
    .animate__delay-1s,
    .animate__delay-2s,
    .animate__delay-3s,
    .animate__delay-4s,
    .animate__delay-5s,
    .animate__delay-6s {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    /* Make all content immediately visible */
    .status-badge,
    .hero-label,
    .hero-title,
    .hero-role,
    .hero-description,
    .hero-tech-highlights,
    .hero-stats,
    .hero-buttons,
    .quick-contact {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Remove animation delays */
    * {
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
    
    .btn, .nav-link, .contact-link {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    /* Prevent zoom on form inputs */
    input, select, textarea {
        font-size: 16px;
    }
    
    /* Better visual feedback on touch */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Improved hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-main {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-bottom: 1rem;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .nav-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-highlight, .btn, .nav-link {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-title, .section-title {
        text-rendering: optimizeLegibility;
    }
}

/* Ultra-small screens (< 320px) */
@media (max-width: 319px) {
    :root {
        --hero-title-size: 1.8rem;
        --hero-description-size: 0.9rem;
        --container-padding: 12px;
        --section-padding: 30px;
    }
    
    .tech-highlight {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .floating-icon,
    .tech-orbit,
    .role-animated {
        animation: none \!important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn, .nav-link {
        border: 2px solid currentColor;
    }
    
    .tech-highlight {
        border: 1px solid rgba(255,255,255,0.3);
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.4);
        --dark-glass-bg: rgba(0, 0, 0, 0.6);
    }
    
    .navbar {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* ========================================
   ADDITIONAL MOBILE FIXES
======================================== */

/* Ensure all containers are mobile-friendly */
* {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    max-width: 100%;
}

/* Force mobile layout on small screens */
@media (max-width: 767px) {
    /* Ensure no horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    
    /* Force contain all content */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Prevent any element from causing horizontal overflow */
    div, section, main, article, aside, nav, header, footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Fix all sections */
    section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding-left: var(--container-padding) !important;
        padding-right: var(--container-padding) !important;
        box-sizing: border-box !important;
    }
    
    /* Fix containers */
    .container,
    .hero-container,
    .nav-container {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding-left: var(--container-padding) !important;
        padding-right: var(--container-padding) !important;
        overflow-x: hidden !important;
        position: relative !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .hero-main {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 1.5rem;
        text-align: center;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        order: 1;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-visual {
        display: none !important; /* Hide on mobile for better UX */
    }
    
    .hero-description {
        text-align: center;
        padding: 0 !important;
        margin: 0 0 2rem 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        word-wrap: break-word;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .tech-highlight {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-tech-highlights {
        flex-direction: column !important;
        gap: 0.8rem;
        width: 100%;
        justify-content: stretch;
    }
    
    /* Fix button layout */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    /* Fix stats layout */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure text doesn't overflow */
    .hero-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix role animation container */
    .role-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .role-animated {
        width: 100%;
        text-align: center;
    }
    
    /* Fix any potential overflow sources */
    .status-badge,
    .hero-label,
    .hero-title,
    .hero-role,
    .hero-stats,
    .hero-buttons,
    .quick-contact,
    .nav-menu,
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure title doesn't cause overflow */
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin: 0 0 1rem 0 !important;
        padding: 0 !important;
    }
    
    /* Fix role container overflow */
    .role-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        justify-content: center !important;
    }
    
    /* Fix status badge */
    .status-badge {
        margin: 0 auto 2rem auto !important;
        max-width: calc(100% - 32px) !important;
    }
    
    /* Ensure buttons don't overflow */
    .hero-buttons {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Fix navbar issues */
    .navbar {
        padding: 15px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-container {
        max-width: 100% !important;
        padding: 0 16px !important;
    }
    
    /* Experience section mobile fixes */
    .timeline {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .timeline-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .timeline-content {
        padding: 1.2rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
    }
    
    .timeline-header {
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .timeline-header h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .timeline-meta {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .company {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    .duration {
        font-size: 0.85rem !important;
        padding: 0.4rem 1rem !important;
    }
    
    .timeline-body {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .timeline-body li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.6rem !important;
        padding-left: 1.2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .timeline-body strong {
        color: white !important;
        font-weight: 700 !important;
    }
    
    .management-section {
        margin-top: 1.5rem !important;
        padding: 1rem !important;
        border-radius: 8px !important;
    }
    
    .management-section h4 {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Education section mobile fixes */
    .education-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .education-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .education-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .education-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .education-content h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .institution {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .year {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    
    .education-details {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }
    
    .education-tag {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
        border-radius: 12px !important;
    }
    
    /* About section mobile fixes */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .about-highlights {
        gap: 1rem !important;
    }
    
    .highlight-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 15px !important;
    }
    
    .highlight-item i {
        width: 60px !important;
        height: 60px !important;
        font-size: 2rem !important;
        margin-bottom: 0 !important;
    }
    
    .highlight-item h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .highlight-item p {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* Contact section mobile fixes */
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .contact-card {
        display: none !important;
    }
    
    .contact-methods {
        gap: 1.5rem !important;
    }
    
    .contact-method {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
        border-radius: 15px !important;
    }
    
    .contact-method i {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .contact-method h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .contact-method p {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* Projects container mobile fixes */
    .projects-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .placeholder-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 2rem !important;
        min-height: auto !important;
    }

    /* WhatsApp contact card mobile fixes */
    .whatsapp-contact-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 2rem !important;
        border-radius: 20px !important;
    }
    
    .whatsapp-benefits {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .benefit-item {
        flex-direction: row !important;
        gap: 0.5rem !important;
        text-align: center !important;
    }
    
    /* Hide about-contact section on mobile */
    .about-contact {
        display: none !important;
    }
}

