/* ============================================
   CSS CUSTOM PROPERTIES — LIGHT MODE (default)
   ============================================ */
:root {
    --bg-gradient: linear-gradient(135deg, #EEF4FF 0%, #F8FAFC 50%, #FFFFFF 100%);
    --text-color: #1E293B;
    --text-muted: #475569;
    --text-light: #64748B;
    --card-bg: #ffffff;
    --card-border: #E0E7FF;
    --nav-bg: rgba(255,255,255,.9);
    --nav-border: #D6E4FF;
    --nav-shadow: 0 10px 30px rgba(0,0,0,.05);
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-light: rgba(37,99,235,.08);
    --project-bg: #ffffff;
    --project-color: #2c3e50;
    --project-text: #555;
}



*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background: var(--bg-gradient);
color: var(--text-color);
line-height:1.7;
overflow-x:hidden;
position:relative;
transition: background .6s ease, color .4s ease;
}

/*================ DECORATION =================*/

.blur{
position:fixed;
border-radius:50%;
filter:blur(170px);
z-index:-1;
}

.blur1{
width:350px;
height:350px;
background:#BFDBFE;
top:-100px;
left:-100px;
opacity:.7;
animation:floatBlur 9s ease-in-out infinite;
}

.blur2{
width:300px;
height:300px;
background:#93C5FD;
right:-80px;
bottom:100px;
opacity:.5;
animation:floatBlur 11s ease-in-out infinite reverse;
}

/*================ JAPANESE WAVE =================*/

.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 300px 80px;
    opacity: 0.1;
    transition: opacity 1s ease;
}

.wave-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='80'%3E%3Cdefs%3E%3Cpath id='w1' d='M0 58 Q 37 8, 75 35 T 150 42 T 225 30 T 300 50' fill='none' stroke='%23007acc' stroke-width='2.5' opacity='0.7'/%3E%3Cpath id='w1b' d='M0 68 Q 37 20, 75 45 T 150 52 T 225 40 T 300 60' fill='none' stroke='%2300a8ff' stroke-width='2' opacity='0.5'/%3E%3C/defs%3E%3Cuse href='%23w1'/%3E%3Cuse href='%23w1b'/%3E%3C/svg%3E");
    animation: waveSweep1 2.5s ease-in-out infinite;
}

.wave-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='80'%3E%3Cdefs%3E%3Cpath id='w2' d='M0 55 Q 50 15, 100 40 T 200 35 T 300 50' fill='none' stroke='%233b82f6' stroke-width='2' opacity='0.6'/%3E%3Cpath id='w2b' d='M0 70 Q 50 30, 100 55 T 200 50 T 300 65' fill='none' stroke='%2360a5fa' stroke-width='1.5' opacity='0.4'/%3E%3C/defs%3E%3Cuse href='%23w2'/%3E%3Cuse href='%23w2b'/%3E%3C/svg%3E");
    animation: waveSweep2 3.2s ease-in-out infinite;
}

.wave-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='80'%3E%3Cdefs%3E%3Cpath id='w3' d='M0 50 C 40 25, 80 60, 120 40 S 200 55, 240 35 S 300 45, 300 45' fill='none' stroke='%2393c5fd' stroke-width='1.5' opacity='0.4'/%3E%3C/defs%3E%3Cuse href='%23w3'/%3E%3C/svg%3E");
    animation: waveSweep3 1.8s ease-in-out infinite;
}

.seigaiha {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: radial-gradient(circle at 50% 0, transparent 33%, #2563EB 33%), radial-gradient(circle at 50% 0, transparent 33%, #2563EB 33%);
    background-size: 50px 50px, 50px 50px;
    background-repeat: repeat;
    background-position: 0 0, 25px 25px;
    animation: seigaihaFloat 25s linear infinite;
}

@keyframes waveSweep1 { 0%{transform:translateX(0)} 20%{transform:translateX(-8px)} 40%{transform:translateX(-15px)} 60%{transform:translateX(-8px)} 80%{transform:translateX(3px)} 100%{transform:translateX(0)} }
@keyframes waveSweep2 { 0%{transform:translateX(0)} 25%{transform:translateX(12px)} 50%{transform:translateX(20px)} 75%{transform:translateX(6px)} 100%{transform:translateX(0)} }
@keyframes waveSweep3 { 0%{transform:translateX(0)} 15%{transform:translateX(-5px)} 30%{transform:translateX(-12px)} 50%{transform:translateX(-18px)} 70%{transform:translateX(-8px)} 85%{transform:translateX(4px)} 100%{transform:translateX(0)} }
@keyframes seigaihaFloat { 0%{background-position:0 0,25px 25px} 100%{background-position:50px 50px,75px 75px} }

/*================ NAVBAR =================*/

#scroll-progress{
position:fixed;
top:0;
left:0;
height:4px;
width:0%;
background:linear-gradient(90deg,#00d0ff,#2563EB);
z-index:1000;
transition:width .1s linear;
}

nav{
position:fixed;
top:0;
left:0;
right:0;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,.9);
backdrop-filter:blur(20px);
border-bottom:1px solid #D6E4FF;
box-shadow:0 10px 30px rgba(0,0,0,.05);
z-index:999;
animation:fadeDown .8s ease;
}

.logo{
font-size:28px;
font-weight:800;
color:#1E3A8A;
}

nav ul{
display:flex;
gap:35px;
list-style:none;
}

nav a{
text-decoration:none;
color:#475569;
font-weight:600;
transition:.4s;
}

nav a:hover{color:#2563EB;}
nav a.nav-active{color:#2563EB;}

/* ================= HAMBURGER MENU ================= */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: background .3s ease;
  z-index: 1001;
  position: relative;
}

.hamburger:hover {
  background: rgba(37,99,235,.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1E293B;
  border-radius: 4px;
  margin: 3px 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

/* Animated hamburger → X */
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Nav overlay (click outside to close) */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity .35s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive — Mobile */
@media (max-width: 820px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: white;
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
    padding: 90px 30px 30px;
    gap: 8px;
    transition: right .4s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
  }

  nav ul.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered animation for menu items */
  nav ul.active li:nth-child(1) { transition-delay: .05s; }
  nav ul.active li:nth-child(2) { transition-delay: .10s; }
  nav ul.active li:nth-child(3) { transition-delay: .15s; }
  nav ul.active li:nth-child(4) { transition-delay: .20s; }
  nav ul.active li:nth-child(5) { transition-delay: .25s; }
  nav ul.active li:nth-child(6) { transition-delay: .30s; }

  nav ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    color: #1E293B;
    background: transparent;
    transition: background .3s ease, color .3s ease, transform .3s ease;
  }

  nav ul li a:hover {
    background: rgba(37,99,235,.08);
    color: #2563EB;
    transform: translateX(6px);
  }

  nav ul li a.nav-active {
    background: rgba(37,99,235,.1);
    color: #2563EB;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  nav ul {
    width: 100%;
    right: -100%;
  }
}

/*================ HERO =================*/

.hero{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
gap:100px;
padding:120px 10% 50px;
animation:fadeUp 1s ease;
}

.hero-text{flex:1;}
.hero-text h1{font-size:72px;line-height:1.2;margin-bottom:10px;color:#1E293B;}
.hero-text h3{font-size:26px;font-weight:600;color:#2563EB;margin-bottom:25px;}
.hero-text p{font-size:18px;max-width:650px;color:#475569;margin-bottom:40px;}
.hero-image{flex:1;display:flex;justify-content:center;}
.hero-image img{width:350px;height:350px;object-fit:cover;border-radius:50%;border:8px solid white;box-shadow:0 30px 60px rgba(37,99,235,.15);transition:.5s ease;animation:floatImage 4s ease-in-out infinite;}
.hero-image img:hover{transform:translateY(-10px);animation-play-state:paused;}

/*================ BUTTON =================*/

.button{display:flex;gap:20px;}
.btn{padding:15px 30px;border-radius:50px;text-decoration:none;font-weight:600;transition:.5s ease;position:relative;overflow:hidden;}
.ripple{position:absolute;border-radius:50%;transform:scale(0);background:rgba(255,255,255,.6);animation:rippleEffect .6s ease-out;pointer-events:none;}
.secondary .ripple{background:rgba(37,99,235,.25);}
.typing-cursor{display:inline-block;width:4px;margin-left:4px;background:#2563EB;animation:blink .9s step-start infinite;}
.primary{background:#2563EB;color:white;}
.secondary{background:white;border:1px solid #2563EB;color:#2563EB;}
.btn:hover{transform:translateY(-5px);}
.primary:hover{background:#1D4ED8;box-shadow:0 20px 40px rgba(37,99,235,.2);}
.secondary:hover{background:#2563EB;color:white;}

/*================ SECTION =================*/

section{padding:100px 10%;}
.title{text-align:center;margin-bottom:60px;}
.title h1{font-size:48px;margin-bottom:10px;}
.title p{color:#64748B;}

/*================ EYEBROW =================*/

.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;margin-bottom:18px;border:1px solid #0F7B3E;border-radius:50px;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#028cab;background:rgba(15,123,62,.06);}
.eyebrow::before{content:'';width:7px;height:7px;border-radius:50%;background:#028cab;}

/*================ TIMELINE =================*/

.timeline{position:relative;max-width:750px;margin:0 auto;}
.timeline::before{content:'';position:absolute;top:8px;bottom:8px;left:9px;width:2px;background:repeating-linear-gradient(to bottom,#DCE8F5 0,#DCE8F5 6px,transparent 6px,transparent 12px);}
.timeline::after{content:'';position:absolute;top:8px;left:9px;width:2px;height:var(--progress,0%);background:linear-gradient(to bottom,#00d0ff,#028cab);box-shadow:0 0 8px rgba(0,208,255,.6);transition:height .15s linear;border-radius:2px;}
.timeline-item{position:relative;padding-left:50px;margin-bottom:45px;transition:transform .4s ease;}
.timeline-item:hover{transform:translateX(6px);}
.timeline-item:last-child{margin-bottom:0;}
.timeline-dot{position:absolute;top:2px;left:0;width:20px;height:20px;border-radius:50%;background:white;border:2px solid #86D4A8;z-index:1;transition:.4s ease;}
.timeline-item:hover .timeline-dot{transform:scale(1.2);border-color:#028cab;}
.timeline-item.active .timeline-dot{background:#028cab;border-color:#028cab;box-shadow:0 0 0 6px rgba(15,123,62,.12);animation:pulseDot 2s ease-in-out infinite;}
.timeline-item.active .timeline-dot::before{content:'';position:absolute;top:50%;left:50%;width:40px;height:40px;transform:translate(-50%,-50%);border-radius:50%;background:repeating-conic-gradient(from 0deg,#F5B72E 0deg 6deg,transparent 6deg 30deg);opacity:.5;z-index:-1;}
.timeline-label{display:block;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#028cab;margin-bottom:8px;}
.timeline-content{transition:transform .4s ease;}
.timeline-content h3{font-size:24px;color:#1E293B;margin-bottom:10px;}

/*================ ABOUT SECTION (ELEGANT REDESIGN) =================*/

.about-wrapper {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ---- Left Column ---- */
.about-left {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-avatar-group {
  background: white;
  border-radius: 24px;
  border: 1px solid #E0E7FF;
  box-shadow: 0 15px 40px rgba(37,99,235,.08);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .5s ease;
}
.about-avatar-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(37,99,235,.15);
}

.about-avatar {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
}
.about-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 4px solid white;
}
.about-role h3 {
  font-size: 20px;
  color: #1E293B;
  margin-bottom: 4px;
}
.about-role span {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

/* ---- Info Items ---- */
.about-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: 14px;
  border: 1px solid #E0E7FF;
  box-shadow: 0 4px 12px rgba(37,99,235,.04);
  transition: .3s ease;
  cursor: default;
}
.about-info-item:hover {
  transform: translateX(5px);
  border-color: #93C5FD;
  box-shadow: 0 6px 16px rgba(37,99,235,.1);
}
.about-info-item span {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

/* ---- Right Column ---- */
.about-right {
  flex: 1;
  min-width: 0;
  background: white;
  border-radius: 24px;
  border: 1px solid #E0E7FF;
  box-shadow: 0 20px 50px rgba(37,99,235,.08);
  padding: 40px 40px 35px;
  position: relative;
  overflow: hidden;
  transition: .5s ease;
}
.about-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(37,99,235,.15);
}

.about-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #60A5FA, #A78BFA);
}

.about-quote-mark {
  font-size: 64px;
  line-height: 1;
  color: #DBEAFE;
  font-family: Georgia, serif;
  margin-bottom: -15px;
  user-select: none;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: left;
}
.about-text strong {
  color: #2563EB;
  font-weight: 600;
}

.about-drop-cap {
  font-size: 48px;
  font-weight: 700;
  color: #2563EB;
  float: left;
  line-height: 1;
  margin-right: 10px;
  margin-top: 4px;
  font-family: Georgia, serif;
}

/* ---- Skill Tags ---- */
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E0E7FF;
}
.about-tag {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(96,165,250,.08));
  color: #2563EB;
  border: 1px solid rgba(37,99,235,.12);
  transition: .3s ease;
  cursor: default;
}
.about-tag:hover {
  background: #2563EB;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* ---- Responsive About ---- */
@media (max-width: 900px) {
  .about-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .about-left {
    flex: none;
    max-width: 340px;
    margin: 0 auto;
  }
  .about-right {
    padding: 30px 25px;
  }
  .about-drop-cap {
    font-size: 38px;
  }
}
@media (max-width: 600px) {
  .about-left {
    max-width: 100%;
  }
  .about-right {
    padding: 25px 20px;
  }
  .about-quote-mark {
    font-size: 48px;
  }
}

/*================ SKILLS =================*/

.skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:30px;}
.skill{background:white;padding:35px;text-align:center;border-radius:25px;border-top:5px solid #2563EB;box-shadow:0 20px 50px rgba(37,99,235,.08);transition:.5s ease;position:relative;overflow:hidden;}
.skill:nth-child(2){border-top:5px solid #60A5FA;}
.skill:nth-child(3){border-top:5px solid #1E3A8A;}
.skill:nth-child(4){border-top:5px solid #93C5FD;}
.skill:hover{transform:translateY(-10px);}
.skill h2{margin-bottom:15px;}
.skill p{color:#64748B;}



/*================ CONTACT WRAPPER =================*/

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; max-width: 1200px; margin: 0 auto; }
.contact-wrapper .contact { display: flex; flex-direction: column; gap: 20px; max-width: 100%; }
.contact-wrapper .contact-card { width: 100%; }
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; gap: 30px; } }

.contact-form-container { padding: 40px; background: white; border-radius: 25px; border: 1px solid #E0E7FF; box-shadow: 0 20px 50px rgba(37,99,235,.08); transition: .5s ease; position: relative; overflow: hidden; }
.contact-form-container::before { content: ''; position: absolute; top: var(--y,50%); left: var(--x,50%); width: 300px; height: 300px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.contact-form-container:hover::before { opacity: 1; }
.form-title { text-align: center; font-size: 28px; color: #1E293B; margin-bottom: 8px; }
.form-subtitle { text-align: center; font-size: 15px; color: #64748B; margin-bottom: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: #1E293B; }
.form-group input, .form-group textarea { padding: 14px 16px; border: 1.5px solid #D6E4FF; border-radius: 12px; font-size: 15px; font-family: 'Inter',sans-serif; background: #F8FAFC; color: #1E293B; outline: none; transition: border-color .3s ease, box-shadow .3s ease; }
.form-group input:focus, .form-group textarea:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.12); background: white; }
.form-group input.error, .form-group textarea.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.form-group .error-text { font-size: 13px; color: #EF4444; margin-top: 2px; display: none; }
.form-group input.error ~ .error-text, .form-group textarea.error ~ .error-text { display: block; }
.btn-submit { position: relative; padding: 16px 32px; background: #2563EB; color: white; font-size: 16px; font-weight: 600; font-family: 'Inter',sans-serif; border: none; border-radius: 50px; cursor: pointer; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; overflow: hidden; margin-top: 10px; }
.btn-submit:hover { background: #1D4ED8; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37,99,235,.2); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-submit .btn-text { display: inline; }
.btn-submit .btn-loading { display: none; align-items: center; justify-content: center; gap: 8px; }
.btn-submit.sending .btn-text { display: none; }
.btn-submit.sending .btn-loading { display: inline-flex; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== NOTIFICATION ========== */
.notification { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 20px; border-radius: 12px; font-size: 15px; font-weight: 500; animation: slideIn .4s ease; }
.notification.hidden { display: none; }
.notification.success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.notification.error { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.notification.success .notification-icon::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #10B981; color: white; font-size: 14px; font-weight: bold; }
.notification.error .notification-icon::before { content: '✕'; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #EF4444; color: white; font-size: 14px; font-weight: bold; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) { .contact-form-container { padding: 25px 20px; margin-top: 40px; } .form-title { font-size: 22px; } }

/*================ CONTACT CARDS =================*/
.contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;max-width:1000px;margin:auto;}
.contact-card{background:white;padding:35px;text-align:center;border-left:5px solid #2563EB;border-radius:25px;box-shadow:0 20px 50px rgba(37,99,235,.08);transition:.5s ease;position:relative;overflow:hidden;}
.contact-card:hover{transform:translateY(-10px);}
.contact-card h2{margin-bottom:15px;color:#2563EB;}
.contact-card p{color:#64748B;}
.contact-card .contact-link{display:block;color:#2563EB;text-decoration:none;font-weight:500;padding:5px 0;transition:color .3s ease,text-decoration .3s ease;cursor:pointer;}
.contact-card .contact-link:hover{color:#1D4ED8;text-decoration:underline;}


/*================ PROJECT =================*/
.project-section { padding: 80px 10%; text-align: center; }

/*---- New Layout: Left (Featured) + Right (2x2 Grid) ----*/
.project-layout {
  display: flex;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.project-left {
  flex: 1;
  min-width: 0;
}

.project-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 0;
}

/*---- Base Card ----*/
.project-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #E0E7FF;
  box-shadow: 0 15px 40px rgba(37,99,235,.08);
  transition: .5s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(37,99,235,.15); }

/*---- Featured Card (Left Side) ----*/
.project-card-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 6px solid #2563EB;
}
.project-card-featured .project-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
}
.project-card-featured .project-thumb {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.project-card-featured:hover .project-thumb { transform: scale(1.08); }
.project-card-featured .project-card-body {
  padding: 25px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-featured h3 {
  font-size: 22px;
  color: #1E293B;
  margin-bottom: 12px;
  line-height: 1.3;
}
.project-card-featured p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}
.project-card-featured .project-link-sm {
  align-self: flex-start;
}

/*---- Small Cards (Right Side 2x2) ----*/
.project-card-sm {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.project-card-sm .project-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
}
.project-card-sm .project-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.project-card-sm:hover .project-thumb { transform: scale(1.08); }
.project-card-sm .project-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-sm h3 {
  font-size: 16px;
  color: #1E293B;
  margin-bottom: 8px;
  line-height: 1.4;
}
.project-card-sm p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}
.project-card-sm .project-badge {
  align-self: flex-start;
}

/*---- Accent colors for each small card ----*/
.project-card-sm:nth-child(1) { border-top: 4px solid #6366F1; }
.project-card-sm:nth-child(2) { border-top: 4px solid #F59E0B; }
.project-card-sm:nth-child(3) { border-top: 4px solid #10B981; }
.project-card-sm:nth-child(4) { border-top: 4px solid #EC4899; }

/*---- Shared utilities ----*/
.project-icon { font-size: 36px; margin-bottom: 15px; }
.project-link-sm {
  display: inline-block;
  padding: 8px 20px;
  background: #2563EB;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  transition: .3s ease;
}
.project-link-sm:hover { background: #1D4ED8; transform: translateY(-2px); }

.project-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  background: rgba(37,99,235,.1);
  color: #2563EB;
}
.project-card-sm:nth-child(1) .project-badge { background: rgba(99,102,241,.1); color: #6366F1; }
.project-card-sm:nth-child(2) .project-badge { background: rgba(245,158,11,.1); color: #D97706; }
.project-card-sm:nth-child(3) .project-badge { background: rgba(16,185,129,.1); color: #059669; }
.project-card-sm:nth-child(4) .project-badge { background: rgba(236,72,153,.1); color: #DB2777; }

/*---- Responsive ----*/
@media (max-width: 900px) {
  .project-layout { flex-direction: column; }
  .project-right { grid-template-columns: 1fr 1fr; }
  .project-card-featured .project-thumb { height: 240px; }
}
@media (max-width: 600px) {
  .project-right { grid-template-columns: 1fr; gap: 20px; }
  .project-card-featured .project-thumb { height: 200px; }
}

/*================ FOOTER =================*/
footer{background:linear-gradient(135deg,rgba(30,56,122,.04) 0%,rgba(37,99,235,.06) 50%,rgba(30,56,122,.03) 100%);padding:40px;text-align:center;color:#475569;margin-top:80px;border-top:1px solid rgba(37,99,235,.1);}

/*================ SCROLL REVEAL =================*/
.reveal{opacity:0;transform:translateY(50px);transition:opacity .8s cubic-bezier(.25,.8,.25,1),transform .8s cubic-bezier(.25,.8,.25,1);}
.reveal.in-view{opacity:1;transform:translateY(0);}
.skills .skill.reveal:nth-child(1){transition-delay:.05s;}
.skills .skill.reveal:nth-child(2){transition-delay:.15s;}
.skills .skill.reveal:nth-child(3){transition-delay:.25s;}
.skills .skill.reveal:nth-child(4){transition-delay:.35s;}
.contact .contact-card.reveal:nth-child(1){transition-delay:.05s;}
.contact .contact-card.reveal:nth-child(2){transition-delay:.15s;}
.contact .contact-card.reveal:nth-child(3){transition-delay:.25s;}
.timeline .timeline-item.reveal{transform:translateX(-40px);}
.timeline .timeline-item.reveal.in-view{transform:translateX(0);}
.timeline .timeline-item.reveal:nth-child(1){transition-delay:0s;}
.timeline .timeline-item.reveal:nth-child(2){transition-delay:.12s;}
.timeline .timeline-item.reveal:nth-child(3){transition-delay:.24s;}
.timeline .timeline-item.reveal:nth-child(4){transition-delay:.36s;}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none;}}

/*================ ANIMATION =================*/
@keyframes fadeDown{from{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulseDot{0%,100%{box-shadow:0 0 0 6px rgba(15,123,62,.12)}50%{box-shadow:0 0 0 12px rgba(2,140,171,.18)}}
@keyframes floatBlur{0%,100%{transform:translate(0,0)}50%{transform:translate(20px,-25px)}}
@keyframes floatImage{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
@keyframes rippleEffect{from{transform:scale(0);opacity:.6}to{transform:scale(3);opacity:0}}

/*================ RESPONSIVE =================*/
@media(max-width:900px){
.hero{flex-direction:column-reverse;text-align:center;gap:50px;}
.hero-text h1{font-size:50px;}
.hero-image img{width:260px;height:260px;}
.button{justify-content:center;}
.title h1{font-size:38px;}
}
/* Nav tetap row sampai 821px — di bawah itu hamburger aktif */
@media(max-width:900px) and (min-width:821px){
nav{flex-direction:column;gap:20px;}
}
@media(max-width:600px){
.timeline-content h3{font-size:20px;}
nav ul{gap:20px;flex-wrap:wrap;justify-content:center;}
.hero{padding-top:180px;}
.hero-text h1{font-size:38px;}
.hero-text h3{font-size:20px;}
.button{flex-direction:column;}
.btn{text-align:center;}
}


