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

:root {
  --navy: #1a2e4a;
  --navy-mid: #2a4068;
  --teal: #3a7ca5;
  --teal-light: #4a9cc5;
  --gold: #c8a96e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-light: #e8eaed;
  --gray-mid: #999;
  --text: #333;
  --text-light: #666;
}

body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* TOP BAR */
.top-bar { background: var(--navy); color: #aac4dc; font-size: 12px; padding: 8px 0; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: flex-end; gap: 30px; flex-wrap: wrap; align-items: center; }
.top-bar a { color: #aac4dc; text-decoration: none; }
.top-bar .sep { color: #4a6a88; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg { opacity: 0.7; }

/* HEADER */
header { background: var(--white); border-bottom: 1px solid var(--gray-light); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; height: 90px; }
.logo img { height: 60px; display: block; }
nav { display: flex; align-items: center; }
nav ul { list-style: none; display: flex; gap: 0; align-items: center; }
nav ul li { position: relative; }
nav ul li a { display: block; padding: 10px 14px; color: var(--navy); font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
nav ul li a:hover { color: var(--teal); }
nav ul li:hover > .dropdown { display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--navy); min-width: 220px; padding: 8px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.15); z-index: 200; }
.dropdown li a { color: #c0d4e8; font-size: 12.5px; padding: 10px 20px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.dropdown li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn-refer { background: var(--teal); color: var(--white) !important; padding: 10px 20px !important; border-radius: 3px; margin-left: 10px; transition: background 0.2s !important; }
.btn-refer:hover { background: var(--navy) !important; color: var(--white) !important; border: 1px solid var(--teal); }

/* PAGE BANNER */
.page-banner { position: relative; height: 260px; background-size: cover; background-position: center; display: flex; align-items: center; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: rgba(15,35,60,0.58); }
.page-banner-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 60px; color: var(--white); }
.page-banner-content h1 { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; margin-bottom: 10px; }
.breadcrumb { font-size: 13px; opacity: 0.75; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* MAIN CONTENT AREA */
.page-main { max-width: 1200px; margin: 0 auto; padding: 60px 30px; }
.page-main h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.page-main h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin: 32px 0 12px; }
.page-main p { font-size: 15.5px; line-height: 1.8; color: var(--text-light); margin-bottom: 18px; }
.page-main strong { color: var(--text); }
.page-main img { border-radius: 4px; box-shadow: 0 6px 24px rgba(26,46,74,0.10); }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }

/* TWO-COL LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* FORMS BAND */
.forms-band { background: var(--navy); color: var(--white); text-align: center; padding: 50px 30px; }
.forms-band h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; margin-bottom: 22px; }
.btn-forms { display: inline-block; padding: 14px 38px; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; border-radius: 3px; transition: background 0.2s; }
.btn-forms:hover { background: var(--gold); }

/* CONTACT FOOTER */
.contact-section { background: var(--white); border-top: 1px solid var(--gray-light); }
.contact-inner { max-width: 1200px; margin: 0 auto; padding: 60px 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.contact-block h4 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); }
.contact-block p, .contact-block address { font-size: 14.5px; line-height: 1.8; color: var(--text-light); font-style: normal; }
.contact-block a { color: var(--teal); text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--text-light); }

/* BUTTONS */
.btn-primary { display: inline-block; padding: 12px 32px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-radius: 3px; transition: background 0.2s; }
.btn-primary:hover { background: var(--teal); }
.btn-teal { display: inline-block; padding: 12px 32px; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-radius: 3px; transition: background 0.2s; }
.btn-teal:hover { background: var(--navy); }

/* FOOTER */
footer { background: var(--navy); color: #7a9ab8; text-align: center; padding: 24px 30px; font-size: 13px; }
footer a { color: #7a9ab8; text-decoration: none; }

/* INFO BOXES */
.info-box { background: var(--off-white); border-left: 4px solid var(--teal); padding: 24px 28px; margin: 28px 0; border-radius: 0 4px 4px 0; }
.info-box p { margin: 0; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.service-card { background: var(--off-white); border-radius: 4px; padding: 28px; border-top: 3px solid var(--teal); }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin: 0 0 10px; }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--text-light); margin: 0; }

/* LINKS LIST */
.resource-list { list-style: none; margin: 16px 0; }
.resource-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-light); }
.resource-list li a { color: var(--teal); font-size: 15px; text-decoration: none; font-weight: 600; }
.resource-list li a:hover { text-decoration: underline; }
.resource-list li p { margin: 4px 0 0; font-size: 13px; color: var(--text-light); }

/* FORM STYLES */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--gray-light); border-radius: 3px; font-size: 14px; font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { background: var(--teal); color: var(--white); border: none; padding: 14px 40px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 3px; cursor: pointer; transition: background 0.2s; font-family: 'Lato', sans-serif; }
.form-submit:hover { background: var(--navy); }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 10px; }

/* DR BIO */
.bio-photo { float: right; margin: 0 0 24px 36px; width: 280px; }
.bio-photo img { width: 100%; border-radius: 4px; box-shadow: 0 6px 24px rgba(26,46,74,0.12); }
.clearfix::after { content: ''; display: table; clear: both; }
.edu-item { padding: 12px 0; border-bottom: 1px solid var(--gray-light); display: flex; gap: 16px; align-items: flex-start; }
.edu-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 6px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col, .contact-inner, .services-grid, .form-row { grid-template-columns: 1fr; }
  .page-banner { height: 180px; }
  .page-banner-content h1 { font-size: 32px; }
  .page-banner-content { padding: 0 24px; }
  .bio-photo { float: none; width: 100%; margin: 0 0 24px; }
  .page-main { padding: 40px 20px; }
}

@media (max-width: 640px) {
  /* Header */
  .header-inner { height: 64px; padding: 0 16px; }
  .logo img { height: 40px; }

  /* Hamburger nav */
  nav { position: relative; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: -16px;
    background: var(--navy);
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 300;
    gap: 0;
  }
  nav ul.open { display: flex; }
  nav ul li a {
    color: #c0d4e8;
    font-size: 13px;
    padding: 12px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
  .dropdown { position: static; box-shadow: none; background: rgba(0,0,0,0.2); }
  .dropdown li a { padding-left: 36px; font-size: 12px; }
  nav ul li:hover > .dropdown { display: none; }
  nav ul li.open > .dropdown { display: block; }
  .btn-refer { margin: 0; border-radius: 0; }

  /* Hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* Top bar */
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding: 8px 16px;
  }
  .top-bar { font-size: 11px; }

  /* Page banner */
  .page-banner { height: 140px; }
  .page-banner-content h1 { font-size: 26px; }

  /* Page main */
  .page-main { padding: 32px 16px; }
  .page-main h2 { font-size: 24px; }
  .page-main h3 { font-size: 19px; }

  /* Contact footer */
  .contact-inner { padding: 40px 16px; gap: 28px; }

  /* Info box */
  .info-box { padding: 18px 20px; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { width: 100%; }

  /* Buttons */
  .btn-primary, .btn-teal, .btn-learn { display: block; text-align: center; }
}
