@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
  margin: 0;
  padding: 0;
  gap: 0;
}

html,
body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", serif;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.preloader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background-color: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../Images/preloader.svg);
  background-size: 100px;
}
#myBtn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 10px;
  animation: image-animation 1s linear infinite;
}

#myBtn:hover {
  background-color: rgba(255, 0, 0, 0.5);
}

#myBtn i {
  color: white;
}

.slider {
  position: relative;
  width: 100vw;
  height: 70vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease-in-out;
}
.slide1 {
  background-image: url("../Images/aboutbackground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.slide1:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 0.85);
}
.slider-info {
  position: absolute;
  color: white;
  top: 60%;
  margin-left: 100px;
  padding: 20px;
  border: none;
  line-height: 45px;
}

.slider-info-header2 {
  position: absolute;
  left: 950px;
  top: 50px;
  display: flex;
}

.slider-info-header2 p {
  width: 200px;
}
.slider-info-header2 p span {
  color: red;
  padding-left: 10px;
}
.slider-info-header2 p .s1 {
  color: white;
}

/* Responsive Styles */

/* For screens smaller than 1200px */
@media screen and (max-width: 1200px) {
  .slider-info {
    top: 50%;
    margin-left: 50px;
  }

  .slider-info-header2 {
    left: 700px;
  }
}

/* For tablets (widths between 768px and 1024px) */
@media screen and (max-width: 1024px) {
  .slider-info {
    top: 45%;
    margin-left: 30px;
    line-height: 40px;
  }

  .slider-info-header2 {
    left: auto;
    right: 50px;
  }

  .slider-info-header2 p {
    width: 180px;
  }
}

/* For mobile screens (widths below 768px) */
@media screen and (max-width: 768px) {
  .slider-info {
    top: 40%;
    margin-left: 20px;
    text-align: center;
    width: 90%;
  }

  .slider-info h1 {
    font-size: 24px;
  }

  .slider-info p {
    font-size: 16px;
    line-height: 30px;
  }

  .slider-info-header2 {
    position: static;
    text-align: center;
    justify-content: center;
  }

  .slider-info-header2 .p1 {
    width: auto;
    font-size: 14px;
  }
}

/* For very small screens (below 480px) */
@media screen and (max-width: 480px) {
  .slider-info {
    top: 35%;
    text-align: center;
    margin: 0 auto;
  }

  .slider-info h1 {
    font-size: 20px;
  }

  .slider-info p {
    font-size: 14px;
    line-height: 25px;
  }

  .slider-info-header2 .p1 {
    font-size: 12px;
  }
}

.social-container {
  position: absolute;
  display: flex;
  align-items: center;
  height: 50px;
}

.start {
  color: white;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.8px;
  padding: 30px;
  margin-top: 10px;
}

.social-info {
  position: absolute;
  left: 580px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-info i {
  color: rgb(255, 0, 0);
  font-size: 16px;
  padding: 10px 10px 10px 10px;
}

.social-info {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.social-info .a2 {
  color: white;
  font-size: 16px;
  text-align: left;
  width: 180px;
}

.social-info .a3 {
  color: white;
  font-size: 16px;
  text-align: center;
  width: 300px;
}

.social-info .a1 {
  color: white;
  font-size: 16px;
  width: 250px;
}

.social-info a:hover {
  color: red;
}
.v1 {
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 5px;
}

.logo-img {
  background-color: rgba(88, 88, 88, 0.3);
  border-right: 3px solid red;
}

.logo-img img {
  padding: 0px 40px;
  z-index: 1000;
  height: 100px;
}
.logo-container {
  position: absolute;
  top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-bar {
  position: absolute;
  top: 20px;
  left: 550px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  background-color: rgba(88, 88, 88, 0.3);
  border-left: 3px solid red;
}

.nav-bar li {
  list-style: none;
  width: 140px;
  font-weight: 600;
  text-align: center;
}
.nav-bar li a i {
  padding-right: 10px;
  color: white;
  display: none;
}

.nav-bar li a:hover i {
  display: inline-block;
}

.nav-bar a {
  font-weight: 450;
  color: white;
}

.nav-bar a:hover {
  color: red;
}

.nav-bar a.active i {
  display: inline-block;
}
.nav-bar a.active {
  color: #ff0000;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 20px;
  top: 30px;
  z-index: 100;
}
/* Responsive CSS for Mobile and Tablet */
@media screen and (max-width: 1024px) {
  .nav-bar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
  }

  .nav-bar.active {
    left: 0;
  }

  .nav-bar li {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .nav-bar a {
    font-size: 24px;
    display: block;
    padding: 10px;
  }

  .menu-toggle {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .logo-container {
    top: 20px;
    flex-direction: column;
    align-items: center;
  }

  .nav-bar {
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .nav-bar.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    left: 320px;
    top: 30px;
    z-index: 100;
  }
}

.form-container {
  background: #b1acac28;
  margin: 40px auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  width: 100%;
}
.form-header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.form-header h1 {
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.h1 {
  background-color: red;
  width: 130px;
  height: 2px;
  margin:4px auto;
}

/* Flexbox for Labels & Inputs */

.name-info{
  margin-top: 20px;
}
.form-group {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 10px;
}

.form-group label {
  width: 20%;
  text-align: left;
  font-size: 18px;
  padding: 10px;
  font-weight: bold;
}

.form-group input {
  width: 30%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  border-radius: 10px;
}
.form-group textarea{
  width: 30%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

/* Gender Section */
.gender-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Table Styling */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
}

th {
  background-color: red;
  color: white;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-weight: bold;
  text-align: center;
}
td {
  border: 1px solid #ddd;
  padding: 10px 10px;
  width: 400px;
  font-weight: bold;
  text-align: left;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
td input {
  width: 80%;
  margin-left: 20px;
  height: 30px; /* Height of the input fields */
  padding: 2px;
  background: transparent;
  text-align: center;
  border: none;
}

.button-next {
  display: flex;
  align-items: center;
  justify-content: center;
}
.button-next button {
  background-color: red;
  color: white;
  margin-top: 30px;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
}
.button-next button:hover{
  background-color: rgb(182, 22, 22);
}

.goal-info {
  margin-top: 20px;
}

.button-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.button-submit button {
  background-color: red;
  color: white;
  margin-top: 30px;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    max-width: 100%;
  }

  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group label {
    width: 100%;
    margin-bottom: 5px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
  }

  .gender-container {
    align-items: flex-start;
  }
}

footer {
  background-image: url("../Images/background-footer.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  color: #fff;
}

.footer-container {
  width: 95%;
  margin: auto;
  display: flex;
  align-items: center;
  opacity: 0.9;
  justify-content: center;
  gap: 30px;
}

.footer-logo {
  padding: 40px 20px 10px 10px;
}

.footer-logo img {
  width: 150px;
  height: 150px;
}

.footer-logo p {
  padding: 10px;
  text-align: justify;
  width: 300px;
  font-size: 16px;
  line-height: 1.5;
}

.social-icon .icons {
  display: flex;
  justify-content: left;
  align-items: center;
}
.social-icon .icons a i {
  color: rgb(116, 116, 116);
  font-size: 25px;
  padding: 10px;
}

.latest-div {
  padding-top: 10px;
}
.f1 {
  background-color: #fff;
  margin: 10px 0px;
  width: 50px;
  height: 1px;
}
.latest1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.l-info {
  width: 180px;
  padding-left: 20px;
}
.l-info a {
  font-size: 16px;
  font-weight: bold;
  color: white;
  padding-bottom: 10px;
}

.l-info a:hover {
  color: red;
}

.l-info p {
  font-size: 14px;
  margin-top: 10px;
  letter-spacing: 0.2px;
}
/* 
.services h2{
  padding-bottom: 40px;
} */

.footer-links {
  margin-top: 30px;
}
.footer-links li {
  list-style: none;
  line-height: 2;
}

.footer-links li a {
  color: white;
}
.footer-links li a i {
  padding-right: 10px;
}

.footer-links li a:hover {
  color: red;
}

.working h2 {
  padding-left: 20px;
}
.f2 {
  background-color: #fff;
  margin: 10px 10px 10px 20px;
  width: 50px;
  height: 1px;
}
.day {
  font-size: 20px;
  font-weight: 600;
  padding: 20px;
}
.time {
  font-size: 16px;
  font-weight: 400;
  padding-left: 20px;
}

.d3 h2 {
  font-size: 25px;
  font-weight: 800;
  padding-top: 20px;
  padding-left: 20px;
  color: red;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.copyright p {
  color: rgb(211, 211, 211);
}

.copyright-hr {
  width: 90%;
  margin: auto;
  background-color: rgb(101, 104, 101);
  height: 1px;
}

/* For Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    text-align: left;
    gap: 20px;
    justify-content: flex-start;
  }

  .footer-logo {
    padding: 30px 10px;
  }

  .footer-logo p {
    width: auto;
  }

  .social-icon .icons {
    justify-content: flex-start;
  }

  .latest,
  .services,
  .working {
    width: 100%;
    text-align: left;
  }

  .latest1 {
    flex-direction: row;
    align-items: flex-start;
  }

  .l-info {
    padding-left: 10px;
    width: auto;
  }

  .footer-links {
    text-align: left;
  }

  .footer-links li {
    display: block;
    margin: 5px 0;
  }

  .working {
    text-align: left;
  }

  .d1,
  .d2,
  .d3 {
    text-align: left;
  }
}

/* For Mobile Devices (max-width: 767px) */
@media screen and (max-width: 767px) {
  footer {
    height: auto;
    padding-bottom: 20px;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    padding-left: 20px;
  }

  .footer-logo {
    padding: 20px;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-logo p {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }

  .social-icon h1 {
    font-size: 18px;
  }

  .social-icon .icons {
    justify-content: flex-start;
  }

  .latest {
    width: 100%;
    text-align: left;
  }

  .latest1 {
    flex-direction: row;
    align-items: flex-start;
  }

  .l-info {
    width: auto;
    padding-left: 10px;
  }

  .footer-links {
    margin-top: 20px;
    text-align: left;
  }

  .footer-links li {
    display: block;
    margin-bottom: 5px;
  }

  .working {
    text-align: left;
  }

  .d1,
  .d2,
  .d3 {
    text-align: left;
  }

  .copyright {
    text-align: left;
    padding: 10px;
  }
}
