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

:root {
  --bg: #f8f7f4;
  --bg-soft: #f1ede8;
  --bg-card: #ffffff;
  --ink: #0f0e0c;
  --ink-2: #3a3833;
  --ink-3: #7a776f;
  --ink-4: #b0ada6;
  --lime: #c8f135;
  --lime-dark: #a8cc1a;
  --lime-pale: #f0fac0;
  --gold: #e8c547;
  --coral: #f0704a;
  --sky: #4fb3e8;
  --border: rgba(15,14,12,0.08);
  --border-2: rgba(15,14,12,0.14);
  --shadow-sm: 0 1px 3px rgba(15,14,12,0.06);
  --shadow: 0 4px 16px rgba(15,14,12,0.07);
  --shadow-md: 0 8px 32px rgba(15,14,12,0.10);
  --shadow-lg: 0 20px 60px rgba(15,14,12,0.12);
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-xl: 48px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--ink); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 10px; }

/* ====== NOISE OVERLAY ====== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ==========================
   NAVBAR
========================== */

nav{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-55%);
  width: 78%;
  max-width: 980px;
  background: rgba(248,247,244,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: 60px;
  padding: 0.7rem 1.6rem;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

nav.scrolled{
  top: 10px;
  box-shadow: var(--shadow);
}

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

.logo{
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.logo::after{
  content: ".";
  color: var(--lime-dark);
}

.nav-links{
  display:flex;
  gap:2rem;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:var(--ink-3);
  font-size:.82rem;
  font-weight:500;
  position:relative;
  transition:.25s;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--lime-dark);
  border-radius:10px;
  transition:.25s;
}

.nav-links a:hover{
  color:var(--ink);
}

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

.menu-btn{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  color:var(--ink);
  font-size:1.2rem;
}

/* ====== HIRE ME FLOAT ====== */
.nav-hire-float {
  position: fixed;
  top: 20px;
  right: 2%;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 60px;
  color: white;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  line-height: 1.55; /* body এর line-height এর মতো */
}

.nav-hire-float::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.nav-hire-float:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,14,12,0.15);
}

.nav-hire-float:hover::after {
  background: var(--ink);
}

.nav-hire-float.scrolled {
  top: 10px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .nav-hire-float { display: none; }
}

/* ====== HIRE ME FLOAT END ====== */

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: clip;
}

/* big decorative bg text */
.hero-bg-text {
  position: absolute;
  bottom: -2%;
  left: -2%;
  font-family: var(--font-display);
  font-size: clamp(65px, 10vw, 130px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15,14,12,0.055);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  width: max-content;
}

/* floating accent shapes */
.hero-shape-1 {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 420px;
  height: 420px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  background: linear-gradient(135deg, #d4f97c 0%, #b8e832 60%, #96cc00 100%);
  opacity: 0.18;
  animation: morphBlob 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-shape-2 {
  position: absolute;
  top: 60%;
  left: -5%;
  width: 220px;
  height: 220px;
  border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  opacity: 0.10;
  animation: morphBlob 16s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes morphBlob {
  0%,100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; transform: rotate(0deg); }
  33% { border-radius: 60% 40% 35% 65% / 40% 65% 35% 60%; transform: rotate(4deg); }
  66% { border-radius: 35% 65% 60% 40% / 65% 35% 65% 35%; transform: rotate(-4deg); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
  padding: 6px 16px 6px 8px;
  background: white;
  border-radius: 30px;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,241,53,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(200,241,53,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.hero h1 .highlight {
  position: relative;
  display: inline-block;
  color: var(--ink);
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--lime);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-3deg);
}

/* ===== TYPING TEXT ===== */
.typing-wrapper {
  min-height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

#typed-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-3);
  display: inline-block;
  white-space: nowrap;
  border-right: 2.5px solid var(--lime-dark);
  padding-right: 6px;
  min-height: 1.2em;
  letter-spacing: 0.01em;
}

@keyframes blink {
  0%, 100% { border-color: var(--lime-dark); }
  50% { border-color: transparent; }
}

#typed-text { animation: blink 1s step-end infinite; }

.hero-desc {
  color: var(--ink-3);
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 1.8rem 0;
  background: white;
  border-radius: var(--r);
  border: 1px solid var(--border-2);
  overflow: hidden;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-stat-item {
  padding: 1rem 1.6rem;
  text-align: center;
  position: relative;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.btn-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--ink);
  color: white;
  padding: 13px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,14,12,0.2);
}

.btn-outline {
  border: 1.5px solid var(--border-2);
  background: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.profile-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.profile-frame {
  position: relative;
  width: 370px;
  height: 370px;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
  animation: morphFrame 14s ease-in-out infinite;
  display: block;
}

@keyframes morphFrame {
  0%,100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
  33% { border-radius: 60% 40% 40% 60% / 45% 60% 40% 55%; }
  66% { border-radius: 45% 55% 60% 40% / 60% 40% 55% 45%; }
}

/* floating chips on profile */
.profile-chip {
  position: absolute;
  background: white;
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-2);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.chip-1 { bottom: 20px; left: -20px; }
.chip-2 { top: 30px; right: -20px; }
.chip-3 { top: 50%; right: -30px; transform: translateY(-50%); }

.chip-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

/* ====== SECTION BASE ====== */
section {
  padding: 90px 5%;
}

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

.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lime-dark);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  color: var(--ink);
  text-align: left;
}

.section-title span {
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--lime);
  border-radius: 3px;
  z-index: -1;
  transform: skewX(-2deg);
}

.section-subtitle {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  max-width: 480px;
}

/* ====== SKILLS ====== */

/* SECTION */
#skills{
  background: var(--bg-soft);
  padding: 100px 5%;
}

/* GRID */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:2rem;
  margin-top:2.5rem;
}

/* CARD */
.skill-card{
  background:white;
  border-radius:22px;
  padding:2rem;
  border:1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position:relative;
  overflow:hidden;
  transition:0.35s ease;
}

/* SOFT TOP ACCENT */
.skill-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, var(--lime), var(--sky));
  transform: scaleX(0);
  transform-origin:left;
  transition:0.35s ease;
}

.skill-card:hover{
  transform: translateY(-12px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.skill-card:hover::before{
  transform: scaleX(1);
}

/* HEADER */
.skill-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:1rem;
}

/* ICON */
.skill-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  background: var(--bg-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  transition:0.3s ease;
}

.skill-card:hover .skill-icon{
  transform: scale(1.08) rotate(2deg);
}

/* TITLE */
.skill-card h3{
  font-family: var(--font-display);
  font-size:1.05rem;
  font-weight:700;
  color: var(--ink);
  letter-spacing:-0.02em;
}

/* TAGS */
.skill-tags{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  margin-top:1rem;
}

/* TAG */
.skill-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:999px;
  font-size:0.72rem;
  font-weight:600;
  background: var(--bg-soft);
  border:1px solid var(--border-2);
  color: var(--ink-2);
  transition:0.25s ease;
}

/* HOVER */
.skill-tag:hover{
  background:white;
  transform: translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
}

/* ICON SIZE FIX */
.skill-tag i,
.skill-icon i{
  font-size:16px;
}

/* ====== PROJECTS ====== */
#projects {
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1600&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248,247,244,0.82);
  pointer-events: none;
  z-index: 0;
}

#projects .section-container {
  position: relative;
  z-index: 1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,241,53,0.35);
}

.project-gallery {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg-soft);
  overflow-x: auto;
}

.project-gallery::-webkit-scrollbar { height: 3px; }
.project-gallery::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.project-gallery img {
  width: 120px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 2px solid white;
  transition: all 0.2s;
  flex-shrink: 0;
}

.project-gallery img:hover {
  transform: scale(1.04);
  border-color: var(--lime-dark);
}

.project-info { padding: 1.4rem; }

.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.project-desc {
  color: var(--ink-3);
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.project-tech span {
  background: var(--lime-pale);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  color: #557a00;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 7px 14px;
  background: var(--bg-soft);
  border-radius: 30px;
  border: 1px solid var(--border-2);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.project-link:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  gap: 10px;
}


/* ==========================================
   CERTIFICATIONS PREMIUM ACADEMIC ANIMATION
========================================== */

#certifications{
  position: relative;
  overflow: hidden;
  padding: 90px 5%;
  isolation: isolate;
}

/* Premium Background Glow */
/* #certifications::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200,241,53,.18), transparent 280px),
    radial-gradient(circle at 85% 75%, rgba(255,212,74,.15), transparent 320px),
    radial-gradient(circle at 50% 50%, rgba(139,211,255,.08), transparent 350px);
  animation: academicGlow 12s ease-in-out infinite alternate;
  z-index:0;
} */

/* #certifications::after{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(15,14,12,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,14,12,.03) 1px, transparent 1px);
  background-size:40px 40px;
  z-index:0;
} */

@keyframes academicGlow{
  from{
    transform:translateX(-40px);
  }
  to{
    transform:translateX(40px);
  }
}

/* ==========================================
   FLOATING ACADEMIC ICONS
========================================== */

.academic-floating{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:1;
}

.academic-floating i{
  position:absolute;
  opacity:0;
  font-size:42px;
  animation: floatAcademic linear infinite;
}

/* Lime Icons */
.academic-floating i:nth-child(1),
.academic-floating i:nth-child(4),
.academic-floating i:nth-child(7){
  color:#c8f135;
  filter:
    drop-shadow(0 0 8px rgba(200,241,53,.55))
    drop-shadow(0 0 20px rgba(200,241,53,.35));
}

/* Gold Icons */
.academic-floating i:nth-child(2),
.academic-floating i:nth-child(5),
.academic-floating i:nth-child(8){
  color:#ffd54a;
  filter:
    drop-shadow(0 0 8px rgba(255,213,74,.55))
    drop-shadow(0 0 20px rgba(255,213,74,.35));
}

/* Blue Icons */
.academic-floating i:nth-child(3),
.academic-floating i:nth-child(6){
  color:#8bd3ff;
  filter:
    drop-shadow(0 0 8px rgba(139,211,255,.55))
    drop-shadow(0 0 20px rgba(139,211,255,.35));
}

/* Position */

.academic-floating i:nth-child(1){
  left:5%;
  bottom:-60px;
  animation-duration:14s;
}

.academic-floating i:nth-child(2){
  left:18%;
  bottom:-60px;
  animation-duration:18s;
  animation-delay:2s;
}

.academic-floating i:nth-child(3){
  left:30%;
  bottom:-60px;
  animation-duration:16s;
  animation-delay:5s;
}

.academic-floating i:nth-child(4){
  left:44%;
  bottom:-60px;
  animation-duration:20s;
  animation-delay:1s;
}

.academic-floating i:nth-child(5){
  left:58%;
  bottom:-60px;
  animation-duration:17s;
  animation-delay:4s;
}

.academic-floating i:nth-child(6){
  left:72%;
  bottom:-60px;
  animation-duration:15s;
  animation-delay:6s;
}

.academic-floating i:nth-child(7){
  left:85%;
  bottom:-60px;
  animation-duration:19s;
  animation-delay:3s;
}

.academic-floating i:nth-child(8){
  left:95%;
  bottom:-60px;
  animation-duration:16s;
  animation-delay:7s;
}

/* Floating Animation */

@keyframes floatAcademic{

  0%{
    transform:
      translateY(0)
      rotate(0deg)
      scale(.8);
    opacity:0;
  }

  10%{
    opacity:.35;
  }

  30%{
    opacity:.45;
  }

  50%{
    transform:
      translateY(-350px)
      rotate(12deg)
      translateX(30px)
      scale(1);
    opacity:.50;
  }

  70%{
    opacity:.40;
  }

  90%{
    opacity:.30;
  }

  100%{
    transform:
      translateY(-850px)
      rotate(25deg)
      translateX(-30px)
      scale(1.1);
    opacity:0;
  }
}

/* ==========================================
   CONTENT ABOVE ANIMATION
========================================== */

#certifications .section-container{
  position:relative;
  z-index:3;
}

.certs-grid{
  position:relative;
  z-index:3;
}


/* ====== CERT + EXP WRAPPER ====== */
.cert-exp-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #f5f4f1;
  isolation: isolate;
}

/* Subtle dot grid bg */
/* .cert-exp-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,14,12,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
} */

/* ====== FLOATING TECH ICONS ====== */
.floating-tech {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-tech i {
  position: absolute;
  font-size: 28px;
  opacity: 0;
  animation: techFloat var(--dur, 10s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes techFloat {
  0%   { transform: translateY(0)      rotate(var(--r, 0deg)) scale(0.9); opacity: 0;             }
  10%  { opacity: var(--op, 0.14);                                                                 }
  90%  { opacity: var(--op, 0.14);                                                                 }
  100% { transform: translateY(-700px) rotate(calc(var(--r, 0deg) + 30deg)) scale(1.05); opacity: 0; }
}

/* Per-icon: position, speed, delay, rotation, opacity */
.floating-tech i:nth-child(1)  { left:  3%; bottom: -30px; --dur: 11s; --delay: 0.0s; --r: -10deg; --op: 0.20; font-size: 30px; }
.floating-tech i:nth-child(2)  { left:  9%; bottom: -30px; --dur:  9s; --delay: 2.0s; --r:   8deg; --op: 0.17; font-size: 24px; }
.floating-tech i:nth-child(3)  { left: 16%; bottom: -30px; --dur: 13s; --delay: 4.5s; --r:  -5deg; --op: 0.18; font-size: 28px; }
.floating-tech i:nth-child(4)  { left: 24%; bottom: -30px; --dur: 10s; --delay: 1.2s; --r:  12deg; --op: 0.16; font-size: 26px; }
.floating-tech i:nth-child(5)  { left: 32%; bottom: -30px; --dur: 12s; --delay: 6.0s; --r:  -8deg; --op: 0.17; font-size: 32px; }
.floating-tech i:nth-child(6)  { left: 40%; bottom: -30px; --dur:  8s; --delay: 3.0s; --r:   5deg; --op: 0.15; font-size: 24px; }
.floating-tech i:nth-child(7)  { left: 48%; bottom: -30px; --dur: 14s; --delay: 0.5s; --r: -12deg; --op: 0.18; font-size: 28px; }
.floating-tech i:nth-child(8)  { left: 56%; bottom: -30px; --dur: 10s; --delay: 5.0s; --r:   9deg; --op: 0.16; font-size: 26px; }
.floating-tech i:nth-child(9)  { left: 64%; bottom: -30px; --dur: 11s; --delay: 2.8s; --r:  -6deg; --op: 0.17; font-size: 30px; }
.floating-tech i:nth-child(10) { left: 72%; bottom: -30px; --dur:  9s; --delay: 7.0s; --r:  10deg; --op: 0.15; font-size: 24px; }
.floating-tech i:nth-child(11) { left: 80%; bottom: -30px; --dur: 13s; --delay: 1.8s; --r:  -4deg; --op: 0.16; font-size: 28px; }
.floating-tech i:nth-child(12) { left: 87%; bottom: -30px; --dur: 10s; --delay: 4.0s; --r:   7deg; --op: 0.15; font-size: 26px; }
.floating-tech i:nth-child(13) { left: 93%; bottom: -30px; --dur: 12s; --delay: 0.3s; --r: -11deg; --op: 0.17; font-size: 30px; }

/* Ensure sections sit above floating icons */
.cert-exp-wrapper .section-container {
  position: relative;
  z-index: 1;
}

/* ====== CERTIFICATIONS ====== */
#certifications { padding: 90px 5%; }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.cert-card {
  padding: 1.8rem;
  border-radius: var(--r-lg);
  background: white;
  border: 1px solid rgba(15,14,12,0.10);
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cert-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,241,53,0.5);
}

.cert-card:hover::after { transform: scaleX(1); }

.cert-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  color: var(--lime-dark);
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.cert-card p {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.cert-badge {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--lime-pale);
  color: #557a00;
  letter-spacing: 0.04em;
  border: 1px solid rgba(168,204,26,0.3);
}

/* ====== EXPERIENCE TIMELINE ====== */
#experience { padding: 90px 5%; }

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border-2);
}

.timeline-item {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 2.2rem;
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 18px;
  width: 14px;
  height: 14px;
  background: var(--lime);
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  box-shadow: 0 0 0 4px rgba(200,241,53,0.3);
}

.timeline-content {
  background: white;
  border-radius: var(--r);
  padding: 1.6rem;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.timeline-item:hover .timeline-content {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(200,241,53,0.4);
}

.timeline-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lime-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.timeline-company {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 500;
}

/* ====== CONTACT ====== */
#contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 2.4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.12;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}

.contact-info-sub {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.55;
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-item span {
  font-size: 0.88rem;
  opacity: 0.9;
}

.contact-form {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

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

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  background: white;
  box-shadow: 0 0 0 4px rgba(200,241,53,0.15);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* ====== FOOTER ====== */
footer {
  background: var(--ink);
  padding: 2rem 5%;
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.footer-logo::after {
  content: '.';
  color: var(--lime);
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.45;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  transform: translateY(-3px);
}

/* ====== MODAL ====== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,14,12,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeOverlay 0.2s ease;
}

.modal-overlay.active { display: flex; }

@keyframes fadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: white;
  border-radius: var(--r-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(15,14,12,0.3);
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-2);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }

.modal-header {
  padding: 2rem 2rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.modal-type-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.7rem;
}

.modal-project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.modal-company {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.65;
}

.modal-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-2);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.modal-body { padding: 1.8rem 2rem 2.2rem; }

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.modal-meta-chip {
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--border-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modal-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-3);
  margin-bottom: 0.55rem;
}

.modal-desc {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

.modal-tech-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.6rem;
}

.modal-tech-chip {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.4rem 0;
}

.modal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-link-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.modal-link-primary {
  background: var(--ink);
  color: white;
}

.modal-link-primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,14,12,0.2);
}

.modal-link-secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--border-2) !important;
  box-shadow: var(--shadow-sm);
}

.modal-link-secondary:hover {
  border-color: var(--ink) !important;
  transform: translateY(-2px);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.5s ease forwards; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .menu-btn { display: block; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 5%;
    width: 90%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
    transition: all 0.3s;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-2);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero { padding: 100px 5% 60px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero h1 { font-size: 3rem; }
  .hero-stats { justify-content: center; }
  .btn-group { justify-content: center; }
  .profile-wrapper { justify-content: center; }
  .profile-frame { width: 300px; height: 300px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .chip-3 { right: -10px; }

  .hero-desc { margin: 1rem auto 1.5rem; }

  .section-title { text-align: center; }
  .section-eyebrow { text-align: center; }
  .section-subtitle { text-align: center; margin-inline: auto; }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .contact-grid { grid-template-columns: 1fr; }

  .modal-overlay { padding: 0.75rem; align-items: flex-end; }
  .modal-box {
    border-radius: 28px 28px 20px 20px;
    max-height: 88vh;
  }
  .modal-header { padding: 1.5rem 1.6rem 1.3rem; }
  .modal-body { padding: 1.4rem 1.6rem 2rem; }
}

@media (max-width: 640px) {
  nav { top: 12px; padding: 0.7rem 1.4rem; width: 94%; }
  .logo { font-size: 1.1rem; }
  .hero { padding: 90px 4% 50px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-desc { font-size: 0.88rem; }
  .hero-stats { gap: 0; width: 100%; }
  .hero-stat-item { flex: 1; }
  .stat-value { font-size: 1.6rem; }
  .btn-primary, .btn-outline { padding: 11px 22px; font-size: 0.84rem; }
  .profile-frame { width: 260px; height: 260px; }
  section { padding: 60px 4%; }
  .section-title { font-size: 1.8rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .skill-card { padding: 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-gallery img { width: 105px; height: 75px; }
  .project-info { padding: 1.2rem; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .cert-card { padding: 1.3rem 1rem; }
  .cert-card h3 { font-size: 0.82rem; }
  .cert-card p { font-size: 0.73rem; }
  .timeline-title { font-size: 0.95rem; }
  .contact-info, .contact-form { padding: 1.6rem; }
  .footer-content { flex-direction: column; text-align: center; gap: 0.8rem; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 28px 28px 0 0; max-height: 92vh; width: 100%; }
  .modal-project-title { font-size: 1.25rem; }
  .modal-header { padding: 1.3rem 1.4rem 1.1rem; }
  .modal-body { padding: 1.3rem 1.4rem 2rem; }
  .modal-close { top: 1rem; right: 1rem; }
  .modal-meta-chip { font-size: 0.63rem; padding: 3px 10px; }
  .modal-link-btn { padding: 9px 18px; font-size: 0.73rem; }
}

@media (max-width: 480px) {
  nav { top: 10px; padding: 0.65rem 1.2rem; width: 96%; }
  .hero { padding: 80px 4% 40px; }
  .hero h1 { font-size: 2rem; letter-spacing: -0.03em; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 1.5px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-value { font-size: 1.45rem; }
  .stat-label { font-size: 0.64rem; }
  .btn-group { flex-direction: column; align-items: center; gap: 0.7rem; }
  .btn-primary, .btn-outline { width: 100%; max-width: 260px; justify-content: center; }
  .profile-frame { width: 210px; height: 210px; }
  .profile-chip { display: none; }
  section { padding: 50px 4%; }
  .section-title { font-size: 1.55rem; }
  .project-gallery img { width: 90px; height: 65px; border-radius: 10px; }
  .project-title { font-size: 1rem; }
  .project-desc { font-size: 0.74rem; }
  .certs-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .cert-card { padding: 1.1rem 0.8rem; }
  .cert-icon { font-size: 1.7rem; }
  .cert-card h3 { font-size: 0.76rem; }
  .timeline-item { padding-left: 1.6rem; margin-bottom: 1.6rem; }
  .contact-info, .contact-form { padding: 1.3rem; }
  .contact-icon { width: 40px; height: 40px; font-size: 0.95rem; flex-shrink: 0; }
  .modal-meta-row { gap: 6px; }
  .modal-tech-wrap { gap: 5px; }
  .modal-tech-chip { font-size: 0.62rem; padding: 3px 9px; }
  .modal-links { flex-direction: column; gap: 8px; }
  .modal-link-btn { width: 100%; justify-content: center; padding: 10px 18px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { gap: 0; }
  .stat-value { font-size: 1.3rem; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-card {
    padding: 1.2rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .cert-icon { margin-bottom: 0; flex-shrink: 0; }
  .cert-badge { display: block; margin-top: 0.3rem; text-align: left; }
  .modal-project-title { font-size: 1.05rem; }
  nav { padding: 0.6rem 1rem; }
}

/* ABOUT */
@media (max-width: 768px) {
  #about .section-container > div {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.tech-strip{
  background:white;
  border-radius:20px;
  padding:1.2rem 1.6rem;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-wrap:wrap;
  gap:0.6rem;
  margin-top:1rem;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--bg-soft);
  border:1px solid var(--border-2);
  border-radius:30px;
  padding:5px 12px;
  font-size:0.68rem;
  font-weight:600;
  color:var(--ink-2);
  transition:0.2s;
}

.pill i{
  font-size:14px;
}

.pill:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
}

/* ABOUT */