/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}
header .logo {
  height: 50px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  float: right;
}
header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
header nav ul li a:hover {
  color: #007BFF;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
}
.hero img {
  width: 100%;
  height: auto;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
.hero-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 24px;
}

/* About Section */
.about, .courses, .gallery {
  padding: 50px 0;
}
.about h2, .courses h2, .gallery h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* Courses */
.course-list {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.course {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}
/* ABOUT SECTION */
.about-section {
  padding: 60px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}
.contact-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.contact-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-subtext {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.contact-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  background: #ffffff;
  padding: 25px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.reviews-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.reviews-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.review-subtext {
  color: #555;
  margin-bottom: 40px;
}

.review-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.review-card {
  background: #f8f9fa;
  padding: 25px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  font-style: italic;
}

.review-card h4 {
  margin-top: 15px;
  font-style: normal;
  color: #333;
}
/* Home Page Gallery Styling */
.gallery {
  padding: 60px 0;
  text-align: center;
  background-color: #f8f9fa;
}

.gallery h2 {
  font-size: 32px;
  margin-bottom: 30px;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
