* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.page-transition.hidden {
    opacity: 0;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(78, 205, 196, 0.3);
    border-top: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #4ecdc4;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-trail {
    width: 8px;
    height: 8px;
    background: rgba(78, 205, 196, 0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4ecdc4;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease 0.5s, transform 0.3s ease 0.5s, visibility 0s 0.8s;
    visibility: hidden;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

.dropdown-content a {
    color: #fff;
    padding: 0.8rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
}

.cv-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a[href="#home"] {
    color: #4ecdc4;
}

.nav-links a[href="#home"]:hover {
    color: #ff6b6b;
}

.dropdown-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}
.nav-btn {
    color: white;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.resume-nav-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.learn-more-btn {
    background: transparent;
    border: 2px solid #45b7d1;
    color: #45b7d1;
}

.learn-more-btn:hover {
    background: #45b7d1;
    color: white;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 100%;
}

/* Particle system for hero */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4ecdc4;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

.particle:nth-child(odd) {
    background: #ff6b6b;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Hero Section - New design with animations */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    padding: 8rem 0 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(255, 107, 107, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(78, 205, 196, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(69, 183, 209, 0.08) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    z-index: 10;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 2rem;
    width: 100%;
    min-height: calc(100vh - 8rem); 
}

.hero-image-container {
    flex: 0 0 40%;
    opacity: 0;
    transform: translateY(50px);
    animation: floatUp 1.5s ease 0.5s forwards;
    display: flex;
    align-items: flex-end;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.typing-cursor {
    color: #4ecdc4;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-info {
    color: white;
    flex: 1;
    padding-left: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-content-row {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.hero-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-right-content {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: -2rem;
}

.hero-name-section {
    margin-bottom: 0;
}

.hero-name {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite;
    line-height: 1.1;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 1.2s ease 1.2s forwards;
}

.hero-stats {
    margin-bottom: 0;
    display: flex;
    gap: 3rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
}

.hero-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #4ecdc4;
    min-width: 120px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    letter-spacing: -0.05em;
}

.counter-tens, .counter-ones {
    font-size: 3.5rem;
    font-weight: 800;
    color: #4ecdc4;
    overflow: hidden;
    height: 1.2em;
    position: relative;
    display: inline-block;
    width: 0.65em;
    padding: 0 0.05em;
}

.counter-roll {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1.2;
    transform: translateY(0);
}

.counter-digit {
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
}

.counter-suffix {
    font-size: 1.2rem;
    color: #4ecdc4;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-left: 0.2em;
}

.hero-stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    margin-top: 0.2rem;
}

.hero-stat-item.animate-float-1 {
    animation: slideInRight 1.2s ease 1.4s forwards;
}

.hero-stat-item.animate-float-2 {
    animation: slideInRight 1.2s ease 1.6s forwards;
}

.hero-school-info {
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.2s ease 1.8s forwards;
    margin-bottom: 0;
}

.hero-school-name {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-school-details {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-contact {
    opacity: 0;
    transform: translateY(30px);
    animation: floatUp 1.2s ease 2.2s forwards;
}

.hero-contact-box {
    background: transparent;
    border: 2px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b, #4ecdc4) 1;
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    animation: borderGradientMove 3s ease-in-out infinite;
}

@keyframes borderGradientMove {
    0%, 100% { 
        border-image: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b, #4ecdc4) 1;
    }
    50% { 
        border-image: linear-gradient(90deg, #4ecdc4, #45b7d1, #ff6b6b, #4ecdc4, #ff6b6b) 1;
    }
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

@keyframes floatUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section transitions - smooth breaks with moving colors */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #4ecdc4, #ff6b6b, #45b7d1, #4ecdc4, transparent);
    background-size: 200% 100%;
    margin: 0;
    border: none;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* CV Banner - Full width section */
.cv-banner-section {
    padding: 4rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.cv-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 107, 107, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(78, 205, 196, 0.08) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: diagonalSweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes diagonalSweep {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.cv-banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(69, 183, 209, 0.06) 0%, transparent 50%);
    animation: pulseGlow 6s ease-in-out infinite;
    pointer-events: none;
}

.cv-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cv-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cv-banner-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cv-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cv-download-btn:hover::before {
    left: 100%;
}

.cv-download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about {
    min-height: 100vh;
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.10) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(69, 183, 209, 0.06) 0%, transparent 20%);
    animation: floatingGradients 20s ease-in-out infinite;
}

@keyframes floatingGradients {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(78, 205, 196, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(78, 205, 196, 0.03) 87.5%, rgba(78, 205, 196, 0.03)),
        linear-gradient(150deg, rgba(78, 205, 196, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(78, 205, 196, 0.03) 87.5%, rgba(78, 205, 196, 0.03));
    background-size: 80px 140px;
    animation: patternMove 30s linear infinite;
    opacity: 0.4;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 80px 140px, -80px 70px; }
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-left {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-left.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-image-wrapper {
    width: 350px;
    height: 400px;
    position: relative;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #4ecdc4 75%, #ff6b6b 100%);
    background-size: 400% 400%;
    animation: gradientBorder 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.25);
}

.about-image {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    object-fit: cover;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.about-image-wrapper:hover .about-image {
    filter: brightness(1.05);
    transform: scale(1.02);
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}

.about-right {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.about-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s;
}

.about-right.visible .about-title {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-text:nth-of-type(1) {
    transition-delay: 0.7s;
}

.about-text:nth-of-type(2) {
    transition-delay: 0.9s;
}

.about-right.visible .about-text {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5) rotate(-5deg);
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Staggered delays for each tech item */
.tech-item:nth-child(1) { animation-delay: 1.3s; }
.tech-item:nth-child(2) { animation-delay: 1.35s; }
.tech-item:nth-child(3) { animation-delay: 1.4s; }
.tech-item:nth-child(4) { animation-delay: 1.45s; }
.tech-item:nth-child(5) { animation-delay: 1.5s; }
.tech-item:nth-child(6) { animation-delay: 1.55s; }
.tech-item:nth-child(7) { animation-delay: 1.6s; }
.tech-item:nth-child(8) { animation-delay: 1.65s; }
.tech-item:nth-child(9) { animation-delay: 1.7s; }
.tech-item:nth-child(10) { animation-delay: 1.75s; }
.tech-item:nth-child(11) { animation-delay: 1.8s; }
.tech-item:nth-child(12) { animation-delay: 1.85s; }

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.tech-item:hover {
    background: rgba(78, 205, 196, 0.25);
    border-color: #4ecdc4;
    transform: translateY(-4px) scale(1.1) rotate(2deg) !important;
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.25);
}

@media (max-height: 800px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 0 0;
    }
    
    .hero-content {
        min-height: auto;
    }
    
    .hero-stat-number,
    .counter-tens, 
    .counter-ones {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-image-container {
        flex: none;
        width: 100%;
        max-height: 50vh;
    }
    
    .hero-image {
        width: 100%;
        max-height: 50vh;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-left,
    .about-right {
        transition-delay: 0s;
    }
    
    .about-text:nth-of-type(1),
    .about-text:nth-of-type(2) {
        transition-delay: 0s;
    }
}

/* Academics Section - Timeline design */
.academics {
    min-height: 100vh;
    padding: 6rem 0;
    background: radial-gradient(circle at 30% 70%, #1a1a2e 0%, #0a0a0a 50%, #16213e 100%);
    position: relative;
}

.academics-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.5s ease;
}

.timeline.animated::before {
    transform: scaleY(1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #4ecdc4;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.timeline-title {
    font-size: 1.5rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.timeline-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Projects Section - Clean card layout */
.projects {
    min-height: 100vh;
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 107, 0.03) 100px, rgba(255, 107, 107, 0.03) 200px),
        repeating-linear-gradient(-45deg, transparent, transparent 100px, rgba(78, 205, 196, 0.04) 100px, rgba(78, 205, 196, 0.04) 200px);
    animation: diagonalMove 40s linear infinite;
    pointer-events: none;
}

.projects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(255, 107, 107, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(78, 205, 196, 0.10) 0%, transparent 40%);
    animation: breathe 10s ease-in-out infinite;
    pointer-events: none;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    background: transparent;
    perspective: 1000px;
    height: 550px;
    cursor: pointer;
    position: relative;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.project-card:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
}

.project-card-front::before,
.project-card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #ff6b6b);
    background-size: 300% 100%;
    border-radius: 20px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 4s linear infinite;
    pointer-events: none;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.project-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
}

.project-link-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-link-btn.secondary {
    background: transparent;
    border: 2px solid #45b7d1;
    color: #45b7d1;
}

.project-link-btn.secondary:hover {
    background: #45b7d1;
    color: white;
}

.project-header {
    padding: 2.5rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: invert(82%) sepia(13%) saturate(1487%) hue-rotate(131deg) brightness(95%) contrast(89%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.project-body {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: calc(100% - 140px);
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.project-title {
    font-size: 1.4rem;
    color: #4ecdc4;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.project-tags-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.project-status {
    display: inline-block;
    background: rgba(78, 205, 196, 0.15);
    color: #4ecdc4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(78, 205, 196, 0.3);
    align-self: center;
}

.project-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Activities Section - List-based design */
.activities {
    min-height: 100vh;
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(255, 107, 107, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 50%, rgba(78, 205, 196, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(69, 183, 209, 0.08) 0%, transparent 40%);
    animation: waveMotion 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waveMotion {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.activities::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(78, 205, 196, 0.03) 2px,
        rgba(78, 205, 196, 0.03) 4px
    );
    animation: linesScroll 20s linear infinite;
    pointer-events: none;
}

@keyframes linesScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.activities-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.activities-list {
    margin-top: 4rem;
}

.activity-list-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.activity-summary {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-summary-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.activity-summary-emoji {
    font-size: 2rem;
}

.activity-summary-emoji img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(82%) sepia(13%) saturate(1487%) hue-rotate(131deg) brightness(95%) contrast(89%);
    transition: transform 0.3s ease;
}

.activity-list-item:hover .activity-summary-emoji img {
    transform: scale(1.1);
}

.activity-summary-content h3 {
    font-size: 1.3rem;
    color: #4ecdc4;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.activity-summary-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.activity-summary-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.activity-achievement-badge {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.activity-expand-icon {
    color: #4ecdc4;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.activity-list-item.expanded .activity-details {
    max-height: 150px;
    opacity: 1;
    padding-top: 1rem;
}

.activity-list-item.expanded .activity-expand-icon {
    transform: rotate(180deg);
}

.activity-details {
    padding: 0 2rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.activity-list-item:hover {
    transform: translateX(10px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.activity-list-item:hover .activity-expand-icon {
    transform: rotate(180deg);
}

.activity-list-item:hover .activity-details {
    max-height: 150px;
    opacity: 1;
    padding-top: 1rem;
}

.activity-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(78, 205, 196, 0.05), transparent);
    transition: left 0.6s ease;
}

.activity-list-item:hover::before {
    left: 100%;
}

/* Certifications Section */
.certifications {
    min-height: 80vh;
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(78, 205, 196, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 107, 107, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(69, 183, 209, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.certifications::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(78, 205, 196, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(78, 205, 196, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridSlide 25s linear infinite;
    pointer-events: none;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.certification-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.certification-card.hidden {
    display: none;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(78, 205, 196, 0.1), transparent);
    animation: rotate 6s linear infinite;
    z-index: -1;
}

.certification-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.1);
}

.cert-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto 1.5rem;
    display: block;
    border: 2px solid rgba(78, 205, 196, 0.3);
    padding: 10px;
    background: transparent;
}

.cert-title {
    font-size: 1.1rem;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    padding: 0 0.5rem;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cert-date {
    color: rgba(255, 107, 107, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.certification-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.certification-card a:hover .cert-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.certification-card a:hover .cert-title {
    color: #ff6b6b;
    transform: scale(1.08);
    transition: all 0.3s ease;
}

.view-more-container {
    text-align: center;
    margin-top: 5rem;
    width: 100%;
}

.view-more-btn {
    padding: 1rem 2.5rem;
    background: rgba(10, 10, 10, 0.5);
    color: #4ecdc4;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 12px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(78, 205, 196, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.view-more-btn.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section - Modern glassmorphism design */
.contact {
    min-height: 100vh;
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 30%, rgba(255, 107, 107, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(78, 205, 196, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(78, 205, 196, 0.02) 49%, rgba(78, 205, 196, 0.02) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, rgba(255, 107, 107, 0.02) 49%, rgba(255, 107, 107, 0.02) 51%, transparent 52%);
    background-size: 100px 100px;
    pointer-events: none;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.contact-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Animated cursor */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 0;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-icon img {
    width: 50px;
    height: 50px;
    filter: invert(82%) sepia(13%) saturate(1487%) hue-rotate(131deg) brightness(95%) contrast(89%);
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4ecdc4;
}

.contact-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #4ecdc4;
    transform: translateY(-5px) scale(1.1);
}

.social-link img {
    width: 30px;
    height: 30px;
    filter: invert(82%) sepia(13%) saturate(1487%) hue-rotate(131deg) brightness(95%) contrast(89%);
}

/* Footer */
footer {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #4ecdc4;
    color: #0a0a0a;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { 
        flex-direction: column;
        gap: 1rem; 
    }
    .hamburger {
        display: flex;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    .nav-left {
        width: 100%;
        order: 2;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-left.active {
        max-height: 500px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }
    
    .nav-right {
        margin-left: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    .dropdown-content {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 0;
    }
    .dropdown-content a {
        padding: 0.5rem 0;
    }
    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .cv-nav-btn {
        margin-top: 1rem;
    }
    .hero-content-row {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-right-content {
        flex: none;
        align-items: center;
    }
    .hero-left-content {
        align-items: center;
        text-align: center;
    }
    .hero-info {
        padding-left: 0;
        height: auto;
        text-align: center;
    }
    .hero-name { 
        font-size: 2.5rem; 
        margin-bottom: 1.5rem;
    }
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-stat-item {
        align-items: center;
        text-align: center;
    }

    .hero-info {
        padding-top: 2rem;
    }

    .hero-name {
        white-space: normal;
    }
    .contact-grid { grid-template-columns: 1fr; }
    .project-footer { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
    }
    .certifications-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

* { cursor: auto; }

a, button { cursor: pointer; }
