/* ===== Base ===== */
body {
  background-color: #1d1d1d; /* dark background */
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}

/* ===== Upper Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1); /* transparent for glassy look */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 30px;
  z-index: 1100;
  transition: background 0.3s ease;
}

/* Social Icons */
 .social-icons a {
  color: #fff;
  margin-left: 20px;
  font-size: 1.3rem;
  transition: transform 0.3s, color 0.3s;
}

.social-icons .instagram:hover {
  color: #e1306c;
  transform: scale(1.2);
}

.social-icons .tiktok:hover {
  color: #69c9d0;
  transform: scale(1.2);
}

.social-icons .threads:hover {
  color: #fff;
  background: #000;
  padding: 5px;
  border-radius: 50%;
  transform: scale(1.2);
}


/* ===== Main Navbar ===== */
.main-navbar {
  position: fixed;
  top: 32px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.main-navbar nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;

}
/* ===== Logo Style ===== */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  margin-right: 320px;

  transition: transform 0.3s ease;
}

.logo img {
  height: 90px;          /* increased for visibility */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* adds depth */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: scale(1.07);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Responsive adjustments */
@media (max-width: 850px) {
  .logo img {
    height: 70px;  /* smaller but still readable */
  }
}

@media (max-width: 500px) {
  .logo img {
    height: 60px;
  }
}



/* ===== Nav Links ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Fancy underline hover */
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, #ffb6c1, #86a8e7);
  transition: width 0.35s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #ffb6c1;
  transform: translateY(-2px);
}

/* Animate nav links on load */
.nav-links li {
  opacity: 0;
  transform: translateY(-15px);
  animation: slideDown 0.6s forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.2s; }
.nav-links li:nth-child(2) { animation-delay: 0.35s; }
.nav-links li:nth-child(3) { animation-delay: 0.5s; }
.nav-links li:nth-child(4) { animation-delay: 0.65s; }

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Toggle Menu ===== */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* ===== Responsive ===== */
@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 90px);
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    opacity: 1;
    transform: translateY(0);
    animation: none;
  }

  .nav-links li a {
    font-size: 1.3rem;
  }
}


/* Hero Section */
#hero {
    background-color: #1a1a1a; /* fallback color */
   padding: 180px 20px 36px 20px;
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 500px;
    padding: 20px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 6px;
    font-weight: bold;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

.btn-contact {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #ff80ab, #ff4081);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
    transition: left 0.4s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    transform: translateY(-4px);
}



.hero-image {
    flex: 1 1 400px;
    text-align: center;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: heroImageFade 1.6s ease forwards;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes heroImageFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image img {
        width: 100%;
        
    }
}


/* Adjust buttons for visibility */
.btn-contact {
    background-color: #e91e63;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-contact:hover {
    background-color: #d81b60;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

/* Social Icons */
.social-icons a {
    margin-left: 10px;
    font-size: 24px;
    color: #ffffff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #e91e63; /* Pink for Instagram, customize if needed */
}
/* Masters Section */
.masters-section {
  padding: 60px 20px;
  text-align: center;
  background: #222222;
}

.masters-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.masters-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #fff1fd;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 64px;
}

.master-card {
  background: rgb(31, 31, 31);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.master-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.master-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.master-card p {
  color: #555;
}





/* ===== Testimonials Section ===== */
#reyler {
  padding: 80px 20px;
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
}

#reyler h2 {
  font-size: 2.2rem;
  color: #f8b400;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

/* Flex container */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Individual testimonial card */
.testimonial-card {
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 25px 20px;
  max-width: 350px;
  flex: 1 1 280px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255,182,193,0.15);
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e6e6e6;
}

/* Author */
.testimonial-card .author {
  font-weight: bold;
  color: #f8b400;
  display: block;
  text-align: right;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 90%;
    text-align: center;
  }

  .testimonial-card .author {
    text-align: center;
  }
}


/* Optional: make sections slightly lighter for readability */
section {
    background-color: #222; /* slightly lighter than body */
    padding: 40px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
}

/* Courses Section */
#courses {
    background-color: #1a1a1a; /* dark background for contrast */
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

#courses h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f8b400;
}

/* Course list grid */
.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Individual course card */
.course-card {
    background-color: #222;
    border-radius: 16px;
    overflow: visible; /* <-- changed from hidden */
    padding: 20px;
    width: 100%;
    max-width: 300px;
    flex: 1 1 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


/* Hover effect */
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Images inside cards */
.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.course-card img:hover {
    transform: scale(1.05);
}

/* Card Titles */
.course-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

/* Sub-courses list */
.sub-courses {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.sub-courses li {
    background-color: #333;
    margin: 4px 0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.5;
}


.sub-courses li:hover {
    background-color: #f8b400;
    color: #222;
}

/* Description */
.course-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 12px 0;
    line-height: 1.5;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .course-list {
        flex-direction: column;
        align-items: center;
    }

    #courses h2 {
        font-size: 2rem;
    }

    .course-card {
        max-width: 95%;
        overflow: visible;
    }

    .course-card p {
        min-height: unset;
    }

    .sub-courses li {
        width: 100%;
        text-align: center;
    }
}


.course-list, .testimonial-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
/* Gallery Section */
#gallery {
    background-color: #1a1a1a;
    padding: 60px 20px;
  
    text-align: center;
    color: #fff;
}

#gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #f8b400;
    letter-spacing: 1px;
}

/* Grid layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin-top: 24px;
}

/* Individual gallery item */
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effects */
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

/* Images */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Zoom image on hover */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #gallery h2 {
        font-size: 2rem;
    }
}



.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.whatsapp:hover {
    transform: scale(1.1);
}


footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-location, .footer-phone {
  margin: 15px 0;
  font-size: 1rem;
}

.footer-location h4,
.footer-phone h4 {
  color: #f8b400;
  margin-bottom: 5px;
}

.footer-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.footer-phone a:hover {
  color: #f8b400;
}

.map iframe {
  border-radius: 10px;
  margin-top: 15px;
}

.students-section {
  margin-top: 120px;
    text-align: center;
    padding: 60px 20px;
}

.students-section h1 {
    font-size: 36px;
    margin-bottom: 6px;
    color: #818181;
}

.students-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 16px;
}

.students-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
}

.student-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .3s ease;
}

.student-item:hover {
    transform: scale(1.03);
}

.student-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.student-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: left;
}