:root {
  --gold: #869149;
  --gold-light: #A4AF62;
  --gold-pale: #EEF1DC;
  --navy: #2B6358;
  --navy-mid: #377467;
  --navy-light: #427C6F;
  --cream: #F4F8F6;
  --white: #FFFFFF;
  --text-dark: #1C2E2A;
  --text-muted: #5A6E6A;
  --border: rgba(134,145,73,0.25);
  --shadow-sm: 0 4px 20px rgba(43,99,88,0.08);
  --shadow-md: 0 12px 40px rgba(43,99,88,0.14);
  --shadow-lg: 0 24px 60px rgba(43,99,88,0.18);
  --radius: 14px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

p {
  line-height: 1.75;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, textarea, select {
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(43,99,88,0.35);
}

.btn-gold:hover,
.btn-gold:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(43,99,88,0.5);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 34px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--navy);
  color: var(--white);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-white-outline:hover,
.btn-white-outline:focus {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.footer-brand strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.footer-brand span {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
}

.text-gold {
  color: var(--gold) !important;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-style: normal;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 6px 0;
}

.footer-contact-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  color: var(--gold);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: var(--gold);
}

.footer-links a {
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.navbar {
  background: rgba(43,99,88,0.97);
  backdrop-filter: blur(20px);
  padding: 0;
  border-bottom: 1px solid rgba(134,145,73,0.15);
  transition: var(--transition);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-light), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--white);
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 28px 16px !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px 2px 0 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.dropdown-menu {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  margin-top: 0;
}

.dropdown-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 10px 16px;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(134,145,73,0.15);
  color: var(--gold-light);
}

.topbar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(134,145,73,0.3);
}

.topbar a {
  color: var(--gold-light);
  text-decoration: none;
}

.topbar a:hover,
.topbar a:focus {
  color: var(--white);
}

.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=1600&q=60') center/cover;
  opacity: 0.12;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0 0 20px;
}

.breadcrumb-item a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.82rem;
}

.breadcrumb-item.active {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.3);
}

.section {
  padding: 100px 0;
}

.bg-cream {
  background: var(--cream);
}

.section-sm {
  padding: 70px 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title.light {
  color: var(--white);
}

.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}

.card-hover {
  transition: var(--transition);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(134,145,73,0.1);
}

.application-card {
  padding: 32px;
}

.card-hover:hover,
.card-hover:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(134,145,73,0.3);
}

.feature-icon,
.feature-icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(134,145,73,0.12);
  border-radius: 14px;
  flex-shrink: 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}

.feature-icon-lg {
  width: 72px;
  height: 72px;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(134,145,73,0.15), transparent 65%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-band p,
.cta-band a {
  color: var(--white);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

footer{
  background:var(--navy);
  border-top:1px solid rgba(134,145,73,0.15);
  padding:72px 0 32px;
}

.footer-links a::before{
  content:'›';
  color:var(--gold);
  font-size:1.1rem;
  margin-right:8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-divider {
  border-color: rgba(134,145,73,0.15);
  margin: 48px 0 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(134,145,73,0.12);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
}

.contact-block {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-block-icon {
  width: 52px;
  height: 52px;
  background: rgba(134,145,73,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-block h6 {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.contact-block a,
.contact-block p {
  color: var(--white);
  text-decoration: none;
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.65;
}

.contact-block a:hover,
.contact-block a:focus {
  color: var(--gold-light);
}

.map-placeholder {
  background: var(--cream);
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.referral-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.accred-badge{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--cream);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 22px;
}
.accred-icon{
  width:52px;
  height:52px;
  background:var(--gold-pale);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  font-size:1.5rem;
  flex-shrink:0;
}

.timeline-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(134,145,73,0.12);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.timeline-content h5,
.approach-card h5,
.package-card h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

.value-card,
.approach-card,
.package-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(134,145,73,0.1);
  transition: var(--transition);
}

.value-card:hover,
.approach-card:hover,
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(134,145,73,0.3);
}

.approach-card {
  gap: 20px;
  margin-bottom: 16px;
}

.approach-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
}

.package-card {
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.package-card.featured {
  border-color: var(--navy);
  background: var(--navy);
}

.package-card.featured h4,
.package-card.featured p,
.package-card.featured li {
  color: var(--white);
}

.package-card.featured .pkg-list li {
  color: rgba(255,255,255,0.8);
}

.pkg-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(134,145,73,0.1);
}

.pkg-list li:last-child {
  border-bottom: none;
}

.pkg-list li i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-item {
  border-bottom: 1px solid rgba(134,145,73,0.15);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-a {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-top: 12px;
  display: none;
}

.faq-a.open {
  display: block;
}

#back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(43,99,88,0.45);
  z-index: 9999;
}

#back-top.show {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 12px 0 !important;
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 72px 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-hero {
    padding: 100px 0 60px;
  }
}
