
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}
::-webkit-scrollbar{
  width: 0;
  height: 0;
}
:root {
      --main-color: #ff9f0d;
      --text-color: #eee;
      --other-color: #212121;
      --second-color: #9e9e9e;
      --bg-color: #111111;

      --big-font: 2.2rem;
      --h2-font: 2rem;
      --p-font: 0.9rem;
}
html::after{
  content: "";
  width: 100%;
  max-width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  background-image: url(/imgs/page_img/canvas.png);
  background-position: center;
  background-size: cover;
}
/* ------------ Preloader section ------------------- */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.Logo {
  width: 120px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid var(--second-color);
  border-top: 5px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
body {
    background: var(--bg-color);
    color: var(--text-color);
}
html, body,
.hero,
.malipo,
.main-section,
footer,
.mguu .finale,
.umbo,
.vid {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body .header{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0.5rem 2rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  box-shadow: 0px 15px 20px -14px var(--other-color);
  z-index: 2000;
  position: sticky;
  top: 0;
  top: 0;
  left: 0;
}
body .header h2{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--main-color);
}
body .header .menu-options{
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  /* width: 50%;
  justify-content: flex-end; */
}
body .header .menu-options a{
  display: flex;
  box-sizing: border-box;
  padding-inline: 0.25rem 2rem;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  /* flex-direction: row-reverse; */
  background-color: var(--second-color);
  border-radius: 4rem;
  font-size: 0.8vw;
  transition: all 0.2s ease;
  /* min-width: 8vw; */
}
body .header .menu-options a:hover{
  background-color: var(--bg-color);
}
body .header .menu-options a:hover span{color: white;}
body .header .menu-options a i{
  height: calc(100% - 0.5rem);
  border-radius: 5rem;
  aspect-ratio: 1/1;
  background-color: rgba(255, 255, 255, 0.575);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
}
body .header .menu-options a span{
  width: fit-content;
  flex-shrink: 0;
  color: #050505;
  /* background-color: red; */
}
body .header h2 img{
  width: 3vw;
}
.header button *{
  font-size: 0.8rem;
  color: var(--bg-color);
  white-space: nowrap;
}
.header button:hover{
  background-color: var(--text-color);
  color: var(--bg-color);
}
.header button, .header button.line:hover{
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 4rem;
  color: var(--bg-color);
  background-color: var(--main-color);
  border: 2px solid transparent;
  outline: none;
  gap: 0.5rem;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease, max-width 2s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
.header button.line{
  color: var(--bg-color);
  border: 2px solid var(--other-color);
  background-color: transparent;
  box-sizing: border-box;
}
.header button i{
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}
.header button i::before{
  height: 100%;
  display: flex;
  align-items: center;
}
.header button.line i::before{
  color: var(--bg-color);
}
.header button:hover i::before{
  color: var(--text-color);
}
.header button{max-width: 10rem;}
.header button[pause]{overflow: hidden;max-width: 0rem;color: transparent;}

/* =====welcoming sections ===== */
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 360px;
    background: transparent;
    box-sizing: border-box;
  }
.umbo{
    position: relative;
    height: 100%;
    overflow: hidden;
  }
.umbo .tag {
    width: fit-content;
    height: 3.95rem;
    display: flex;
    position: absolute;
    align-items: center;
    z-index: 1000;
    right: 0;
    gap: 10px;
    bottom: 0;
    background: var(--bg-color);
    border-radius: 1rem 0 0 0;
    padding: 0.3rem;
    padding-right: 1rem;
  }
  .umbo .tag a {
    color: var(--main-color);
    font-size: 1.2rem;
    z-index: 100;
    margin-left: 15px;
    cursor: pointer;
  }
  .umbo .tag a:hover {
    color: var(--text-color);
    transform: scale(1.1) translateY(-5px);
  }
  .umbo .tag::before{
    background: transparent;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 1rem 1rem 0 0;
  }
  .tag .ke , .tag .me{
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    content: "";
    width: 40px;
    height: 40px;
  }
  .tag .ke {
    left: 0;
    transform: translateX(-100%);
    box-shadow: 1rem 1rem 0 var(--bg-color);
  }
  .tag .me {
    right: 0;
    transform: translateY(-100%);
    transform: translateX(100%);
    box-shadow: -1rem 1rem 0 var(--bg-color);
  }
  .vid {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 1% 1% 2%;
  }
  .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(50%);
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    transform: translateY(-50%);
    padding: 60px 0 80px 20px;
    color: var(--bg-color);
  }
  
  .hero-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  
  .hero-title h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin: 0;
  }
  
  .hero-title p {
    font-size: var(--p-font);
    line-height: 1.3rem;
    font-weight: bold;
  }

 /* Scroll Button */
 .scroll-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background 0.3s ease;
  cursor: pointer;
}

.scroll-btn:hover {
  background: #d3840e;
}

.scroll-btn i {
  font-size: 1.5rem;
  color: #fff;
}
/* === Huduma zetu ==== */
body .main-section{
  display: flex;
  width: 100%;
  height: fit-content;
  flex-direction: column;
  /* padding: 2rem; */
  box-sizing: border-box;
}
.main-section .team-section{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
  align-items: center;
  overflow: visible;
}
.main-section .team-section .scroller{
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.main-section .team-section .scroller p{
  font-size: 1vw;
  width: 10%;
}
.main-section .team-section .scroller .actions{
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 10%;
}
/* .main-section .team-section .scroller .actions button */
.main-section .team-section .scroller h1{
  font-size: 4.5vw;
  font-weight: 300;
}
.main-section .team-section .team-scroll{
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  min-height: 35vw;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: flex-start;
  gap: 2vw;
  padding-inline: 1rem;
  padding-block: 1rem;
  box-sizing: border-box;
}
.card0 {
  background-image: url(../imgs/garlley/cons.jpeg);
}
.card00 {
  background-image: url(../imgs/garlley/consultation.jpeg);
}
.card1 {
  background-image: url(../imgs/garlley/mtot.jpeg);
}
.card2 {
  background-image: url(../imgs/garlley/ushaur.jpeg);
}
.card3 {
  background-image: url(../imgs/garlley/wanawak.jpeg);
}
.card4 {
  background-image: url(../imgs/garlley/nguvu1.jpeg);
}
.card5 {
  background-image: url(../imgs/garlley/zinaa.jpg);
}
.card50 {
  background-image: url(../imgs/garlley/bawasiri.jpeg);
}
.card6 {
  background-image: url(../imgs/garlley/vidonda1.jpeg);
}
.main-section .team-section .team-scroll .mate-card{
  background-color: var(--second-color);
  width: 30vw;
  aspect-ratio: 3/3;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 2rem;
  transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
  background-position: bottom right;
  background-size: cover;
}
.main-section .team-section .team-scroll .mate-card::before{
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  background-color: none;
  content: "";
  position: absolute;
}
.main-section .team-section .team-scroll .mate-card .details-card{
  display: flex;
  box-sizing: border-box;
  padding: 2rem;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 2rem;
  background-color: var(--second-color);
  box-shadow: 0px 5px 10px -4px var(--text-color);
  overflow: hidden;
  transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
}
.team-scroll .mate-card:hover .details-card::before{
  background-color: var(--second-color);
}
.team-scroll .mate-card:hover .details-card{
  transform: rotateZ(10deg) translate(10%,50%);
}
.team-scroll .mate-card:hover .details-card *{
  color: var(--bg-color);
  transition: all 0.5s ease;
  z-index: 100;
}
.team-scroll .mate-card:hover{
  transform: rotateZ(-5deg);
  z-index: 2;
}
.team-scroll .mate-card .details-card .mate-title{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.team-scroll .mate-card .details-card .mate-title h3{
  font-size: 2.5vw;
  font-weight: 600;
}
.team-scroll .mate-card .details-card .mate-title p{
  font-size: 1.5vw;
}
.team-scroll .mate-card .details-card .mate-title span {
  position: relative;
  padding: 12px 24px;
  background: #ff9f0d;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}
.team-scroll .mate-card .details-card .mate-title span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  height: 100%;
  width: 50%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-20deg);
  animation: sheen 3s infinite;
}
@keyframes sheen {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
.team-scroll .mate-card .details-card .descript{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.team-scroll .mate-card .details-card .descript i{
  font-size: 2vw;
  color: var(--main-color);
}
.team-scroll .mate-card:hover .details-card .descript i{
  color: var(--main-color);
  z-index: 100;
}
.team-scroll .mate-card .details-card .descript p{
  font-size: 0.9vw;
  line-height: 1.2vw;
  word-spacing: 0.1rem;
}

/* ===== Malipo sections ======= */
/* Malipo Section */
.malipo {
  padding: 4rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  background: var(--bg-color);
}

.malipo h2 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.malipo h2 span {
  color: var(--main-color);
}

.malipo p {
  font-size: 1.3rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.payment-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.payment-card {
  background: var(--second-color);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.payment-card i {
  font-size: 3rem;
  color: #ff9f0d;
  margin-bottom: 1rem;
}

.payment-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--other-color);
}

.payment-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.payment-card p span {
  color: #e9be7ee5;
  font-weight: bold;
}
.payment-card .btn {
  background: var(--main-color);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite;
}
@Keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 158, 13, 0.932);
  }
  70% {
       transform: scale(1.05);
       box-shadow: 0 0 0 10px rgba(255, 158, 13, 0.288);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 158, 13, 0.486);
  }
}
.payment-card .btn i {
  color: var(--bg-color);
  font-size: 1.3rem;
}

.payment-card .btn:hover {
  background: #d3840e;
  transform: scale(1.05);
}
/* === Buttons === */
button *{
  font-size: 0.8rem;
  color: var(--bg-color);
  white-space: nowrap;
  cursor: pointer;
}
button:hover{
  background-color: var(--main-color);
}
button, button.line:hover{
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 4rem;
  color: var(--bg-color);
  background-color: var(--text-color);
  border: 2px solid transparent;
  outline: none;
  gap: 0.5rem;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease, max-width 2s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
button.line{
  color: var(--text-color);
  border: 2px solid var(--main-color);
  background-color: transparent;
  box-sizing: border-box;
}
button i{
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
}
button i::before{
  height: 100%;
  display: flex;
  align-items: center;
}
button.line i::before{
  color: var(--text-color);
}
button:hover i::before{
  color: var(--bg-color);
}
button{max-width: 10rem;}
button[pause]{overflow: hidden;max-width: 0rem;color: transparent;}

/* ==== Footer sections ==== */
footer {
  position: relative;
  align-items: center;
  width: 100%;
  background: var(--bg-color);
  color: var(--text-color);
}
body .mguu .finale{
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
body .mguu .finale h1{
  text-align: center;
  font-size: 4vw;
  font-weight: 400;
}
body .mguu .finale .actions{
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 2rem;
  align-items: center;
}
body .mguu .finale .actions .iactions{
  display: flex;
  gap: 0.5rem;
}
body .mguu .finale .actions .iactions a {
  width: 2.5vw;
  aspect-ratio: 1/1;
  font-size: 1.5vw;
  display: flex;
  /* background-color: red; */
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  cursor: pointer;
}
body .mguu .finale .actions .iactions a:hover {
  transform: scale(1.1) translateY(-5px);
}
body .mguu .finale h2{
  width: 100%;
  font-size: 20vw;
  font-weight: 700;
  letter-spacing: -5vw;
  line-height: 20vw;
  transform: translateY(2vw);
  pointer-events: none;
  /* background-color: red; */
  background-image: url(../imgs/page_img/bg.jpeg);
  background-position: center;
  background-size: cover;
  background-clip: text;
  padding-top: 2vw;
  color: transparent;
  filter: brightness(20%);
}
body .mguu .finale .actions button {
  font-size: 0.8rem;
  color: var(--text-color);
  white-space: nowrap;
}
body .mguu .finale .actions button:hover{
  background-color: var(--other-color);
  transform: scale(1.1) translateY(-5px);
}
body .mguu .finale .actions button, button.line:hover{
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 4rem;
  color: var(--text-color);
  background-color: var(--main-color);
  border: 2px solid transparent;
  outline: none;
  gap: 0.5rem;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease, max-width 2s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
body .mguu .finale .actions button.line{
  color: var(--other-color);
  border: 2px solid var(--second-color);
  background-color: transparent;
  box-sizing: border-box;
}
body .mguu .finale .actions button i{
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}
body .mguu .finale .actions button i::before{
  height: 100%;
  display: flex;
  align-items: center;
}
body .mguu .finale .actions button.line i::before{
  color: var(--other-color);
}
body .mguu .finale .actions button:hover i::before{
  color: var(--text-color);
}
body .mguu .finale .actions button{max-width: 10rem;}
body .mguu .finale .actions button[pause]{overflow: hidden;max-width: 0rem;color: transparent;}

/* ============ MEDIA QUERIES FOR PHONES (max-width: 768px) ============ */
@media (max-width: 1024px) {
  .malipo h2 {
      font-size: 2.2rem;
  }

  .payment-card {
      width: 280px;
  }
}
@media only screen and (max-width: 768px) {
  /* Root variable adjustments */
  :root {
    --big-font: 1.8rem;
    --h2-font: 1.6rem;
    --p-font: 0.8rem;
  }
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  /* Header adjustments */
  body .header {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
  }

  body .header h2 img {
    width: 8vw;
    min-width: 30px;
  }

  body .header .menu-options {
    width: 100%;
    order: 3;
    margin-top: 0.5rem;
    justify-content: space-between;
    gap: 0.2rem;
  }

  body .header .menu-options a {
    font-size: 2.5vw !important;
    padding-inline: 0.25rem 1rem;
    flex-grow: 1;
    justify-content: center;
  }

  /* Hero section adjustments */
  .hero {
    height: 280px;
  }

  .hero-content {
    padding: 30px 0 40px 10px;
    width: 100%;
  }

  .hero-title h1 {
    font-size: 2rem !important;
  }

  .hero-title h2 {
    font-size: 1.5rem !important;
  }

  .hero-title .logo {
    width: 100px;
  }

  .scroll-btn {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
}

.scroll-btn i {
    font-size: 1.2rem;
}

  /* Team section adjustments */
  .main-section .team-section {
    padding: 1rem;
  }

  .main-section .team-section .scroller h1 {
    font-size: 2rem;
  }

  .main-section .team-section .scroller p {
    font-size: 3vw;
    width: 30%;
  }

  .main-section .team-section .scroller .actions {
    width: 30%;
  }

  .main-section .team-section .team-scroll {
    width: 100%;
    padding-inline: 0.5rem;
    gap: 1rem;
  }

  .main-section .team-section .team-scroll .mate-card {
    width: 90vw;
    aspect-ratio: 4/5;
  }

  .team-scroll .mate-card .details-card .mate-title h3 {
    font-size: 1.5rem;
  }

  .team-scroll .mate-card .details-card .mate-title p {
    font-size: 1rem;
  }

  .team-scroll .mate-card .details-card .descript p {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  /* Malipo section adjustments */
  .malipo {
    padding: 2rem 1rem;
}

.malipo h2 {
    font-size: 2rem;
}

.malipo p {
    font-size: 0.9rem;
}

.payment-options {
    flex-direction: column;
    align-items: center;
}

.payment-card {
    width: 90%;
    max-width: 350px;
}

  /* Footer adjustments */
  body .mguu .finale h1 {
    font-size: 2rem;
  }

  body .mguu .finale h2 {
    font-size: 15vw;
    letter-spacing: -3vw;
    line-height: 15vw;
  }

  body .mguu .finale .actions .iactions a {
    width: 8vw;
    min-width: 30px;
    font-size: 4vw;
  }

  /* Button adjustments */
  button, .header button {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
}

/* ============ SMALLER PHONES (max-width: 480px) ============ */
@media only screen and (max-width: 480px) {
  :root {
    --big-font: 1.5rem;
    --h2-font: 1.3rem;
  }

  /* Header adjustments */
  body .header .menu-options a {
    font-size: 3vw !important;
    padding-inline: 0.25rem 0.5rem;
  }

  body .header .menu-options a span {
    display: none;
  }

  body .header .menu-options a i {
    margin-right: 0;
  }

  /* Hero section */
  .hero {
    height: 220px;
  }

  .hero-title h1 {
    font-size: 1.5rem !important;
  }

  .hero-title h2 {
    font-size: 1.2rem !important;
  }
  /* Team section */
  .main-section .team-section .scroller {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-section .team-section .scroller p,
  .main-section .team-section .scroller .actions {
    width: 100%;
    justify-content: flex-start;
  }
  .main-section .team-section .team-scroll .mate-card {
    width: 95vw;
  }

  /* Malipo section */
  .malipo h2 {
    font-size: 1.8rem;
}

.malipo p {
    font-size: 0.85rem;
}

.payment-card h3 {
    font-size: 1.3rem;
}

.payment-card p {
    font-size: 0.8rem;
}

.payment-card .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.scroll-btn {
    width: 35px;
    height: 35px;
}

.scroll-btn i {
    font-size: 1rem;
}

}
@media only screen and (max-width: 690px) {
  .scroll {
    top: 23%;
  }
}
/* ============ FIXES FOR 1058px TO 768px RANGE ============ */
@media only screen and (max-width: 1058px) and (min-width: 769px) {
  /* Prevent horizontal scrolling */
  html, body {
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
  }

  /* Header fixes */
  body .header {
    padding: 0.5rem 1.5rem;
  }

  body .header .menu-options a {
    font-size: 0.9rem !important; /* Switch from vw to rem for better control */
    padding-inline: 0.25rem 1rem;
  }

  /* Hero section fixes */
  .hero-content {
    width: 90%;
    padding-right: 1rem;
  }

  .hero-title h1 {
    font-size: 2.5rem !important;
  }

  .hero-title h2 {
    font-size: 1.8rem !important;
  }

  /* Team section fixes */
  .main-section .team-section {
    padding: 2rem 1.5rem;
  }

  .main-section .team-section .scroller h1 {
    font-size: 3rem;
  }

  .main-section .team-section .team-scroll {
    width: 100%;
    padding-inline: 0;
    margin-left: 0;
  }

  .main-section .team-section .team-scroll .mate-card {
    width: 45vw;
  }

  .team-scroll .mate-card .details-card .mate-title h3 {
    font-size: 1.8rem;
  }

  .team-scroll .mate-card .details-card .mate-title p {
    font-size: 1.1rem;
  }

  .team-scroll .mate-card .details-card .descript p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }

  /* Malipo section fixes */
  .malipo {
    padding: 2%;
  }

  .malipo .umbo {
    padding: 2rem;
  }
  .malipo .umbo h1 {
    font-size: 3rem;
  }

  .malipo-content h3 {
    font-size: 1.5rem;
  }

  /* Footer fixes */
  body .mguu .finale h1 {
    font-size: 3rem;
  }

  body .mguu .finale .actions .iactions a {
    width: 3rem;
    font-size: 1.5rem;
  }
}

/* Additional tighter fixes for 900px-1058px range */
@media only screen and (max-width: 1058px) and (min-width: 900px) {
  .main-section .team-section .team-scroll .mate-card {
    width: 40vw;
  }
}

/* Tighter fixes for 768px-900px range */
@media only screen and (max-width: 900px) and (min-width: 769px) {
  .main-section .team-section .team-scroll .mate-card {
    width: 50vw;
  }
  
  .hero-title h1 {
    font-size: 2.2rem !important;
  }
  
  .hero-title h2 {
    font-size: 1.6rem !important;
  }
  .scroll {
    top: 20px;
  }
}