/* ============================================================
   St. Alphonsa Kisau Girls — brand layer
   Loads AFTER main.css. Differentiates the look from the base
   template and styles the bespoke homepage sections (.ks-*).
   ============================================================ */

:root {
  --ks-teal: #3d7992;
  --ks-accent: #2f80b5;
  --ks-teal-soft: #eef4f6;
  --ks-ink: #1e2b30;
  --ks-radius: 16px;
  --ks-shadow: 0 18px 40px rgba(30, 43, 48, .10);
}

/* ---- Section-title kicker: blue dash + teal uppercase ---- */
.section-title span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ks-teal);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 14px;
}
.section-title span::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ks-accent);
  display: inline-block;
}
.section-title.text-center span { justify-content: center; }

/* ---- Buttons: brand colour, pill shape, subtle lift ---- */
.theme-btn {
  border-radius: 50px;
  background-color: var(--ks-teal);
  box-shadow: 0 10px 22px rgba(61, 121, 146, .28);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.theme-btn:hover { transform: translateY(-2px); }
.theme-btn.theme-color-2 {
  background-color: var(--ks-accent);
  box-shadow: 0 10px 22px rgba(47, 128, 181, .30);
}

/* ---- Cards: rounded, soft shadow, hover lift ----
   (Leadership/team cards keep the ORIGINAL template design — image with the
   name/role below it, no card container.) */
.service-visa-items {
  border-radius: var(--ks-radius);
  overflow: hidden;
  box-shadow: var(--ks-shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-visa-items:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(30, 43, 48, .16);
}
.info-items,
.icon-box-items { border-radius: var(--ks-radius); }

/* Department thumbnails are landscape (3:2) — keep their natural ratio. */
.service-visa-thumb img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---- Nav hover ---- */
.main-menu > nav > ul > li > a:hover { color: var(--ks-teal); }

/* ---- Gallery hover zoom ---- */
.gallery-image { overflow: hidden; border-radius: 12px; }
.gallery-image img { transition: transform .55s ease; }
.gallery-image:hover img { transform: scale(1.07); }

/* ============================================================
   Bespoke homepage sections
   ============================================================ */

.ks-section { padding: 100px 0; }
.ks-section.ks-soft { background: var(--ks-teal-soft); }
@media (max-width: 767px) { .ks-section { padding: 64px 0; } }

/* Stats band */
.ks-stats { background: linear-gradient(120deg, var(--ks-accent), #1f5d86); }
.ks-stat { padding: 38px 12px; text-align: center; color: #fff; border-right: 1px solid rgba(255, 255, 255, .14); }
.ks-stat:last-child { border-right: 0; }
.ks-stat h3 { color: #fff; font-size: 46px; line-height: 1; margin: 0 0 8px; }
.ks-stat p { color: rgba(255, 255, 255, .78); margin: 0; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; }
@media (max-width: 767px) { .ks-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); } }

/* Feature row (image + content) */
.ks-feature-img { border-radius: var(--ks-radius); overflow: hidden; box-shadow: var(--ks-shadow); position: relative; }
.ks-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.ks-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: var(--ks-shadow); }
.ks-badge strong { color: var(--ks-accent); font-size: 26px; display: block; line-height: 1; font-family: var(--font-heading); }
.ks-badge span { font-size: 12px; color: var(--ks-ink); text-transform: uppercase; letter-spacing: .06em; }

.ks-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.ks-list li { position: relative; padding: 8px 0 8px 34px; color: var(--ks-ink); }
.ks-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  position: absolute; left: 0; top: 8px;
  color: #fff; background: var(--ks-teal);
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}

/* Amenities grid */
.ks-amenity { background: #fff; border-radius: var(--ks-radius); padding: 28px 24px; height: 100%; box-shadow: var(--ks-shadow); transition: transform .3s ease, border-color .3s ease; border-top: 3px solid transparent; }
.ks-amenity:hover { transform: translateY(-6px); border-top-color: var(--ks-teal); }
.ks-amenity i { font-size: 30px; color: var(--ks-teal); margin-bottom: 14px; display: block; }
.ks-amenity h5 { margin: 0 0 6px; }
.ks-amenity p { margin: 0; font-size: 14px; color: var(--text2); }

/* Values band */
.ks-values { background: linear-gradient(120deg, var(--ks-teal), #2c5b6f); padding: 84px 0; color: #fff; }
.ks-values h2 { color: #fff; }
.ks-motto { font-family: var(--font-heading); font-style: italic; font-size: 22px; color: rgba(255, 255, 255, .92); }
.ks-chip { display: inline-block; margin: 6px; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 500; }

/* Gallery preview strip */
.ks-gtile { border-radius: 14px; overflow: hidden; display: block; position: relative; aspect-ratio: 1 / 1; box-shadow: var(--ks-shadow); }
.ks-gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ks-gtile:hover img { transform: scale(1.08); }

/* ============================================================
   Uniform hero-slider height
   Every slide is the same height regardless of caption length, so
   the slider no longer jumps. Content is vertically centred.
   ============================================================ */
.hero-1 .swiper-slide { display: flex; align-items: center; }
.hero-1 .hero-content {
  padding: 0 !important;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991px) { .hero-1 .hero-content { min-height: 620px; } }
@media (max-width: 767px) { .hero-1 .hero-content { min-height: 540px; } }

/* All hero slide captions are white (h2 had no colour rule, so slides 2 & 3
   rendered dark). Match h2 sizing to h1. */
.hero-1 .hero-content h1,
.hero-1 .hero-content h2,
.hero-1 .hero-content h3,
.hero-1 .hero-content p { color: #fff; }
.hero-1 .hero-content h2 { font-size: 80px; line-height: 1.05; margin-bottom: 15px; }
@media (max-width: 1399px) { .hero-1 .hero-content h2 { font-size: 70px; } }
@media (max-width: 991px)  { .hero-1 .hero-content h2 { font-size: 56px; } }
@media (max-width: 767px)  { .hero-1 .hero-content h2 { font-size: 43px; } }
@media (max-width: 575px)  { .hero-1 .hero-content h2 { font-size: 34px; } }

/* Breadcrumb banners — keep the template height, but shift the focal point
   toward the top of the photo so details cropped at the top stay visible. */
.breadcrumb-wrapper {
  background-position: center top !important;
}
