/* 
=========================================
   CSS VARIABLES & GLOBAL RESET
========================================= 
*/
:root {
    /* Colors */
    --bg-dark: #05050a; /* Deeper dark for contrast */
    --bg-navy: #0a0b10;
    --bg-card: rgba(20, 20, 30, 0.4); /* More transparent for Apple glass effect */
    
    --accent-blue: #007aff; /* Apple blue */
    --accent-cyan: #32d74b; /* Apple green */
    --accent-purple: #bf5af2; /* Apple purple */
    --accent-purple-light: #da8fff;
    
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --text-dark: #6e6e73;
    
    /* Apple-style Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    --blur-amt: blur(24px); /* Stronger blur for that true frosted glass */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    --grad-text: linear-gradient(to right, var(--accent-cyan), var(--accent-blue));
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.3s ease;
    --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6, .logo, .hero-title, .section-title {
    font-family: var(--font-heading);
}

/* Apple-Style Mesh Gradient Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.mesh-bg::before, .mesh-bg::after, .mesh-blob {
    content: '';
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    animation: moveMesh 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.mesh-bg::before {
    width: 60vw;
    height: 60vh;
    background: var(--accent-purple);
    top: -10vh;
    left: -10vw;
}

.mesh-bg::after {
    width: 70vw;
    height: 70vh;
    background: var(--accent-blue);
    bottom: -20vh;
    right: -10vw;
    animation-delay: -7s;
}

.mesh-blob {
    width: 50vw;
    height: 50vh;
    background: var(--accent-cyan);
    top: 25vh;
    left: 25vw;
    animation-delay: -14s;
}

@keyframes moveMesh {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(15vw, 15vh) scale(1.1) rotate(45deg); }
    66% { transform: translate(-10vw, 5vh) scale(0.9) rotate(-30deg); }
    100% { transform: translate(5vw, -15vh) scale(1.2) rotate(15deg); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(10, 15, 28, 0) 0%, rgba(7, 11, 20, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-amt);
    -webkit-backdrop-filter: var(--blur-amt);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--trans-fast);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--grad-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--trans-fast);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--trans-fast);
    border: 1px solid var(--accent-blue);
    cursor: pointer;
}

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

/* Typography Headings */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

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

section {
    padding: 6rem 0;
    display: none !important;
    animation: fadeInPage 0.5s ease forwards;
    min-height: calc(100vh - 200px);
}

section.active-page {
    display: block !important;
}

#hero.active-page {
    display: flex !important; /* Hero needs flex instead of block */
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 
=========================================
   NAVIGATION
========================================= 
*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--trans-fast);
}

.navbar.scrolled {
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--accent-blue);
    display: flex;
    align-items: center;
}

.nav-profile-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
    transition: var(--trans-normal);
}

.logo:hover .nav-profile-img {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span:not(.logo-icon) {
    color: var(--accent-blue);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--trans-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--trans-fast);
}

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

.btn-contact {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-purple);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--trans-fast);
}

.btn-contact:hover {
    background: rgba(123, 44, 191, 0.2);
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 
=========================================
   HERO SECTION
========================================= 
*/
.hero-section {
    min-height: 100vh;
    align-items: center;
    padding-top: 80px;
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    margin-top: 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.portrait-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.hero-profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), inset 0 0 20px rgba(184, 41, 255, 0.2);
    z-index: 2;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.tech-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.ring-1 {
    width: 350px;
    height: 350px;
    border-top-color: var(--accent-blue);
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 420px;
    height: 420px;
    border-bottom-color: var(--accent-purple);
    animation: spin 30s linear infinite reverse;
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 
=========================================
   ABOUT SECTION
========================================= 
*/
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.about-text {
    padding: 2.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: white;
}

.about-text em {
    color: var(--accent-cyan);
    font-style: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-purple-light);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* 
=========================================
   EDUCATION & TIMELINE
========================================= 
*/
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.timeline-content {
    padding: 2rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(123, 44, 191, 0.2);
    color: var(--accent-purple-light);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.timeline-tags li {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
}

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

.skill-card {
    padding: 2rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-purple-light);
}

/* 
=========================================
   RESEARCH SECTION
========================================= 
*/
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.research-content {
    position: relative;
    z-index: 2;
}

.research-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.research-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.research-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    transition: var(--trans-slow);
}

.research-card:hover .research-bg {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(0, 240, 255, 0.05);
}

/* 
=========================================
   PROJECTS SECTION
========================================= 
*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image {
    position: relative;
    height: 200px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #0a0f1c, #101729);
    transition: var(--trans-slow);
}

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

.project-card:hover .img-placeholder,
.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transition: var(--trans-fast);
}

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

.project-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--trans-fast);
}

.project-link:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.project-content {
    padding: 2rem;
    flex: 1;
}

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

.project-tech span {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-family: monospace;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 
=========================================
   EXPERIENCE & CERTIFICATIONS
========================================= 
*/
.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.column-title i {
    color: var(--accent-purple-light);
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cert-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.cert-info h4 {
    margin-bottom: 0.2rem;
}

.cert-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cert-verify {
    margin-left: auto;
    color: var(--accent-cyan);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--trans-fast);
}

.cert-verify:hover {
    background: rgba(0, 240, 255, 0.1);
}

/* 
=========================================
   CONTACT SECTION
========================================= 
*/
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
}

.contact-info {
    padding: 3rem 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--trans-fast);
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

a.contact-method:hover {
    color: var(--accent-cyan);
}

a.contact-method:hover i {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.contact-form {
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    transition: var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.4);
}

.btn-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* 
=========================================
   FOOTER
========================================= 
*/
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: rgba(7, 11, 20, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

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

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--trans-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-email:hover {
    color: var(--accent-cyan);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--trans-fast);
}

.social-icons a:hover {
    background: var(--accent-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* 
=========================================
   ANIMATIONS (SCROLL REVEAL)
========================================= 
*/
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* 
=========================================
   RESPONSIVE DESIGN
========================================= 
*/
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .experience-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .portrait-placeholder { width: 250px; height: 250px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 28, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
    .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
}
