/* ==========================================================================
   LIQUID GLASS SYSTEM (iOS 27 STYLED) - CUSTOM STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
    /* Color Schemes */
    --transition-speed: 0.6s;
    --transition-curve: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font Families */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Cursor */
    --cursor-size: 20px;
}

/* Dark Theme Variables (Default) */
.dark-theme {
    --bg-base: #070b13;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Glass Panel Styling */
    --glass-bg: rgba(13, 20, 35, 0.45);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    --glass-glow: rgba(99, 102, 241, 0.15);
    
    /* Accent Gradients */
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #d946ef; /* Magenta */
    --accent-3: #14b8a6; /* Teal */
    --gradient-hero: linear-gradient(135deg, #818cf8 0%, #d946ef 50%, #2dd4bf 100%);
    --gradient-btn: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    
    /* Form Inputs */
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.08);
    
    /* Background Blob Colors */
    --blob-color-1: rgba(99, 102, 241, 0.4);
    --blob-color-2: rgba(217, 70, 239, 0.35);
    --blob-color-3: rgba(20, 184, 166, 0.3);
}

/* Light Theme Variables */
.light-theme {
    --bg-base: #f0f4f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Glass Panel Styling */
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    --glass-glow: rgba(124, 58, 237, 0.08);
    
    /* Accent Gradients */
    --accent-1: #7c3aed; /* Violet */
    --accent-2: #f97316; /* Orange */
    --accent-3: #10b981; /* Mint */
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
    --gradient-btn: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    
    /* Form Inputs */
    --input-bg: rgba(0, 0, 0, 0.02);
    --input-border: rgba(0, 0, 0, 0.08);
    
    /* Background Blob Colors */
    --blob-color-1: rgba(167, 139, 250, 0.3);
    --blob-color-2: rgba(244, 143, 177, 0.25);
    --blob-color-3: rgba(110, 231, 183, 0.25);
}

/* --- Base & Layout Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: background-color var(--transition-speed) var(--transition-curve), 
                color var(--transition-speed) var(--transition-curve);
    line-height: 1.6;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--glass-border-hover);
    border-radius: 10px;
    border: 2px solid var(--bg-base);
}

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

/* --- Interactive Liquid Blobs --- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    mix-blend-mode: normal;
    opacity: 0.85;
    transition: background-color var(--transition-speed) var(--transition-curve);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background-color: var(--blob-color-1);
    animation: morph 25s ease-in-out infinite alternate, float-blob-1 30s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background-color: var(--blob-color-2);
    animation: morph 20s ease-in-out infinite alternate, float-blob-2 25s ease-in-out infinite alternate;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background-color: var(--blob-color-3);
    animation: morph 18s ease-in-out infinite alternate, float-blob-3 20s ease-in-out infinite alternate;
}

@keyframes morph {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    50% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; }
    100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 8vh) scale(1.1); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-8vw, -12vh) scale(0.9); }
}

@keyframes float-blob-3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(5vw, -5vh) scale(1.15); }
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    opacity: 0;
}

.custom-cursor.active {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    backdrop-filter: blur(4px);
}

/* --- Liquid Glass Utility --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: background var(--transition-speed) var(--transition-curve),
                border var(--transition-speed) var(--transition-curve),
                box-shadow var(--transition-speed) var(--transition-curve),
                transform 0.4s var(--transition-curve);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow), 0 0 25px var(--glass-glow);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* --- Headers & Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--bg-base), 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s, padding 0.3s;
    padding: 20px 0;
}

.glass-nav.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
}

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

.logo {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.logo-accent {
    color: var(--accent-1);
    transition: color var(--transition-speed);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-btn);
    transition: width 0.3s;
    border-radius: 4px;
}

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

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

/* iOS Style Switch Toggle */
.theme-toggle {
    width: 60px;
    height: 32px;
    border-radius: 100px;
    background: var(--input-border);
    border: 1px solid var(--glass-border);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-toggle i {
    font-size: 0.75rem;
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.icon-sun { opacity: 0; transform: rotate(-90deg); color: #eab308; }
.icon-moon { opacity: 1; transform: rotate(0deg); color: #6366f1; }

.light-theme .toggle-slider {
    transform: translateX(26px);
}

.light-theme .icon-sun { opacity: 1; transform: rotate(0); }
.light-theme .icon-moon { opacity: 0; transform: rotate(90deg); }

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* --- Section Formatting --- */
section {
    padding: 120px 0 80px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.05rem;
}

/* --- Hero Section Styles --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
}

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

.badge-container {
    margin-bottom: 20px;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--accent-1);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, color 0.3s;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

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

.cursor-blink {
    animation: blink 0.8s infinite;
    color: var(--accent-1);
}

@keyframes blink {
    50% { opacity: 0; }
}

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

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Dynamic Glowing Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-curve);
    font-family: var(--font-body);
}

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

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

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-border-hover);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-primary-sm, .btn-secondary-sm {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.btn-primary-sm {
    background: var(--gradient-btn);
    color: white;
    border: none;
}
.btn-primary-sm:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary-sm {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.btn-secondary-sm:hover {
    background: var(--glass-border-hover);
}

/* --- Hero Visuals (Profile Card & Sticker) --- */
.profile-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    perspective: 1000px;
}

.profile-card {
    padding: 30px;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.profile-image-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    position: relative;
    padding: 6px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-base);
    transition: border 0.3s;
}

.profile-glow {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.4;
    filter: blur(10px);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    100% { transform: rotate(360deg); }
}

.profile-name {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.profile-role {
    color: var(--accent-1);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.profile-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* The physical vinyl style sticker floating around the profile card */
.sticker-container {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 160px;
    z-index: 10;
    cursor: grab;
    transform: rotate(-10deg);
    transition: filter 0.3s, transform 0.1s ease-out;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
    animation: float-sticker 6s ease-in-out infinite;
}

.sticker-container:active {
    cursor: grabbing;
}

.sticker-image {
    width: 100%;
    height: auto;
    pointer-events: none;
    display: block;
}

/* Glassy paper lift peel effect on hover */
.sticker-peel-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    transition: opacity 0.3s;
}

.sticker-container:hover .sticker-peel-effect {
    opacity: 0.6;
}

.sticker-container:hover {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.45));
}

@keyframes float-sticker {
    0% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-10px) rotate(-7deg); }
    100% { transform: translateY(0) rotate(-10deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-1);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel-anim 1.5s infinite;
}

@keyframes scroll-wheel-anim {
    0% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-info-panel, .about-education-panel {
    padding: 40px;
}

.panel-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.panel-subtitle i {
    color: var(--accent-1);
}

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

/* Achievements List */
.achievements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievements-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-1);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.achievement-content strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.achievement-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Timeline */
.education-timeline {
    border-left: 2px solid var(--glass-border);
    padding-left: 24px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 3px solid var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}

.timeline-degree {
    font-size: 1.1rem;
}

.timeline-school {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

/* Certs grid */
.certs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--accent-1);
}

.cert-item strong {
    font-size: 0.9rem;
    display: block;
    color: var(--text-primary);
}

.cert-issuer {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Skills Section Styles --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-category-card {
    padding: 30px;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-1);
    font-size: 1.25rem;
}

.skill-category-card h3 {
    font-size: 1.25rem;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.skills-list li span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--input-border);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-btn);
    border-radius: 10px;
    transition: width 1.5s var(--transition-curve);
}

/* --- Projects Section Styles --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.project-header {
    margin-bottom: 16px;
}

.project-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.award-badge {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.project-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    transform: translateZ(20px);
}

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

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

.project-tech-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-1);
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.project-footer {
    display: flex;
    justify-content: flex-start;
}

/* --- Contact Section Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-info h3, .contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.contact-info-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.contact-detail-item:hover {
    background: rgba(255,255,255,0.02);
    border-color: var(--glass-border);
    transform: translateX(5px);
}

.detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-1);
    font-size: 1.2rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(255,255,255,0.01);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

/* Floating Input Label (iOS Style) */
.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s var(--transition-curve);
    font-size: 0.95rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-1);
    background: var(--bg-base);
    padding: 2px 8px;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

/* --- Footers --- */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(var(--bg-base), 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px 0;
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.15rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: var(--accent-1);
    transform: translateY(-2px);
}

/* --- Scroll Reveal Animations --- */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visuals {
        order: 0;
        margin-bottom: 20px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 90px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s var(--transition-curve);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .sticker-container {
        width: 130px;
        bottom: -15px;
        right: -15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-info-panel, .about-education-panel, .contact-info, .contact-form-panel {
        padding: 24px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .timeline-dot {
        left: -33px;
    }
}
