/* ===============================
   GLOBAL – PALE AQUA BEACH THEME
   =============================== */
body {
  color: #344445;                     /* soft charcoal */
  background-color: #F4F8F7;          /* very pale aqua sand */
  font-family: "Josefin Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.3px;
  margin: 0;
  padding: 0;
}

/* ===============================
   BACKGROUNDS
   =============================== */
.bg-light {
  background-color: #F4F8F7 !important;
}

.bg-white {
  background-color: #FFFFFF !important;
}

.bg-primary {
  background-color: #CFE9E6 !important;
}

/* ===============================
   NAVBAR – SOFT AQUA
   =============================== */
.navbar {
  background-color: #EAF4F3 !important;
}

.navbar .nav-link {
  color: #344445;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #6BAFB1;
}

/* ===============================
   BRAND – BIG CENTER SEPARATOR
   =============================== */
.brand-split {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-block {
  text-align: center;
}

.brand-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #2E5557;
  letter-spacing: 0.7px;
}

.brand-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6F8F90;
  margin-top: 4px;
}

/* BIG vertical divider */
.brand-big-line {
  width: 4px;
  height: 70px;
  background-color: #6BAFB1;
  border-radius: 3px;
}



/* ===============================
   HEADINGS
   =============================== */
h1, h2, h3, h4, h5 {
  color: #2E5557;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.7rem; }

/* ===============================
   BUTTONS – PALE AQUA
   =============================== */
.btn-primary {
  background-color: #CFE9E6 !important;
  border-color: #CFE9E6 !important;
  color: #2E5557 !important;
  border-radius: 16px;
  padding: 0.65rem 1.7rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.btn-primary:hover {
  background-color: #B9DFDB !important;
  border-color: #B9DFDB !important;
}

.btn-outline-primary {
  color: #5FA6A8 !important;
  border-color: #CFE9E6 !important;
  border-radius: 16px;
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: #E6F4F3 !important;
  color: #2E5557 !important;
}

/* ===============================
   CARDS – SOFT AQUA GLASS
   =============================== */
.card,
.shadow-sm {
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F7FBFA 100%
  );
  box-shadow: 
    0 10px 28px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 36px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* ===============================
   SECTIONS
   =============================== */
section {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

/* ===============================
   TEXT & LINKS
   =============================== */
a {
  color: #119a9e;
  text-decoration: none;
}

a:hover {
  color: #3E8E92;
  text-decoration: underline;
}

/* ===============================
   FOOTER – PALE SHORE
   =============================== */
footer {
  background-color: #EAF4F3;
  font-size: 0.95rem;
  color: #607879;
}

footer a {
  color: #6BAFB1;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .brand-text .main-title {
    font-size: 1.4rem;
  }

  .brand-text .phonics-title {
    font-size: 1rem;
  }

  .brand-text .sub-title,
  .brand-text .phonics-sub {
    font-size: 0.8rem;
  }
}
/* FORCE FAQ TEXT COLOR */
.text-secondary,
.card-body .text-secondary,
.card-body p {
  color: #5F7F81 !important;
}
/* Force same size for all carousel images */
.carousel-inner img {
  height: 380px;          /* adjust as needed */
  object-fit: cover;      /* crops without stretching */
}
.carousel-inner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-inner img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .carousel-inner img {
    height: 220px;
  }
}





nav ul li a {
  text-decoration: none;
  padding: 8px 12px;
  color: #333;
}

nav ul li a:hover {
  background-color: #f0f0f0;
  color: #000;
}

.text-justify {
  text-align: justify;
}

/* Section background like your image */
.founder-section {
  background: #f4f8f6;
}

/* IMAGE FRAME */
.founder-img-frame {
  float: left;
  margin: 5px 30px 20px 0;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #eee;
}

.founder-img-frame img {
  width: 180px;
  border-radius: 10px;
  display: block;
}

/* TEXT */
.founder-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  text-align: left;
}


@media (max-width: 768px) {
  .founder-img-frame {
    float: none;
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .founder-img-frame img {
    width: 160px;
  }
}

/* ===============================
   ADMISSIONS MARQUEE – FINAL
   =============================== */

.admissions-marquee {
  background-color: #EAF4F3;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #CFE9E6;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
  color: #2E5557;

  padding-left: 100%;
  animation: marquee-scroll 60s linear infinite !important;
  will-change: transform;
}

/* One clean animation */
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.admissions-marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* Button inside marquee */
.marquee-btn {
  background-color: #119a9e;
  color: #ffffff !important;
  padding: 5px 14px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.marquee-btn:hover {
  background-color: #0e7f83;
  color: #ffffff !important;
  text-decoration: none;
}

/* Mobile: even slower */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 55s;
  }
}

