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

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #47d75f;
  --secondary-color-dark: #47d75f;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
  --accent-primary: #47d75f;  /* example green */
  --accent-secondary: #3ca34d; /* example darker green */
  --bg-tertiary: #e9ecef; /* Light, soft gray for backgrounds */
  --text-primary: #343a40; /* Dark but soft text color */
}

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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.section__subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: var(--text-light);
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color-dark);
}


img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease;
  object-fit: cover;
  max-width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color-extra-light));
}

/* explicit full-width images get this */
.img--full {
  width: 100%;
  height: auto;
}
  


/* Ensure all image containers are visible */
.header__image,
.class__image,
.join__image,
.review__member {
  display: block !important;
  visibility: visible !important;
}

/* Image fallback styling */
img[src*="assets/"] {
  min-height: 200px;
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color-extra-light));
  border-radius: 10px;
}

a {
  text-decoration: none;
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
}

/* Profile Button and Dropdown Styles */
.profile-container {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(71, 215, 95, 0.3);
}

.profile-btn:hover {
  background-color: var(--secondary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(71, 215, 95, 0.4);
}

.profile-btn i {
  font-size: 1.1rem;
}

.profile-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 320px;
  background-color: var(--primary-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar i {
  font-size: 1.5rem;
  color: var(--white);
}

.profile-info h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.profile-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}

.profile-details {
  padding: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.detail-value {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-actions {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
}

.profile-action-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
  transform: translateX(5px);
}

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

.profile-action-btn.logout {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
}

.profile-action-btn.logout:hover {
  background-color: #ff6b6b;
  color: var(--white);
  border-color: #ff6b6b;
}

/* Mobile Responsive for Profile */
@media (max-width: 768px) {
  .profile-btn span {
    display: none;
  }
  
  .profile-btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  
  .profile-dropdown {
    width: 280px;
    right: -10px;
  }
  
  .profile-header {
    padding: 1rem;
  }
  
  .profile-avatar {
    width: 40px;
    height: 40px;
  }
  
  .profile-info h4 {
    font-size: 1rem;
  }
  
  .profile-info p {
    font-size: 0.8rem;
  }
  
  .profile-details {
    padding: 1rem;
    max-height: 250px;
  }
  
  .detail-item {
    padding: 0.5rem 0;
  }
  
  .detail-label,
  .detail-value {
    font-size: 0.85rem;
  }
  
  .profile-actions {
    padding: 0.75rem 1rem 1rem;
  }
  
  .profile-action-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .profile-dropdown {
    width: 260px;
    right: -20px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .profile-info h4 {
    font-size: 0.95rem;
  }
  
  .profile-info p {
    font-size: 0.75rem;
  }
}

/* Enhanced Navigation for Profile */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: auto;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 98%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav__logo {
  max-width: 150px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

/* Hamburger toggle (hidden checkbox) */
.nav-toggle {
  display: none;
}

/* Hamburger icon */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 5px;
}

.nav-toggle-label span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav {
    padding: 0.5rem 1rem;
    width: 95%;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    transition: right 0.3s ease;
    padding: 2rem;
    gap: 2rem;
  }

  .nav__links.active {
    right: 0;
  }

  .nav__links li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .nav__links li a {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav__links li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
  }

  .nav-toggle:checked ~ .nav__links {
    right: 0;
  }

  .nav-toggle-label {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  /* Hamburger animation */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}
.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__container::before {
  content: "FITNESS";
  position: absolute;
  bottom: 5rem;
  right: 20rem;
  font-size: 10rem;
  font-weight: 700;
  line-height: 7rem;
  color: var(--white);
  opacity: 0.05;
  z-index: -1;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}

.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  text-align: justify;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.header__image {
  position: relative;
}

.header__image::before {
  content: "o";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40rem;
  font-weight: 400;
  line-height: 20rem;
  color: var(--secondary-color);
  opacity: 0.1;
  z-index: -1;
}

.header__image img {
  max-width: 350px;
  margin: auto;
}

.explore__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.explore__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.explore__nav span {
  padding: 0 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.explore__nav span:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.explore__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.explore__card {
  padding: 1rem;
  background-color: var(--primary-color-light);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;
}

.explore__card:hover {
  background-color: var(--primary-color-extra-light);
  border-color: var(--secondary-color);
}

.explore__card span {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.explore__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.explore__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.explore__card a {
  color: var(--white);
  transition: 0.3s;
}

.explore__card a:hover {
  color: var(--secondary-color);
}

.class__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.class__image {
  position: relative;
}

.class__image .class__img-1 {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 500px;
  border-radius: 10px;
}

.class__image .class__img-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 300px;
  border-radius: 10px;
}

.class__content {
  padding: 2rem 0;
}

.class__content .section__header {
  text-align: left;
  max-width: 400px;
}

.class__content p {
  text-align: justify;
  margin-bottom: 4rem;
  color: var(--text-light);
}

.join__image {
  margin-top: 4rem;
  position: relative;
}

.join__image img {
  border-radius: 10px;
}

.join__grid {
  position: absolute;
  bottom: -5rem;
  width: calc(100% - 4rem);
  padding: 2rem;
  margin: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: var(--primary-color-light);
  border-radius: 10px;
}

.join__card {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.join__card span {
  padding: 5px 12px;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.join__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.join__card p {
  color: var(--text-light);
}

.price__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.price__card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-color-light);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;
}

.price__card:hover {
  background-color: var(--primary-color-extra-light);
  border-color: var(--secondary-color);
}

.price__card__content {
  flex: 1;
  margin-bottom: 2rem;
}

.price__card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.price__card h3 {
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.price__card p {
  margin-bottom: 0.75rem;
  color: var(--white);
}

.price__card p i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.price__btn {
  color: var(--secondary-color);
  background-color: transparent;
  border: 2px solid var(--secondary-color);
}

.price__btn:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.review {
  background-color: var(--primary-color-light);
}

.review__container {
  display: flex;
  gap: 2rem;
}

.review__container > span {
  font-size: 6rem;
  color: var(--secondary-color);
  opacity: 0.5;
}

.review__content {
  flex: 1;
}

.review__content h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.review__content p {
  max-width: 800px;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.review__rating span {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.review__footer {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.review__member {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.review__member img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review__member__details h4 {
  margin-bottom: 0;
}



.review__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.review__nav span {
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
}

.footer__container {
  position: relative;
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
}

contact-us
/* contact us page */
.contact-section {
      max-width: 800px;
      margin: auto;
    }
.contact_form input,
.contact_form textarea{
  display: block;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  margin-left: 43%;
}
.form__message{
  color: var(--white);
  margin-top: 1rem;
  margin-left: 39%;
}
.btn1{
  margin-left: 46%;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  
}
/* contact section ends */

/* Diet Plan Section Styles */
.diet__container {
  background-color: var(--primary-color-light);
  border-radius: 10px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.diet__form {
  max-width: 500px;
  margin: 2rem auto 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--primary-color-extra-light);
  padding: 2rem;
  border-radius: 10px;
}
.diet__form__row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.diet__form label {
  color: var(--white);
  font-weight: 500;
}
.diet__form input,
.diet__form select {
  padding: 0.75rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--secondary-color);
  background: var(--primary-color-light);
  color: var(--white);
  font-size: 1rem;
}
.diet__form input:focus,
.diet__form select:focus {
  outline: 2px solid var(--secondary-color);
}
.diet__result {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  background: var(--primary-color-extra-light);
  color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  white-space: pre-wrap;
}
.diet__ai-result {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--white);
  background: var(--primary-color-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  word-break: break-word;
}
.diet__ai-result strong {
  color: var(--secondary-color);
  font-weight: 700;
}
@media (max-width: 600px) {
  .diet__form, .diet__result {
    padding: 1rem;
  }
}


@media (width < 900px) {
  .nav__links {
    display: none;
  }

  .header__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .header__image {
    grid-area: 1/1/2/2;
  }

  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .class__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .class__image {
    min-height: 500px;
  }

  .price__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review__container {
    gap: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr 200px;
  }
}

@media (width < 600px) {
  .explore__header {
    flex-direction: column;
  }

  .explore__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .join__container {
    margin-bottom: 15rem;
  }

  .join__grid {
    width: 100%;
    margin: 0;
    bottom: -20rem;
  }

  .price__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .review__container {
    flex-direction: column;
    gap: 0;
  }

  .review__footer {
    flex-direction: column;
  }

  .footer__container {
    grid-template-columns: 1fr 150px;
  }

  .footer__bar {
    text-align: center;
  }
}


#backToTop {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 900;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #000;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
}

#backToTop:hover {
  background-color: #555;
}

/* Privacy Policy Page Styles */
.privacy__container {
  max-width: 900px;
  margin: auto;
  padding: 3rem 1rem;
  background-color: var(--primary-color-light);
  border-radius: 10px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.privacy__content {
  color: var(--white);
  line-height: 1.7;
}

.privacy__intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-align: center;
  padding: 1.5rem;
  background-color: var(--primary-color-extra-light);
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.privacy__section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--primary-color-extra-light);
  border-radius: 8px;
  border: 1px solid rgba(71, 215, 95, 0.1);
}

.privacy__section h2 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
}

.privacy__section p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.privacy__section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy__section li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.privacy__section li strong {
  color: var(--secondary-color);
}

.privacy__contact {
  background-color: var(--primary-color);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  margin-top: 1rem;
}

.privacy__contact p {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.privacy__footer {
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: var(--primary-color);
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--secondary-color);
}

.privacy__footer p {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 500;
}

/* Mobile Responsiveness for Privacy Policy */
@media (width < 600px) {
  .privacy__container {
    padding: 2rem 1rem;
    margin: 1rem;
  }
  
  .privacy__section {
    padding: 1rem;
  }
  
  .privacy__section ul {
    margin-left: 1rem;
  }
}

/* Enhanced Responsive Design - Mobile First Approach */

/* Base responsive improvements */
@media (max-width: 1200px) {
  .section__container {
    padding: 4rem 1rem;
  }
  
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }
  
  .header__container::before {
    font-size: 8rem;
    line-height: 6rem;
    right: 15rem;
  }
}

@media (max-width: 1024px) {
  .header__content h1 {
    font-size: 3.5rem;
    line-height: 4.5rem;
  }
  
  .header__container::before {
    font-size: 6rem;
    line-height: 4rem;
    right: 10rem;
  }
  
  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .price__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  
  .nav-toggle-label {
    display: flex;
  }

  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .header__content h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  
  .header__content p {
    text-align: center;
  }

  .header__image {
    grid-area: 1/1/2/2;
    order: -1;
  }
  
  .header__image img {
    max-width: 300px;
  }

  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .class__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .class__image {
    min-height: 400px;
    order: -1;
  }

  .price__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .review__container {
    gap: 2rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
  nav {
    padding: 0.5rem 1rem;
    width: 95%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(17, 19, 23, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav__links {
    position: fixed;
    top: 60px;
    right: -100%;
    background: linear-gradient(135deg, rgba(17, 19, 23, 0.98), rgba(31, 33, 37, 0.98));
    backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 75%;
    height: auto;
    max-height: 70vh;
    min-height: 60vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 1rem;
    gap: 0.6rem;
    z-index: 1001;
    display: flex !important;
    border-radius: 0 0 0 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  }

  /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
  .nav__links::-webkit-scrollbar {
    display: none;
  }

  .nav__links.active {
    right: 0;
    transform: translateX(0);
    display: flex !important;
    padding-top: 2rem;
  }

  .nav__links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
  }

  .nav__links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav__links li:nth-child(1) { transition-delay: 0.1s; }
  .nav__links li:nth-child(2) { transition-delay: 0.2s; }
  .nav__links li:nth-child(3) { transition-delay: 0.3s; }
  .nav__links li:nth-child(4) { transition-delay: 0.4s; }
  .nav__links li:nth-child(5) { transition-delay: 0.5s; }
  .nav__links li:nth-child(6) { transition-delay: 0.6s; }
  .nav__links li:nth-child(7) { transition-delay: 0.7s; }

  .nav__links li a {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }

  .nav__links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(71, 215, 95, 0.2), transparent);
    transition: left 0.5s ease;
  }

  .nav__links li a:hover::before {
    left: 100%;
  }

  .nav__links li a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 215, 95, 0.3);
    border-color: var(--secondary-color);
  }

  .nav-toggle:checked ~ .nav__links {
    right: 0;
    display: flex !important;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1002;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .nav-toggle-label:hover {
    transform: scale(1.1);
  }

  .nav-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  /* Enhanced Hamburger Animation */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--secondary-color);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--secondary-color);
  }

  /* Body scroll prevention when nav is open */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* Header adjustments for mobile */
  .header__container {
    padding-top: 6rem;
    gap: 2rem;
  }

  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .header__content h4 {
    font-size: 0.9rem;
  }

  .header__content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .header__image img {
    max-width: 250px;
  }

  /* Explore section mobile */
  .explore__header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .explore__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .explore__card {
    padding: 2rem 1.5rem;
  }

  /* Class section mobile */
  .class__container {
    gap: 2rem;
  }

  .class__image {
    min-height: 300px;
  }

  .class__content {
    text-align: center;
  }

  /* Join section mobile */
  .join__container {
    margin-bottom: 12rem;
  }

  .join__grid {
    width: 100%;
    margin: 0;
    bottom: -15rem;
    gap: 1.5rem;
  }

  .join__card {
    padding: 1.5rem;
  }

  /* Price section mobile */
  .price__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .price__card {
    padding: 2rem 1.5rem;
  }

  /* Review section mobile */
  .review__container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .review__footer {
    flex-direction: column;
    gap: 1.5rem;
  }

  .review__member {
    flex-direction: column;
    gap: 1rem;
  }

  .review__member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* Footer mobile */
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Profile dropdown mobile adjustments */
  .profile-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .profile-btn span {
    display: none;
  }

  .profile-dropdown {
    right: -10px;
    width: 280px;
  }

  .profile-header {
    padding: 1.5rem;
  }

  .profile-avatar {
    width: 50px;
    height: 50px;
  }

  .profile-info h4 {
    font-size: 1.1rem;
  }

  .profile-info p {
    font-size: 0.9rem;
  }

  .profile-details {
    padding: 1rem 1.5rem;
  }

  .detail-item {
    padding: 0.5rem 0;
  }

  .detail-label,
  .detail-value {
    font-size: 0.9rem;
  }

  .profile-actions {
    padding: 1rem 1.5rem;
  }

  .profile-action-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  nav {
    width: 98%;
    padding: 0.5rem 0.8rem;
  }

  .header__container {
    padding-top: 5rem;
    gap: 1.5rem;
  }

  .header__content h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

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

  .header__image img {
    max-width: 200px;
  }

  .section__header {
    font-size: 1.8rem;
  }

  .section__subheader {
    font-size: 0.9rem;
  }

  .explore__card {
    padding: 1.5rem 1rem;
  }

  .explore__card h4 {
    font-size: 1.2rem;
  }

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

  .class__image {
    min-height: 250px;
  }

  .join__container {
    margin-bottom: 10rem;
  }

  .join__grid {
    bottom: -12rem;
    gap: 1rem;
  }

  .join__card {
    padding: 1rem;
  }

  .join__card h4 {
    font-size: 1.1rem;
  }

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

  .price__card {
    padding: 1.5rem 1rem;
  }

  .price__card h4 {
    font-size: 1.2rem;
  }

  .price__card h3 {
    font-size: 2rem;
  }

  .review__member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .review__member__details h4 {
    font-size: 1rem;
  }



  /* Profile dropdown small mobile */
  .profile-dropdown {
    right: -15px;
    width: 260px;
  }

  .profile-header {
    padding: 1rem;
  }

  .profile-avatar {
    width: 45px;
    height: 45px;
  }

  .profile-info h4 {
    font-size: 1rem;
  }

  .profile-info p {
    font-size: 0.8rem;
  }

  .profile-details {
    padding: 0.8rem 1rem;
  }

  .detail-item {
    padding: 0.4rem 0;
  }

  .detail-label,
  .detail-value {
    font-size: 0.8rem;
  }

  .profile-actions {
    padding: 0.8rem 1rem;
  }

  .profile-action-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .header__content h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .header__image img {
    max-width: 180px;
  }

  .section__header {
    font-size: 1.6rem;
  }

  .explore__card {
    padding: 1rem 0.8rem;
  }

  .join__grid {
    bottom: -10rem;
  }

  .price__card {
    padding: 1.2rem 0.8rem;
  }

  .profile-dropdown {
    width: 240px;
    right: -20px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .nav__links {
    padding: 0.8rem;
    gap: 0.5rem;
    top: 50px;
    height: auto;
    max-height: 60vh;
    min-height: 50vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
  }

  /* Hide scrollbar for WebKit browsers in landscape mode */
  .nav__links::-webkit-scrollbar {
    display: none;
  }

  .nav__links li a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .header__container {
    padding-top: 4rem;
    gap: 1rem;
  }

  .header__content h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .header__image img {
    max-width: 200px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-toggle-label span {
    height: 2px;
  }
  
  .btn, .price__btn {
    border-width: 1px;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .nav__links {
    transition: right 0.2s ease;
  }
  
  .nav-toggle-label span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #111317;
    --primary-color-light: #1f2125;
    --primary-color-extra-light: #35373b;
  }
}

/* Print styles */
@media print {
  nav, .nav-toggle-label, .profile-container, .btn, .price__btn, #backToTop {
    display: none !important;
  }
  
  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .section__container {
    padding: 2rem 0;
  }
}