/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Color Palette */
    --bg-primary: #030712;
    --bg-secondary: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.8);
    
    --primary: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #3b82f6; /* Blue */
    --accent: #14b8a6; /* Teal */
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(90deg, #818cf8 0%, #60a5fa 50%, #2dd4bf 100%);
    --gradient-card: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(11, 15, 25, 0.9) 100%);
    
    /* Layout Variables */
    --header-height: 80px;
    --header-shrink-height: 70px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-text);
    width: 0;
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   UTILITY CLASSES & GRID SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-secondary);
}

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

.glass-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px var(--primary-glow);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color);
}

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

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.sticky {
    height: var(--header-shrink-height);
    background-color: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--primary);
}

.navbar {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    overflow: hidden;
}

/* Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--primary);
    top: 15%;
    right: 10%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    left: 10%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 40%;
    left: 45%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #818cf8;
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.typing-text {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 4px;
    animation: blink 0.75s step-end infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Hero Visual Graphic */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-blob-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
}

.visual-blob {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-morph 8s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
    position: relative;
}

.avatar-placeholder {
    width: 95%;
    height: 95%;
    background-color: var(--bg-primary);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-placeholder i {
    font-size: 6rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-badge {
    position: absolute;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.visual-badge i {
    font-size: 1.5rem;
    color: var(--accent);
}

.visual-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.visual-badge p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.badge-left {
    bottom: 20px;
    left: -40px;
    animation: float-left 6s ease-in-out infinite;
}

.badge-right {
    top: 40px;
    right: -40px;
    animation: float-right 6s ease-in-out infinite 1s;
}

@keyframes blob-morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes float-left {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-right {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Mouse Scroll Down Icon */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: scroll-wheel 1.6s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-top: 4px;
}

.detail-item h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stats-card {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 4px;
}

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

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.skills-card {
    padding: 40px 30px;
    height: 100%;
}

.skills-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skills-card-title i {
    color: var(--primary);
}

.skills-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.skill-name {
    color: var(--text-primary);
}

.skill-percentage {
    color: var(--primary);
}

.skill-bar-bg {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0; /* Animated via script */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.soft-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.soft-skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.soft-skill-tag i {
    color: var(--accent);
}

.soft-skill-tag:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.project-img-wrapper {
    position: relative;
    height: 180px;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.project-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(3, 7, 18, 0.4) 100%);
}

.project-placeholder-icon {
    font-size: 3.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--primary);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-tech-stack span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    align-items: center;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.project-link-btn:hover {
    color: var(--secondary);
}

.project-link-btn i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.project-link-btn:hover i {
    transform: translateX(4px);
}

.project-card:hover .project-placeholder-icon {
    transform: scale(1.15);
}

/* ==========================================================================
   COMMUNITY INVOLVEMENT (TIMELINE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

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

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

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

.timeline-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 15px;
    z-index: 2;
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-dot i {
    font-size: 0.95rem;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -22px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -22px;
}

.timeline-content {
    padding: 30px;
    position: relative;
}

.timeline-header {
    margin-bottom: 20px;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 12px;
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-location i {
    margin-right: 4px;
}

.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 16px;
    list-style-type: disc;
}

/* ==========================================================================
   EDUCATION & CERTIFICATIONS
   ========================================================================== */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

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

.education-card {
    padding: 30px;
    margin-bottom: 24px;
}

.edu-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.edu-date {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 0.75rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
}

.edu-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.edu-degree {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 6px;
}

.edu-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.edu-details strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 10px;
}

.course-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-left: 0;
}

.course-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 0.7rem;
}

.gpa-tag {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.gpa-tag strong {
    display: inline-block;
}

/* Certifications Panel */
.certs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cert-item {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cert-info h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.badge-progress {
    color: var(--secondary);
    font-weight: 600;
}

.cert-desc {
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
    margin-bottom: 0 !important;
    line-height: 1.4;
}

/* Campus Orgs */
.section-break-title {
    margin-top: 40px;
}

.campus-orgs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.org-card {
    padding: 24px;
}

.org-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.org-sub {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.org-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info-panel > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-detail-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail-card p {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.resume-download-box {
    text-align: left;
}

.resume-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Contact Form */
.contact-form-panel {
    padding: 40px;
}

.form-row {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-wrapper textarea ~ .input-icon {
    top: 24px;
    transform: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px 12px 48px;
    transition: var(--transition);
}

.form-group textarea {
    padding-top: 14px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.form-group input:focus ~ .input-icon,
.form-group textarea:focus ~ .input-icon {
    color: var(--primary);
}

.error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group.invalid .error-msg {
    display: block;
}

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

.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    display: none;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #34d399;
    display: block;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-bottom {
    background-color: #020617;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p,
.footer-right p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
}

.social-icons a:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.heart-icon {
    color: #ef4444;
}

/* ==========================================================================
   REVEAL SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

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

/* Delay for staggered items */
.reveal.active:nth-child(2),
.reveal-left.active:nth-child(2),
.reveal-right.active:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal.active:nth-child(3),
.reveal-left.active:nth-child(3),
.reveal-right.active:nth-child(3) {
    transition-delay: 0.3s;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Graphic shows on top on mobile */
    }
    
    .visual-blob-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .badge-left {
        left: -20px;
    }
    
    .badge-right {
        right: -20px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #070b14;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 100;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Timeline Mobile */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: -2px !important;
        right: auto !important;
        top: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .campus-orgs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .about-details-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .course-list {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}
