/* CSS Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #2962ff;
    --accent-color: #00bcd4;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --background-dark: #0a0a0a;
    --background-darker: #000000;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #2962ff, #1a237e);
    --gradient-secondary: linear-gradient(135deg, #00bcd4, #2962ff);
    --gradient-accent: linear-gradient(135deg, #ff6b6b, #ffd93d);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(41, 98, 255, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Trip Rider Positioning */
.trip-rider-typing {
    position: relative;
    display: inline-block;
    min-height: 1.2em;
}

.trip-rider-typing span {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
}

/* Typewriter Effect Override */
.typewriter-effect {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-right: none !important;
    animation: none !important;
}

/* Simple Image Animations */
.profile-img {
    transition: none;
}

/* Project Images - No Animations */
.project-image {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

/* Remove all hover effects */
.project-image:hover img {
    transform: none;
    filter: none;
}

.project-overlay {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(10, 14, 27, 0.95) 0%, rgba(10, 14, 27, 0.85) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 27, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        display: block;
        width: 80%;
        margin: 0 auto;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(41, 98, 255, 0.1);
        border: 1px solid rgba(41, 98, 255, 0.3);
    }
}

/* Button Click Animations */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(41, 98, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-link:active::before {
    width: 300px;
    height: 300px;
}

.btn-glass {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glass:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glass:active::before {
    width: 300px;
    height: 300px;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Navigation Click Animation */
.nav-clicked {
    animation: navPulse 0.3s ease;
}

@keyframes navPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: var(--secondary-color);
        text-shadow: 0 0 10px var(--secondary-color);
    }
    100% {
        transform: scale(1);
    }
}

/* Button Hover Enhancements */
.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 98, 255, 0.4);
}

.nav-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

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

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}



/* Navigation - Desktop Only */

/* Hero Section */
/* Professional Hero Section - Enhanced Techie Desktop UI */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a0033 100%),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15), transparent 50%);
    background-size: 400% 400%, 100% 100%, 100% 100%;
    animation: techGradientFlow 20s ease infinite;
}

/* Tech Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(64, 181, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 181, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Tech Particles */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(64, 181, 246, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(38, 198, 218, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 119, 198, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(120, 119, 198, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: particleFloat 25s linear infinite;
    z-index: 1;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Enhanced Left Side - Techie Text Content */
.hero-text {
    padding-right: 2rem;
    position: relative;
}

/* Tech Border Effect */
.hero-text::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #64b5f6, #26c6da, #64b5f6);
    border-radius: 2px;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

.hero-greeting {
    margin-bottom: 1rem;
    position: relative;
}

.greeting-text {
    font-size: 1.3rem;
    color: #64b5f6;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.greeting-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #64b5f6, transparent);
    animation: lineExpand 2s ease-out;
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-name {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    position: relative;
}

.name-gradient {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 25%, #2196f3 50%, #1976d2 75%, #0d47a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 30px rgba(100, 181, 246, 0.3);
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.title-gradient {
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 25%, #0097a7 50%, #00838f 75%, #006064 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #90caf9;
    font-size: 1rem;
    font-weight: 500;
}

.hero-location i {
    color: #42a5f5;
    font-size: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e3f2fd;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-description strong {
    color: #64b5f6;
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(100, 181, 246, 0.2);
    border-bottom: 1px solid rgba(100, 181, 246, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #42a5f5;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #90caf9;
    font-weight: 500;
    margin-top: 0.3rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

.btn-secondary {
    background: linear-gradient(135deg, #26c6da, #00acc1);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 198, 218, 0.4);
    background: linear-gradient(135deg, #00acc1, #0097a7);
}

.btn-outline {
    background: transparent;
    color: #64b5f6;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #64b5f6;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: #64b5f6;
    color: #0f0f23;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(100, 181, 246, 0.3);
    background: rgba(100, 181, 246, 0.1);
    backdrop-filter: blur(10px);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.social-link.github {
    color: #333;
}

.social-link.github:hover {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.4);
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Right Side - Profile Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 50px auto;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-container:hover .profile-img {
    transform: scale(1.05);
}

.profile-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196f3, #26c6da, #2196f3);
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.3), transparent);
    border-radius: 50%;
    z-index: -2;
    filter: blur(20px);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Tech Icons */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: floatUpDown 3s ease-in-out infinite;
}

.floating-icon i {
    font-size: 1.5rem;
    color: #42a5f5;
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: 0.5s; }
.floating-icon:nth-child(3) { animation-delay: 1s; }
.floating-icon:nth-child(4) { animation-delay: 1.5s; }

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

/* ===== COMPREHENSIVE MOBILE OPTIMIZATION ===== */

/* Mobile First - Optimized Mobile UI */
@media (max-width: 768px) {
    /* Mobile Hero Section - Complete Redesign */
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
        background: 
            linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
        position: relative;
    }
    
    /* Simplified Mobile Background */
    .hero::before {
        background-size: 30px 30px;
        opacity: 0.3;
    }
    
    .hero::after {
        background-size: 100px 80px;
        opacity: 0.4;
    }
    
    /* Mobile Content Layout - Stack Vertically */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    /* Mobile Text Content */
    .hero-text {
        padding-right: 0;
        order: 2;
        max-width: 100%;
    }
    
    .hero-text::before {
        display: none; /* Remove side border on mobile */
    }
    
    /* Mobile Image First */
    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    /* Mobile Typography */
    .greeting-text {
        font-size: 1rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero-title {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
    }
    
    /* Mobile Location */
    .hero-location {
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
        margin-bottom: 1.2rem;
        border-radius: 20px;
    }
    
    /* Mobile Description */
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 100%;
        padding: 1.2rem;
        text-align: left;
        border-radius: 8px;
    }
    
    /* Mobile Stats - Horizontal Layout */
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 1.5rem 0;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        padding: 0.8rem 0.5rem;
        border-radius: 8px;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.6rem;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.8rem;
        margin-top: 0.3rem;
        line-height: 1.2;
    }
    
    /* Mobile Buttons - Stack Vertically */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 8px;
    }
    
    /* Mobile Social Links */
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .social-link i {
        font-size: 1.2rem;
    }
    
    /* Mobile Profile Section */
    .profile-wrapper {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .profile-wrapper::before {
        width: 250px;
        height: 250px;
        opacity: 0.6;
    }
    
    .profile-container {
        width: 220px;
        height: 220px;
        margin: 30px auto;
    }
    
    .profile-border {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    .profile-glow {
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        filter: blur(15px);
    }
    
    /* Mobile Floating Icons - Smaller and Fewer */
    .floating-icon {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        border-width: 1px;
    }
    
    .floating-icon i {
        font-size: 1.3rem;
    }
    
    /* Adjust positions for mobile */
    .floating-icon:nth-child(1) { top: 5%; left: 5%; }
    .floating-icon:nth-child(2) { top: 10%; right: 5%; }
    .floating-icon:nth-child(3) { bottom: 25%; left: 8%; }
    .floating-icon:nth-child(4) { bottom: 10%; right: 8%; }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    /* Extra Small Typography */
    .hero-name {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    
    /* Extra Small Stats */
    .hero-stats {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
    
    .stat-item {
        padding: 0.6rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Extra Small Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        max-width: 260px;
        padding: 11px 18px;
        font-size: 0.9rem;
    }
    
    /* Extra Small Profile */
    .profile-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .profile-container {
        width: 180px;
        height: 180px;
        margin: 30px auto;
    }
    
    /* Hide some floating icons on very small screens */
    .floating-icon:nth-child(3),
    .floating-icon:nth-child(4) {
        display: none;
    }
    
    /* Extra Small Social Links */
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-text {
        order: 1;
        text-align: left;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-name {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: auto;
        min-width: 140px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .profile-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .profile-container {
        width: 160px;
        height: 160px;
        margin: 20px auto;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
    
    .floating-icon {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Remove hover effects on touch devices */
    .floating-icon:hover,
    .stat-item:hover,
    .social-link:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Simplify animations for better performance */
    .hero::before,
    .hero::after {
        animation: none;
    }
    
    .profile-border {
        animation-duration: 8s;
    }
    
    .floating-icon {
        animation-duration: 6s;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .profile-border,
    .floating-icon,
    .hero-text::before {
        animation: none;
    }
    
    .profile-glow {
        animation: none;
        opacity: 0.6;
    }
    
    .greeting-text::after {
        animation: none;
        width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero {
        background: 
            linear-gradient(180deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    }
    
    .hero-description {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .stat-item {
        background: rgba(0, 0, 0, 0.3);
    }
}

@keyframes techGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 255, 127, 0.2) 0%, transparent 50%);
    opacity: 0.8;
    animation: techBackgroundPulse 20s ease-in-out infinite;
}

@keyframes techBackgroundPulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.05); 
    }
}

/* Advanced Tech Mesh Blobs */
.hero-background::before {
    content: '';
    position: absolute;
    width: 1200px;
    height: 1200px;
    background: 
        conic-gradient(from 0deg, rgba(0, 123, 255, 0.4), rgba(138, 43, 226, 0.3), rgba(0, 255, 127, 0.2), rgba(255, 20, 147, 0.25), rgba(0, 123, 255, 0.4)),
        radial-gradient(circle, rgba(0, 123, 255, 0.6) 0%, rgba(138, 43, 226, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    left: -400px;
    animation: techBlob1 30s ease-in-out infinite;
    filter: blur(150px);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: 
        conic-gradient(from 180deg, rgba(138, 43, 226, 0.5), rgba(0, 255, 127, 0.3), rgba(255, 20, 147, 0.4), rgba(0, 123, 255, 0.3), rgba(138, 43, 226, 0.5)),
        radial-gradient(circle, rgba(138, 43, 226, 0.5) 0%, rgba(0, 255, 127, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    right: -300px;
    animation: techBlob2 35s ease-in-out infinite;
    filter: blur(130px);
    z-index: 1;
}

@keyframes techBlob1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
        opacity: 0.6;
    }
    20% { 
        transform: translate(200px, -250px) scale(1.3) rotate(72deg); 
        opacity: 0.8;
    }
    40% { 
        transform: translate(400px, 150px) scale(0.8) rotate(144deg); 
        opacity: 0.4;
    }
    60% { 
        transform: translate(150px, 350px) scale(1.2) rotate(216deg); 
        opacity: 0.7;
    }
    80% { 
        transform: translate(-100px, 100px) scale(0.9) rotate(288deg); 
        opacity: 0.5;
    }
}

@keyframes techBlob2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
        opacity: 0.5;
    }
    25% { 
        transform: translate(-250px, -200px) scale(0.9) rotate(-90deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translate(-400px, 200px) scale(1.4) rotate(-180deg); 
        opacity: 0.3;
    }
    75% { 
        transform: translate(-150px, 300px) scale(1.1) rotate(-270deg); 
        opacity: 0.6;
    }
}
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.3), transparent);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: blob2 18s ease-in-out infinite;
    filter: blur(100px);
    z-index: 2;
}

@keyframes blob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(120px, -180px) scale(1.15); }
    50% { transform: translate(250px, 80px) scale(0.9); }
    75% { transform: translate(120px, 180px) scale(1.1); }
}

@keyframes blob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-180px, -120px) scale(0.9); }
    50% { transform: translate(-250px, 80px) scale(1.15); }
    75% { transform: translate(-120px, 150px) scale(1); }
}

/* Tech Background Effects */
/* Professional Technology Background Effects */
.tech-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.code-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    opacity: 0.6;
}

.code-line {
    position: absolute;
    font-family: 'Fira Code', 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    color: #00ff88;
    opacity: 0.8;
    text-shadow: 
        0 0 10px #00ff88, 
        0 0 20px rgba(0, 255, 136, 0.8),
        0 0 30px rgba(0, 255, 136, 0.6);
    animation: techCodeFloat 18s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 1px;
}

.code-line span {
    display: inline-block;
    animation: techCodePulse 6s ease-in-out infinite;
}

@keyframes techCodeFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-80px) translateX(30px) rotate(1deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-160px) translateX(-40px) rotate(-0.5deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-80px) translateX(20px) rotate(0.5deg);
        opacity: 0.7;
    }
}

@keyframes techCodePulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px #00ff88, 
            0 0 20px rgba(0, 255, 136, 0.8);
        color: #00ff88;
    }
    25% { 
        text-shadow: 
            0 0 15px #007bff, 
            0 0 30px rgba(0, 123, 255, 1),
            0 0 45px rgba(0, 123, 255, 0.8);
        color: #007bff;
    }
    50% { 
        text-shadow: 
            0 0 12px #8a2be2, 
            0 0 25px rgba(138, 43, 226, 0.9),
            0 0 40px rgba(138, 43, 226, 0.7);
        color: #8a2be2;
    }
    75% { 
        text-shadow: 
            0 0 18px #ff1493, 
            0 0 35px rgba(255, 20, 147, 1),
            0 0 50px rgba(255, 20, 147, 0.8);
        color: #ff1493;
    }
}

.tech-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00ff88, #007bff);
    border-radius: 50%;
    box-shadow: 
        0 0 15px #00ff88, 
        0 0 30px rgba(0, 255, 136, 0.7),
        0 0 45px rgba(0, 123, 255, 0.5);
    animation: techParticleFloat 12s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes techParticleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.9;
        box-shadow: 
            0 0 15px #00ff88, 
            0 0 30px rgba(0, 255, 136, 0.7);
    }
    20% {
        transform: translateY(-80px) translateX(60px) scale(1.3);
        opacity: 1;
        box-shadow: 
            0 0 20px #007bff, 
            0 0 40px rgba(0, 123, 255, 0.8);
    }
    40% {
        transform: translateY(-160px) translateX(-80px) scale(0.7);
        opacity: 0.5;
        box-shadow: 
            0 0 18px #8a2be2, 
            0 0 35px rgba(138, 43, 226, 0.7);
    }
    60% {
        transform: translateY(-80px) translateX(40px) scale(1.1);
        opacity: 0.8;
        box-shadow: 
            0 0 25px #ff1493, 
            0 0 45px rgba(255, 20, 147, 0.9);
    }
    80% {
        transform: translateY(-40px) translateX(-20px) scale(0.9);
        opacity: 0.7;
        box-shadow: 
            0 0 22px #00ff88, 
            0 0 38px rgba(0, 255, 136, 0.8);
    }
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
    animation: circuitPulse 10s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.circuit-lines {
    animation: linesFlow 20s linear infinite;
}

@keyframes linesFlow {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(800px); }
}

.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

.tech-lines {
    animation: linesFlow 15s linear infinite;
}

@keyframes linesFlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(800px); }
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 10s ease-in-out infinite;
    filter: blur(45px);
    box-shadow: 0 0 80px rgba(41, 98, 255, 0.6), 0 0 120px rgba(0, 188, 212, 0.4);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: 5%;
    animation-delay: 0s;
    background: radial-gradient(circle, #2962ff, #1a237e);
}

.shape-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 5%;
    animation-delay: 2s;
    background: radial-gradient(circle, #00bcd4, #1a237e);
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
    background: radial-gradient(circle, #2962ff, #1a237e);
}

.shape-4 {
    width: 280px;
    height: 280px;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
    background: radial-gradient(circle, #00bcd4, #1a237e);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 2rem;
    position: relative;
    z-index: 1000;
    color: white;
}

/* Ensure content visibility */
.hero-content-centered * {
    position: relative;
    z-index: inherit;
}

.hero-content-centered h1,
.hero-content-centered h2,
.hero-content-centered p,
.hero-content-centered div {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Name visibility guarantee */
.main-title,
.typed-name {
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
    display: block !important;
}

/* Fallback for gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2962ff, #00bcd4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* If gradient fails, show white text */
@supports not (-webkit-background-clip: text) {
    .gradient-text {
        color: white !important;
        background: none !important;
    }
}

/* Hero Header Styles */
.hero-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.main-title {
    font-size: 4.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1001 !important;
    min-height: 5.5rem !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.2 !important;
}

.typed-name {
    display: inline-block;
    min-width: 400px;
    text-align: center;
}

.header-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #b0bec5;
    opacity: 0.95;
    padding: 0.8rem 1.5rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1001;
}

.header-location i {
    color: #00bcd4;
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Main Content */
.hero-main {
    padding: 2rem 0;
}

.hero-text {
    text-align: left;
    max-width: 100%;
}

.hero-name {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.hero-location i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.hero-tagline {
    font-size: 2.2rem;
    background: linear-gradient(90deg, #00bcd4, #2962ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.hero-intro {
    font-size: 1.1rem;
    color: #d0d8e0;
    margin-bottom: 2rem;
    line-height: 1.9;
    text-align: center;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-left: 3px solid #2962ff;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1001;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 188, 212, 0.5);
    box-shadow: 0 0 50px rgba(41, 98, 255, 0.4), inset 0 0 50px rgba(0, 188, 212, 0.1);
    animation: borderGlow 3s ease-in-out infinite;
    z-index: 1001;
}

@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 50px rgba(41, 98, 255, 0.4), inset 0 0 50px rgba(0, 188, 212, 0.1); }
    50% { box-shadow: 0 0 60px rgba(0, 188, 212, 0.6), inset 0 0 60px rgba(41, 98, 255, 0.2); }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-container:hover .profile-img {
    transform: scale(1.05);
}

.profile-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, #2962ff, #00bcd4);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    filter: blur(30px);
    animation: glowRotate 6s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.btn-glass {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.btn-glass.primary {
    background: linear-gradient(135deg, #2962ff, #1a237e);
    color: var(--text-primary);
    border: 2px solid #2962ff;
    box-shadow: 0 0 20px rgba(41, 98, 255, 0.4);
}

.btn-glass.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(41, 98, 255, 0.6), 0 0 20px rgba(0, 188, 212, 0.3);
    border-color: #00bcd4;
}

.btn-glass.secondary {
    background: rgba(0, 188, 212, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(0, 188, 212, 0.5);
    backdrop-filter: blur(10px);
}

.btn-glass.secondary:hover {
    transform: translateY(-3px);
    background: rgba(0, 188, 212, 0.2);
    border-color: #00bcd4;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
}

.btn-glass:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(41, 98, 255, 0.3);
    border-color: rgba(41, 98, 255, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(41, 98, 255, 0.3));
}

.stat-number {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    display: block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}



.professional-content {
    display: grid;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.professional-overview {
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

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

.professional-title h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.title-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.professional-description {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.professional-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.skills-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.expertise-section {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.expertise-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-title i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.expertise-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.core-competencies {
    padding: 3rem;
    border-radius: 20px;
}

.competencies-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

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

.competency-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.competency-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    border-color: rgba(74, 144, 226, 0.3);
}

.competency-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    min-width: 20px;
}

.competency-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-background {
        padding: 3rem 0;
    }
    
    .professional-overview,
    .core-competencies {
        padding: 2rem;
    }
    
    .professional-title h3 {
        font-size: 1.8rem;
    }
    
    .skills-expertise {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .competency-item {
        padding: 1rem;
    }
    
    .expertise-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .professional-title h3 {
        font-size: 1.6rem;
    }
    
    .competencies-title {
        font-size: 1.5rem;
    }
    
    .professional-description p {
        font-size: 1rem;
    }
}

/* Featured Projects */
.featured-projects {
    padding: 5rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    padding: 0.3rem 0.8rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-all-projects {
    text-align: center;
}

/* Footer */
.footer {
    padding: 2rem 0;
    margin-top: 5rem;
}

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

.created-by {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 300;
    opacity: 0.8;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .header-location {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .header-location {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-location {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-glass {
        width: 200px;
        text-align: center;
    }
}

/* Additional Page-Specific Styles */

/* About Page Styles */
.about-hero {
    padding: 8rem 0 4rem; /* Reset to original padding */
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.bio-section {
    padding: 5rem 0;
}

.bio-content {
    padding: 3rem;
    border-radius: var(--border-radius);
}

.bio-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(41, 98, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.bio-location i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.bio-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.bio-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Timeline Styles */
.timeline-section {
    padding: 5rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Interests Section */
.interests-section {
    padding: 5rem 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.interest-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.interest-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.interest-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.interest-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
}

.value-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.value-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Page Styles */
.skills-hero {
    padding: 8rem 0 4rem; /* Reset to original padding */
    text-align: center;
}

.skills-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.skills-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.primary-skills {
    padding: 5rem 0;
}

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

.primary-skill-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
}

.skill-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.skill-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
}

.skill-percentage {
    color: var(--text-primary);
    font-weight: 600;
}

/* Technical Skills */
.technical-skills {
    padding: 5rem 0;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
}

.skill-icon-small {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.skill-info {
    flex: 1;
}

.skill-name {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.skill-bar-small {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress-small {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
    transition: width 2s ease;
}

/* Soft Skills */
.soft-skills {
    padding: 5rem 0;
}

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

.soft-skill-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
}

.soft-skill-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.soft-skill-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.soft-skill-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 5rem 0;
}

.learning-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.learning-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.learning-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.learning-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.learning-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Page Styles */
.projects-hero {
    padding: 8rem 0 4rem; /* Reset to original padding */
    text-align: center;
}

.projects-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.projects-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.project-filters {
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
}

/* Featured Project */
.featured-project {
    padding: 3rem 0;
}

.featured-project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border-radius: var(--border-radius);
}

.featured-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.featured-links {
    display: flex;
    gap: 1rem;
}

.featured-project-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(41, 98, 255, 0.2), rgba(26, 35, 126, 0.2));
}

/* All Projects */
.all-projects {
    padding: 5rem 0;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat i {
    color: var(--secondary-color);
}

/* Project Statistics Section */
.project-stats-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Project CTA */
.project-cta {
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    padding: 3rem;
    border-radius: var(--border-radius);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-hero {
    padding: 8rem 0 4rem; /* Reset to original padding */
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Form */
.form-container {
    padding: 3rem;
    border-radius: var(--border-radius);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.glass-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(41, 98, 255, 0.2);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Contact Information */
.contact-info {
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.info-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
    margin-top: 0.2rem;
}

.contact-label {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-value {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Social Media */
.social-media {
    padding: 2rem;
    border-radius: var(--border-radius);
}

.social-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link-large:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.social-link-large.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 5px 20px rgba(0, 119, 181, 0.3);
}

.social-link-large.github:hover {
    border-color: #333;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.social-link-large.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.social-link-large .social-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.social-name {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.social-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

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

.faq-item {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-title {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-icon {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.notification.error {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.3);
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .about-hero-content,
    .contact-grid,
    .featured-project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .primary-skills-grid,
    .soft-skills-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .values-content {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .about-text h1,
    .skills-hero h1,
    .projects-hero h1,
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .featured-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .form-container,
    .contact-info,
    .social-media {
        padding: 2rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem !important;
    }
}
/* Trip Rider Effect Enhancements */

/* Enhanced Trip Rider Styling */
.trip-rider-typing {
    min-width: 300px;
    display: inline-block;
    position: relative;
}

.hero-tagline .trip-rider-typing {
    min-width: 250px;
}

.contact-subtitle .trip-rider-typing {
    min-width: 400px;
}

/* Typewriter cursor styling */
.typewriter-effect {
    border-right: 3px solid var(--secondary-color);
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--secondary-color);
    }
}

/* Wave text enhancements */
.wave-text .letter {
    transition: all 0.3s ease;
}

.wave-text:hover .letter {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Neon text enhancements */
.neon-text {
    position: relative;
}

.neon-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    opacity: 0.1;
    filter: blur(10px);
    z-index: -1;
}

/* Hologram text enhancements */
.hologram-text {
    position: relative;
    overflow: hidden;
}

.hologram-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: hologramSweep 2s ease-in-out infinite;
}

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

/* Scramble text enhancements */
.scramble-text {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scramble-text:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Matrix rain container */
.matrix-container {
    position: relative;
    overflow: hidden;
}

.matrix-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Cyberpunk enhancements */
.cyberpunk-text {
    position: relative;
    overflow: hidden;
}

.cyberpunk-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        var(--secondary-color) 50%,
        transparent 70%
    );
    opacity: 0;
    animation: cyberpunkFlash 3s ease-in-out infinite;
}

@keyframes cyberpunkFlash {
    0%, 90% {
        opacity: 0;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
    }
}

/* Responsive trip rider effects */
@media (max-width: 768px) {
    .trip-rider-typing {
        min-width: 200px;
        font-size: 0.9em;
    }
    
    .hero-tagline .trip-rider-typing {
        min-width: 180px;
    }
    
    .contact-subtitle .trip-rider-typing {
        min-width: 250px;
    }
    
    .typewriter-effect {
        border-right-width: 2px;
    }
    
    .wave-text .letter {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .trip-rider-typing {
        min-width: 150px;
        font-size: 0.8em;
    }
    
    .hero-tagline .trip-rider-typing {
        min-width: 140px;
    }
    
    .contact-subtitle .trip-rider-typing {
        min-width: 200px;
    }
}

/* Performance optimizations for trip rider effects */
.trip-rider-word,
.trip-rider-text {
    will-change: opacity, transform;
}

.typewriter-effect {
    will-change: border-color;
}

.wave-text .letter {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .trip-rider-typing,
    .typewriter-effect,
    .wave-text,
    .neon-text,
    .hologram-text,
    .scramble-text,
    .cyberpunk-text {
        animation: none !important;
    }
    
    .trip-rider-word {
        position: static !important;
        opacity: 1 !important;
        width: auto !important;
    }
    
    .trip-rider-word:not(:first-child) {
        display: none;
    }
    
    .typewriter-effect {
        border-right: none !important;
    }
    
    .wave-text .letter {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .neon-text,
    .hologram-text,
    .cyberpunk-text {
        text-shadow: none;
        color: var(--text-primary);
    }
    
    .typewriter-effect {
        border-right-color: var(--text-primary);
    }
}

/* ===== COMPREHENSIVE MOBILE CSS ===== */

/* Mobile First - Base Mobile Styles */
@media (max-width: 480px) {
    /* Global Mobile Adjustments */
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Navigation Mobile */
    .navbar {
        padding: 0.8rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav-menu-desktop {
        display: none !important;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    /* Mobile Navigation - Clean */
    .nav-menu-desktop {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-header {
        padding: 2rem 0;
    }
    
    .main-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .header-location {
        font-size: 0.9rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-glass {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
    
    .profile-img {
        width: 100%;
        height: 100%;
    }
    
    /* Stats Section Mobile */
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .stat-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Professional Background Mobile */
    .professional-background {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .professional-overview {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .professional-title h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .title-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .professional-description p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
        text-align: left;
    }
    
    .skills-expertise {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin: 2rem 0;
    }
    
    .expertise-section {
        padding: 1.5rem;
    }
    
    .expertise-title {
        font-size: 1.1rem;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .expertise-title i {
        font-size: 1.2rem;
    }
    
    .expertise-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .core-competencies {
        padding: 2rem 1.5rem;
    }
    
    .competencies-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .competency-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .competency-item:hover {
        transform: translateX(5px);
    }
    
    /* Featured Projects Mobile */
    .featured-projects {
        padding: 3rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .project-tech {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .project-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .project-links {
        gap: 1rem;
    }
    
    .project-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .view-all-projects {
        margin-top: 2rem;
        text-align: center;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-text p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .created-by {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Glass Effects Mobile Optimization */
    .glass-card,
    .glass-panel {
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    /* Button Animations Mobile */
    .btn-glass:active {
        transform: scale(0.98);
    }
    
    /* Typewriter Effect Mobile */
    .typewriter-effect {
        font-size: inherit;
    }
    
    /* Animations Mobile - Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skills-expertise {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Large Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
    
    .profile-container {
        width: 150px;
        height: 150px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .skills-expertise {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .project-card:hover,
    .expertise-section:hover,
    .competency-item:hover {
        transform: none;
    }
    
    .project-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .btn-glass:hover {
        transform: none;
    }
    
    .btn-glass:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-img,
    .project-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support for Mobile */
@media (prefers-color-scheme: dark) {
    .nav-menu {
        background: rgba(13, 17, 23, 0.98);
    }
    
    .glass-card,
    .glass-panel {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    input, textarea, button, a {
        -webkit-user-select: auto;
        user-select: auto;
    }
    
    .hero-background,
    .geometric-shapes {
        display: none; /* Hide complex backgrounds on mobile for performance */
    }
    
    .profile-glow {
        display: none; /* Reduce visual effects on mobile */
    }
}
/* ===== PROPER LAYERING SYSTEM ===== */
/* Centered Hero Layout */
.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.hero-content-centered .hero-image {
    margin-bottom: 2rem;
}

.hero-content-centered .profile-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.hero-content-centered .main-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content-centered .hero-tagline {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content-centered .header-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.hero-content-centered .hero-intro {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.hero-content-centered .hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile adjustments for centered layout */
@media (max-width: 768px) {
    .hero-content-centered {
        padding: 1rem;
        min-height: 90vh;
    }
    
    .hero-content-centered .profile-container {
        width: 150px;
        height: 150px;
    }
    
    .hero-content-centered .main-title {
        font-size: 2.2rem;
    }
    
    .hero-content-centered .hero-tagline {
        font-size: 1.4rem;
    }
    
    .hero-content-centered .hero-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content-centered .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content-centered .btn-glass {
        width: 100%;
    }
}
/* Typewriter effect for description */
.hero-intro .typewriter-effect {
    display: inline;
    border-right: 2px solid var(--secondary-color);
    animation: blink 1.2s infinite;
}

/* Blinking cursor animation */
@keyframes blink {
    0%, 50% {
        border-color: var(--secondary-color);
    }
    51%, 100% {
        border-color: transparent;
    }
}

/* Ensure proper line height for typewriter text */
.hero-intro {
    line-height: 1.6;
}

.hero-intro .typewriter-effect {
    line-height: inherit;
}
/* Enhanced Background Animations */
/* Feedback Section */
.feedback-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(80, 200, 120, 0.03) 100%);
}

.feedback-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--secondary-color);
}

.glass-input {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.glass-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

select.glass-input {
    cursor: pointer;
}

textarea.glass-input {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating */
.rating-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-container input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-label:hover,
.star-label:hover ~ .star-label {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.rating-container input[type="radio"]:checked ~ .star-label {
    color: var(--secondary-color);
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.submit-btn i {
    font-size: 1rem;
}

/* Success Message */
.feedback-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    animation: successPop 0.5s ease-out;
}

.feedback-success h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feedback-success p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .feedback-section {
        padding: 3rem 0;
    }
    
    .feedback-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .star-label {
        font-size: 1.5rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}
/* Fix Typewriter Visibility */
.typewriter-effect {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-right: 2px solid #4A90E2;
    padding-right: 5px;
}

.main-title {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure text is visible */
.hero-content-centered .main-title {
    margin-bottom: 1.5rem;
}
/* Typed.js Cursor Styling */
.typed-cursor {
    color: var(--secondary-color);
    font-weight: 300;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typed-name,
.typed-title,
.typed-location,
.typed-description {
    display: inline-block;
    min-height: 1.2em;
}

/* Ensure proper spacing for typed elements */
.hero-tagline {
    min-height: 2.5rem;
}

.header-location {
    min-height: 2rem;
}

.hero-intro {
    min-height: 4rem;
}

/* AOS Animation Enhancements */
[data-aos] {
    pointer-events: auto;
}

[data-aos="zoom-in"] {
    transform: scale(0.6);
    opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Professional Animation Overrides */
.hero-image {
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.profile-container {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
/* Three Column Contact Grid */
.contact-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Feedback Form Section */
.feedback-form-section {
    display: flex;
    flex-direction: column;
}

.feedback-panel {
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
}

.feedback-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.quick-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.quick-feedback-form .form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-feedback-form .form-label i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.3rem;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating .star {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-rating .star:hover,
.star-rating .star:hover ~ .star {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.star-rating input[type="radio"]:checked ~ .star {
    color: var(--secondary-color);
}

/* Feedback Success Message */
.feedback-success-msg {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-color);
}

.feedback-success-msg i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: successBounce 0.5s ease;
}

.feedback-success-msg p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid-three {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .feedback-panel {
        padding: 1.5rem;
    }
    
    .star-rating .star {
        font-size: 1.5rem;
    }
}
/* Professional Story Styling */
.story-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color);
}

.bio-paragraph strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.inline-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.inline-link:hover::after {
    width: 100%;
}

.bio-paragraph em {
    color: var(--secondary-color);
    font-size: 1.1rem;
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* Enhanced Bio Text */
.bio-text {
    line-height: 1.8;
}

.bio-paragraph {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Responsive Story */
@media (max-width: 768px) {
    .story-subtitle {
        font-size: 1.1rem;
    }
    
    .bio-paragraph {
        text-align: left;
    }
}


/* Tech Badges with Colors */
.tech-badges-container {
    animation: fadeInUp 1s ease-out;
}

.tech-badge-item {
    cursor: pointer;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out backwards;
}

.tech-badge-item:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(41, 98, 255, 0.5) !important;
}

.tech-badge-item:nth-child(1) { animation-delay: 0.1s; }
.tech-badge-item:nth-child(2) { animation-delay: 0.2s; }
.tech-badge-item:nth-child(3) { animation-delay: 0.3s; }
.tech-badge-item:nth-child(4) { animation-delay: 0.4s; }
.tech-badge-item:nth-child(5) { animation-delay: 0.5s; }
.tech-badge-item:nth-child(6) { animation-delay: 0.6s; }
.tech-badge-item:nth-child(7) { animation-delay: 0.7s; }
.tech-badge-item:nth-child(8) { animation-delay: 0.8s; }
.tech-badge-item:nth-child(9) { animation-delay: 0.9s; }
.tech-badge-item:nth-child(10) { animation-delay: 1.0s; }
.tech-badge-item:nth-child(11) { animation-delay: 1.1s; }
.tech-badge-item:nth-child(12) { animation-delay: 1.2s; }

/* 3-Column Stats Layout */
.stats-grid[style*="repeat(3, 1fr)"] {
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .stats-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 400px !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .stats-grid[style*="repeat(3, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem;
    }
}
/* Professional Project Buttons */
.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-project.code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-project.demo {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Colored Tech Badges */
.tech-badge.python {
    background: linear-gradient(135deg, #3776ab, #ffd43b);
    color: white;
}

.tech-badge.flask {
    background: linear-gradient(135deg, #000000, #ffffff);
    color: white;
}

.tech-badge.api {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.tech-badge.java {
    background: linear-gradient(135deg, #f89820, #ed8b00);
    color: white;
}

.tech-badge.spring {
    background: linear-gradient(135deg, #6db33f, #4a7c59);
    color: white;
}

.tech-badge.ai {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tech-badge.react {
    background: linear-gradient(135deg, #61dafb, #21a1f1);
    color: white;
}

.tech-badge.node {
    background: linear-gradient(135deg, #68a063, #417e38);
    color: white;
}

.tech-badge.mongodb {
    background: linear-gradient(135deg, #4db33d, #3b8e2e);
    color: white;
}

/* Enhanced Project Cards */
.project-content {
    padding: 1.5rem;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.05);
}
/* Enhanced Download and View Buttons */
.view-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.download-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.view-btn:hover, .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced CGPA Animations */
.animated-stat {
    position: relative;
    overflow: hidden;
}

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

.animated-stat:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.stat-description {
    font-size: 12px !important;
    color: rgba(255,255,255,0.6) !important;
    margin-top: 10px !important;
    text-align: center;
}

/* Counter Animation */
.cgpa-counter, .sgpa-counter {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #2962ff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Bar Animations */
.progress-fill {
    width: 0% !important;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #2962ff, #00bcd4) !important;
}

.cgpa-progress {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
}

.sgpa-progress {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.academic-progress {
    background: linear-gradient(135deg, #ffecd2, #fcb69f) !important;
}

/* Hover Effects for Stat Boxes */
.stat-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(41, 98, 255, 0.2);
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
    color: #00bcd4;
}

/* Faculty Section Styles */
.faculty-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.05) 0%, rgba(26, 35, 126, 0.05) 100%);
    position: relative;
}

.faculty-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(41, 98, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faculty-card {
    padding: 30px 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

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

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

.faculty-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(41, 98, 255, 0.4);
    box-shadow: 0 20px 40px rgba(41, 98, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.faculty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2962ff, #1a237e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faculty-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00bcd4, #2962ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faculty-card:hover .faculty-icon::before {
    opacity: 1;
}

.faculty-icon i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-icon i {
    transform: scale(1.1) rotate(5deg);
}

.faculty-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #2962ff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faculty-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 400;
}

/* Mobile Responsive for Faculty Section */
@media (max-width: 768px) {
    .faculty-section {
        padding: 60px 0;
    }
    
    .faculty-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .faculty-card {
        padding: 25px 20px;
    }
    
    .faculty-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .faculty-name {
        font-size: 1.2rem;
    }
    
    .faculty-role {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faculty-card {
        padding: 20px 15px;
    }
    
    .faculty-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .nav-menu-desktop {
        display: flex !important;
    }
    
    /* Clean Navigation - No Mobile Menu */
}