/* ================= ROOT COLORS ================= */
:root {
  --primary-green: #339A00;
  --primary-yellow: #F0B600;
  --primary-blue: #3346CE;

  --white: #ffffff;
  --light-bg: #eeeeee;
}

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
  background: var(--white);
}

/* ================= CONTAINER ================= */
.container-custom {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= TOPBAR ================= */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary-yellow);
  transition: 0.3s;
}
.topbar .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;        /* more height */
}

/* LEFT TEXT */
.topbar span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* RIGHT ICONS */
.social-icon {
  width: 34px;
  height: 34px;
  font-size: 14px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-icon:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ================= NAVBAR ================= */
.navbar-custom {
  position: fixed;
  top: 50px;   /* adjust to your topbar height */
  width: 100%;
  z-index: 999;
  background: var(--white);
  box-shadow: none;
  transition: 0.3s;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

/* LOGO */
.logo {
  margin-left: 20px;   /* shift right */
}

.logo img {
  height: 70px;        /* bigger logo */
  object-fit: contain;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;           /* more spacing */
  margin: 0;
  padding: 0;
}

/* LINKS */
.nav-links a {
  text-decoration: none;
  font-size: 16px;     /* bigger buttons */
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-green);
  position: relative;
  transition: 0.3s;
}

/* ACTIVE & GLOW */
.nav-links a.active {
  color: var(--primary-yellow);
  text-shadow: 0 0 8px rgba(240, 182, 0, 0.6);
}

/* UNDERLINE EFFECT */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2.5px;
  background: var(--primary-yellow);
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-green);
  cursor: pointer;
  z-index: 1001;
  transition: 0.3s;
}

.nav-toggle:hover {
  color: var(--primary-yellow);
}

/* ================= HIDE TOPBAR ================= */
.hide-topbar {
  transform: translateY(-100%);
}

/* 🔥 move navbar up */
.hide-topbar + .navbar-custom {
  top: 0;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
    margin-right: 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1000;
    padding: 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-content {
    padding: 10px 0;
  }

  .logo img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none; /* Hide topbar on small mobile to save space */
  }

  .navbar-custom {
    top: 0;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  color: #fff;
  padding-top: 60px;
}

/* LOGO */
.footer-logo {
  height: 70px;
}

/* TEXT */
.footer-text {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

/* TITLE */
.footer-title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

/* ================= UNIFORM COLUMN FIX ================= */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* ================= LINKS ================= */
.footer-links {
  list-style: none;
  padding: 0;
  margin-top: 5px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

/* ================= CONTACT ================= */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: var(--primary-yellow);
}

/* ICON COLOR */
.footer-contact i {
  color: var(--primary-green);
}

/* ================= SOCIAL ICONS ================= */
.footer-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.footer-icon:hover {
  background: var(--primary-yellow);
  transform: translateY(-2px);
}

/* ================= GRID SPACING ================= */
.footer .row {
  row-gap: 30px;
}

/* DESKTOP SPACING */
@media (min-width: 992px) {
  .footer .col-lg-3 {
    padding-left: 40px;
  }
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 14px;
  color: #bbb;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  letter-spacing: 0.3px;
}

.footer-bottom a {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: var(--primary-green);
}

/* HEART ANIMATION */
.heart {
  color: red;
  display: inline-block;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ================= FLOATING BUTTONS ================= */

/* WHATSAPP */
.float-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-green);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 999;
  text-decoration: none;
  transition: 0.3s;
}

.float-whatsapp:hover {
  background: #25D366;
  transform: scale(1.1);
}

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--primary-yellow);
  color: black;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  cursor: pointer;
  transition: 0.3s;
}

.scroll-top:hover {
  background: var(--primary-green);
  color: white;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .footer {
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
  }

  .footer-icon {
    margin: auto;
  }
}



/* ================= HERO ================= */
.hero-section {
  position: relative;
  height: 90vh;
  overflow: visible;
  margin-bottom: 120px; /* space for overlap */
}

/* BACKGROUND IMAGE + DARK OVERLAY */
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("assets/images/2-1.jpg") center/cover no-repeat;
  z-index: 0;
}

/* TITLE */
.hero-title {
  z-index: 2;
  font-size: 48px;
  max-width: 900px;
}

/* ================= CARDS ================= */
.hero-cards {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -70px; /* 🔥 overlap control */
  width: 100%;
  z-index: 5;
}

/* CENTER WIDTH */
.hero-cards .container {
  max-width: 1100px;
}

/* CARD STYLE */
.card-box {
  padding: 45px 20px;
  height: 100%;
}

/* ICON */
.card-box i {
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

/* TEXT */
.card-box p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

@keyframes heroZoomOnce {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .hero-title {
    font-size: 28px;
  }

  .hero-cards {
    position: static;
    transform: none;
    margin-top: 20px;
  }

  .hero-section {
    margin-bottom: 0;
  }
}

/* CARD BASE */
.custom-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

/* IMAGE FIX HEIGHT */
.custom-card img {
  height: 200px;
  object-fit: cover;
}

/* TITLE */
.card-title {
  font-weight: 600;
  margin-bottom: 10px;
  transition: 0.3s;
}

/* TEXT */
.card-text {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

/* HOVER EFFECT (LIKE YOUR 3RD CARD) */
.custom-card:hover {
  transform: translateY(-5px);
  border-bottom: 4px solid #339A00;
}

.custom-card:hover .card-title {
  color: #339A00;
}


/* CARD */
.program-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  border-radius: 6px;
}

/* IMAGE */
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

/* OVERLAY */
.program-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: white;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* HEADING (DEFAULT POSITION) */
.program-card h5 {
  margin: 0;
  font-weight: 600;
    min-height: 48px;   /* 🔥 keeps all headings equal */
  line-height: 1.4;
  transform: translateY(20px);
  transition: 0.4s;
}

/* PARAGRAPH (HIDDEN INITIALLY) */
.program-card p {
  font-size: 14px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
}

/* 🔥 HOVER EFFECT */
.program-card:hover img {
  transform: scale(1.1);
}

.program-card:hover .overlay {
  background: rgba(0,0,0,0.65);
}

/* HEADING MOVES UP */
.program-card:hover h5 {
  transform: translateY(0);
}

/* PARAGRAPH APPEARS */
.program-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/********************************** ABOUT PAGE ******************************************/

.about-hero {
  height: 300px;  /* ✅ reduced height */
  
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              
              url('assets/images/abt-hero1.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-position:top;

  margin-top: 100px;  /* ✅ pushes below fixed header */
}

/* Text size tuning */
.about-hero h1 {
  font-size: 42px;
}

.about-hero a:hover {
  text-decoration: underline;
}

#movingImageWrapper {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#movingImage {
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.card-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card-box:hover {
  transform: translateY(-6px);
}

/* Mission bullets */
.mission-list {
  list-style: none;
  padding-left: 0;
}

.mission-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #555;
}

.mission-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2e8b12;
  font-weight: bold;
}
.custom-check {
  list-style: none;
  padding-left: 0;
}

.custom-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #555;
}

/* green checkbox */
.custom-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
  color: white;
  background: #2e8b12;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/************************************ University ****************************/
.accordion-button {
  background: #f8f6f0;
  border: 1px solid #e6dcc5;
  border-radius: 12px;
}

.accordion-button:not(.collapsed) {
  background: #f1ead7;
  color: #8a6d1d;
}

.accordion-body {
  border-left: 3px solid #d6c08d;
}

/************************************ Blog ****************************/
.blog-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: 0.3s;
    max-width: 500px;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.blog-title a {
  color: #2c3e50;
  font-weight: 600;
  text-decoration: underline;
  display: block;
  margin-bottom: 15px;
}

.blog-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-read {
  color: #2e8b12;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.blog-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 20px 0;
}

.blog-date {
  font-size: 14px;
  color: #777;
  margin: 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE */
.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* AVATAR */
.blog-avatar {
  width: 50px;
  height: 50px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -25px 0 10px 20px;
  border: 3px solid #fff;
}

/* CONTENT TAKES SPACE */
.blog-content {
  padding: 20px;
  flex-grow: 1;
}

/* ================= Blogs Page ================= */
body {
  padding-top: 90px;
}
.blog-section {
  background: #f5f7fa;
  padding-top: 120px; /* adjust based on header height */
}

.blog-wrapper {
  max-width: 850px;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  margin: auto;
}

.blog-main-title {
  font-size: 32px;
  font-weight: 600;
  color: #1c2b3a;
}

.blog-meta {
  color: #2e8b12;
  font-size: 14px;
  margin-bottom: 25px;
}

.blog-content p {
  line-height: 1.9;
  color: #444;
}

.blog-content ul {
  padding-left: 20px;
}

.blog-nav p {
  font-size: 14px;
  color: #666;
}

.comment-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
}

/* SECTION BACKGROUND */
.core-section {
  background: linear-gradient(135deg, #f9fbf7, #fffaf0);
}

/* CARD */
.core-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #f1e6b5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.4s ease;
  position: relative;
}


/* TITLE */
.core-card h5 {
  color: #2e8b12;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 17px;
}

/* LIST RESET */
.core-card ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

/* LIST ITEMS */
.core-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.7;
}

/* GOLD BULLET */
.core-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: #F0B600;
  border-radius: 50%;
}

/* SWIPER FIX */
.swiper-slide {
  display: flex;
  height: auto;
}