/* ===================================
   Design System
   =================================== */
:root {
    --navy: #1a2332;
    --charcoal: #2d3748;
    --teal: #06b6d4;
    --teal-dim: rgba(6, 182, 212, 0.12);
    --amber: #f59e0b;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --font-display: 'Anybody', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --font-serif: 'EB Garamond', Georgia, serif;
    --section-gap: 100px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--charcoal); line-height: 1.6; background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26, 35, 50, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--teal); text-decoration: none; letter-spacing: -1px; }
.nav-menu { display: flex; list-style: none; gap: 36px; align-items: center; }
.nav-link { color: var(--white); text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 0.3px; transition: color var(--transition); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--teal); transition: width var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--teal); }
.nav-cta { background: var(--teal); color: var(--navy) !important; padding: 10px 22px; border-radius: 6px; font-weight: 600; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--amber); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal); border-radius: 2px; transition: var(--transition); }

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px;
    text-decoration: none; transition: all var(--transition); cursor: pointer; border: none; font-family: var(--font-body);
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.25); }
.btn-ghost { background: transparent; color: var(--teal); border: 2px solid rgba(6, 182, 212, 0.4); }
.btn-ghost:hover { border-color: var(--teal); background: rgba(6, 182, 212, 0.08); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }

/* ===================================
   Section Titles
   =================================== */
.section-title {
    font-family: var(--font-display); font-size: 52px; font-weight: 900;
    color: var(--navy); letter-spacing: -1px; margin-bottom: 16px; text-align: center;
    position: relative; display: inline-block; width: 100%;
}
.section-title::after {
    content: ''; display: block; width: 0; height: 3px;
    background: var(--teal); margin: 14px auto 0; border-radius: 2px;
    transition: width 0.6s var(--ease) 0.25s;
}
.section-title.revealed::after { width: 50px; }
.section-subtitle { font-size: 18px; color: var(--gray-500); text-align: center; margin-bottom: 50px; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-label { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; }

/* ===================================
   HERO
   =================================== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; background: var(--navy); overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-glow-1 { width: 550px; height: 550px; background: var(--teal); opacity: 0.07; top: -10%; right: 5%; animation: drift1 14s ease-in-out infinite; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--amber); opacity: 0.04; bottom: -15%; left: -5%; animation: drift2 18s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 25px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(25px, -30px); } }

.hero-layout { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }

.hero-text { max-width: 600px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; animation: fadeUp 0.7s var(--ease) both; }
.eyebrow-line { width: 36px; height: 2px; background: var(--teal); }
.eyebrow-text { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 3px; }

.hero-title { margin-bottom: 20px; }
.hero-name-line {
    display: block; font-family: var(--font-display); font-size: 88px; font-weight: 900;
    color: var(--white); letter-spacing: -3px; line-height: 0.92;
    animation: nameIn 0.8s var(--ease) both;
}
.hero-name-outline {
    color: transparent; -webkit-text-stroke: 2px var(--teal);
    animation-delay: 0.1s;
}
@keyframes nameIn { from { opacity: 0; transform: translateY(30px) skewY(1.5deg); } to { opacity: 1; transform: none; } }

.hero-tagline { font-size: 20px; color: rgba(255,255,255,0.65); margin-bottom: 24px; line-height: 1.5; animation: fadeUp 0.7s var(--ease) 0.25s both; }
.hero-cycle { color: var(--teal); font-weight: 600; display: inline-block; transition: opacity 0.35s, transform 0.35s; }

.hero-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 36px;
    animation: fadeUp 0.7s var(--ease) 0.4s both;
}
.hero-meta span { font-family: var(--font-serif); font-size: 15px; color: rgba(255,255,255,0.45); font-style: italic; }
.meta-dot { color: var(--teal) !important; font-style: normal !important; font-size: 16px !important; }

.hero-cta { display: flex; gap: 14px; animation: fadeUp 0.7s var(--ease) 0.55s both; }

/* Hero headshot */
.hero-image { position: relative; animation: fadeUp 0.9s var(--ease) 0.3s both; }
.hero-image-frame {
    width: 320px; height: 400px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    position: relative; z-index: 2;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-image-accent {
    position: absolute; top: 16px; left: 16px; right: -16px; bottom: -16px;
    border: 2px solid rgba(6, 182, 212, 0.3); border-radius: 16px; z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.35); font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
}
.scroll-line { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--teal), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; height: 30px; } 50% { opacity: 0.4; height: 20px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ===================================
   ABOUT
   =================================== */
.about { padding: 70px 0 40px; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 280px; gap: 50px; align-items: start; margin-bottom: 24px; }
.about-lead { font-family: var(--font-serif); font-size: 22px; line-height: 1.7; color: var(--charcoal); margin-bottom: 20px; }
.about-body { font-size: 16px; line-height: 1.8; color: var(--gray-500); }
.about-stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
    background: var(--navy); border-radius: 12px; padding: 24px 28px;
    display: flex; justify-content: space-between; align-items: center;
}
.stat-value { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--teal); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

.about-targets {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
    padding: 28px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
}
.target-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--gray-700); }
.target-icon { color: var(--teal); font-size: 8px; }

/* ===================================
   EXPERIENCE
   =================================== */
.experience { padding: var(--section-gap) 0; background: var(--off-white); }
.experience-grid { display: flex; flex-direction: column; gap: 28px; margin-top: 50px; }
.exp-card {
    display: grid; grid-template-columns: 240px 1fr; gap: 0;
    background: var(--white); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 10px 35px rgba(6, 182, 212, 0.1); border-color: var(--teal); }
.exp-photo { overflow: hidden; position: relative; }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform var(--transition); }
.exp-card:hover .exp-photo img { transform: scale(1.04); }
.exp-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.exp-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.exp-org { font-size: 14px; color: var(--teal); font-weight: 600; }
.exp-date { font-size: 12px; color: var(--gray-500); font-weight: 500; white-space: nowrap; background: var(--gray-100); padding: 5px 12px; border-radius: 5px; margin-top: 2px; }
.exp-details { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.exp-details li { font-size: 14px; color: var(--gray-500); line-height: 1.65; padding-left: 20px; position: relative; }
.exp-details li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===================================
   PROJECTS
   =================================== */
.projects { padding: var(--section-gap) 0; background: var(--off-white); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 36px; margin-top: 50px; }

.project-card {
    background: var(--white); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(6, 182, 212, 0.12); border-color: var(--teal); }
.card-featured { grid-column: span 2; }
.card-featured .project-carousel { height: 420px; }
.project-carousel { height: 280px; background: var(--navy); position: relative; overflow: hidden; }

.project-overlay { position: absolute; top: 16px; left: 16px; z-index: 10; }
.project-tag { background: var(--teal); color: var(--navy); padding: 6px 14px; border-radius: 5px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Carousel */
.carousel-container { position: relative; width: 100%; height: 100%; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-image {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    max-width: 90%; max-height: 90%; object-fit: contain;
    opacity: 0; transition: opacity 0.45s ease; pointer-events: none;
}
.carousel-image.active { opacity: 1; pointer-events: auto; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(6, 182, 212, 0.85); color: var(--white); border: none;
    width: 38px; height: 38px; border-radius: 50%; font-size: 22px; cursor: pointer;
    transition: all var(--transition); z-index: 10; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--amber); transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all var(--transition); }
.dot.active, .dot:hover { background: var(--teal); transform: scale(1.3); }

.project-content { padding: 28px; }
.project-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.project-description { color: var(--gray-500); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { background: var(--gray-100); color: var(--gray-700); padding: 5px 11px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.project-metrics { display: flex; gap: 28px; padding: 16px 0; border-top: 1px solid var(--gray-100); margin-bottom: 16px; }
.metric { display: flex; flex-direction: column; }
.metric-value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--teal); line-height: 1; }
.metric-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.project-link { color: var(--teal); font-weight: 600; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 15px; padding: 0; transition: color var(--transition); }
.project-link:hover { color: var(--amber); }

/* ===================================
   SKILLS
   =================================== */
.skills { padding: var(--section-gap) 0; background: var(--white); }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.skill-category {
    padding: 30px; border-radius: 14px; background: var(--white);
    border: 1px solid var(--gray-100); border-top: 4px solid var(--teal);
    transition: transform var(--transition), box-shadow var(--transition);
}
.skill-category[data-accent="amber"] { border-top-color: var(--amber); }
.skill-category:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.category-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.chip-primary { background: var(--teal-dim); color: var(--teal); }
.skill-category[data-accent="amber"] .chip-primary { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.skill-highlights { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.skill-highlights li { font-size: 13px; color: var(--gray-500); line-height: 1.5; padding-left: 16px; position: relative; }
.skill-highlights li::before { content: '—'; position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.skill-category[data-accent="amber"] .skill-highlights li::before { color: var(--amber); }

/* ===================================
   LEADERSHIP
   =================================== */
.leadership { padding: var(--section-gap) 0; background: var(--off-white); }
.leadership-pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 50px;
    background: linear-gradient(135deg, var(--navy), var(--charcoal)); border-radius: 14px; overflow: hidden;
    position: relative;
}
.leadership-pillars::before {
    content: ''; position: absolute; top: -40%; right: -5%;
    width: 350px; height: 350px; background: var(--teal); opacity: 0.06;
    border-radius: 50%; filter: blur(80px);
}
.pillar-item { text-align: center; padding: 40px 24px; position: relative; z-index: 1; }
.pillar-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,0.1); }
.pillar-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--teal); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.pillar-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }

.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leadership-card {
    background: var(--white); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.leadership-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(6, 182, 212, 0.1); border-color: var(--teal); }
.leadership-photo { width: 100%; height: 200px; position: relative; overflow: hidden; background: var(--navy); }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.leadership-card:hover .leadership-photo img { transform: scale(1.04); }
.study-abroad-placeholder { background: linear-gradient(135deg, #e63946, #f77f00, var(--teal)); display: flex; align-items: center; justify-content: center; }
.placeholder-text { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--white); text-shadow: 1px 1px 8px rgba(0,0,0,0.25); z-index: 1; }
.leadership-body { padding: 24px; }
.leadership-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.leadership-title { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.2; flex: 1; }
.leadership-date { font-size: 11px; color: var(--gray-500); font-weight: 500; white-space: nowrap; background: var(--gray-100); padding: 4px 10px; border-radius: 4px; }
.leadership-org { color: var(--teal); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.leadership-desc { color: var(--gray-500); line-height: 1.65; margin-bottom: 14px; font-size: 14px; }
.leadership-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.skill-badge { background: var(--gray-100); color: var(--gray-700); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.leadership-impact { display: flex; gap: 24px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.impact-stat { display: flex; flex-direction: column; }
.impact-number { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--teal); line-height: 1; }
.impact-label { font-size: 11px; color: var(--gray-500); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }

/* Growth Banner */
.growth-banner {
    margin-top: 60px; border-radius: 14px; overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12); display: grid; grid-template-columns: 1.4fr 1fr; min-height: 260px;
}
.growth-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.growth-photo { background-size: cover; background-position: center; min-height: 260px; transition: filter var(--transition); }
.growth-photo:hover { filter: brightness(1.1); }
.growth-content { background: linear-gradient(135deg, var(--navy), var(--charcoal)); padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.growth-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.growth-text { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.growth-quote { font-family: var(--font-serif); font-size: 15px; font-style: italic; color: rgba(255,255,255,0.8); padding: 14px 18px; border-left: 3px solid var(--teal); background: rgba(255,255,255,0.04); border-radius: 6px; line-height: 1.6; }
.growth-quote strong { color: var(--teal); font-weight: 700; font-style: normal; }

/* ===================================
   CONTACT
   =================================== */
.contact { padding: var(--section-gap) 0; background: var(--navy); }
.contact .section-title { color: var(--white); }
.contact .section-title::after { background: var(--amber); }
.contact .section-subtitle { color: rgba(255,255,255,0.5); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: rgba(255,255,255,0.04); border-radius: 10px; border-left: 3px solid var(--teal); transition: all var(--transition); }
.contact-item:hover { background: rgba(255,255,255,0.08); transform: translateX(4px); }
.contact-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }
.contact-item a { color: var(--teal); text-decoration: none; font-weight: 500; font-size: 15px; transition: color var(--transition); }
.contact-item a:hover { color: var(--amber); }
.contact-resume { text-align: center; margin-top: 8px; border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.contact-resume:hover { border-color: var(--teal); color: var(--teal); }

.contact-form { display: flex; flex-direction: column; gap: 20px; background: rgba(255,255,255,0.04); padding: 36px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group textarea {
    padding: 12px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; font-family: var(--font-body); font-size: 15px; color: var(--white); transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===================================
   FOOTER
   =================================== */
.footer { padding: 32px 0; background: var(--charcoal); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-text { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-top { color: var(--teal); text-decoration: none; font-weight: 600; font-size: 13px; transition: color var(--transition); }
.footer-top:hover { color: var(--amber); }

/* ===================================
   MODALS
   =================================== */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 10000; overflow-y: auto; }
.modal.active { display: flex; align-items: center; justify-content: center; padding: 40px 20px; animation: fadeIn 0.25s ease; }
.modal-content { background: var(--white); border-radius: 16px; max-width: 1100px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: slideUp 0.35s var(--ease); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--charcoal); color: var(--white); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; cursor: pointer; transition: all var(--transition); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--teal); transform: rotate(90deg); }
.modal-header { padding: 36px 36px 16px; border-bottom: 1px solid var(--gray-100); }
.modal-header h2 { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--navy); margin-bottom: 8px; padding-right: 44px; }
.modal-tag { background: var(--teal); color: var(--navy); padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.modal-body { padding: 36px; }
.modal-gallery { position: relative; width: 100%; height: 460px; background: var(--gray-100); border-radius: 10px; overflow: hidden; margin-bottom: 36px; }
.modal-carousel { position: relative; width: 100%; height: 100%; }
.modal-carousel-image { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 95%; max-height: 95%; object-fit: contain; opacity: 0; transition: opacity 0.45s ease; }
.modal-carousel-image.active { opacity: 1; }
.modal-carousel-prev, .modal-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(6, 182, 212, 0.85); color: var(--white); border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; transition: all var(--transition); z-index: 10; display: flex; align-items: center; justify-content: center; }
.modal-carousel-prev:hover, .modal-carousel-next:hover { background: var(--amber); transform: translateY(-50%) scale(1.08); }
.modal-carousel-prev { left: 16px; }
.modal-carousel-next { right: 16px; }
.modal-details h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 28px; margin-bottom: 12px; }
.modal-details h3:first-child { margin-top: 0; }
.modal-details p { color: var(--gray-700); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.modal-details ul { list-style: none; padding: 0; margin: 0 0 16px; }
.modal-details li { color: var(--gray-700); font-size: 15px; line-height: 1.75; padding-left: 24px; position: relative; margin-bottom: 8px; }
.modal-details li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: bold; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ===================================
   SCROLL REVEAL
   =================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }

.project-card, .skill-category, .leadership-card, .exp-card, .highlight-card, .contact-item, .pillar-item {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card.revealed, .skill-category.revealed, .leadership-card.revealed, .exp-card.revealed,
.highlight-card.revealed, .contact-item.revealed, .pillar-item.revealed { opacity: 1; transform: none; }

.growth-banner { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.growth-banner.revealed { opacity: 1; transform: none; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    :root { --section-gap: 76px; }
    .container { padding: 0 30px; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-eyebrow { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-image { display: none; }
    .hero-name-line { font-size: 72px; }
    .section-title { font-size: 42px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: row; gap: 12px; }
    .stat-card { flex: 1; flex-direction: column; text-align: center; gap: 6px; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
    .leadership-pillars { grid-template-columns: 1fr; }
    .pillar-item:not(:last-child)::after { display: none; }
    .growth-banner { grid-template-columns: 1fr 1fr; }
    .exp-card { grid-template-columns: 200px 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-gap: 60px; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: var(--navy); flex-direction: column; justify-content: center; gap: 28px; transition: right var(--transition); box-shadow: -5px 0 20px rgba(0,0,0,0.3); }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }
    .hero { padding: 100px 0 70px; }
    .hero-name-line { font-size: 52px; letter-spacing: -2px; }
    .hero-name-outline { -webkit-text-stroke-width: 1.5px; }
    .hero-tagline { font-size: 17px; }
    .hero-meta { flex-direction: column; gap: 4px; }
    .meta-dot { display: none; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; text-align: center; }
    .section-title { font-size: 34px; }
    .projects-grid { grid-template-columns: 1fr; }
    .card-featured { grid-column: span 1; }
    .card-featured .project-carousel { height: 240px; }
    .project-carousel { height: 220px; }
    .exp-card { grid-template-columns: 1fr; }
    .exp-photo { min-height: 180px; }
    .skills-grid { grid-template-columns: 1fr; }
    .leadership-pillars { padding: 0; }
    .pillar-item { padding: 28px 20px; }
    .leadership-grid { grid-template-columns: 1fr; }
    .growth-banner { grid-template-columns: 1fr; }
    .growth-photo { min-height: 160px; }
    .growth-content { padding: 28px 24px; }
    .about-stats { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .modal.active { padding: 16px 8px; }
    .modal-header { padding: 28px 20px 12px; }
    .modal-header h2 { font-size: 26px; }
    .modal-body { padding: 20px; }
    .modal-gallery { height: 280px; }
}

@media (max-width: 480px) {
    :root { --section-gap: 48px; }
    .container { padding: 0 20px; }
    .nav-container { padding: 14px 20px; }
    .hero-name-line { font-size: 40px; }
    .section-title { font-size: 28px; }
}
