/* ==========================================
              Google Fonts
=========================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* ==========================================
              Global CSS
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  text-decoration: none !important;
  outline: none;
  border: none;
  font-family: "Pacifico", "Lobster", "Poppins", "Playwrite AU SA",
    "Dancing Script", cursive;
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-color: #2c1e1e;
  --second-bg-color: #3f2d2d;
  --text-color: #f3e9e9;
  --main-color: #ff6f61;
  --accent-color: #ffd369;
  --transition: all 0.4s ease-in-out;
}

/*:root {
  --bg-color: #0b0c2a;
  --second-bg-color: #1a1b41;
  --text-color: #e5e5e5;
  --main-color: #6c63ff;
  --accent-color: #3dd9d6;
  --transition: all 0.4s ease-in-out;
}*/

html {
  font-size: 15.5px;
  overflow-x: hidden;
}

body {
  background: var(--bg-color) !important;
  color: var(--text-color) !important;
}

section {
  min-height: 100vh;
  min-width: 100%;
  padding: 7rem 9% 2rem;
}

/* ==========================================
              Header
=========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: var(--bg-color) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header.sticky {
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 2.4rem;
  color: var(--text-color) !important;
  font-weight: 600;
  cursor: pointer;
}
/* ==========================================
              Navbar
=========================================== */
.navbar a {
  font-size: 1.1rem;
  color: var(--text-color) !important;
  margin-left: 3.5rem !important;
  transition: 0.3s ease !important;
  -webkit-transition: 0.3s ease !important;
  -moz-transition: 0.3s ease !important;
  -ms-transition: 0.3s ease !important;
  -o-transition: 0.3s ease !important;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color) !important;
}

#menu-icon {
  color: var(--text-color);
  font-size: 2rem;
  display: none;
}
/* ==========================================
              Home
=========================================== */
.home {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  /*Pou la particule js*/
  position: relative; /* Important pour que les particules soient bien placées */
  overflow: hidden;
}
.home-img {
  /*margin-left: 800px;
   margin-top: -480px; 
 margin-top: 5rem;
  margin-right: -5rem;*/
  margin-right: 13%;
  margin-top: -1.5%;
  z-index: -1;
}
.home-img img {
  width: 25vw;
  animation: floatImage 4s ease-in-out infinite;
  -webkit-animation: floatImage 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px var(--main-color));
}
@keyframes floatImage {
  0% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
    -webkit-transform: translateY(-2.4rem);
    -moz-transform: translateY(-2.4rem);
    -ms-transform: translateY(-2.4rem);
    -o-transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}

.home-content {
  margin-top: -10rem;
  width: 90%;
}
.home-content h3 {
  font-size: 3rem;
  font-weight: 700;
}
.home-content h3:nth-child(1) {
  margin-top: 10rem;
}

span {
  color: var(--main-color) !important;
}

.home-content h1 {
  color: var(--main-color) !important;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3.4rem;
  height: 3.4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color) !important;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  font-size: 1.5rem;
  color: var(--main-color) !important;
  margin: 3rem 1.5rem 2.5rem 0;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  -o-transition: 0.3s ease;
}

.social-media a:hover {
  background: var(--main-color) !important;
  color: var(--second-bg-color) !important;
  box-shadow: 0 0 1rem var(--main-color) !important;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2.8rem;
  background: var(--main-color) !important;
  border-radius: 4rem;
  -webkit-border-radius: 4rem;
  -moz-border-radius: 4rem;
  -ms-border-radius: 4rem;
  -o-border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color) !important;
  font-size: 1.3rem;
  color: var(--second-bg-color) !important;
  font-weight: 600;
  transition: 0.5s ease;
  -webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
  -ms-transition: 0.5s ease;
  -o-transition: 0.3s ease;
}
.btn:hover {
  box-shadow: none;
}

.img img {
  width: 400px;
  filter: drop-shadow(0 0 10px #0ef);
}

/* ==========================================
             Particule JS Home
=========================================== */

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1; /* pour que le contenu passe au-dessus */
  top: 0;
  left: 0;
}

.navbar .form-select {
  background: transparent !important;
  color: var(--text-color) !important;
  outline: none;
}

.navbar .form-select option {
  background-color: var(--second-bg-color);
  color: var(--text-color);
}

/* .navbar .form-select:focus {
  border: 1px solid var(--main-color);
  background-color: var(--accent-color);
  color: var(--text-color);
} */

/* .navbar .form-select option:hover {
  background-color: var(--main-color);
  color: #000;
} */

/* ==========================================
              Heading générique (pages)
=========================================== */
.heading {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
}
.heading span {
  color: var(--main-color) !important;
}

.timeline-empty {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 3rem;
}

/* ==========================================
              Page 404
=========================================== */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.not-found-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--main-color) !important;
  line-height: 1;
  margin-bottom: 1rem;
}
.not-found-text {
  max-width: 40rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}
@media (max-width: 450px) {
  .not-found-code {
    font-size: 5rem;
  }
}

/* ==========================================
              Footer
=========================================== */
.footer {
  background: var(--second-bg-color);
  padding: 3rem 9% 2rem;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.footer-nav a {
  color: var(--text-color) !important;
  font-size: 1rem;
  transition: 0.3s ease !important;
}
.footer-nav a:hover {
  color: var(--main-color) !important;
}
.footer-social a {
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.1rem;
  margin: 0 0.7rem;
}
.footer-copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ==========================================
              About page
=========================================== */
.about-top {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 6rem;
}
.about-img {
  flex-shrink: 0;
}
.about-img img {
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.3rem solid var(--main-color);
  box-shadow: 0 0 2rem var(--main-color);
}
.about-text {
  flex: 1;
}
.about-text .heading {
  text-align: left;
  margin-bottom: 1.5rem;
}
.about-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--second-bg-color);
  border-radius: 0.8rem;
  padding: 1.8rem 1rem;
  text-align: center;
  border-bottom: 0.3rem solid var(--accent-color);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}
.feature-card i {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 0.8rem;
  display: block;
}
.feature-card span {
  font-size: 0.95rem;
  color: var(--text-color) !important;
}

/* ==========================================
              Timeline verticale (réutilisable)
=========================================== */
.timeline-wrapper {
  margin-top: 2rem;
}
.timeline-heading {
  font-family: "Gaegu", cursive;
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0.2rem;
  background: var(--main-color);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
  box-sizing: border-box;
}
.timeline-left {
  left: 0;
  text-align: right;
}
.timeline-right {
  left: 50%;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--main-color);
  box-shadow: 0 0 0 0.4rem var(--bg-color), 0 0 1rem var(--main-color);
}
.timeline-left .timeline-dot {
  right: -0.7rem;
}
.timeline-right .timeline-dot {
  left: -0.7rem;
}
.timeline-content {
  background: var(--second-bg-color);
  border-radius: 0.8rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.timeline-content:hover {
  box-shadow: 0 0 1.5rem var(--main-color);
}
.timeline-date {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color) !important;
}
.timeline-content h3 {
  font-family: "Gaegu", cursive;
  font-size: 1.7rem;
  color: var(--main-color) !important;
  margin-top: 0.3rem;
}
.timeline-content h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}
.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* ==========================================
              Skills page
=========================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.skill-badge {
  background: var(--second-bg-color);
  border-radius: 0.8rem;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: var(--transition);
  border: 0.1rem solid transparent;
}
.skill-badge:hover {
  border-color: var(--main-color);
  transform: translateY(-0.4rem);
}
.skill-badge i {
  font-size: 2.5rem;
  color: var(--main-color);
  display: block;
  margin-bottom: 0.8rem;
}

/* ==========================================
              Portfolio page
=========================================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.portfolio-filter-btn {
  padding: 0.6rem 1.8rem;
  background: transparent;
  border: 0.15rem solid var(--main-color) !important;
  border-radius: 3rem;
  color: var(--text-color);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: var(--main-color);
  color: var(--second-bg-color);
}
.portfolio-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 2rem;
}
.portfolio-item {
  background: var(--second-bg-color);
  border-radius: 0.8rem;
  overflow: hidden;
}
.portfolio-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-img img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 30, 30, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: var(--second-bg-color) !important;
  border-radius: 50%;
  font-size: 1.2rem;
  transform: translateY(1rem);
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-item:hover .portfolio-icon {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-title {
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
}

.portfolio-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.portfolio-modal {
  position: relative;
  background: var(--second-bg-color);
  border-radius: 1rem;
  max-width: 50rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 0 3rem var(--main-color);
}
.portfolio-modal img {
  width: 100%;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
}
.portfolio-modal h3 {
  font-size: 1.6rem;
  color: var(--main-color) !important;
  margin-bottom: 0.8rem;
}
.portfolio-modal p {
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.portfolio-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--main-color);
  color: var(--second-bg-color);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.25s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* ==========================================
              Bouton retour en haut de page
=========================================== */
.scroll-top-btn {
  position: fixed;
  right: 2.5rem;
  bottom: 2.5rem;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main-color);
  color: var(--second-bg-color) !important;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.3s ease;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  box-shadow: 0 0 1.5rem var(--main-color);
}

@media (max-width: 991px) {
  .scroll-top-btn {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.8rem;
    height: 3.8rem;
    font-size: 2rem;
  }
}

/* ==========================================
              Portfolio : transition des cartes
=========================================== */
.portfolio-card-move,
.portfolio-card-enter-active,
.portfolio-card-leave-active {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-card-enter-from {
  opacity: 0;
  transform: scale(0.8) translateY(1.5rem);
}
.portfolio-card-leave-to {
  opacity: 0;
  transform: scale(0.8);
}

/* ==========================================
              Modal de retour (contact, etc.)
=========================================== */
.feedback-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 2rem;
}
.feedback-modal {
  position: relative;
  background: var(--second-bg-color);
  border-radius: 1rem;
  max-width: 30rem;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.5);
}
.feedback-modal i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.2rem;
}
.feedback-modal.is-success {
  box-shadow: 0 0 3rem #4caf50;
}
.feedback-modal.is-success i {
  color: #4caf50;
}
.feedback-modal.is-error {
  box-shadow: 0 0 3rem #f44336;
}
.feedback-modal.is-error i {
  color: #f44336;
}
.feedback-modal p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.feedback-modal .btn {
  padding: 0.7rem 2.2rem;
  cursor: pointer;
}

/* ==========================================
              Contact page
=========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--second-bg-color);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-info-item i {
  font-size: 1.8rem;
  color: var(--main-color);
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.contact-info-item p {
  font-size: 0.95rem;
  opacity: 0.8;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: flex;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.4rem;
  background: var(--second-bg-color);
  border: 0.1rem solid transparent !important;
  border-radius: 0.6rem;
  color: var(--text-color);
  font-size: 1rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main-color) !important;
}
.contact-form .btn {
  align-self: flex-start;
  cursor: pointer;
}
.form-success {
  background: rgba(76, 175, 80, 0.15);
  border: 0.1rem solid #4caf50;
  color: #a5d6a7;
  padding: 1rem 1.4rem;
  border-radius: 0.6rem;
}
.form-errors {
  list-style: none;
  background: rgba(244, 67, 54, 0.15);
  border: 0.1rem solid #f44336;
  color: #ef9a9a;
  padding: 1rem 1.4rem;
  border-radius: 0.6rem;
}

/* ==========================================
              Page loader (TS.)
=========================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-badge {
  position: relative;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color) !important;
}
.loader-badge span {
  color: var(--main-color) !important;
}
.loader-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.25rem solid var(--second-bg-color);
  border-top-color: var(--main-color);
  animation: loaderSpin 0.9s linear infinite;
}
@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
              Animation d'apparition des pages
=========================================== */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.home,
.about,
.skills,
.portfolio,
.contact {
  animation: pageFadeIn 0.4s ease both;
}

/* ==========================================
              Responsive (hamburger + layout)
              Additif uniquement — aucune règle
              existante n'est modifiée ci-dessus.
=========================================== */
@media (max-width: 1200px) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 1.5rem 3%;
  }
  section {
    padding: 8rem 3% 2rem;
  }
  #menu-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.8rem !important;
    height: 3.8rem !important;
    margin-left: auto !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 0.15rem solid var(--main-color) !important;
    color: var(--main-color) !important;
    font-size: 2rem !important;
    cursor: pointer;
    transition: var(--transition);
  }
  #menu-icon.bx-x {
    background: var(--main-color) !important;
    color: var(--second-bg-color) !important;
    box-shadow: 0 0 1rem var(--main-color);
  }
  .navbar {
    position: fixed !important;
    top: 6rem !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 3% !important;
    background: var(--bg-color) !important;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    max-height: 0 !important;
    height: auto !important;
    opacity: 0 !important;
    overflow-y: auto !important;
    z-index: 99 !important;
    transition: max-height 0.8s ease-in-out, opacity 0.7s ease-in-out, padding 0.8s ease-in-out !important;
  }
  .navbar.active {
    max-height: calc(100vh - 6rem) !important;
    opacity: 1 !important;
    padding: 1rem 3% 1.5rem !important;
  }
  .navbar a {
    display: block;
    margin: calc(1rem + 0.3cm) 0 !important;
    font-size: 1.5rem;
  }
  .navbar select {
    width: 100%;
  }
  .home {
    flex-direction: column;
    text-align: center;
  }
  .home-content {
    margin-top: 0;
    width: 100%;
  }
  .home-content h3:nth-child(1) {
    margin-top: 0;
  }
  .home-img {
    margin: 2rem 0 0;
  }
  .home-img img {
    width: 40vw;
  }
  .about-top {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .about-text .heading {
    text-align: center;
  }
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    left: 1.5rem;
  }
  .timeline-item,
  .timeline-left,
  .timeline-right {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 3.5rem;
    padding-right: 0.5rem;
  }
  .timeline-left .timeline-dot,
  .timeline-right .timeline-dot {
    left: 0.9rem;
    right: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .home-img img {
    width: 60vw;
    margin-top: 3rem;
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
  }
}