/* Reset và Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e5989b;
  --secondary-color: #b5838d;
  --dark-color: #6d6875;
  --light-color: #ffcdb2;
  --white: #ffffff;
  --black: #333333;
  --gray: #f9f9f9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --card-border-radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.8rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--dark-color);
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn.primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn.primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(181, 131, 141, 0.3);
}

.btn.secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn.secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(181, 131, 141, 0.2);
}

.btn.text-btn {
  padding: 0;
  color: var(--secondary-color);
  background: none;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
}

.btn.text-btn i {
  margin-left: 8px;
  transition: var(--transition);
}

.btn.text-btn:hover {
  color: var(--primary-color);
}

.btn.text-btn:hover i {
  transform: translateX(5px);
}

section {
  padding: 80px 0;
  position: relative;
}

/* Floating Contact Icons */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: var(--transition);
  border: none !important;
  outline: none !important;
}

.contact-icon img {
  width: 25px;
  height: 25px;
}

.contact-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon .tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--dark-color);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon .tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--dark-color);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 65px;
}

.contact-icon.phone {
  background-color: #4caf50;
  border: none;
}

.contact-icon.zalo {
  background-color: #0068ff;
  border: none;
}

.contact-icon.facebook {
  background-color: #1877f2;
  border: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px; /* Giảm padding */
}

.logo img {
  height: 45px; /* Giảm kích thước logo */
  transition: var(--transition);
}

nav ul {
  display: flex;
  gap: 20px; /* Giảm khoảng cách giữa các mục */
}

nav ul li a {
  font-weight: 500; /* Giảm độ đậm */
  padding: 5px 0;
  position: relative;
  color: var(--dark-color);
  font-size: 0.85rem; /* Giảm kích thước font */
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
}

/* Thêm hiệu ứng hover hiện đại hơn */
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section - Fixed Banner - Sửa lại để không bị cắt xén */
.hero {
  position: relative;
  margin-top: 65px; /* Điều chỉnh margin-top theo chiều cao của header */
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 400px; /* Chiều cao cố định cho banner */
  background-color: var(--gray); /* Màu nền để lấp đầy khoảng trống */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/banner.jpg");
  background-size: contain; /* Đảm bảo hiển thị toàn bộ hình ảnh */
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-content {
  display: none; /* Hide the content as requested */
}

/* About Section */
.about {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--light-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 100%;
  height: auto;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.about-text h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
  background-color: rgba(229, 152, 155, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Services Section */
.services {
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.services::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

/* Sửa hiển thị grid thành 3 cột cho dịch vụ, khóa học và bộ sưu tập */
.services-grid,
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Thay đổi thành 3 cột cố định */
  gap: 25px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 0;
  padding-bottom: 75%; /* Maintain aspect ratio */
  position: relative;
  overflow: hidden;
}

.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.1));
}

.service-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-content p {
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Courses Section */
.courses {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.courses::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--light-color);
  opacity: 0.1;
  border-radius: 50%;
}

.course-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.course-image {
  height: 0;
  padding-bottom: 75%; /* Maintain aspect ratio */
  position: relative;
  overflow: hidden;
}

.course-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.course-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.course-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--dark-color);
}

.detail i {
  color: var(--primary-color);
}

.course-content .btn {
  margin-top: auto;
}

/* Gallery Section */
.gallery {
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.gallery::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 10px 25px;
  border: 1px solid var(--secondary-color);
  background-color: transparent;
  color: var(--secondary-color);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(181, 131, 141, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Thay đổi thành 3 cột cố định */
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 1 / 1; /* Square aspect ratio */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-overlay h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-more {
  text-align: center;
  margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--light-color);
  opacity: 0.1;
  border-radius: 50%;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}

.testimonial-slide {
  padding: 20px;
}

.testimonial-content {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-content::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  margin-bottom: 20px;
  display: flex;
}

.testimonial-rating i {
  color: #ffd700;
  margin-right: 5px;
  font-size: 1.1rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(229, 152, 155, 0.2);
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: var(--dark-color);
}

.author-info p {
  margin: 0;
  color: var(--dark-color);
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.prev-btn,
.next-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(229, 152, 155, 0.3);
}

/* Blog Section */
.blog {
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.blog::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 0;
  padding-bottom: 75%; /* Maintain aspect ratio */
  position: relative;
  overflow: hidden;
}

.blog-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0 20px;
  font-size: 0.9rem;
  color: var(--dark-color);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: var(--primary-color);
}

.blog-content .btn {
  margin-top: auto;
}

.blog-more {
  text-align: center;
  margin-top: 50px;
}

/* Booking Section */
.booking {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/booking-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.booking-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.booking-text h2 {
  color: var(--white);
  margin-bottom: 25px;
}

.booking-text p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.booking-features {
  list-style: none;
  margin: 30px 0;
}

.booking-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.booking-features li i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.booking-form {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
}

.booking-form h3 {
  color: var(--dark-color);
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(229, 152, 155, 0.2);
}

.form-group textarea {
  height: 120px;
  resize: none;
}

/* Contact Section */
.contact {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--light-color);
  opacity: 0.1;
  border-radius: 50%;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(229, 152, 155, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon-wrapper i {
  font-size: 2rem;
  color: var(--primary-color);
}

.contact-card h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-card p,
.contact-card a {
  color: var(--dark-color);
  margin-bottom: 5px;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form-header h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact i {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Styles - Improved for Mobile */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .hero {
    height: 350px; /* Điều chỉnh chiều cao cho màn hình lớn */
  }
}

@media (max-width: 992px) {
  .about-content,
  .booking-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services-grid,
  .courses-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cột trên tablet */
  }

  .hero {
    height: 300px; /* Điều chỉnh chiều cao cho tablet */
    margin-top: 65px;
  }
}

/* Improved Mobile Styles to Match Tablet Experience */
@media (max-width: 768px) {
  header .container {
    padding: 10px 15px;
  }

  .logo img {
    height: 40px;
  }

  /* Improved Mobile Menu */
  nav {
    position: fixed;
    top: 65px; /* Giảm xuống do header nhỏ hơn */
    left: -100%;
    width: 80%;
    height: calc(100vh - 65px);
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 99;
    overflow-y: auto;
    border-radius: 0 10px 10px 0;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  nav ul li a {
    display: block;
    padding: 12px 15px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  nav ul li a:hover {
    background-color: rgba(229, 152, 155, 0.1);
  }

  .menu-toggle {
    display: block;
  }

  /* Maintain consistent grid layouts */
  .services-grid,
  .courses-grid,
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Maintain form layouts */
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Adjust padding for better mobile experience */
  .booking-form,
  .contact-form {
    padding: 30px 25px;
  }

  /* Adjust floating contact icons */
  .floating-contact {
    right: 15px;
    bottom: 15px;
    gap: 12px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon img {
    width: 22px;
    height: 22px;
  }

  /* Show tooltips on mobile */
  .contact-icon .tooltip {
    display: block;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Adjust typography for better readability */
  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  /* Maintain hero height */
  .hero {
    height: 250px; /* Điều chỉnh chiều cao cho mobile */
    margin-top: 60px;
  }
}

@media (max-width: 576px) {
  /* Maintain consistent styling with tablet */
  section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Maintain gallery filter appearance */
  .gallery-filter {
    gap: 10px;
    margin-bottom: 25px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  /* Maintain testimonial styling */
  .testimonial-content {
    padding: 30px 25px;
  }

  .testimonial-author img {
    width: 60px;
    height: 60px;
  }

  .prev-btn,
  .next-btn {
    width: 45px;
    height: 45px;
  }

  /* Maintain footer styling */
  .footer-content {
    gap: 30px;
  }

  .footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  /* Maintain grid layouts */
  .services-grid,
  .courses-grid,
  .blog-grid {
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 200px; /* Điều chỉnh chiều cao cho mobile nhỏ */
    margin-top: 60px;
  }
}

/* Fix for iOS form elements */
@supports (-webkit-touch-callout: none) {
  input,
  select,
  textarea {
    font-size: 16px; /* Prevent zoom on focus */
  }

  input[type="date"],
  input[type="time"] {
    min-height: 44px;
  }
}

/* Ensure consistent display across all devices */
html,
body {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Fix for mobile menu scrolling */
body.menu-open {
  overflow: hidden;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

