/* ===============================
   GLOBAL VARIABLES & BASE
==================================*/
:root {
  --gold: #d4af37;
  --dark-blue: #0b1833;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===============================
   NAVBAR
==================================*/
.navbar {
  transition: all 0.4s ease;
  padding: 0.5rem 1rem !important;
  min-height: 65px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.navbar-transparent {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-white {
  background: #fff !important;
}

/* ===============================
   HERO (CAROUSEL)
==================================*/
#hero {
  position: relative;
  margin-top: 0 !important;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100vh;
  min-height: 550px;
}

/* Only active slide visible */
#hero .carousel-item:not(.active) {
  display: none !important;
}

/* Background image */
#hero .carousel-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-image: url("../img/J1 (1).png");
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  height: 100vh !important;
  min-height: 550px !important;
  position: relative;
  box-sizing: border-box;
}

/* Remove dark overlay completely */
#hero .carousel-item::before {
  background: none !important;
  content: none !important;
}

/* HERO TEXT LAYOUT */
#hero .carousel-item > .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

#hero .hero-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

#hero .hero-content {
  flex: 1 1 55% !important;
  max-width: 650px !important;
  box-sizing: border-box;
  padding: 1.25rem 0 !important;
  z-index: 4 !important;
  white-space: normal !important;
}

#hero .hero-content .hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.05 !important;
  word-break: break-word !important;
  hyphens: auto !important;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem) !important;
  color: #fff !important;
}

#hero .hero-content .hero-sub,
#hero .hero-content p {
  margin: 0 0 1rem 0 !important;
  line-height: 1.35 !important;
  color: #fff !important;
}

/* Buttons */
.hero-btn,
.btn-gold,
.btn-outline-gold {
  background-color: var(--gold);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-btn:hover,
.btn-gold:hover {
  background-color: #b7950b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: #fff;
}

/* HERO IMAGE (optional second column) */
#hero .hero-image-col {
  flex: 0 0 40% !important;
  max-width: 420px !important;
  text-align: center;
  z-index: 2 !important;
}

/* Hide inline image if background is used */
#hero .carousel-item[style] .hero-image-col {
  display: none !important;
}

/* ===============================
   RESPONSIVE HERO
==================================*/
@media (max-width: 991.98px) {
  #hero .hero-row {
    flex-direction: column-reverse !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem;
  }

  #hero .hero-content {
    flex: 1 1 100% !important;
    max-width: 92% !important;
    padding: 1rem 0 !important;
  }

  #hero .hero-image-col {
    flex: 1 1 100% !important;
    max-width: 360px !important;
    margin-bottom: 0.5rem;
    display: block !important;
  }

  #hero .hero-content .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2.2rem) !important;
  }

  #hero .hero-content .hero-sub,
  #hero .hero-content p {
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
  }
}

/* ===============================
   ABOUT / PROGRAM / BLOG
==================================*/
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.program-card,
.article-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ===============================
   FOOTER
==================================*/
.footer-section {
  background-color: var(--dark-blue);
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
  z-index: 5;
}

.footer-section h5 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-section p {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  margin: 0 5px;
}

.footer-section a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-section hr {
  border-color: rgba(255,255,255,0.2);
  margin: 25px 0;
}

.footer-section p.mt-3 {
  color: #aaa;
  font-size: 0.9rem;
}

footer {
  margin-top: auto;
}


/* ===============================
About
==================================*/


 * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
  }

  .about-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    background-color: #fff;
  }

  .about-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .about-text {
    flex: 1;
  }

  .about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
  }

  .about-text h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
  }

  .about-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .read-btn {
    background: linear-gradient(to bottom, #f5b041, #d68910);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .read-btn:hover {
    background: linear-gradient(to bottom, #d68910, #f5b041);
  }

  .about-images {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-radius: 20px;
  }

  .left-img img {
    width: 260px;
    height: 380px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.6s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .right-imgs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
  }

  .right-imgs img {
    width: 200px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.6s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }

  /* Responsive */
  @media (max-width: 992px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }

    .about-images {
      flex-direction: column;
      border-radius: 20px;
    }

    .right-imgs {
      flex-direction: row;
      justify-content: center;
    }

    .left-img img,
    .right-imgs img {
      width: 45%;
      height: auto;
    }
  }
  
  
/* Different hero background images for mobile */
@media (max-width: 768px) {
  #hero .carousel-item:nth-child(1) {
    background-image: url('..img/jphone1.png') !important;
    background-size: cover;
    background-position: center;
  }

  #hero .carousel-item:nth-child(2) {
    background-image: url('..img/jphone2 (1).png') !important;
    background-size: cover;
    background-position: center;
  }
}
