* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #fff;
}
/* --- Header & Navbar --- */
header {
  background: rgb(11, 4, 97);
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header img {
  height: 100px;
}
/* Default nav (desktop) */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}
nav ul li a.active {
  border-bottom: 2px solid #ff9800;
}
nav ul li a:hover {
  color: #ffcc00;
}
/* --- Hamburger --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.hero-content {
  font-size: 38px;
  color: white;
  text-align: center;
  padding: 20px;
}
/* --- Contact Section (ordered by HTML structure) --- */
.contact-section {
  background: #111;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 48px 32px 48px 32px; /* top, right, bottom, left */
  height: auto;
}
.contact-black {
  background: #0a0a0a;
    color: #fff;
  padding: 0 20px;
}
@media (max-width: 900px) {
  .contact-section {
    /* Don't force full-screen on small devices; allow content to size naturally */
    /* min-height removed for better cross-browser compatibility */
    padding: 20px 12px;
    height: auto;
  }
}
.contact-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: 1800px;
   height: auto;
  padding: 20px;
  background-color: #141313;
}
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 24px;
    height: auto;
    max-width: 100vw;
    padding: 0 12px;
    align-items: stretch;
  }
   .contact-card {
    max-width: 98vw;
    padding: 18px 6vw;
  }
}
.contact-card {
  width: 100%;
  padding: 10px 6px;
  margin: 0 auto;
  box-sizing: border-box;
}
.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #7c3aed;
}
.contact-lead {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.contact-details {
  font-size: 1rem;
  margin-bottom: 18px;
}
.contact-details strong {
  color: #7c3aed;
}
.contact-details a {
  color: #06b6d4;
  text-decoration: none;
}
.contact-details a:hover {
  text-decoration: underline;
}
/* Contact form removed — styles for .contact-form were intentionally deleted */

/* --- Mobile Nav --- */
nav {
  transition: max-height 0.5s ease;
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
  }
  /* Hide nav by default */
  nav {
    overflow: hidden;
    max-height: 0;
    background: #111;
    width: 100%;         /* full width */
    position: absolute;  /* below header */
    top: 100%;
    left: 0;
  }
  /* Show when active */
  nav.active {
    max-height: 300px;
  }
  nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }
  nav ul li a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  /* Show hamburger */
  .menu-toggle {
    display: flex;
    margin-left: auto; /* push it to the right */
  }
  .hero-content{
    font-size: 22px;
    padding: 10px;
  }
}
/* --- Hero Banner --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.slideshow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  font-family: Arial, sans-serif;
}
.hero-content h1, .hero-content h3, .hero-content p {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1.2s cubic-bezier(.4, 0, .2, 1) forwards;
}
.hero-content h1 {
  animation-delay: 0.2s;
}
.hero-content h3 {
  animation-delay: 0.6s;
}
.hero-content p {
  animation-delay: 0.9s;
}
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- Courses Section --- */
.courses {
  padding: 60px 20px;
  
  text-align: center;
}
.courses h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.course-grid {
  display: flex;
  flex-wrap: wrap;    
  gap: 10px;
}
.course-card {
  flex-grow: 1;
  width: 400px;
  background: rgb(240, 240, 240);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.course-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}
.course-card p {
  font-size: 15px;
  margin-bottom: 15px;
  color: #666;
}
.course-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.18), 0 1.5px 6px rgba(60, 60, 60, 0.10);
  transition: box-shadow 0.3s;  
}
.course-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #ffcc00;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.course-card a:hover {
  background: #ffaa00;
}
/* --- Gallery --- */
.gallery {
  background: #f9f9f9;
  padding: 60px 20px;
}
.gallery h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s cubic-bezier(.4,0,.2,1);
  opacity: 0.85;
}
.gallery-grid img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 1;
}
/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
}
.whatsapp-float img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}
.whatsapp-float img:hover {
  transform: scale(1.1);
}
/* --- Footer --- */
footer {
  background: rgb(11, 4, 97);
  color: white;
  padding: 10px;
  text-align: center;
}
/* text animation */
@keyframes textGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.text-animate {
  background: linear-gradient(270deg, #ff6a00, #ee0979, #43cea2, #185a9d);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradient 3s linear infinite;
}
/* --- Slides Background Images --- */
.slide-1 { background-image: url('images/main10.jpg'); }
.slide-2 { background-image: url('images/main1.jpg'); }
.slide-3 { background-image: url('images/main6.jpg'); }

