* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* TOP BAR */
.top-bar {
  background: linear-gradient(90deg, #ff7a18, #ff3d5a, #6a5cff);
  color: #fff;
  font-size: 14px;
  padding: 6px 20px;
}

/* NAVBAR */
.navbar-brand img {
  max-height: 70px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 25px 15px;
}

.navbar-nav .nav-link.active {
  color: #ff5722 !important;
}

/* DROPDOWN FIX */
.dropdown-menu {
  display: none;
  margin-top: 0;
}

/* MAIN HEADER  the name is the */
.main-header {
  background: #fff;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1300px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 70px;
}

/* NAV */
.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav ul li a.active {
  color: #ff5722;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 55px;
  left: 0;
  background: #fff;
  min-width: 180px;
  display: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-menu li {
  padding: 10px 15px;
}

.dropdown-menu li a {
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* CTA BUTTON */
.cta-btn {
  background: linear-gradient(90deg, #ff7a18, #ff4b2b);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

/* CURVED BOTTOM */
.header-curve {
  height: 25px;
  background: #fff;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 0 #fff;
}

/* MOBILE */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px; /* 👈 slider height (change if needed) */
  overflow: hidden;
}

/* FULL COVER IMAGE */
.hero-slider .slide {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 MOST IMPORTANT */
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

/* Controls bottom-right */
.slider-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-controls button:hover {
  background: #ff5722;
}
/* gallary section */
.gallery-section {
  padding: 100px 0;
  background: #f6f3ef; /* same soft theme bg */
}

.gallery-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: #0e3c4c;
  margin-bottom: 10px;
  font-family: "Georgia", serif;
}

.section-header p {
  color: #666;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* IMAGE CARD */
.gallery-item {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 90, 44, 0.3);
  opacity: 0;
  transition: 0.4s;
  border-radius: 18px;
}

.gallery-item:hover::after {
  opacity: 1;
}

.enroll-section {
  background: linear-gradient(135deg, #ff6f61, #ff9472);
  padding: 60px 0;
}

.enroll-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* TEXT */
.enroll-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.enroll-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* BUTTON */
.enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #ff6f61;
  padding: 14px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.enroll-btn:hover {
  background: #ffeae6;
  transform: translateY(-3px);
}

.enroll-btn .arrow {
  transition: 0.3s;
}

.enroll-btn:hover .arrow {
  transform: translateX(5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .enroll-container {
    flex-direction: column;
    text-align: center;
  }

  .enroll-btn-wrapper {
    margin-top: 15px;
  }

  .enroll-text h2 {
    font-size: 24px;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .cta-btn {
    display: none;
  }
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* CTA BUTTON */
.btn-primary {
  background: linear-gradient(90deg, #ff7a18, #ff4b2b);
  border: none;
}

/* MOBILE */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 10px 0;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }

  .slider-controls {
    bottom: 15px;
    right: 15px;
  }
}
