/* ============ NAVBAR START  ================= */
#navbar {
  justify-content: space-between;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: fit-content;
  z-index: 100;
  background: rgba(var(--bg-secondary-rgb), 0.5);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-2);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  border: var(--gray-border);
}
#navbar.drop {
  position: fixed;
  animation: drop 1s;
}
@keyframes drop {
  0% {
    top: -100%;
  }
  100% {
    top: 20px;
  }
}

#navbar .nav__routes {
  align-items: center;
  gap: 30px;
}
#navbar .route {
  font-size: 16px;
  font-weight: 700;
  display: block;
  cursor: pointer;
  transition: var(--transition);
}
#navbar .route.active {
  color: var(--color-primary);
}
#navbar .menu__btn {
  display: none;
}
#navbar .theme__toggle {
  display: flex;
  align-items: center;
}
#navbar .theme__toggle input {
  position: absolute;
  top: -9999px;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}
#navbar .theme__toggle .sun,
#navbar .theme__toggle .moon {
  transform: scale(0);
  transition: var(--transition);
  color: var(--text-color);
}
#navbar .theme__toggle input:not(:checked) ~ .icon__container .sun {
  transform: scale(1);
}
#navbar .theme__toggle input:checked ~ .icon__container .moon {
  transform: scale(1);
}
/* Navbar responsive code */
@media only screen and (max-width: 700px) {
  #navbar {
    max-width: 100%;
    width: 90%;
  }
  #navbar .nav__routes {
    display: none;
  }
  #navbar .menu__btn {
    display: flex;
  }
}
/* ============ NAVBAR END  ================= */

/* ============= SIDEBAR START =============== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 0;
  width: 100%;
  background: rgba(var(--bg-secondary-rgb), 0.8);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  transition: var(--transition);
  overflow: hidden;
}
.sidebar.visible {
  height: 100%;
}
.sidebar .sidebar__wrapper {
  padding: 1rem;
}
.sidebar .top {
  justify-content: space-between;
}
.sidebar .navitem {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.sidebar .navitem:hover {
  color: var(--color-primary);
}
/* ============= SIDEBAR END =============== */

/* ============= HEADER START =============== */
#header > .spotlight {
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
}
#header .container {
  min-height: 100vh;
  padding-top: 120px;
  overflow: visible;
}
#header .grid {
  display: grid;
  grid-template-columns: 400px auto;
  gap: 30px;
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}
#header .user__info {
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}
#header .btn {
  white-space: nowrap;  /* ✅ keeps "Resume + icon" on one line */
}
/* Typography (fluid scaling) */
#header .sub__title{
  font-weight: 600;
  margin-bottom: 0.4rem;
  /* margin-left: 0.5rem; */
  font-size: clamp(0.85rem, 2.5vw, 1rem);
}
#header .name{
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 5px;
}
#header .title{
  font-weight: 500;
  margin-top: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}
#header .title .typing-text{
  font-size: 0.6em;
  font-weight: 600;
}
#header .description {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.7;
  text-align: justify;
  max-width: 100%;
  font-weight: 500;
  margin: 0 auto;
}
/* Buttons container */
#header .flex.buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* gap: 20px; */
  gap: 1.2rem;
  flex-wrap: nowrap;
  margin: 14px 0;
}
#header .buttons {
  flex-direction: column;   /* stacked by default */
  transform: scale(0.9);
}
/* #header .buttons .btn__primary{
  margin: -18px 0;
} */
#header .flex.social__handles{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  /* gap: 15px; */
  gap: 0.6rem;
}
#header .social__handles .icon__container {
  background: var(--bg-base);
}
#header .handle {
  width: 34px;
  height: 34px;
}
/* Resume button */
#header .flex .btn.btn__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  /* line-height: 2px; */
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}
/* Points */
#header .points {
  position: absolute;
  bottom: 0;
  margin-top: 30px;
  left: 0;
  width: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(var(--bg-base-rgb), 0.5);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  padding: 2rem;
  border-radius: var(--radius-2);
}
#header .point .flex {
  align-items: center;
  gap: 5px;
}
#header .points .spotlight {
  width: 40%;
  height: 90px;
  right: 0;
}
/* Responsive code */
@media only screen and (min-width: 1500px) {
  #header .container {
    min-height: auto;
  }
}
@media (min-width: 900px) {
  #header .flex.buttons {
    flex-direction: row;          /* ✅ was column → now row */
    align-items: left;
    justify-content: flex-start;  /* ✅ keeps everything on one line */
    gap: 1.2rem;
    flex-wrap: nowrap;            /* ✅ prevents wrapping */
  }
  #header .social__handles {
    justify-content: flex-start;
    flex-wrap: nowrap;            /* ✅ prevents icons breaking to new line */
  }
}
@media only screen and (max-width: 1180px) {
  #header .title{
    font-size: 1em;
  } 
  #header .name{
    font-size: 1em;
  }
  #header .sub__title{
    font-size: 1em;
  }
  #header .description {
    font-size: 1em;
  }
}
@media (max-width: 900px) {
  #header .grid {
    /* grid-template-columns: 1fr; */
    grid-template-columns: 100%;
    justify-items: center; /* 🔥 THIS centers grid children */
  }
  #header .me {
    order: 2;
    max-width: 400px;
    margin: 0 auto;
  }
  #header .user__info {
    /* order: 1; */
    text-align: center;
    margin: 0 auto;       /* centers horizontally */
    max-width: 500px;     /* 🔥 REQUIRED for proper centering */
    width: 100%;
  }
  /* Typography scaling */
  #header .name {
    font-size: 1.9rem;
  }
  #header .title {
    font-size: 1.3rem;
  }
  #header .sub__title {
    font-size: 2.2rem;
  }
  #header .description {
    font-size: 0.95rem;
  }
  /* Alignment */
  #header .title, 
  #header .name,
  #header .sub__title,
  #header .description {
    text-align: center;
  }
  #header .buttons{
    justify-content: center;
    flex-direction: column;
    align-items: left;
    /* transform: scale(0.9); */
    /* gap: 1rem; */
  }
  #header .social__handles {
    /* justify-content: center; */
    order: 1; /*icons first */
  }
  #header .btn{
    order: 2; /* resume button below */
  }
}
@media only screen and (max-width: 600px) {
  #header .points {
    grid-template-columns: repeat(2, 1fr);
    /* margin-top: auto; */
  }
  #header .buttons {
    transform: scale(0.9);
  }
  #header .handle {
    width: 90%;
    height: 90%;
  }
  #header .points .flex {
    justify-content: center;
  }
  #header .points .text__muted {
    font-size: 10px;
    text-align: center;
  }
  #header .description {
    font-size: 20px;
  }
  #header .title {
    font-size: 25px;
  }
  #header .sub__title {
    font-size: 22px;
  }
  #header .btn {
    font-size: 12px;
  }
}
/* Large screens (≥1200px) */
@media (min-width: 1200px) {
  #header .user__info {
    max-width: 650px;
  }
  #header .handle {
    width: 40px;
    height: 40px;
  }
  #header .name {
    font-size: 3.6rem;
  }
  #header .title {
    font-size: 2.1rem;
  }
  #header .description {
    font-size: 1.15rem;
  }
  #header .btn {
    font-size: 1rem;
  }
}
@media (max-width: 565px) {
  #header .buttons {
    display: flex;
    flex-direction: column;      /* stack vertically */
    align-items: center;         /* center everything */
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }
  #header .social__handles {
    display: flex;
    justify-content: center;     /* center icons */
    align-items: center;
    flex-wrap: wrap;             /* prevent overflow */
    gap: 0.6rem;
    order: 1;                    /* icons on top */
  }
  #header .buttons .btn {
    order: 2;                    /* resume below */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
  /* DESKTOP (≥992px) */
@media (min-width: 992px) {
  #header .user__info {
    max-width: 600px;
  }
  #header .name {
    font-size: 2.7rem;
  }
  #header .title {
    font-size: 1.9rem;
  }
  #header .description {
    font-size: 1.05rem;
    max-width: 600px;
  }
  #header .handle {
    width: 38px;
    height: 38px;
  }
  #header .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}
  /* TABLET (≥768px) */
@media (min-width: 768px) {
  #header .user__info {
    text-align: left;
    max-width: 550px;
    margin: 0;
  }
  #header .name {
    font-size: 2.8rem;
  }
  #header .title {
    font-size: 1.8rem;
  }
  #header .description {
    font-size: 1.05rem;
    margin: 0;
    max-width: 550px;
  }
  #header .buttons {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  #header .social__handles {
    justify-content: flex-start;
  }
}
/* SMALL DEVICES (≥910px) Surface Pro 7*/
/* @media (max-width: 910px) {
  #header .user__info{
    margin-top: -9px;
  }
  #header .sub__title {
    font-size: 1rem;
  }
  #header .name {
    font-size: 2.5rem;
  }
  #header .title {
    font-size: 2rem;
  }
  #header .description {
    font-size: 1rem;
    font-weight: 500;
  }
} */
/* SMALL DEVICES-2 (≥576px) */
@media (min-width: 576px) {
  #header .user__info{
    margin-top: 0;
  }
  #header .btn {
    font-size: 0.9rem;
  }
  #header .handle {
    width: 36px;
    height: 36px;
  }
  #header .sub__title {
    font-size: 1.2rem;
  }
  #header .name {
    font-size: 2.7rem;
  }
  #header .title {
    font-size: 2.1rem;
  }
  #header .description {
    font-size: 1.1rem;
    font-weight: 500;
  }
  #header .flex.buttons{
    margin-top: 10px;
    transform: scale(0.7);
    gap: 1rem;
    justify-content: center;   /* 🔥 THIS centers everything horizontally */
    align-items: center;       /* keeps vertical alignment clean */
  }
  #header .btn__primary {
    font-size: 0.9rem;
  }
}
  /* VERY SMALL DEVICES (≤400px) */
/* @media (min-width: 400px) {
  #header .buttons {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  #header .social__handles {
    justify-content: flex-start;
  }
} */
  /* VERY SMALL DEVICES-2 (≤400px) */
@media (max-width: 400px) {
  #header .user__info {
    max-width: 95%;
  }
  #header .sub__title {
    font-size: 1.1rem;
  }
  #header .handle {
    width: 30px;
    height: 30px;
  }
  #header .btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
  }
  #header .name {
    font-size: 23px;
  }
  #header .title {
    font-size: 15px;
  }
  #header .title .typing-text{
    font-size: 15px;
    font-weight: 600;
}
  #header .description {
    font-size: 16px;
  }
  #header .btn__primary {
    font-size: 0.8rem;
  }
}
/* ============= HEADER END =============== */

/*  ============  ABOUT START ============= */
#about .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
#about .col-2 {
  grid-column: span 2;
}
#about .box {
  background: var(--bg-secondary);
  border-radius: var(--radius-3);
  box-shadow: var(--border-shadow);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}
#about .spotlight {
  width: 180px;
  right: 0;
}
#about .cluster {
  padding: 20px;
  position: relative;
  z-index: 2;
  gap: 20px;
}
#about .user {
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(var(--bg-base-rgb), 0.8);
  padding: 10px;
  border-radius: var(--radius-3);
}
#about .description {
  margin: 10px 0;
  text-align: justify;
}
#about .code__block {
  border-radius: var(--radius-3);
  box-shadow: var(--border-shadow);
  overflow: hidden;
  height: fit-content;
}
#about .hljs {
  display: block;
  padding: 20px;
  margin-bottom: -15px;
  background: rgba(var(--bg-base-rgb), 0.6);
  color: var(--color-primary);
}
#about .hljs-string {
  color: #008000;
}
#about .code__block .dot__container {
  height: 50px;
  justify-content: flex-start;
  padding: 0 20px;
  border-bottom: var(--gray-border);
  border-width: 0.5px;
  background: rgba(var(--bg-secondary-rgb), 0.6);
}
#about .code__block .dot {
  width: 0.7rem;
  height: 0.7rem;
  min-width: 0.7rem;
  min-height: 0.7rem;
  max-width: 0.7rem;
  max-height: 0.7rem;
  border-radius: var(--radius-5);
  background: var(--success);
}
#about .code__block .dot:nth-child(1) {
  background: var(--danger);
}
#about .code__block .dot:nth-child(2) {
  background: var(--warning);
}

#about .my__drive {
  flex: 1;
  padding: 20px;
  border-radius: var(--radius-3);
  background: rgba(var(--bg-secondary-rgb), 0.5);
  box-shadow: var(--border-shadow);
}
#about .kit {
  position: absolute;
  bottom: -10px;
  right: 0;
  z-index: 1;
}
#about .kit.grid__box {
  left: 0;
}
#about .kit.card__ui {
  width: 200px;
  height: 200px;
  right: 10px;
  bottom: -20px;
}
#about .stacks__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
}
#about .stack {
  background: rgba(var(--bg-secondary-rgb), 0.8);
  box-shadow: var(--border-shadow);
}
#about .last__box {
  background-image: url("../assets/img/bg1.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
#about .last__box .btn__wrapper {
  margin-top: 30px;
}
#about .last__box .btn {
  background: #222;
  color: var(--color-white);
  border-radius: 0;
  border: solid 1px transparent;
  border-image: linear-gradient(
      45deg,
      var(--color-primary-accent),
      var(--color-primary-accent),
      var(--color-primary),
      #f0cb35
    )
    1;
}
/* Responsive code */
@media only screen and (max-width: 900px) {
  #about .self__start {
    align-self: flex-start;
  }
  #about .row {
    flex-direction: column;
  }
}
@media only screen and (max-width: 768px) {
  #about .grid {
    grid-template-columns: 100%;
  }
  #about .col-2 {
    grid-column: span 1;
  }
}
@media only screen and (max-width: 550px) {
  #about .stacks__container {
    grid-template-columns: repeat(2, 1fr);
  }
  #about .stacks__container .btn {
    gap: 5px;
    padding: 5px 10px;
    font-size: 14px;
  }
}
/*  ============  ABOUT END ============= */

/* ============== PROJECTS START ========= */
#projects {
  background-color: var(--color-primary);
  background-image: url("../assets/img/bg2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#projects .section__header {
  color: var(--color-white);
}
#projects .section__header .description{
  text-align: center;
}
#projects .projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 900px;
  margin: auto;
  margin-top: 70px;
}
#projects .project,
#projects .details {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

/* .details .value{
  display: inline-flex!important;
  gap: 2;
  justify-content: center!important;
  margin-top: 10px!important;
  align-items: center!important;
} */

#projects .project {
  background: var(--bg-secondary);
  overflow: hidden;
  border-radius: var(--radius-3);
  box-shadow: var(--border-shadow);
}
#projects .picture {
  overflow: hidden;
}
#projects img {
  transition: var(--transition);
}
#projects .project:hover img {
  transform: scale(1.1);
}

#projects .details {
  flex: 1;
  padding: 20px;
}
#projects .description {
  flex: 1;
  font-size: 16px;
  margin-top: 10px;
  text-align: justify;
}
#projects .bottom {
  margin-top: 20px;
}
#projects .btn {
  color: var(--color-primary);
  padding: 0;
}
/* Responsive code */
@media only screen and (max-width: 600px) {
  #projects .projects {
    grid-template-columns: 100%;
  }
}
/* ============== PROJECTS END ========= */

/* ============== SERVICES START ========== */
#services > .container {
  position: relative;
  z-index: 2;
}
#services .sub__title {
  text-align: center;
}
#services .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
#services .service {
  padding: 50px 20px;
  background: rgba(var(--bg-secondary-rgb), 0.5);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  overflow: hidden;
  border-radius: var(--radius-3);
  border: var(--gray-border);
  border-width: 0.5px;
}
#services .circle {
  width: 5rem;
  height: 5rem;
  margin: auto;
  border: var(--gray-border);
  border-radius: var(--radius-5);
  margin-bottom: 40px;
  position: relative;
}
#services .circle > .spotlight {
  width: 40%;
}
#services .icon__container {
  border: var(--gray-border);
  font-size: 30px;
  background: var(--bg-base);
}
#services .name,
#services .description {
  text-align: center;
  margin-bottom: 20px;
}
/* #services .description {
  text-align: justify;
} */
#services .btn {
  border: var(--gray-border);
  border-color: var(--color-primary);
  border-width: 0.5px;
  background: rgba(var(--bg-secondary-rgb), 0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
}
#services .btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
/* Responsive code */
@media only screen and (max-width: 900px) {
  #services .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  #services .services {
    grid-template-columns: 100%;
  }
}
/* ============== SERVICES END ========== */

/* ============ TESTIMONIALS START ======== */
#testimonials {
  overflow: hidden;
  position: relative;
  padding: 50px 0;
  background: rgba(var(--bg-secondary-rgb), 0.8);
}
#testimonials::before,
#testimonials::after {
  content: "";
  position: absolute;
  width: 25%;
  height: 100%;
  top: 0;
  z-index: 2;
}
#testimonials::before {
  left: 0;
  background: linear-gradient(to left, transparent, var(--bg-secondary));
}
#testimonials::after {
  right: 0;
  background: linear-gradient(to right, transparent, var(--bg-secondary));
}
#testimonials .sub__title {
  text-align: center;
}
#testimonials .testimonials {
  margin-top: 50px;
  padding: 20px 0;
  position: static;
  height: 100%;
}
#testimonials .testimonials::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--bg-secondary),
    var(--bg-secondary),
    var(--bg-secondary)
  );
}
#testimonials .testimonial {
  height: auto;
  max-width: 60%;
  background: var(--bg-secondary);
  padding: 40px;
  box-shadow: var(--border-shadow);
  border-radius: var(--radius-4);
  position: relative;
}
#testimonials .flex {
  align-items: center;
  gap: 10px;
}
#testimonials .user {
  margin-bottom: 30px;
}
#testimonials .name {
  font-size: 16px;
  font-weight: 500;
}
#testimonials .content {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}
#testimonials .stars__container {
  justify-content: flex-start;
  position: absolute;
  bottom: 40px;
  left: 40px;
}
/* Responsive code */
@media only screen and (max-width: 767px) {
  #testimonials .testimonial {
    padding: 20px;
  }
  #testimonials .testimonial p {
    font-size: 12px;
  }
  #testimonials .stars__container {
    bottom: 20px;
    left: 20px;
  }
}
@media only screen and (max-width: 600px) {
  #testimonials {
    padding: 50px 20px;
  }
  #testimonials .testimonial {
    max-width: 100%;
  }
  #testimonials .testimonial .row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: left;
  }
}
/* ============ TESTIMONIALS END ======== */

/* ============ CONTACT START ============ */
#contact > .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
#contact .box {
  background: var(--bg-secondary);
  box-shadow: var(--border-shadow);
  border-radius: var(--radius-3);
  position: relative;
  overflow: hidden;
}
#contact .box:nth-child(1) {
  margin-bottom: 30px;
}
#contact .box:nth-child(2) {
  background-image: url("../assets/img/bg2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
#contact .cluster {
  padding: 20px;
  z-index: 2;
}
#contact .cluster .description {
  margin: 20px 0;
}
#contact .list__ui {
  position: absolute;
  z-index: 1;
  right: -10px;
  bottom: -10px;
  width: 50%;
  height: auto;
}
#contact .option {
  background: rgba(var(--bg-secondary-rgb), 0.8);
  width: fit-content;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: var(--radius-3);
}
#contact .option:hover .icon__container {
  transform: scale(1.1);
  color: var(--text-color);
}
#contact .contact__form {
  padding: 20px;
  width: 100%;
  background: var(--bg-secondary);
  box-shadow: var(--border-shadow);
  border-radius: var(--radius-3);
  overflow: hidden;
  position: relative;
}
#contact .spotlight {
  width: 170px;
  height: 100px;
  right: 0;
  bottom: -30px;
}
#contact .row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
#contact .control {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 20px 0;
  border-radius: var(--radius-2);
  color: var(--text-color);
  font-size: 15px;
  overflow: hidden;
  transition: var(--transition);
  border: var(--gray-border);
  border-color: var(--color-primary);
  border-width: 2px;
  resize: none;
  height: 50px;
  background: transparent;
}
#contact .control:focus {
  border-color: var(--color-primary-light);
  background: rgba(var(--bg-base-rgb), 0.5);
}
#contact textarea.control {
  height: 130px;
}
#contact .submit__btn {
  display: block;
  width: fit-content;
  margin: auto;
}
/* Responsive code */
@media only screen and (max-width: 800px) {
  #contact .container {
    grid-template-columns: 100%;
  }
}
  /* BASE (Mobile First) */
#contact .left__column .cluster {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#contact .option {
  display: flex;
  align-items: center; /* FIX: always horizontal alignment */
  gap: 0.6rem;
  /* flex-wrap: nowrap; */
}
#contact .icon__container {
  flex-shrink: 0; /* prevents icon from shrinking */
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
#contact .details {
  flex: 1;
  min-width: 0; /* VERY IMPORTANT for text wrapping */
}
#contact .value {
  display: block;
  font-size: clamp(0.75rem, 2.5vw, 1rem); /* 🔥 responsive scaling */
  line-height: 1.4;
  word-break: break-word;       /* breaks long email */
  overflow-wrap: anywhere;      /* modern fix */
  letter-spacing: 0.3px;
}
  /* VERY SMALL DEVICES (≤400px) */
@media (max-width: 400px) {
  #contact .option {
    gap: 0.5rem;
  }
  #contact .icon__container {
    width: 32px;
    height: 32px;
  }
  #contact .value {
    font-size: 0.7rem; /* force smaller text */
  }
}
  /* SMALL DEVICES (≥576px) */
@media (min-width: 576px) {
  #contact .option {
    gap: 0.8rem;
  }
  #contact .value {
    font-size: 0.9rem;
  }
}
  /* TABLET (≥768px) */
@media (min-width: 768px) {
  #contact .option {
    /* align-items: center; */
    gap: 1rem;
  }
  #contact .value {
    font-size: 1rem;
  }
}
  /* DESKTOP (≥992px) */
@media (min-width: 992px) {
  #contact .cluster {
    gap: 1.25rem;
  }
  #contact .value {
    font-size: 1.05rem;
  }
}
/* ============ CONTACT END ============ */

/* ============= FOOTER START ========== */
#footer {
  background: var(--bg-secondary);
  border-radius: 50px 50px 0 0;
  box-shadow: var(--border-shadow);
  position: relative;
  overflow: hidden;
}
#footer .spotlight {
  bottom: -50px;
  left: -50px;
  height: 120px;
}
#footer .container {
  padding-bottom: 20px;
}
#footer .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#footer .col-2 {
  grid-column: span 2;
}
#footer .description {
  margin: 20px 0;
}

#footer .group__name {
  font-size: 16px;
  margin-bottom: 15px;
}
#footer .route__item {
  display: block;
  color: var(--color-muted);
  transition: var(--transition);
  font-size: 15px;
  cursor: pointer;
  margin: 10px 0;
}
#footer .route__item:hover {
  color: var(--color-primary);
}
#footer .copyright {
  margin-top: 80px;
  text-align: center;
}
#footer .copyright h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-primary);
}
/* Responsive code */
@media only screen and (max-width: 900px) {
  #footer .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #footer .col-2 {
    grid-column: span 1;
  }
}
@media only screen and (max-width: 600px) {
  #footer .grid {
    grid-template-columns: 100%;
  }
}
  /* BASE (Mobile First) */
#footer {
  /* padding: 2rem 1rem; */
  text-align: center;
}
#footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
#footer h3 {
  font-size: 0.9rem;
  font-weight: 500;
}
#footer .text__muted {
  font-size: 0.8rem;
  opacity: 0.7;
}
  /* SMALL DEVICES (≥576px) */
@media (min-width: 576px) {
  #footer h3 {
    font-size: 1rem;
  }
  #footer .text__muted {
    font-size: 0.85rem;
  }
}
  /* TABLET (≥768px) */
@media (min-width: 768px) {
  #footer {
    /* padding: 2.5rem 2rem; */
  }
  #footer h3 {
    font-size: 1.05rem;
  }
  #footer .text__muted {
    font-size: 0.9rem;
  }
}
  /* DESKTOP (≥992px) */
@media (min-width: 992px) {
  #footer {
    /* padding: 3rem 4rem; */
  }
  #footer h3 {
    font-size: 1.1rem;
  }
  #footer .text__muted {
    font-size: 0.95rem;
  }
}
  /* LARGE SCREENS (≥1200px) */
@media (min-width: 1200px) {
  #footer h3 {
    font-size: 1.15rem;
  }
  #footer .text__muted {
    font-size: 1rem;
  }
}
/* ============= FOOTER END ========== */
