/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #eeefe7;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  background: #2b2e4a;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.logo {
  width: 80px;           /* Adjust size as needed */
  height: 80px;
  border-radius: 50%;
  object-fit: cover;      /* Keeps the image ratio */
  border: 2px solid #fff; /* Optional: adds border */
}

.hamburger {
  display: none;
  background: none;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

/* Navigation */
nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #00d1b2;
}

.admission-btn {
  padding: 0.4rem 1rem;
  background-color: #00b894;
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.admission-btn:hover {
  background-color: #01967a;
}

/* Hero Section */
.hero {
  background: url('images/music-bg.jpg'), linear-gradient(to right, #2b2e4a, #536976);
  background-size: cover;
  background-blend-mode: overlay;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e0ffff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  font-weight: 700;
}

/* Section Styling */
section {
  padding: 3rem 2rem;
  transition: background-color 0.5s ease;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Different Section Background Colors */
#programs {
  background-color: #f5f3e7;
}

#events {
  background-color: #e9f0fc;
}

#gallery {
  background-color: #fff3e6;
}

#contact {
  background-color: #1a1a1a;
}

#programs h2,
#events h2,
#gallery h2 {
  color: #2b2e4a;
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: #e4e4e4;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

/* Events Section */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

/* Gallery Section */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-images img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,64,128,0.1);
}

.contact-section {
  padding: 60px 20px;
  background: #1c1c1c; /* Dark background for contrast */
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

.contact-section > p {
  font-size: 16px;
  color: #bbb;
  text-align: center;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.contact-details .info {
  flex: 1 1 300px;
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  color: #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-details .info p {
  font-size: 16px;
  margin: 16px 0;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.contact-details .info i {
  font-size: 20px;
  color: #00c853; /* Green for icons */
  margin-right: 12px;
}

.map-container {
  flex: 1 1 400px;
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .contact-details {
    flex-direction: column;
  }

  .map-container {
    height: 300px;
  }

  .contact-section h2,
  .contact-section > p {
    text-align: center;
  }
}


/* Footer */
footer {
  background: #2b2e4a;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Popup */
.form-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.admission-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admission-form input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.admission-form button {
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.admission-form button[type="submit"] {
  background: #2b2e4a;
  color: white;
}

.admission-form .close-btn {
  background: #ccc;
  color: #333;
}

/* Common button style */
.floating-btn, .whatsapp-float {
  position: fixed;
  right: 20px;
  padding: 12px;
  border-radius: 50%;
  background-color: white;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* WhatsApp button */
.whatsapp-float {
  bottom: 20px;
  background-color: #25D366;
  font-size: 24px;
}

/* Instagram button */
.insta-btn {
  bottom: 85px; /* Adjust if needed to avoid overlap */
  background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
  padding: 10px;
}

.insta-btn img {
  width: 30px;
  height: 30px;
}

/* YouTube button */
.youtube-btn {
  position: fixed;
  bottom: 150px; /* Adjust to avoid overlap */
  right: 20px;
  background-color: #FF0000;
  padding: 10px;
  border-radius: 50%;
  z-index: 1000;
}

.youtube-btn img {
  width: 30px;
  height: 30px;
}

/* Hover effect */
.floating-btn:hover,
.whatsapp-float:hover {
  transform: scale(1.1);
}


/* Responsive */
@media (min-width: 768px) {
  .contact-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .contact-details .info {
    flex: 1;
  }

  .map-container {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #2b2e4a;
    width: 100%;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a, .admission-btn {
    margin-left: 1rem;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-images img {
    width: 90%;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides img.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  max-width: 90%;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 0.8rem 1.5rem;
  background: #ff5e5e;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

#events {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#events h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.events-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.event-item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.event-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-item p {
  padding: 15px 20px;
  font-size: 1rem;
  color: #444;
  margin: 0;
}
.courses {
  background: #fff;
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.courses h2 {
  font-size: 2.5rem;
  color: #2b2e4a;
  margin-bottom: 0.5rem;
}

.course-intro {
  color: #555;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.course-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.course-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.course-list li {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.course-list li:hover {
  background: rgba(255, 255, 255, 0.25);
}

#about {
  background: linear-gradient(135deg, #f3f4f8, #fff);
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

#about h2 {
  font-size: 2.4rem;
  color: #2c2c54;
  margin-bottom: 1.2rem;
}

#about .intro {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto;
  color: #555;
  font-weight: 500;
}

#about .mission {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 1.5rem auto 2rem;
  color: #666;
  line-height: 1.6;
}

.why-choose-us h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1e272e;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.point {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point span {
  font-size: 1.8rem;
}

.point p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
