/* =========================
   ROOT COLORS (Brand Theme)
========================= */
:root {
  --primary: #1F5A7A;
  --secondary: #2E8B57;
  --accent-blue: #3A7CA5;
  --accent-green: #6FCF97;

  --dark: #0F2F44;
  --text: #6B7280;

  --white: #FFFFFF;
  --light-bg: #F5F7FA;
  --border: #E5E7EB;
}


/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}


/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
}

p {
  color: var(--text);
  font-size: 15px;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}


/* =========================
   NAVBAR
========================= */
.navbar {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary);
}

.nav-link {
  color: var(--primary);
  margin: 0 10px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--secondary);
}


/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: #e0e0e0;
  margin-top: 10px;
}


/* =========================
   BUTTONS
========================= */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background: var(--secondary);
  color: var(--light-bg);
}

.btn-secondary-custom {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  transition: 0.3s;
}

.btn-secondary-custom:hover {
  background: var(--accent-green);
}


/* =========================
   SECTION STYLING
========================= */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}


/* =========================
   CARDS
========================= */
.card-custom {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* =========================
   ICONS
========================= */
.icon {
  color: var(--secondary);
  font-size: 30px;
  margin-bottom: 10px;
}


/* =========================
   FOOTER
========================= */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: var(--accent-green);
}


/* =========================
   UTILITIES
========================= */
.text-primary-custom {
  color: var(--primary);
}

.text-secondary-custom {
  color: var(--secondary);
}

.bg-primary-custom {
  background: var(--primary);
}

.bg-secondary-custom {
  background: var(--secondary);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 50px 0;
  }
}

/* ========================================================== */

/* TOP BAR */
.top-bar {
  background: var(--dark);
  padding: 6px 0;
  font-size: 13px;
}

.top-bar a {
  color: #ccc;
  margin-right: 15px;
}

.top-bar a:hover {
  color: var(--accent-green);
}

.social-links a {
  margin-left: 10px;
}


.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dropdown-item:hover {
  background: var(--light-bg);
  color: var(--secondary);
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
}

.hero-slide {
  height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

/* DARK OVERLAY */
.hero-slide .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31,90,122,0.5), rgba(46,139,87,0.5));
  top: 0;
  left: 0;
}

/* CONTENT */
.hero-content {
  position: relative;
  color: var(--white);
  max-width: 600px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero-content p {
  font-size: 16px;
  margin-top: 10px;
  color: #e0e0e0;
}

/* CONTROLS */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-slide {
    height: 60vh;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}



/* MARQUEE */
.marquee {
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-weight: 500;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeMove 25s linear infinite;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* ABOUT IMAGE DESIGN */
.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(-2deg);
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  transition: 0.4s;
}

/* SHADOW EFFECT */
.about-img::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: var(--accent-green);
  border-radius: 20px;
  z-index: -1;
}

/* HOVER EFFECT */
.about-img:hover img {
  transform: scale(1.05);
}


/* COURSE CARD */
.course-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* IMAGE */
.course-img {
  position: relative;
}

.course-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* BADGE */
.badge-custom {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: var(--white);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
}

/* CONTENT */
.course-content {
  padding: 20px;
}

.course-content h5 {
  margin-bottom: 10px;
}

/* FOOTER */
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.status {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
}


/* MODERN FEATURE SECTION */
.feature-modern .subtitle {
  color: var(--text);
  font-size: 15px;
}

/* CARD STYLE */
.feature-modern-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: 0.3s;
  position: relative;
}

/* HIGHLIGHT CARD */
.feature-modern-card.highlight {
  border-left: 4px solid var(--secondary);
  background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

/* HOVER EFFECT */
.feature-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ICON BOX */
.icon-box {
  min-width: 50px;
  height: 50px;
  background: var(--light-bg);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  transition: 0.3s;
}

/* ICON HOVER */
.feature-modern-card:hover .icon-box {
  background: var(--secondary);
  color: var(--white);
}

/* TEXT */
.feature-modern-card h5 {
  margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .feature-modern-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}


/* TIMELINE BASE */
.timeline-pro {
  position: relative;
  padding: 40px 0;
}

/* CENTER LINE */
.timeline-pro::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

/* ROW */
.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  position: relative;
}

/* LEFT / RIGHT */
.timeline-row.left {
  flex-direction: row;
}
.timeline-row.right {
  flex-direction: row-reverse;
}

/* CENTER DOT */
.timeline-dot {
  width: 42px;
  height: 42px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 4px solid var(--white);
}

/* CARD */
.timeline-card {
  width: 42%;
  background: var(--white);
  padding: 20px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: 0.3s;
}

/* ALTERNATE BORDER */
.timeline-row.right .timeline-card {
  border-left: none;
  border-right: 4px solid var(--secondary);
}

/* HOVER */
.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TEXT */
.timeline-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

/* SUBTITLE */
.subtitle {
  color: var(--text);
  font-size: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline-pro::before {
    left: 20px;
  }

  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }

  .timeline-card {
    width: 100%;
    border-left: 4px solid var(--primary);
    border-right: none !important;
  }
}

/* FLEX LAYOUT */
.card-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ICON (PREMIUM STYLE) */
.step-icon {
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ICON HOVER */
.timeline-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

/* TEXT */
.card-text h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

/* OPTIONAL MICRO ANIMATION */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* TESTIMONIAL */
.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 10px 0;
}

.stars {
  color: #fbbf24;
}


.accordion-button {
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: var(--light-bg);
  color: var(--primary);
}


/* FORM */
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--primary);
}


.footer h5, .footer h6 {
  color: var(--white);
}

.footer p {
  color: #ccc;
  font-size: 14px;
}

.footer ul li {
  margin-bottom: 6px;
}

/* FLOATING BUTTON BASE */
.float-btn {
  position: fixed;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  cursor: pointer;
  transition: 0.3s;
}

/* WHATSAPP */
.whatsapp {
  bottom: 100px;
  background: #25D366;
}

/* CALL */
.call {
  bottom: 50px;
  background: var(--primary);
}

/* SCROLL */
.top-btn {
  bottom: 150px;
  background: var(--secondary);
  border: none;
}

/* HOVER */
.float-btn:hover {
  transform: scale(1.1);
}

