body {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  box-sizing: border-box;
}

/* Header Section */
header {
  background-color: #07233b;
  color: white;
  padding: 10px 20px;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Container */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #f9f9f9;

  height: 80px;
  border-radius: 50%;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

/* Logo Styling */
.logo {
  width: auto;
  /* Ensures aspect ratio is maintained */
  max-height: 100%;
  /* Makes sure it fits within the container height */
  margin: 0;
}

/* Contact Section */

/* Success/Error Message */
.message {
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  animation: fadeInOut 3s forwards; /* Show and hide animation */
  display: block; /* Make sure it's block for proper rendering */
}

.success {
  background-color: #d4edda;
  color: #155724;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Animation for fading in and out */
@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden; /* Hide the message after the fade */
  }
}

.contact-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

/* contant form part */

.contact-form-container {
  flex: 1 1 55%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* Dropdown Container Styling */
select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
  font-family: "Arial", sans-serif;
  appearance: none;
  /* Removes default browser styling */
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Dropdown Hover and Focus Effects */
select:hover {
  border-color: #074173;
  /* Match your theme */
}

select:focus {
  border-color: #074173;
  box-shadow: 0 0 5px rgba(7, 65, 115, 0.5);
}

/* Placeholder Option Styling */
select option[value=""][disabled] {
  display: none;
  /* Hides the placeholder when dropdown is open */
}

select option {
  color: #333;
}

/* Optional: Add a custom dropdown arrow */
select::after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-row input,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  resize: none;
  box-sizing: border-box;
}

textarea {
  resize: none;
}

.submit-btn {
  padding: 10px 20px;
  background-color: #074173;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #34495e;
}

/* Media Queries */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }

  .contact-details,
  .contact-form-container {
    flex: 1 1 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input,
  textarea {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-details h2,
  .contact-form-container h2 {
    font-size: 1.6rem;
  }

  .form-row input,
  textarea {
    padding: 8px;
    font-size: 0.9rem;
  }

  .submit-btn {
    font-size: 0.9rem;
  }
}

/* Benefits Section Styles */
.contact-details {
  flex: 1 1 40%;
  background-color: #074173;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-details h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.contact-details p {
  margin: 5px 0;
  line-height: 1.6;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.benefits-list li strong {
  color: #ffd700;
  /* Highlighted text color */
}

/* About Section */

.about-us {
  background-color: #dbeafe;
  padding: 50px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.about-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.point {
  flex: 1 1 30%;
  background: #074173;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.point h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: white;
}

.point p {
  font-size: 1rem;
  color: white;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-points {
    flex-direction: column;
  }

  .point {
    flex: 1 1 100%;
    /* Full width for each point */
    margin-bottom: 20px;
  }
}

/* Instructor Section */
.instructors {
  padding: 30px 20px;
  background-color: #ffffff;
  /* White background for the section */
}

.instructors h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #074173;
}

.instructor-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.instructor-card {
  flex: 1 1 calc(30% - 20px);
  max-width: 350px;
  background: #074173;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  /* Shadow for white background */
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.instructor-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  /* Subtle shadow for images */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card h3 {
  font-size: 1.5rem;
  margin: 10px auto;
  color: #ffffff;
}

.instructor-card p {
  font-size: 1rem;
  color: #ffffff;
  margin: 0 0 10px;
}

.instructor-card .btn-appoint {
  border: none;
  background-color: #f59e0b;
  padding: 10px 20px;
  color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card .btn-appoint a {
  text-decoration: none;
}

.instructor-card .btn-appoint:hover {
  background-color: #ffa408;
  box-shadow: 0 0 0 2px #074173, 0 0 0 4px #ee9b00;
}

.instructor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Elevated shadow on hover */
}

.instructor-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .instructor-card {
    flex: 1 1 calc(45% - 20px);
  }
}

@media (max-width: 768px) {
  .instructor-card {
    flex: 1 1 100%;
  }
}

/* Services Section */
.services {
  background-color: #608bc1;
  padding: 30px 20px;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 30px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-card {
  flex: 1 1 calc(45% - 20px);
  max-width: 500px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 10px auto;
  width: 70%;
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .service-card {
    flex: 1 1 100%;
  }
}

/* Transformation Section */
.transformation {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.transformation h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.transformation p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.transformation-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.transformation-card {
  flex: 1 1 calc(25% - 20px);
  max-width: 250px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.transformation-card:hover {
  transform: translateY(-5px);
}

.image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.beforeAfter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  width: 90%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.beforeAfter p {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #dbdbdb;
  /* text-transform: uppercase; */
  flex: 1;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .transformation-card {
    flex: 1 1 calc(33.33% - 20px);
    /* 3 cards per row on tablets */
  }
}

@media (max-width: 768px) {
  .transformation-card {
    flex: 1 1 calc(50% - 20px);
    /* 2 cards per row on smaller devices */
  }

  .transformation h2 {
    font-size: 2rem;
  }

  .transformation p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .transformation-card {
    flex: 1 1 100%;
    /* 1 card per row on mobile devices */
    max-width: 100%;
  }

  .transformation h2 {
    font-size: 1.8rem;
  }

  .transformation p {
    font-size: 0.9rem;
  }
}

/* Toast Notification Styles */
.toast {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

.toast.show {
  display: block;
}

.toast.success {
  background-color: green;
}

.toast.error {
  background-color: red;
}

/* Footer Section */

.site-footer {
  background-color: #07233b;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* .social-links {
  display: flex;
  justify-content: space-between;
} */

.social-links a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #18bc9c;
  /* Accent color for hover effect */
}

.copyright {
  /* margin-top: 15px; */
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .social-links a {
    font-size: 1rem;
    /* Adjust icon size for smaller screens */
    margin: 0 8px;
  }

  .site-links a {
    font-size: 0.9rem;
    margin: 0 10px;
  }
}

/* floating btn  */

.floating-parent {
  position: fixed;
  bottom: 8%;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

.floating-parent .widgetlabel {
  white-space: nowrap;
  font-size: 16px;
  color: #00778b;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  gap: 8px;
}

.floating-parent .widgetlabel .calendar-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

#days-left {
  font-weight: bold;
}

.floating-parent .right-button {
  width: 70px;
  height: 70px;
  background-color: #00778b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  padding: 10px;
}

.floating-parent .right-button img {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

.floating-parent .right-button .button-text {
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

.floating-parent .right-button:hover {
  background-color: #005f6f;
  transform: scale(1.1);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}
