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

body,
html {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --h1-size: 2.4rem;
  --p-size: 26px;
}

/* Fixed Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

/* Navigation Bar  */
nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem;
  background-color: white;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

nav .logo img {
  position: relative;
  width: 130px;
  transition: transform 0.3s ease-in-out;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.humburger {
  cursor: pointer;
  display: none;
}

.humburger .bar {
  background-color: #000000;
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
nav .logo img:hover {
  transform: scale(1.2);
}
nav ul li {
  position: relative;
  transition: transform 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: bolder;
  position: relative;
  white-space: nowrap;
}

/* Underline Progress Effect */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: rgb(0, 0, 0);
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
  transform: translateX(-50%);
}

nav ul li:hover {
  transform: scale(1.1);
}

nav ul li a:hover::after {
  width: 100%;
}

.active {
  color: green;
}

/*--------------------
    Home Section
----------------------*/
.home-page {
  display: flex;
  align-items: center;
  justify-content: left;
  height: 100vh;
  width: 100%;
  background: url("4png.png") no-repeat center center/cover;
  /* background: linear-gradient(130deg, white 50%, #28a746 50%); */
}

.headline {
  max-width: 1000px;
  margin-left: 40px;
}
.headline h1 {
  font-family: "Gluten", cursive;
  font-size: 4.5rem;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  color: rgb(26, 78, 26);
}
.headline p {
  font-size: 1.3rem;
  font-weight: bold;
}
.home-button {
  margin-top: 2rem;
  display: flex;
  justify-content: left;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-button a {
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.5px;
  width: auto;
}

/* First Button - Premium Blue */
.home-btns {
  background: linear-gradient(135deg, #007bff, #0044cc);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.home-btns:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

/* Second Button - Minimal White with Black Text */
.home-btns2 {
  background-color: white;
  color: black;
  border: 1.5px solid #d1d1d1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.home-btns2:hover {
  background-color: black;
  color: white;
  border-color: black;
  transform: translateY(-5px);
}

/* Third Button - Luxury Black */
.home-btns3 {
  background-color: #111111;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.home-btns3:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  /* Tablet */
  .home-button a {
    padding: 12px 35px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  /* Mobile */
  .home-button {
    flex-direction: column;
    align-items: center;
  }

  .home-button a {
    width: 80%;
    padding: 12px 30px;
    font-size: 12px;
  }
}

/*----------------
  Home Sectoin 2
  ---------------*/

.logo2 span {
  color: rgb(26, 78, 26);
  font-weight: bold;
}

.logo2 h1 {
  color: rgb(17, 17, 17);
  font-size: 4rem;
  padding: 2rem;
}

.intro-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
}

.home-intro {
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  font-family: sans-serif;
  font-weight: 200;
  font-style: normal;
}

.intro-home {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 6rem;
  background-color: white;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); */
}
.service-container {
  padding: 3rem;
}

.service-head {
  color: green;
  padding: 3rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.4rem;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.service-box {
  flex-basis: 400px;
  height: 200px;
  margin: 1rem;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* Text ko bhi center me karne ke liye */
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.212);
}

.service-box:hover i {
  font-size: 2.2rem;
}
.service-box i {
  color: #2e7d32;
  font-size: 2rem;
  padding: 20px;
  transition: all 0.3s ease;
}

/*-------------------
Why choose fitbridge
-------------------*/

.whychoose-container {
  padding: 4rem 0rem;
  background-color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-bottom: 1px solid black;
}
.whychoose-container h1 {
  padding: 3rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.4rem;
  text-align: center;
}

.whychoose {
  display: flex;
}
.whychoose-p {
  padding: 3rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2rem;
  text-align: center;
}

.whychoose-box {
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 20px;
}
.whychoose-item {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 1rem;
  width: 600px; /* Fix width */
}

.whychoose-item i {
  font-size: 2.2rem;
  padding: 1rem;
}
.whychoose-item h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.whychoose-item p {
  font-size: 1rem;
  color: #555;
}
/*--------------- 
Insta frame 
----------------*/
.insta-frame-container {
  display: flex;
  justify-content: center;
}
.insta-frame {
  width: 100%;
  max-width: 800px;
  height: 100vh;
}
/*-----------------
  BMI TEST CONTAINER
  --------------------- */
:where([class^="ri-"])::before {
  content: "\f3c2";
}

.bmi-input:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}
.bmi-input-container {
  position: relative;
}
.bmi-input-container label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
  pointer-events: none;
  color: #718096;
}
.bmi-input:focus + label,
.bmi-input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
  background-color: white;
  padding: 0 4px;
}
.result-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 5px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #4299e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  background: #3182ce;
  transform: scale(1.1);
}
.custom-checkbox {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  transition: all 0.2s;
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: #4299e1;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: #4299e1;
  border-color: #4299e1;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
