*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #491E63;
  /* dark purple — was navy */
  --navy-mid: #6B2E8A;
  /* mid purple */
  --gold: #EDCC18;
  /* logo gold/yellow */
  --gold-light: #F5DC50;
  /* lighter gold */
  --gold-pale: #FAF8C8;
  /* cream from logo */
  --accent: #E7280F;
  /* red/orange for highlights */
  --brown: #9D4C34;
  /* brown ribbon */
  --white: #FFFFFF;
  --gray-light: #F5F4F8;
  --gray-text: #5A4A6A;
  --text-dark: #1A0A2E;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Noto Sans', sans-serif;
  /* was DM Sans */
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  height: 100%;
}

/* ── TOP BAR ── */
.top-bar {
  background: #1A0A2E;
  /* very dark purple */
  border-bottom: 2px solid var(--accent);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 7px 0;
}

.top-bar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  /* prevent awkward mid-size wrapping */
  gap: 6px;
}

.top-bar .left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar .right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar a {
  color: inherit;
  text-decoration: none;
}

.top-bar .item {
  display: flex;
  align-items: center;
  gap: 6px;

  color: #ffffff;
}

.top-bar .item svg {
  /* opacity: 0.7; */
  flex-shrink: 0;
}

.top-bar .sep {
  color: rgba(255, 255, 255, 0.25);
}

.top-bar .social-link {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.top-bar .social-link:hover {
  background: rgba(200, 146, 42, 0.5);
}

/* ── MAIN HEADER ── */
.main-header {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  /* red line under header */
  box-shadow: 0 2px 20px rgba(73, 30, 99, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(11, 31, 58, 0.07);
}

.main-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 91px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.logo-icon svg {
  color: white;
}

.logo-text {
  line-height: 1.2;
}

.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.logo-text .tag {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-spacer {
  flex: 1;
}

.branch-contacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-light);
  border-radius: 10px;
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid transparent;
}

.branch-contact:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.branch-contact .bc-icon {
  width: 30px;
  height: 30px;
  background: var(--navy);
  /* purple */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-contact .bc-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  /* red label */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.branch-contact .bc-num {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.branch-divider {
  width: 1px;
  height: 36px;
  background: #E0E4EC;
  margin: 0 4px;
}

.admissions-btn {
  background: var(--accent);
  /* red/orange */
  font-family: 'Noto Sans', sans-serif;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.admissions-btn:hover {
  background: #c2200c;
  transform: translateY(-1px);
}

.admissions-btn:active {
  transform: translateY(0);
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  overflow: hidden;
  height: 700px;
  /* back to fixed height */
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder slide backgrounds */
.slide-1 {
  background: linear-gradient(135deg, #0B1F3A 0%, #1B4A7A 60%, #2B6CB0 100%);
}

.slide-2 {
  background: linear-gradient(135deg, #1A0B35 0%, #4A1270 60%, #7B2FBE 100%);
}

.slide-3 {
  background: linear-gradient(135deg, #0B3A1F 0%, #1B7A4A 60%, #2BB075 100%);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to right,
      rgba(73, 30, 99, 0.88) 0%,
      rgba(73, 30, 99, 0.4) 60%,
      transparent 100%); */
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 80px;
  max-width: 640px;
  color: white;
}

.slide-badge {
  display: inline-block;
  background: var(--accent);
  /* red badge */
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.slide-title {
  font-family: 'Manrope', sans-serif;
  /* was Playfair Display */
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);

  line-height: 1.2;
  margin-bottom: 10px;
}

.slide-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 20px;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.slide-cta:hover {
  background: #c2200c;
}

/* Slider decorative elements */
.slide-deco {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: white;
}

.slide-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 22px;
  min-width: 130px;
}

.slide-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  display: block;
}

.slide-stat .lbl {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

/* Slider nav */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  color: white;
}

.slider-arrow:hover {
  background: rgba(231, 40, 15, 0.6);
  /* red on hover */
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ── BRANCH SECTION ── */
.branch-section {
  background: #1A0A2E;
  padding: 0;
  height: auto;
  /* remove fixed height */
}

.branch-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.branch-tile {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 40px;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border-top: 3px solid transparent;
  height: auto;
  /* remove fixed height */
  overflow: visible;
  /* was hidden — this is what cuts text */
}

.branch-tile.hyd {
  background: rgba(237, 204, 24, 0.05);
  /* subtle gold tint */
  border-right: 1px solid rgba(237, 204, 24, 0.15);
}

.branch-tile.nzb {
  background: rgba(255, 255, 255, 0.0);
}

.branch-tile:hover {
  background: rgba(237, 204, 24, 0.1);
  border-top-color: var(--gold);
}

.branch-tile-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-color: rgba(237, 204, 24, 0.5);
  background: rgba(237, 204, 24, 0.1);
}

.branch-tile-icon svg {
  color: var(--gold);
}

.branch-tile-info {
  flex: 1;
}

.branch-tile-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fef3d0;
  /* red tag */
  display: block;
  margin-bottom: 3px;
}

.branch-tile-name {
  font-family: 'Manrope', sans-serif;
  /* was Playfair Display */
  font-weight: 800;
  font-size: 20px;
  white-space: normal;
  /* allow wrapping */
  word-break: break-word;


  display: block;
  margin-bottom: 5px;
}

.branch-tile-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  /* stack address & phone instead of side by side */
  gap: 4px;
  flex-wrap: wrap;
}

.branch-tile-meta span {
  display: flex;
  align-items: center;
  gap: 5px;




  color: #ffffff;




}

.branch-tile-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 146, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  color: var(--gold);
}

.branch-tile:hover .branch-tile-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

@media (max-width: 768px) {
  .branch-section-inner {
    grid-template-columns: 1fr;
  }

  .branch-tile {
    padding: 20px 24px;
  }

  .branch-tile.hyd {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-bar {

    padding: 0px 0;
  }

}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 44px 24px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-item .stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ── FOOTER ── */
footer {
  background: #070F1C;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 24px 24px;
  text-align: center;
}

footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gold-light);
}

footer .copyright {
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .top-bar .right {
    display: none;
  }

  .main-header .inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .branch-contacts {
    display: none;
  }

  .admissions-btn {
    margin-left: auto;
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero {
    height: 300px;
  }

  .slide-content {
    padding: 0 24px;
  }

  .slide-deco {
    display: none;
  }

  .branch-cards {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}



.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    height: 380px;
    /* fixed, no calc */
  }

  .branch-section {
    height: auto;
    /* remove the 180px fixed height */
  }
}

.branch-tile-info {
  min-width: 0;
  /* critical — stops flex children from overflowing */
  overflow: visible;
}

@media (max-width: 768px) {
  .branch-tile {
    padding: 16px 20px;
    gap: 14px;
  }

  .branch-tile-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .branch-tile-name {
    font-size: 17px;
  }

  .branch-tile-meta {
    font-size: 11px;
    flex-direction: column;
    gap: 3px;
  }

  .branch-tile-arrow {
    display: none;
    /* hide arrow on mobile to save space */
  }


}

.slide-content {
  padding: 0 60px;
  /* slightly less padding */
  max-width: 580px;
  word-break: break-word;
}

.slide-title {
  font-size: clamp(20px, 2.5vw, 34px);
  white-space: normal;
}

@media (max-width: 768px) {
  .top-bar .left {
    display: none;
    /* hide both emails */
  }

  .top-bar .inner {
    justify-content: center;
    /* center the location text */
  }
}

@media (max-width: 768px) {
  .main-header .inner {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    /* logo left, button right */
    gap: 8px;
  }

  .header-spacer {
    display: none;
    /* remove spacer so no empty gap */
  }

  .branch-contacts {
    display: none;
  }

  .admissions-btn {
    margin-left: 0;
    /* remove left margin */
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .main-header .inner {
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
  }

  .admissions-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width:1088px) and (min-width:992px) {

  .branch-contact .bc-num {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    display: block;
  }
}