/* ===== General Resets ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 0; /* Avoid overlap with fixed navbar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.site-logo {
  height: 40px;
  width: auto;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-middle {
  text-align: center;
}

.navbar-links {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.navbar-links li a:hover {
  color: #007bff;
}

/* Remove the highlight class */
.navbar-highlight {
  background-color: transparent;
  color: #333;
  padding: 0;
  border-radius: 0;
}

/* Dropdown styling */
.navbar-links .dropdown {
  position: relative;
}

.navbar-links .dropdown span {
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 4px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.9rem;
  color: #333;
  transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

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

.social-icon {
  height: 24px;
  width: auto;
  transition: opacity 0.3s;
}

.social-icon:hover {
  opacity: 0.8;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger img,
.close-menu img {
  width: 24px;
  height: auto;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar-middle {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu .navbar-links {
    display: block;
    padding: 1rem;
  }

  .mobile-menu .navbar-links li {
    display: block;
    margin-bottom: 1rem;
  }

  .mobile-menu .navbar-links li a {
    display: block;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    padding: 8px 0;
  }

  .mobile-menu .dropdown-menu {
    position: static;
    display: none;
    padding-left: 1rem;
    box-shadow: none;
    background-color: #f5f5f5;
  }

  .mobile-menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .mobile-menu .dropdown span {
    display: block;
    padding: 8px 0;
    margin-bottom: 5px;
    font-weight: 500;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 9999;
  padding-top: 10px;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-left {
    order: 1;
  }

  .navbar-right {
    order: 2;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .navbar-right .social-icon {
    display: inline-block;
    height: 24px;
    width: auto;
  }

  .hamburger {
    margin-left: 10px;
  }
}

/* ===== Hero Section ===== */
.big-image-hero {
  margin-top: 80px; 
}

.big-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== phần 3 ===== */
.intro-yoga-goal {
  padding: 80px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.intro-yoga-goal .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-yoga-goal h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.intro-yoga-goal h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4CAF50;
}

.intro-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: #4CAF50;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9rem;
  color: #666;
}

.intro-gallery {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item.large {
  grid-column: span 2;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .intro-yoga-goal .container {
    grid-template-columns: 1fr;
  }
  
  .intro-features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .intro-yoga-goal {
    padding: 60px 0;
  }
  
  .intro-yoga-goal h2 {
    font-size: 2rem;
  }
  
  .intro-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .gallery-item.large {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .intro-features {
    grid-template-columns: 1fr;
  }
  
  .intro-yoga-goal h2 {
    font-size: 1.8rem;
  }
  
  .intro-text p {
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item.large {
    grid-column: span 1;
    height: 200px;
  }
}

/* ===== phần 4 ===== */
.hero-section {
  position: relative;
  background: 
    linear-gradient(rgba(212, 136, 6, 1), rgba(212, 136, 6, 0.5)),
    url("image/background2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tiêu đề chính + icon */
.main-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.title-icon {
  width: 40px;
  height: 40px;
}

.main-title h1 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mô tả dưới tiêu đề chính */
.description {
  max-width: 800px;
  margin: 0 auto 40px; 
  line-height: 1.6;
}

/* Lưới ảnh khóa học */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}

.course-card {
  width: 300px;
  background-color: #fff;
  color: #333;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course-card img {
  width: 100%;
  display: block;
}

.course-card h3 {
  margin: 15px 0;
  padding: 0 10px;
  font-size: 1.1rem;
}

/* Tiêu đề phụ */
.second-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.second-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== Phần 5, địa điểm ===== */
.yoga-centers {
  background: linear-gradient(135deg, #da995c, #c79058); /* Gradient bronze effect */
  color: #e67474;
  padding: 50px 0;
  text-align: center;
  border-radius: 10px;
}

.section-title1 {
  font-size: 2rem;
  color: #ffffff;
  margin-top: 40px;
  text-align: center; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
}

.section-subtitle {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 30px;
}

/* Centers container */
.centers-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

/* Center box */
.center {
  background-color: #111;
  padding: 20px;
  border-radius: 8px;
  width: 45%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.center img {
  width: 100%;
  height: 300px; 
  object-fit: contain; 
  border-radius: 5px;
  margin-bottom: 15px;
}

.center h3 {
  color: #fbc02d;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.center p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Contact Button */
.contact-btn {
  display: inline-block;
  background-color: transparent;
  color: #fbc02d;
  border: 2px solid #fbc02d;
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: #fbc02d;
  color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .centers-container {
    flex-direction: column;
    align-items: center;
  }

  .center {
    width: 90%;
  }
}

/* ===== phần 6, giới thiệu lớp yoga ===== */
.yoga-classes {
  position: relative;
  background: 
    linear-gradient(rgba(212, 136, 6, 1), rgba(212, 136, 6, 0.5)),
    url("image/flowerbackground.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 60px 50px;
  text-align: center;
  color: #fff;
}

.section-title2 {
  font-size: 2rem;
  color: #ffffff;
  margin: 40px 0;
  text-transform: uppercase;
}

/* Grid layout */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Class item styling */
.class-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.class-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* Overlay effect */
.overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.6);
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 5px;
  width: 80%;
  text-align: center;
}

/* ===== phần 7, giới thiệu giáo viên ===== */
.instructors {
  position: relative;
  background: 
    linear-gradient(rgba(212, 136, 6, 1), rgba(212, 136, 6, 0.5)),
    url("image/nightbackground.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 60px 50px;
  text-align: center;
  color: #fff;
}

.section-title3 {
  font-size: 2rem;
  color: #ffffff;
  margin: 40px 0;
  text-transform: uppercase;
}

/* Grid layout */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Instructor card */
.instructor-card {
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.instructor-card:hover {
  transform: translateY(-5px);
}

/* Instructor images */
.instructor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%); /* Black & White effect */
  transition: filter 0.3s ease-in-out;
}

.instructor-card:hover img {
  filter: grayscale(0%); /* Removes B&W effect on hover */
}

/* Instructor info box */
.instructor-info {
  background-color: #000;
  padding: 15px;
}

.instructor-info h3 {
  font-size: 1.4rem;
  color: #fbc02d;
  margin-bottom: 5px;
}

.instructor-info p {
  font-size: 1rem;
  color: #bbb;
}

/* Responsive design */
@media (max-width: 768px) {
  .instructor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instructor-card img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .instructor-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .instructor-card img {
    height: 220px;
  }
}

/* ===== phần 8, footer ===== */
.footer {
  background-color: #fbc02d;
  color: #000;
  padding: 40px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  text-align: left;
}

.social-media {
  align-items: center;
  justify-content: center;
}

.social-media a {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  margin: 10px 0;
}

.social-media a:hover {
  background-color: #fff;
  color: #fbc02d;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
  color: #000;
}

.address {
  align-items: flex-start;
  padding-left: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.address p {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  color: #fff;
}

.contact-info {
  align-items: flex-start;
  padding-left: 30px;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  color: #fff;
}

.contact-info i {
  font-size: 1.2rem;
  min-width: 20px;
  text-align: left;
}

.footer-container > .footer-column:not(:last-child) {
  border-right: 2px solid #000;
  padding: 0 20px;
}

.footer-bottom {
  border-top: 1px solid #000;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 20px;
  color: #000;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 0 0;
  }

  .footer-column {
    width: 100%;
    text-align: left;
    padding: 20px;
    border: none !important;
    position: relative;
  }

  .footer-column.address::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #000;
  }

  .footer-column.contact-info::after {
    content: none;
  }

  .footer-bottom {
    border-top: 1px solid #000;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: bold;
  }

  .social-media {
    display: none;
  }
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  .navbar-middle {
    display: none;
  }

  .hamburger {
    display: inline-block;
  }

  .location-content {
    flex-direction: column;
    align-items: center;
  }

  .classes-wrapper {
    width: 100%;
  }

  .class-card {
    margin: 0 auto 1rem;
    width: 90%;
  }
}

/* ===== phần 3. yoga-ttc.html ===== */
.ttc-section {
  padding: 40px 20px;
  font-family: inherit;
  background-color: #fff;
}

.ttc-section {
  padding-top: 100px;
}

.ttc-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.ttc-left {
  flex: 1 1 60%;
}

.ttc-left h2 {
  font-size: 26px;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.ttc-left h2::before {
  content: '';
  background: url('image/???.png') no-repeat center;
  background-size: contain;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  display: inline-block;
}

.ttc-left h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  color: #111;
}

.ttc-left p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-top: 10px;
}

.certification-logos {
  margin-top: 25px;
}

.certification-logos img {
  height: 50px;
  margin-right: 10px;
}

.ttc-right {
  flex: 1 1 30%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.course-title {
  color: #f25e5e;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.course-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #222;
  font-size: 14px;
}

.course-info li {
  margin-bottom: 8px;
}

.course-info strong {
  color: #f25e5e;
}

.certification-logos img {
  height: 100px; 
  width: auto;
}

/* Authentication Styles */
.auth-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-item .login-btn,
.auth-item .register-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-item .login-btn {
    color: #333;
    border: 1px solid #333;
}

.auth-item .login-btn:hover {
    background-color: #f5f5f5;
}

.auth-item .register-btn {
    background-color: #4CAF50;
    color: white !important;
}

.auth-item .register-btn:hover {
    background-color: #45a049;
}

.auth-item.dropdown {
    position: relative;
}

.auth-item.dropdown span {
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-item.dropdown:hover .dropdown-menu {
    display: block;
}

.auth-item .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    display: none;
}

.auth-item .dropdown-menu a {
    padding: 12px 16px;
    display: block;
    color: #333;
    text-decoration: none;
}

.auth-item .dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Enhanced mobile dropdown styles */
.dropdown-menu.show {
    display: block !important;
}

/* Mobile Auth Item Styles */
.mobile-menu .auth-item {
    display: block;
    margin: 0;
    padding: 0;
}

.mobile-menu .auth-item a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
}

.mobile-menu .auth-item a:hover {
    background-color: #f5f5f5;
}

/* Style for login/register in mobile menu */
.mobile-menu .auth-item:nth-last-child(2) a {
    color: #4CAF50;
}

.mobile-menu .auth-item:last-child a {
    background-color: #4CAF50;
    color: white;
    margin: 8px 15px;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
}

/* Logout button in mobile menu */
.mobile-menu .auth-item a#mobileLogoutButton {
    background-color: #f44336;
    color: white;
    margin: 8px 15px;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
}

/* Protected Content Styles */
.protected-content {
    display: none;
}

.logged-in .protected-content {
    display: block;
}

/* Course Enrollment Styles */
.course-enrollment {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.enrollment-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.enrollment-status i {
    color: #4CAF50;
    font-size: 20px;
}

.enrollment-progress {
    background: #eee;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.enrollment-progress-bar {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .auth-item {
        margin-top: 10px;
    }

    .auth-item.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
    }
    
    /* Improved mobile menu */
    .mobile-menu {
        padding-top: 70px;
    }
    
    .mobile-menu .navbar-links {
        padding: 0;
    }
    
    .mobile-menu .navbar-links li {
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .mobile-menu .navbar-links li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu .navbar-links li a {
        padding: 12px 15px;
        display: block;
    }
    
    .mobile-menu .dropdown span {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 12px 15px;
    }
    
    .mobile-menu .dropdown span::after {
        content: "▼";
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .mobile-menu .dropdown-menu {
        position: static;
        margin-left: 15px;
        box-shadow: none;
        border-left: 2px solid #4CAF50;
        border-radius: 0;
        background: transparent;
    }
    
    .mobile-menu .dropdown-menu li {
        margin: 0;
        border-bottom: none;
    }
    
    .mobile-menu .dropdown-menu li a {
        padding: 10px 15px;
    }
    
    /* Separator for auth items in mobile menu */
    .mobile-menu .auth-item {
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    /* Fix user menu on mobile */
    .user-menu-content.active {
        position: absolute;
        right: 10px;
        top: 60px;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        border-radius: 4px;
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  /* ===== Navigation ===== */
  .navbar-container {
    padding: 0.5rem;
  }

  .site-logo {
    height: 30px;
  }

  .social-icon {
    height: 20px;
  }

  /* ===== Mobile Menu ===== */
  .mobile-menu {
    width: 80%;
    max-width: 300px;
  }

  /* ===== Hero Section ===== */
  .big-image-hero {
    margin-top: 60px;
  }

  .intro-yoga-goal .container {
    padding: 0 10px;
  }

  .overlay-box {
    padding: 30px 20px;
  }

  .overlay-box h2 {
    font-size: 1.5rem;
  }

  /* ===== Course Section ===== */
  .hero-section {
    padding: 40px 0;
  }

  .main-title h1,
  .second-title h2 {
    font-size: 1.3rem;
  }

  .title-icon {
    width: 30px;
    height: 30px;
  }

  .course-grid {
    gap: 15px;
  }

  .course-card {
    width: 100%;
  }

  /* ===== Yoga Centers ===== */
  .centers-container {
    flex-direction: column;
  }

  .center {
    width: 100%;
    margin-bottom: 20px;
  }

  .center img {
    height: 200px;
  }

  /* ===== Classes Grid ===== */
  .class-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  /* ===== Instructors ===== */
  .instructor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .instructor-card img {
    height: 180px;
  }

  /* ===== Footer ===== */
  .footer-container {
    flex-direction: column;
    padding: 20px 10px;
  }

  .footer-column {
    width: 100%;
    padding: 10px 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .social-media {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  /* ===== TTC Section ===== */
  .ttc-container {
    flex-direction: column;
    gap: 20px;
  }

  .ttc-right {
    width: 100%;
  }

  /* ===== Auth ===== */
  .auth-container {
    margin: 80px auto 20px;
    padding: 20px;
    width: 90%;
  }

  .auth-form h2 {
    font-size: 1.5rem;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group input {
    padding: 10px;
  }

  .auth-btn {
    padding: 10px;
  }

  /* ===== Dashboard ===== */
  .dashboard-container {
    margin: 80px auto 20px;
    padding: 15px;
    width: 95%;
  }

  .welcome-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .dashboard-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dashboard-link {
    padding: 15px 10px;
  }

  .dashboard-link i {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .dashboard-link p {
    font-size: 14px;
  }

  .logout-btn {
    width: 100%;
  }

  /* ===== Online Courses ===== */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    margin-bottom: 15px;
  }

  .course-image {
    height: 150px;
  }
}

/* iPhone SE and other small screens */
@media (max-width: 375px) {
  .overlay-box h2 {
    font-size: 1.2rem;
  }

  .main-title h1,
  .second-title h2 {
    font-size: 1.1rem;
  }

  .center img {
    height: 150px;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-links {
    grid-template-columns: 1fr;
  }

  .auth-container {
    padding: 15px;
  }

  .auth-form h2 {
    font-size: 1.3rem;
  }

  .social-media a {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* ===== Auth Container for Mobile ===== */
@media (max-width: 768px) {
  .auth-container {
    box-sizing: border-box;
    width: 90%;
    max-width: none;
    margin: 80px auto 20px;
    padding: 20px;
    border-radius: 6px;
  }
  
  .form-group input, 
  .auth-btn, 
  .google-btn {
    font-size: 16px; /* Better for touch screens */
  }
  
  .auth-switch {
    font-size: 14px;
  }
  
  /* Improve mobile login form spacing */
  .social-login {
    margin: 15px 0;
  }
  
  .auth-form {
    padding: 5px 0;
  }
  
  .remember-forgot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== Courses Section ===== */
.courses-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.courses-header {
  text-align: center;
  margin-bottom: 40px;
}

.courses-header h4 {
  color: #777;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
}

.courses-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.courses-header h3 {
  font-size: 1.2rem;
  color: #666;
}

.courses-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 20px;
  border: none;
  background-color: #e9ecef;
  color: #333;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
  background-color: #4CAF50;
  color: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

.course-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-image {
  position: relative;
  height: 200px;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-price {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #4CAF50;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
}

.course-price.free {
  background: #ff6b6b;
}

.course-content {
  padding: 20px;
}

.course-category {
  display: inline-block;
  padding: 5px 15px;
  background: #e9ecef;
  color: #666;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.course-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: #ffc107;
}

.course-rating span {
  color: #666;
  font-size: 0.9rem;
}

.course-details {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.instructor img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor span {
  font-weight: 500;
  color: #333;
}

.instructor small {
  display: block;
  color: #666;
  font-size: 0.8rem;
}

.course-info {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 0.9rem;
}

.course-info div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-info i {
  color: #4CAF50;
}

@media (max-width: 768px) {
  .courses-header h2 {
    font-size: 2rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .category-btn {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
}


