/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Inter', system-ui, sans-serif;
}

/* ---------- TOPBAR ---------- */
#topbar {
  background: #f47c20;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10%;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

#topbar i {
  margin-right: 5px;
}

.top-left {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- NAVBAR ---------- */
#navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10%;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.menu li {
  position: relative;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s;
}

.menu li:hover {
  color: #f47c20;
}

/* Dropdown styling */
.dropdown {
  position: relative;
}

.tp-dropdown-menu, 
.tp-dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tp-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 12px;
  z-index: 1000;
  margin-top: 15px !important;
  border: 1px solid #eee;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown:hover .tp-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tp-dropdown-menu li a {
  display: block !important;
  padding: 12px 25px !important;
  color: #333 !important;
  text-decoration: none !important;
  transition: all 0.2s;
  font-size: 0.95rem;
  text-align: left;
}

.tp-dropdown-menu li:hover {
  background: #fdf2e9;
  border-radius: 8px;
}

.tp-dropdown-menu li:hover a {
  color: #f47c20 !important;
}

.dropdown-menu li:hover a {
  color: #f47c20;
}

.menu li a {
  text-decoration: none;
  color: #333;
}

.menu li a.active {
  color: #f47c20;
  font-weight: bold;
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.apply {
  background: #5e2ca5;
  color: white;
}

.apply:hover {
  background: #4a1f8a;
  transform: translateY(-2px);
}

.portal {
  border: 2px solid #5e2ca5;
  color: #5e2ca5;
  background: transparent;
}

.portal:hover {
  background: #5e2ca5;
  color: white;
}

/* ---------- HERO CAROUSEL (Bootstrap Override) ---------- */
#hero {
  height: 85vh;
}

.carousel-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.carousel-overlay h1 {
  font-size: 48px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-overlay p {
  font-size: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  margin: 0 6px;
}

.carousel-indicators .active {
  background-color: #f47c20;
  width: 28px;
  border-radius: 10px;
}

/* Custom controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 20px;
}

/* ---------- ABOUT SECTION ---------- */
#about {
  padding: 80px 10%;
  background: #fefaf5;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-img {
  flex: 1;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.about-img img,
.about-img video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  object-fit: cover;
  cursor: pointer;
}

.about-img:hover img,
.about-img:hover video {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #f47c20;
  color: white;
  padding: 12px 20px;
  border-radius: 40px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
  font-size: 1.6rem;
  display: block;
  line-height: 1.2;
}

.experience-badge small {
  font-size: 0.8rem;
  font-weight: normal;
}

.about-text {
  flex: 1;
}

.read-more-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: #f47c20;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 124, 32, 0.3);
}

.read-more-btn:hover {
  background: #d66a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 124, 32, 0.4);
  color: white;
}

.about-tag {
  display: inline-block;
  background: #f47c2015;
  color: #f47c20;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.about-text h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1e1e2f;
}

.highlight {
  color: #f47c20;
}

.about-text p {
  color: #4a4a5a;
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

/* ---------- VISION & STRATEGY SECTION ---------- */
#vision-strategy {
  background-color: #fdfdfd;
}

.vision-text {
  padding-right: 20px;
}

.vision-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.vision-img img {
  width: 100%;
  height: 450px;
  display: block;
  transition: transform 0.4s ease;
  object-fit: cover;
}

.vision-img:hover img {
  transform: scale(1.02);
}

.vision-tag {
  display: inline-block;
  background: #5e2ca515;
  color: #5e2ca5;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.vision-text h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1e1e2f;
}

.vision-text p {
  color: #4a4a5a;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 992px) {
  .vision-container {
    flex-direction: column-reverse;
  }
  .vision-img img {
    height: 350px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  background: #fff0e0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #2d2d3a;
}

.feature-item p {
  font-size: 0.85rem;
  margin: 0;
  color: #6b6b7a;
}

.about-btn {
  background: #5e2ca5;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-btn:hover {
  background: #4a1f8a;
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(94, 44, 165, 0.3);
}

/* ---------- PROGRAMS SECTION ---------- */
#programs {
  padding: 70px 10%;
  background: #f5f5f5;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #f47c20;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #5e2ca5;
  border-radius: 3px;
}

.card-container {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: 15px;
  overflow-x: auto;
  padding: 20px 0;
}

.card {
  background: white;
  padding: 20px 10px 50px;
  border-radius: 20px;
  flex: 1;
  min-width: 150px;
  position: relative;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

/* Center images inside cards */
.card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.85rem;
  color: #5a5a6e;
  margin-bottom: 0;
}

.card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f47c20;
  color: white;
  padding: 12px;
  border-radius: 0 0 20px 20px;
  font-weight: 500;
  transition: background 0.2s;
}

.card:hover .card-footer {
  background: #5e2ca5;
}

/* ---------- FOOTER ---------- */
#footer {
  background: #3b0d5c;
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 50px 10%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 10%;
  background: #000 !important;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #f47c20;
  transform: translateY(-3px);
}

.footer-legal a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  #topbar, .nav-container, #about, #programs {
    padding-left: 5%;
    padding-right: 5%;
  }
  .about-container {
    flex-direction: column;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .card-container {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .carousel-overlay h1 {
    font-size: 32px;
  }
  .carousel-overlay p {
    font-size: 16px;
  }
  .menu {
    justify-content: center;
  }
  .nav-container {
    flex-direction: column;
  }
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-img img {
    height: 350px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom a {
    margin: 0 10px;
  }
  .experience-badge {
    padding: 8px 16px;
  }
  .experience-badge span {
    font-size: 1.2rem;
  }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #FFF;
  box-shadow: 2px 5px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
  }
}