*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

:root
{
  --primary: #0f3b75;
  --primary-soft: #3b7cd7;
  --accent: #4fb0ff;
  --surface: #ffffff;
  --surface-soft: #f2f7ff;
  --background: #08172f;
  --background-soft: #0e2344;
  --text: #eaf1ff;
  --heading: #f7fbff;
  --muted: #a8b8d2;
  --shadow: 0 24px 60px rgba(5, 19, 48, .16);
}

html,
body
{
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body
{
  background: linear-gradient(160deg, #08172f 0%, #0a1f49 40%, #112a57 100%);
  color: var(--text);
}

header
{
  background: rgba(6, 18, 42, .94);
  color: #f4f7ff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.container
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.logo
{
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f7fbff;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-tag
{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .65);
}

#nav
{
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

#nav a
{
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: .5rem 0;
  transition: color .2s ease;
}

#nav a::after
{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 12px;
  transition: width .25s ease;
}

#nav a:hover,
#nav a.active
{
  color: #f7fbff;
}

#nav a:hover::after,
#nav a.active::after
{
  width: 100%;
}

.menu-toggle
{
  display: none;
  font-size: 28px;
  color: #f7fbff;
  cursor: pointer;
  user-select: none;
}

.hero
{
  min-height: calc(100vh - 86px);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 23, 47, .98), rgba(9, 30, 65, .98));
}

.hero::before
{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(79, 176, 255, .12), rgba(7, 24, 48, .92) 65%);
}

.hero > *
{
  position: relative;
  z-index: 1;
}

.hero-content
{
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
}

.hero h1
{
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: .02em;
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 760px;
  color: #f7fbff;
}

.hero p
{
  font-size: 1.05rem;
  max-width: 680px;
  margin: auto;
  color: rgba(248, 250, 255, .88);
}

.hero-subtitle
{
  margin-top: 18px;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
}

.hero-actions,
.plan-actions
{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.6rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #061734;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(79, 176, 255, .24);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover
{
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(79, 176, 255, .32);
}

.btn.ai-btn
{
  background: rgba(255, 255, 255, .12);
  color: #eef8ff;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 16px 30px rgba(79, 176, 255, .14);
}

.btn.ai-btn:hover
{
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 22px 45px rgba(79, 176, 255, .22);
}

.btn-secondary
{
  background: rgba(255,255,255,.12);
  color: #eef8ff;
  border: 1px solid rgba(255,255,255,.24);
}

.section-copy
{
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(234, 241, 255, .82);
}

.footer-grid
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  align-items: flex-start;
}

.footer-col
{
  min-width: 200px;
  flex: 1 1 220px;
}

.footer-col h3,
.footer-col h4
{
  color: #eef8ff;
  margin-bottom: .8rem;
}

.footer-col p,
.footer-col a
{
  color: rgba(234, 241, 255, .78);
  line-height: 1.8;
  text-decoration: none;
}

.footer-note
{
  margin-top: 24px;
  color: rgba(255, 255, 255, .64);
  text-align: center;
}

.ai-panel
{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 12, 28, .83);
}

.hidden
{
  display: none !important;
}

.ai-panel.hidden
{
  display: none;
}

.service-card
{
  cursor: pointer;
}

.service-card.active
{
  border-color: rgba(79, 176, 255, .45);
  box-shadow: 0 20px 45px rgba(79, 176, 255, .2);
}

.service-detail-panel ul
{
  margin: 18px 0 0;
  padding-left: 1.3rem;
}

.service-detail-panel li
{
  margin-bottom: .75rem;
  color: rgba(17, 28, 52, .78);
  line-height: 1.8;
}

.ai-panel-card
{
  width: min(760px, 100%);
  background: rgba(255, 255, 255, .98);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 24px 70px rgba(5, 19, 48, .24);
  color: #102f5d;
  text-align: left;
}

.ai-panel-header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-panel-header h3
{
  margin: 0;
  font-size: 1.6rem;
}

.close-btn
{
  border: none;
  background: transparent;
  color: #0f3b75;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.ai-panel-card p,
.ai-panel-card ul,
.ai-panel-card li
{
  color: #42516d;
}

.ai-panel-card ul
{
  margin: 18px 0 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.map-container
{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  margin-top: 18px;
}

.map-container iframe
{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

img,
iframe,
video
{
  max-width: 100%;
  display: block;
}

.section
{
  padding: 96px 20px;
  text-align: center;
}

.thank-you-section
{
  padding-top: 160px;
  padding-bottom: 120px;
}

.thank-you-panel
{
  max-width: 720px;
  margin: auto;
  background: rgba(255, 255, 255, .95);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(16, 30, 62, .18);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #0c1f44;
}

.thank-you-title
{
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.thank-you-text
{
  color: #526180;
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.director-card
{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: #f8fbff;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 46, 92, .08);
}

.director-avatar
{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e4efff;
  box-shadow: 0 12px 24px rgba(10, 22, 48, .15);
}

.director-avatar img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.director-meta
{
  max-width: 520px;
  text-align: center;
}

.director-meta h2
{
  margin: 0;
  font-size: 1.35rem;
  color: #0c1f44;
}

.director-meta p
{
  margin: .6rem 0 0;
  color: #42516d;
  line-height: 1.7;
  font-size: .98rem;
}

body.thank-you-page {
  background: linear-gradient(180deg, rgba(15, 45, 92, .92), rgba(6, 18, 42, .96));
}

body.thank-you-page header {
  background: transparent;
  box-shadow: none;
}

body.thank-you-page main {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}

section#plans,
section#faq,
section#contact,
section#enquiry
{
  padding-top: 110px;
}

section[id]
{
  scroll-margin-top: 120px;
}

section#plans
{
  padding-bottom: 100px;
}

section#faq
{
  padding-bottom: 100px;
}

.section h2
{
  font-size: 2.2rem;
  margin-bottom: .75rem;
  color: #eef8ff;
}

.section p
{
  max-width: 760px;
  margin: 0 auto;
  color: rgba(234, 241, 255, .82);
  line-height: 1.85;
  font-size: 1rem;
}

.gray
{
  background: rgba(15, 31, 59, .82);
}

.grid
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.service-grid
{
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

@media (max-width: 860px)
{
  .service-grid
  {
    grid-template-columns: 1fr;
  }
}

.leadership-grid,
.director-section
{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.leader-details.card,
.director-section .card
{
  padding: 32px;
}

.director-list
{
  margin: 1rem 0 0;
  padding-left: 1.3rem;
  color: #42516d;
  line-height: 1.8;
}

.director-list li
{
  margin-bottom: .75rem;
  list-style: disc;
}

.highlight-grid
{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faq-list
{
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

details
{
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 18px 22px;
  transition: background .2s ease, transform .2s ease;
}

details[open]
{
  background: rgba(255, 255, 255, .12);
}

summary
{
  font-size: 1.1rem;
  font-weight: 700;
  color: #eef8ff;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

summary::-webkit-details-marker
{
  display: none;
}

summary::after
{
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #eef8ff;
  font-weight: 700;
}

details[open] summary::after
{
  content: '–';
}

details p
{
  margin: 15px 0 0;
  color: rgba(234, 241, 255, .9);
  line-height: 1.85;
  font-size: 1rem;
}

.card
{
  background: rgba(255, 255, 255, .98);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform .3s ease, border-color .3s ease;
}

.card:hover
{
  transform: translateY(-6px);
  border-color: rgba(79, 176, 255, .28);
}

.card i
{
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(13, 71, 161, .08);
}

.card h3
{
  font-size: 1.25rem;
  margin: 1rem 0 .65rem;
  color: #102f5d;
}

.card p
{
  color: #5f6f8f;
  line-height: 1.8;
}

.contact
{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin: 30px auto 0;
  max-width: 980px;
  width: min(100%, 980px);
}

.contact-mobile-title
{
  display: none;
}

.info
{
  padding: 28px;
  border-radius: 22px;
  background: rgba(17, 31, 56, .92);
  border: 1px solid rgba(255, 255, 255, .08);
}

.info p
{
  margin: .85rem 0;
  color: rgba(225, 233, 255, .88);
  font-size: 1rem;
}

.info iframe
{
  border-radius: 18px;
  min-height: 260px;
}

input,
textarea
{
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 31, 59, .18);
  border-radius: 14px;
  padding: 14px 16px;
  color: #0e2a50;
  margin-top: 14px;
  font-size: 1rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}

input:focus,
textarea:focus
{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 176, 255, .12);
}

textarea
{
  min-height: 160px;
  resize: vertical;
}

.form-note
{
  margin-top: 12px;
  color: rgba(234, 241, 255, .72);
  font-size: .95rem;
  line-height: 1.5;
}

.form-note a
{
  color: var(--accent);
  text-decoration: underline;
}

button
{
  width: 100%;
  margin-top: 18px;
  padding: 15px 20px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

button:hover
{
  transform: translateY(-1px);
  background: var(--primary-soft);
}

footer
{
  background: rgba(4, 12, 28, .96);
  color: rgba(255, 255, 255, .72);
  padding: 38px 20px;
  text-align: center;
  font-size: .95rem;
}

footer .container
{
  gap: 32px;
}

footer p
{
  max-width: 900px;
  margin: auto;
}

.whatsapp
{
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .25);
  z-index: 1000;
}

.whatsapp:hover
{
  transform: translateY(-2px);
}

@media (max-width: 980px)
{
  .hero
  {
    min-height: calc(100vh - 96px);
  }

  .container
  {
    width: calc(100% - 36px);
  }

  .card
  {
    padding: 24px;
  }

  .contact
  {
    grid-template-columns: 1fr;
  }

  .info iframe
  {
    min-height: 220px;
  }
}

@media (max-width: 780px)
{
  .container
  {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }

  .hero
  {
    padding: 40px 18px;
  }

  #nav
  {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 24, 55, .98);
    padding: 20px 22px;
    display: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  }

  #nav.show
  {
    display: flex;
  }

  #nav li
  {
    width: 100%;
  }

  #nav a
  {
    width: 100%;
    padding: .75rem 0;
  }

  .menu-toggle
  {
    display: block;
  }

  .section
  {
    padding: 70px 18px;
  }

  .hero h1
  {
    font-size: 2.6rem;
  }

  .hero p
  {
    font-size: 1rem;
  }

  .info
  {
    padding: 22px;
  }

  /* Hide the enquiry form section heading on small screens and show an inline title above the form */
  section#enquiry > h2
  {
    display: none;
  }

  .contact-mobile-title
  {
    display: block;
    text-align: left;
    color: #eef8ff;
    font-size: 1.25rem;
    margin: 8px 0 10px;
  }

  input,
  textarea
  {
    font-size: .98rem;
  }

  button
  {
    font-size: .98rem;
  }
}

@media (max-width: 680px)
{
  .hero
  {
    padding: 32px 16px;
  }

  .section
  {
    padding: 56px 16px;
  }

  .card
  {
    padding: 20px;
  }

  .thank-you-panel
  {
    padding: 28px;
  }

  .thank-you-title
  {
    font-size: 2rem;
  }

  .contact,
  .leader-details.card,
  .footer .container
  {
    grid-template-columns: 1fr;
  }

  .info
  {
    padding: 18px;
  }

  /* Ensure mobile contact title appears above the form and below the map for clarity */
  .contact-mobile-title
  {
    display: block;
  }

  footer .container
  {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
