:root {
  --accent: #f74670;
  --gradient: linear-gradient(90deg, #e10c5d 0%, #f9681c 100%);
}


/* ---------- IMPORT GOOGLE FONT ---------- */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;500;600;700;900&display=swap");

/* ---------- GLOBAL RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: #fef7f7;
  color: #222;
}

#wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 96px; 
}

/* ---------- CONTAINER ---------- */
.container {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* ---------- NAVBAR ---------- */
.navbar {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: calc(100% - 120px);
  max-width: 1200px;
}

.logo {
  width: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
}

.nav-items {
  display: flex;
  gap: 2rem;
  padding: 0 4rem;
  margin-right: 0.5rem;
}

.nav-items div a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-items a:hover {
  color: #0078ff;
}

.nav-items a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #0078ff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-items a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1300;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
  margin: 4rem auto;
  padding: 0 1rem 8rem;
  max-width: 1200px;
  flex-wrap: wrap;
}

.faded-text {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.5rem, 10vw, 8rem);
  color: rgba(0, 0, 0, 0.05);
  font-weight: 900;
  letter-spacing: 2px;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  transition: font-size 0.3s ease-in-out;
}

.hero-section-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
  min-width: 320px;
}

.hero-section-heading {
  font-size: 40px;
  color: #343d68;
  font-weight: 600;
}

.hero-section-subheading1,
.hero-section-subheading2,
.hero-section-subheading3 {
  font-size: 28px;
  color: #343d68;
  font-weight: 500;
}

.hero-section-subheading2 {
  color: #4e45d5;
  font-weight: 700;
  font-size: 32px;
}

.role {
  color: #4e45d5;
  font-weight: 800;
  white-space: nowrap;
}

.hero-section-description {
  font-size: 1.3rem;
  font-weight: 400;
  color: #444;
  margin-top: 10px;
}

.dynamic-text {
  color: #ff4b2b;
  font-weight: 700;
  font-size: 1.5rem;
  margin-left: 5px;
}

/* ---------- BUTTON ---------- */
.btn-pink {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: #4e45d5;
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(78, 69, 213, 0.3);
  width: fit-content;
  align-self: flex-start;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

.btn-pink:hover {
  background-color: #372fc7;
  transform: scale(1.07);
  box-shadow: 0 6px 16px rgba(78, 69, 213, 0.4);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- HERO IMAGE & ICONS ---------- */
.hero-section-right {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.absolute {
  position: absolute;
}

.user-image {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleImage 5s linear infinite;
  margin-top: 20px;
}

.user-image img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  z-index: 2;
}

@keyframes scaleImage {
  0% { filter: grayscale(0); transform: scale(1); }
  50% { transform: scale(1.1); filter: grayscale(1); box-shadow: 3px 3px 10px black; }
  100% { transform: scale(1); filter: grayscale(0); }
}

/* ---------- ICON ANIMATIONS ---------- */
.icon-dots {
  z-index: 9;
  bottom: -1rem;
  right: 0;
  animation-name: dotsAnimation;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes dotsAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.icon-cube {
  z-index: 9;
  top: -0.8em;
  right: 1em;
  animation-name: cubeRotate;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes cubeRotate {
  0% { transform: rotateY(0deg) translateY(0px); }
  50% { transform: rotateY(180deg) translateY(-12px); }
  100% { transform: rotateY(360deg) translateY(0px); }
}

.icon-circle {
  z-index: 9;
  left: 0;
  bottom: 0;
  animation-name: shakeEffect;
  animation-duration: 6s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes shakeEffect {
  50% { left: 5%; bottom: 10%; }
}

.icon-zigzag {
  z-index: 9;
  top: 1.5em;
  left: -0.3em;
  animation: zigzagAnimation 5s ease-in infinite;
}

@keyframes zigzagAnimation {
  50% { left: 5%; top: 2%; }
}

.icon-plus {
  z-index: 9;
  top: -0.8rem;
  left: 50%;
  animation: shakeEffectPlus 5s ease-in infinite;
}

@keyframes shakeEffectPlus {
  50% { top: 3%; left: 48%; }
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */

/* --- Tablet / Small Laptop --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 1.5rem;
    width: calc(100% - 40px);
  }

  .nav-items {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-direction: column;
    width: 200px;
    padding: 1rem 0;
    text-align: center;
    gap: 1.2rem;
    transform: translateY(-30px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-items.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger { display: flex; }

  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 2rem 6rem;
  }

  .hero-section-left {
    align-items: center;
    text-align: center;
  }

  .btn-pink {
    align-self: center;
    margin-top: 1rem;
  }

  .hero-section-right {
    width: 320px;
    height: 320px;
  }

  .faded-text {
    font-size: clamp(2rem, 9vw, 6rem);
    bottom: -90px;
  }
}

/* --- Mobile Screens --- */
@media (max-width: 600px) {
  .hero-section {
    flex-direction: column;
    align-items: center;
    gap: 3rem; /* 👈 fixes image touching button */
    padding: 2rem 1rem 4rem;
  }

  .hero-section-left {
    margin-bottom: 1.5rem;
  }

  .faded-text {
    padding-top: 20px;
    margin-top: 50px;
    bottom: -140px;
    font-size: clamp(4.8rem, 12vw, 3.5rem);
  }

  .hero-section-heading {
    font-size: 1.8rem;
  }

  .hero-section-subheading1,
  .hero-section-subheading2,
  .hero-section-subheading3 {
    font-size: 1.2rem;
  }

  .btn-pink {
    align-self: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    padding: 0.7rem 1.6rem;
  }

  .hero-section-right {
    width: 260px;
    height: 260px;
  }
}

/* --- Extra Small Phones --- */
@media (max-width: 400px) {
  .faded-text {
    bottom: -118px;
    font-size: clamp(3rem, 10vw, 2.5rem);
  }
}



  /* ---------- ABOUT CARD ---------- */
.about-card {
  max-width: 1100px;

  margin: 120px auto 40px auto; /* Move card further down */
  background: rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 2px solid #f7b2c7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 56px;
  gap: 32px;
  position: relative;
  transition: transform 0.5s cubic-bezier(.17,.67,.83,.67);
  will-change: transform;
  transform: scale(1); /* Initial scale for animation */  
}

.about-card.visible {
  transform: scale(1);  /* normal size */
  transition: transform 0.6s ease; /* smooth transition */
}


.about-content {
  max-width: 540px;
}

.about-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: #222;
}

.about-desc {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 40px;
}

.about-buttons {
  display: flex;
  gap: 80px;
  margin-top: 24px;
}

.about-btn {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.8em 2.2em;
  min-width: 180px;
  border-radius: 2em;
  border: 2px solid #f75c8d;
  background: transparent;
  color: #222;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-right: -2em;
  position: relative;
  z-index: 1;
  text-align: center;
  box-sizing: border-box;
}
/* --- About Card Scroll Animation --- */
.about-card.scaled {
  transform: scale(0.85) translateY(-40px);
}

.about-btn.outline {
  background: transparent;
  color: #222;
}

.about-btn.filled {
  background: #f75c8d;
  color: #fff;
  border: 2px solid #f75c8d;
  margin-left: -2em;
  z-index: 2;
}

.about-btn:hover {
  background: #f75c8d;
  color: #fff;
}

.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.butterfly-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- RESPONSIVE MEDIA QUERIES FOR ABOUT SECTION ---------- */

/* --- Tablet (<= 900px) --- */
@media (max-width: 900px) {
  .about-card {
    flex-direction: column;
    padding: 40px 32px;
    gap: 28px;
    margin: 40px 24px 0 24px;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-buttons {
    justify-content: center;
    align-items: center;
    gap: 28px; 
    flex-wrap: wrap;
  }

  .about-btn {
    min-width: 200px; 
    text-align: center;
    margin: 0;
  }

  .about-title {
    font-size: 2.3rem;
  }

  .about-desc {
    font-size: 1.1rem;
  }

  .about-image {
    margin-top: 20px;
  }

  .butterfly-img {
    max-width: 300px;
  }
}

/* --- Tablet Mid-Range (850px to 601px) --- */
@media (max-width: 850px) and (min-width: 601px) {
  .about-buttons {
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }

  .about-btn {
    min-width: 200px;
    text-align: center;
  }
}

/* --- Mobile (<= 600px) --- */
@media (max-width: 600px) {
  .about-card {
    margin: 120px 16px 0 16px;
    padding: 32px 20px;
    border-radius: 22px;
    gap: 24px;
    text-align: center;
  }

  .about-title {
    font-size: 1.9rem;
    margin-bottom: 16px;
    font-weight: 600;
  }

  .about-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
  }

  .about-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px; /* balanced spacing between buttons */
    width: 100%;
  }

  .about-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 240px;
    padding: 0.8em 1.6em;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    margin: 0; /* remove misalignment */
    text-align: center;
    box-sizing: border-box;
  }

  .about-btn.outline,
  .about-btn.filled {
    margin: 0; /* remove inherited offset */
  }

  .butterfly-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    margin-top: 16px;
  }
}

/* --- Small Mobile (<= 400px) --- */
@media (max-width: 400px) {
  .about-card {
    bottom: -40px;
    margin: 50px 12px 0 12px;
    padding: 28px 16px;
    border-radius: 20px;
    gap: 20px;
  }

  .about-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .about-desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .about-buttons {
    gap: 16px;
  }

  .about-btn {
    max-width: 220px;
    width: 100%;
    padding: 0.7em 1.4em;
    font-size: 0.95rem;
    border-radius: 45px;
    margin: 0 auto;
  }

  .butterfly-img {
    max-width: 200px;
    margin-top: 10px;
  }
}




/* ---------- PROJECT SECTION ---------- */



section {
  scroll-margin-top: 180px;
}


body {
  font-family: "Be Vietnam Pro", sans-serif;
  background-color: #fef7f7;
  color: #1a1a1a;
  transition: all 0.3s ease;
}



.problem-section {
  text-align: center;
  padding: 100px 10% 80px; 
  scroll-margin-top: 160px;

}

.Project{
  margin-top: 100px;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
}
.title1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 180px;
  
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.card {
  background: #fff;
  border: 1px solid #e33b5a;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h3 {
  color: #1a1a1a;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #e33b5a;
  display: inline-block;
  padding-bottom: 3px;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-align: left;
  color: #333;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #e33b5a;
  background: transparent;
  border: 2px solid rgba(227,59,90,0.08);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 200ms ease, color 200ms ease;
  cursor: pointer;
}

.view-btn:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 20px rgba(227,59,90,0.08);
  background: rgba(227,59,90,0.04);
}

.view-btn:active {
  transform: translateY(-1px) scale(0.995);
}

.view-btn:focus {
  outline: 3px solid rgba(78,69,213,0.14);
  outline-offset: 3px;
}

/* Card action buttons container */
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
}

/* Primary repo button: gradient, shadow, lift */
.repo-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(135deg, #e33b5a 0%, #ff6b72 100%);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(227,59,90,0.18);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.repo-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 30px rgba(227,59,90,0.18);
}

.repo-btn:active {
  transform: translateY(-1px) scale(0.995);
}

.repo-btn:focus {
  outline: 3px solid rgba(227,59,90,0.14);
  outline-offset: 3px;
}

/* Tech toggle and badges */
.tech-btn {
  padding: 8px 12px;
  background: transparent;
  border: 2px dashed rgba(78,69,213,0.12);
  color: #4e45d5;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.tech-btn:hover {
  background: rgba(78,69,213,0.05);
  transform: translateY(-3px);
}

.tech-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease, max-height 260ms ease;
}

.tech-row.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}

/* Inline tech row (always visible) */
.tech-row.inline{
  opacity: 1;
  transform: translateY(0);
  max-height: none;
  margin-bottom: 8px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.tech-html { background: linear-gradient(90deg,#f06529,#fb8c2d); }
.tech-css  { background: linear-gradient(90deg,#2965f1,#2b7be9); }
.tech-js   { background: linear-gradient(90deg,#f0db4f,#ffd54a); color:#222; }

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 700px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: scaleIn 0.3s ease;
  position: relative; /* ensure absolute children (close-btn) are positioned inside */
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
  color: #e33b5a;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.modal-content h4 {
  color: #ff914d;
  margin-bottom: 10px;
}

.modal-content p {
  color: #333;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 25px;
  cursor: pointer;
  color: #333;
  transition: 0.3s;
}

.close-btn:hover {
  color: #e33b5a;
}


/* 💡 Skills Roadmap Section */
/* ===================== SKILLS SECTION ===================== */
.skills-section {
  position: relative;
  padding: 100px 10%;
  text-align: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #fff;
  background: #ffeff1;
  overflow: hidden;
  z-index: 1;

  /* 🌊 Curved edges (both top + bottom, both sides) */
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;

  /* Optional shadow for depth */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* smooth transition into next section (white fade) */
.skills-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}


/* Section decorative curves */
.page-band {
  max-width: 1200px;
  margin: 18px auto;
  height: 56px;
  background: #fff6f7;
  border-radius: 28px;
  position: relative;
}
.page-band .center-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 4px;
  background: linear-gradient(90deg,#ff6b9a,#ffb26b);
  border-radius: 4px;
}

/* keep layout sane on small screens */
@media (max-width: 900px) {
  .navbar { width: calc(100% - 24px); left: 12px; transform: none; }
  #wrapper { padding-top: 72px; }
  .page-band { margin: 12px 16px; height: 48px; }
  .page-band .center-line { width: 140px; }
}

.skills-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  position: relative;
}

.roadmap-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* === Each Skill Card === */
.phase-card {
  width: 100%;
  padding: 28px 40px;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  transform: rotateY(90deg);
  opacity: 0;
  transform-origin: left center;
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease;
}

.phase-card.visible {
  transform: rotateY(0deg);
  opacity: 1;
}

.phase-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 8px;
}

/* ✅ Responsive Modal Fix for Small & Extra-Small Screens */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;              /* keeps modal centered and slightly narrower */
    padding: 25px 20px;      /* smaller inner padding */
    margin: 0 15px;          /* margin on both sides */
    max-width: 95%;
    overflow-y: auto;        /* allows scrolling if content is tall */
    max-height: 85vh;        /* prevent modal from covering entire screen */
  }

  .modal-content h2 {
    font-size: 1.4rem;
  }

  .modal-content h4 {
    font-size: 1.1rem;
  }

  .modal-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 22px;
  }
}

/* ✅ For very small phones (like 480px and below) */
@media (max-width: 480px) {
  .modal-content {
    width: 92%;
    padding: 20px 15px;
    margin: 0 10px;
    max-width: 95%;
    overflow-y: auto;        /* ensure scroll for long text */
    max-height: 80vh;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .modal-content h4 {
    font-size: 1rem;
  }

  .modal-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .close-btn {
    top: 8px;
    right: 12px;
    font-size: 20px;
  }
}



/* Roadmap box styling to match the provided image */
.roadmap-box {
  max-width: 1200px;
  margin: 0 auto;
  border: 2px solid #f6c2c8;
  border-radius: 14px;
  padding: 24px 20px 36px;
  background: linear-gradient(180deg, #fff8f9 0%, #fff9fa 100%);
}

.roadmap-title {
  font-size: 48px;
  font-weight: 700;
  margin: 24px 0 18px;
  color: #111;
}

.roadmap-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
  border-top: 1px solid rgba(227,59,90,0.08);
  perspective: 900px;
}

.roadmap-col {
  padding: 36px 48px;
  text-align: left;
  position: relative;
}

/* vertical separators */
.roadmap-col + .roadmap-col {
  border-left: 1px solid rgba(227,59,90,0.08);
}

.phase-number {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #7a2a2a;
  margin-bottom: 10px;
}

.phase-big {
  font-size: 28px;
  color: #b21d3b;
  margin-bottom: 22px;
}

/* Pills */
.pill {
  background: linear-gradient(90deg, #f0658d 0%, #ff974f 100%);
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

.pill.large {
  padding: 18px 20px;
}

.pill .pill-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  margin-right: 12px;
  vertical-align: middle;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 980px) {
  .roadmap-columns { grid-template-columns: 1fr; }
  .roadmap-col + .roadmap-col { border-left: none; border-top: 1px solid rgba(227,59,90,0.06); }
}

.phase-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.item {
  font-size: 0.95rem;
  color: #555;
  margin: 8px 0;
  line-height: 1.5;
}

/* Smooth animation stagger */
.phase-card:nth-child(1) { transition-delay: 0.1s; }
.phase-card:nth-child(2) { transition-delay: 0.3s; }
.phase-card:nth-child(3) { transition-delay: 0.5s; }


/* ================= Timeline ================= */


     body {
      font-family: "Be Vietnam Pro", sans-serif;
      background: linear-gradient(to bottom, #fdf7f9, #fcfaff);
      margin: 0;
      color: #1a1a1a;
      overflow-x: hidden;
    }

    section {
      position: relative;
      padding: 100px 20px;
    }

    h2 {
      text-align: center;
      font-size: 3rem;
      margin-bottom: 80px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* ===== Timeline Base ===== */
    .timeline {
      position: relative;
      max-width: 1100px;
      margin: auto;
    }

    /* Center vertical line (Desktop) */
    .timeline::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      background: var(--accent);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* ===== Timeline Items ===== */
    .timeline-item {
      position: relative;
      width: 50%;
      padding: 20px 40px;
      box-sizing: border-box;
    }

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

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

    /* ===== Content Box ===== */
    .content {
      background: #fff;
      border-radius: 20px;
      padding: 25px 30px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
    }

    /* Black Arrows */
    .timeline-item:nth-child(odd) .content::after {
      content: "";
      position: absolute;
      top: 25px;
      right: -15px;
      border-width: 10px;
      border-style: solid;
      border-color: transparent transparent transparent #000;
    }

    .timeline-item:nth-child(even) .content::after {
      content: "";
      position: absolute;
      top: 25px;
      left: -15px;
      border-width: 10px;
      border-style: solid;
      border-color: transparent #000 transparent transparent;
    }

    /* Hover effect */
    .content:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 30px rgba(247, 70, 112, 0.25);
    }

    .content h3 {
      margin-bottom: 10px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 600;
      font-size: 20px;
    }

    .content p {
      font-size: 15px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 10px;
    }

    .date {
      display: inline-block;
      margin-top: 10px;
      font-size: 14px;
      color: #666;
      font-weight: 600;
    }

  /* ===== View Certificate Link (Text Style) ===== */
/* ===== Elegant Accent Link (Matching Timeline Color) ===== */
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.view-btn::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
  opacity: 0.9;
}

.view-btn:hover::after {
  width: 100%;
}

.view-btn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.view-btn:hover span {
  transform: translateX(5px);
}

.view-btn:hover {
  color: var(--accent);
  text-shadow: none; /* ensures no glow or shadow */
}




    /* ===== Responsive Design ===== */

    /* --- Tablets / Small Laptops --- */
    @media (max-width: 1024px) {
      .timeline::before {
        left: 40px;
        transform: none;
      }

      .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 90px;
        margin-bottom: 60px;
      }

      .timeline-item:nth-child(even),
      .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
      }

      .content {
        padding: 22px;
        margin-right: 20px;
      }

      /* All arrows point right */
      .timeline-item .content::after {
        left: -15px !important;
        right: auto !important;
        border-color: transparent #000 transparent transparent !important;
      }
    }

    /* --- Tablets Portrait --- */
    @media (max-width: 768px) {
      section {
        padding: 80px 40px;
      }

      h2 {
        font-size: 2.4rem;
        margin-bottom: 60px;
      }

      .timeline::before {
        left: 30px;
      }

      .timeline-item {
        padding-left: 80px;
      }

      .content {
        padding: 20px;
      }

      .content h3 {
        font-size: 18px;
      }

      .content p {
        font-size: 14px;
      }

      .date {
        text-align: left;
        display: block;
      }
    }

    /* --- Mobile --- */
    @media (max-width: 480px) {
      section {
        padding: 60px 20px;
      }

      h2 {
        font-size: 2rem;
        margin-bottom: 40px;
      }

      .timeline::before {
        left: 18px;
      }

      .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 65px;
        margin-bottom: 50px;
      }

      .content {
        padding: 16px;
      }

      /* All arrows same side (left → right) */
      .content::after {
        left: -12px !important;
        right: auto !important;
        border-width: 8px;
        border-color: transparent #000 transparent transparent !important;
      }

      .content h3 {
        font-size: 16px;
      }

      .content p {
        font-size: 13px;
      }

      .date {
        font-size: 12px;
        text-align: left;
      }
    }

    /* ===================== TIMELINE SECTION WITH CURVES ===================== */
section#timeline-section {
  position: relative;
  background-color: #ffeff1; /* 🎨 Choose your solid background */
  padding: 100px 20px;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

/* Smooth fade to blend into next and previous sections */
section#timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}

section#timeline-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  
}

/* ===================== RESPONSIVE CURVES ===================== */
@media (max-width: 768px) {
  section#timeline-section {
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    padding: 80px 20px;
  }
}



/* ---------- CERTIFICATIONS SECTION ---------- */
 /* ------------------ Section Styling ------------------ */
.certifications-section {
  position: relative;
  padding: 100px 20px;
  background-color: #FFFFFF; /* ✅ Solid blue background */
  text-align: center;
  color: #fff;
  overflow: hidden;


}

/* Fade to white above */
.certifications-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(28, 85, 198, 0) 0%, #fff 100%);
}

.certifications-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(28, 85, 198, 0) 0%, #fff 100%);
  z-index: 2;
}

/* ------------------ Section Title ------------------ */
.section-title {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  background-color: #FFFFFF;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* ------------------ Filter Buttons ------------------ */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #f74670;
  color: #f74670;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  z-index: -1;
  transition: width 0.4s ease;
}

.filter-btn:hover::before {
  width: 100%;
}

.filter-btn:hover {
  color: #fff;
  transform: scale(1.05);
}

.filter-btn.active {
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  color: #fff;
  border: none;
}

/* ------------------ Grid ------------------ */
.certifications-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ------------------ Certificate Cards ------------------ */
.cert-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: scale(1);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: block;
}

.cert-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.cert-card:hover img {
  transform: scale(1.06);
}

/* ------------------ Info ------------------ */
.cert-info {
  padding: 15px;
  text-align: center;
}

.cert-info h4 {
  font-size: 1.1rem;
  margin: 8px 0 4px;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.cert-info p {
  font-size: 0.9rem;
  color: #444;
}

/* ------------------ View Overlay ------------------ */
.cert-card a {
  position: relative;
  display: block;
}

.view-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(241, 79, 115, 0.92);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.cert-card:hover .view-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------ Hide Animation ------------------ */
.cert-card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 768px) {
  .filter-buttons {
    gap: 10px;
  }
  .filter-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .cert-card img {
    height: 200px;
  }
  .certifications-section {
    padding: 60px 16px;
  }
}


   /* ========== CONTACT SECTION ========== */
/* ===================== GLOBAL ===================== */
body {
  background: #FFFFFF;
  font-family: "Be Vietnam Pro", sans-serif;
  margin: 0;
  padding: 0;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  position: relative;
  background: linear-gradient(135deg, #f8b9c0 0%, #f6a3ad 100%);
  padding: 120px 20px 100px;
  color: #1a1a1a;
  overflow: hidden;
  z-index: 2;
  margin-top: 0;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  box-shadow: none;
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  text-align: center;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
  text-align: center;
}

/* ===================== CONTAINER LAYOUT ===================== */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
  text-align: left;
}

/* ===================== LEFT SIDE ===================== */
.contact-info {
  flex: 1;
  min-width: 320px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  background: #fff8f9;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(247, 70, 112, 0.1);
}

.info-item i {
  font-size: 1.6rem;
  color: #f74670;
  margin-right: 15px;
}

.info-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.info-item p {
  margin: 3px 0 0;
  color: #555;
}

.social-links {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===================== RIGHT SIDE FORM ===================== */
.contact-form {
  flex: 1;
  min-width: 320px;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #eee;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #f74670;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(247, 70, 112, 0.3);
}

/* ===================== SOCIAL ICONS ===================== */
.social-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(247, 70, 112, 0.25);
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, #e10c5d, #f9681c);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: 0;
}

.social-icon:hover::before {
  opacity: 1;
  transform: scale(1.2);
  filter: blur(8px);
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 12px 25px rgba(247, 70, 112, 0.4);
}

.social-icon i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* Hover Colors */
.github:hover { background: #24292e; }
.linkedin:hover { background: #0077b5; }
.gmail:hover { background: #d93025; }
.twitter:hover { background: #1da1f2; }

/* Animation Glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(247, 70, 112, 0.25); }
  50% { box-shadow: 0 0 20px rgba(247, 70, 112, 0.4); }
}
.social-icon {
  animation: pulseGlow 3s infinite ease-in-out;
}


@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    padding: 40px 25px;
  }

  .contact-info, .contact-form {
    width: 100%;
  }

  .contact-info {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }

  .contact-subtitle {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .contact-section {
    padding: 80px 12px 80px;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    box-sizing: border-box;
  }

  .contact-container {
    width: 100%;
    max-width: 96%;
    margin: 0 auto;
    padding: 35px 25px;
    border-radius: 25px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
  }
}

@media (max-width: 480px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .contact-section {
    padding: 70px 10px 70px;
    border-top-left-radius: 85px;
    border-top-right-radius: 85px;
    border-bottom-left-radius: 65px;
    border-bottom-right-radius: 65px;
    box-sizing: border-box;
  }

  .contact-container {
    width: 100%;
    max-width: 96%;
    margin: 0 auto;
    padding: 35px 22px;
    border-radius: 25px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
  }

  .contact-info, 
  .contact-form {
    width: 100%;
    min-width: unset;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
    line-height: 1.4;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    padding: 10px;
    margin-bottom: 18px;
  }

  .info-item i {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }

  input,
  textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .btn {
    font-size: 0.85rem;
    padding: 10px 24px;
  }
}

@media (max-width: 350px) {
  .contact-section {
    padding: 65px 8px 65px;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }

  .contact-container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 25px 16px;
    border-radius: 20px;
    background: #fff;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-subtitle {
    font-size: 0.85rem;
    margin-bottom: 30px;
  }

  .info-item {
    padding: 8px 6px;
  }

  input,
  textarea {
    font-size: 0.85rem;
  }

  .btn {
    padding: 9px 18px;
  }
}


/* ========== FOOTER SECTION ========== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #f6a3ad 0%, #f57a89 100%);
  color: #fff;
  text-align: center;
  padding: 18px 10px 15px; /* compact height */
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  margin-top: -45px; /* subtle overlap */
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.footer-container {
  max-width: 850px;
  margin: 0 auto;
}

.footer p {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

/* --- Social Icons --- */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-icon:hover {
  background: #fff;
  color: #f9681c;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 6px 18px rgba(249, 104, 28, 0.25);
}

/* --- Individual Hover Colors --- */
.footer-icon.github:hover { color: #24292e; }
.footer-icon.linkedin:hover { color: #0077b5; }
.footer-icon.gmail:hover { color: #d93025; }
.footer-icon.twitter:hover { color: #1da1f2; }

/* --- Subtle Floating Animation --- */
@keyframes floatIcons {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.footer-icon:nth-child(1) { animation: floatIcons 4s ease-in-out infinite; }
.footer-icon:nth-child(2) { animation: floatIcons 4.5s ease-in-out infinite; }
.footer-icon:nth-child(3) { animation: floatIcons 5s ease-in-out infinite; }
.footer-icon:nth-child(4) { animation: floatIcons 4.3s ease-in-out infinite; }

@media (max-width: 1024px) {
  .footer {
    padding: 35px 20px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
  }

  .footer p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .footer-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* --- Tablets & Medium Devices (<= 768px) --- */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px 25px;
    margin-top: -35px;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
  }

  .footer p {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .footer-socials {
    gap: 18px;
  }

  .footer-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}

/* --- Mobile (<= 480px) --- */
@media (max-width: 480px) {
  .footer {
    padding: 25px 10px 22px;
    margin-top: -25px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
  }

  .footer p {
    font-size: 0.82rem;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
  }

  .footer-socials {
    gap: 15px;
  }

  .footer-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* --- Tiny Devices (<= 360px) --- */
@media (max-width: 360px) {
  .footer {
    padding: 20px 8px 18px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }

  .footer p {
    font-size: 0.78rem;
  }

  .footer-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}


html {
  scroll-behavior: smooth;
}

/* 🌐 Remove all link underlines globally */
a {
  text-decoration: none !important;
}

/* 🌸 Modern Floating Social Icons - 3D Depth Motion */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 1.8rem;
  align-items: center;
  justify-content: flex-start;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-socials a {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #7b7b7b; /* base gray */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  transition: all 0.45s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  animation: float3D 5s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 🎢 3D floating effect — moves slightly in/out (Z-axis illusion) */
@keyframes float3D {
  0%, 100% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: translateZ(20px) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
}

/* 🌈 Hover gradients reveal */
.hero-socials a:hover {
  transform: translateZ(35px) scale(1.15);
  color: #fff;
}

/* 🎨 Gradient per platform */
.social.linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social.github:hover {
  background: linear-gradient(135deg, #24292e, #434c56);
}

.social.email:hover {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.social.twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #0d8bec);
}

.social.linktree:hover {
  background: linear-gradient(135deg, #39e09b, #00c67c);
}

.social.medium:hover {
  background: linear-gradient(135deg, #000000, #555555);
}

/* ✨ Tooltip labels (optional, minimal) */
.hero-socials a::after {
  content: attr(title);
  position: absolute;
  bottom: -28px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}
.hero-socials a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  .hero-socials {
    justify-content: center;
    margin-top: 1.4rem;
  }
  .hero-socials a {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}



.hero-socials a::after {
  content: attr(title);
  position: absolute;
  bottom: -32px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.hero-socials a:hover::after {
  opacity: 1;
  transform: translateY(0);
}
