/* =================== CSS RESET & NORMALIZE =================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F8FA;
  color: #222;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #193378;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #FFB749;
}
ul, ol {
  list-style: none;
  margin: 0 0 20px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* ===================== CSS CUSTOM PROPERTIES (FALLBACKS) ===================== */
:root {
  --primary: #193378;
  --secondary: #FFB749;
  --accent: #FFFFFF;
  --dark: #12131a;
  --text: #232323;
  --grey-100: #f7f8fa;
  --grey-200: #ebeef4;
  --border: #e1e1e1;
  --shadow: 0 2px 24px rgba(25, 51, 120, 0.07);
  --card-radius: 18px;
  --section-margin: 60px;
  --section-padding: 40px 20px;
  --gold: #C9A14E;
  --focus: #F8E6BB;
}

@media (max-width: 768px) {
  :root {
    --section-margin: 32px;
    --section-padding: 24px 8px;
    --card-radius: 12px;
  }
}

/* ======================= TYPOGRAPHY ======================= */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background-color: var(--grey-100);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #193378;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.12; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.16; }
h3 { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.17; font-weight: 600; color: var(--primary); }
h4, h5, h6 { font-size: 1.125rem; }
p, li, blockquote, td, th { font-size: 1rem; }

strong, b { font-weight: 700; }

.text-section p {
  max-width: 750px;
  margin-bottom: 18px;
  font-size: 1.08rem;
}

/* ======================= LUXURY/PREMIUM ACCENTS ======================= */
.gold {
  color: var(--gold);
}

hr {
  border: none;
  border-top: 1.5px solid var(--gold);
  margin: 32px 0;
}

/* ======================= LAYOUT STRUCTURE ======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========  FLEXBOX SPACING & UTILITIES ========== */
.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 28px;
    padding: 18px 4px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container, .testimonial-snippet-list, .feature-grid, .team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(25, 51, 120, 0.11);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 36px;
  margin-bottom: 20px;
  border-left: 5px solid var(--gold);
  font-size: 1.11rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FLEX WRAPPING RULES ========== */
.feature-grid > li {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 230px;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-top: 3px solid var(--gold);
  transition: box-shadow 0.2s;
}
.feature-grid > li img {
  width: 38px;
  height: 38px;
}
.feature-grid > li:hover {
  box-shadow: 0 8px 30px rgba(25,51,120,0.12);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > li {
    min-width: 44%;
    flex: 1 1 48%;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > li {
    min-width: 100%;
    width: 100%;
    padding: 14px 10px 14px 12px;
  }
}

/* ========== CTA BUTTONS ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--gold), var(--secondary));
  color: #193378;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 13px 36px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.17s;
  box-shadow: 0 3px 12px rgba(255,183,73,0.10);
  white-space: nowrap;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  color: #fff;
  box-shadow: 0 6px 24px rgba(25,51,120,0.13);
}


/* ============ HEADER & MAIN NAVIGATION ============ */
header {
  background: #fff;
  border-bottom: 1px solid var(--grey-200);
  z-index: 50;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
  padding: 18px 0;
}
.main-nav img[alt="OralPro Courses Logo"] {
  width: 160px;
  margin-right: 30px;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 8px 16px;
  border-radius: 23px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--focus);
  color: var(--gold);
}
.main-nav .cta-button {
  margin-left: 14px;
  font-size: 1.09rem;
  padding: 10px 26px;
  border-radius: 23px;
  background: linear-gradient(90deg, var(--gold), var(--secondary));
  color: var(--primary);
  border: none;
  box-shadow: 0 2px 8px rgba(201,161,78,0.09);
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  color: #fff;
}

/* Hide burger menu button on desktop */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
  }
  .main-nav img[alt="OralPro Courses Logo"] {
    width: 132px;
    margin-right: 15px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 22px;
    right: 26px;
    background: none;
    color: var(--primary);
    font-size: 2.1rem;
    border: none;
    z-index: 101;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: var(--gold);
  }
}

/* ========== MOBILE NAVIGATION MENU =========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  background: rgba(25,51,120,0.93);
  transform: translateX(-100vw); /* hidden by default */
  transition: transform 0.33s cubic-bezier(0.73,0.21,0.16,0.83);
  box-shadow: 0 4px 44px 13px rgba(25,51,120,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2.5rem;
  border: none;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 201;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 90px 48px 0 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  padding: 12px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,183,73,0.19);
  color: var(--gold);
}
@media (max-width: 600px) {
  .mobile-nav {
    margin: 80px 16px 0 16px;
    gap: 22px;
  }
  .mobile-menu-close {
    top: 14px;
    right: 14px;
  }
}

/* ================ FOOTER ================= */
footer {
  background: #fff;
  border-top: 1px solid var(--grey-200);
  margin-top: 60px;
  position: relative;
  z-index: 19;
}
.footer-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 12px 20px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-wrapper img {
  width: 62px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 5px 10px;
  border-radius: 11px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--focus);
  color: var(--gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}
.footer-contact span img {
  width: 19px;
  height: 19px;
  margin-right: 6px;
  filter: grayscale(25%) contrast(1.02);
  vertical-align: middle;
}
footer small {
  display: block;
  text-align: center;
  padding: 10px 0 22px;
  color: #768;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .footer-wrapper {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 5px;
  }
}

/* =============== COURSE LIST/FAQ/BENEFITS =============== */
.course-list, .faq-list, .value-highlights, .benefit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.course-list li, .faq-list li, .value-highlights li, .benefit-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 15px 21px 13px 21px;
  border-left: 3px solid var(--gold);
  font-size: 1.03rem;
}

/* =============== TEAM BIOS, INSTRUCTOR CARDS =============== */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.instructor-bio {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  border-top: 3px solid var(--gold);
}
@media (max-width: 900px) {
  .team-bios {
    flex-direction: column;
    gap: 14px;
  }
  .instructor-bio {
    width: 100%;
    min-width: unset;
    padding: 15px 10px;
  }
}

/* =============== PRICING TABLE ===================== */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.pricing-table thead {
  background: var(--primary);
  color: #fff;
}
.pricing-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}
.pricing-table td {
  font-size: 1.03rem;
  border-bottom: 1px solid #ececec;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 680px) {
  .pricing-table th, .pricing-table td {
    padding: 7px 6px;
    font-size: 0.98rem;
  }
}

/* =============== MAP EMBED =============== */
.map-embed {
  background: var(--grey-200);
  border-radius: 10px;
  padding: 20px 16px;
  margin-top: 18px;
  color: #555;
  font-size: 1rem;
  text-align: center;
}

/* ============ CONTACT DETAILS =========== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #242936;
}
.contact-details img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* =========== MICRO-INTERACTIONS & BUTTONS ======== */
button, .cta-button {
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, border-color 0.18s, transform 0.16s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* ========== TABLE ELEMENTS ========== */
th, td {
  font-family: 'Roboto', sans-serif;
}
@media (max-width: 600px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ================ ACCESSIBILITY FOCUS STATES ================ */
a:focus, button:focus, .cta-button:focus, .mobile-menu-close:focus, .mobile-nav a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ================ ANIMATIONS & TRANSITIONS ================ */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.66s ease-in forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ================ COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #fffbe6;
  box-shadow: 0 -3px 28px 2px rgba(25, 51, 120, 0.15);
  padding: 20px 15px;
  border-top: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.03rem;
}
.cookie-banner p {
  color: var(--primary);
  margin: 0;
  flex: 2 1 380px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}
.cookie-banner button {
  background: var(--gold);
  color: #193378;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 8px 28px;
  font-weight: 600;
  border: none;
  border-radius: 21px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 7px rgba(201,161,78,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  border: 1.5px solid var(--gold);
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff3dc;
  border-color: var(--secondary);
  color: var(--gold);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 8px 18px 8px;
    gap: 12px;
  }
  .cookie-banner-buttons {
    align-items: stretch;
    gap: 8px;
  }
}

/* ================ COOKIE CONSENT MODAL ================ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,51,120,0.51);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s;
}
.cookie-modal {
  background: #fff;
  padding: 38px 30px 28px 30px;
  border-radius: 26px;
  border: 2.5px solid var(--gold);
  max-width: 430px;
  width: 96%;
  box-shadow: 0 8px 44px 8px rgba(25,51,120,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 10000;
}
.cookie-modal h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
}
.cookie-modal .category-required {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.99rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--grey-200);
  border-radius: 30px;
  position: relative;
  outline: none;
  border: 1.5px solid var(--gold);
  transition: background 0.2s, border-color 0.18s;
  cursor: pointer;
}
.cookie-modal .toggle:checked {
  background: var(--gold);
  border-color: var(--primary);
}
.cookie-modal .toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .toggle:checked::before {
  left: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal button {
  background: var(--gold);
  color: var(--primary);
  padding: 8px 26px;
  border: none;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 1.5rem;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
  padding: 2px 7px;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--gold);
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 14px 6px 16px 6px;
    border-radius: 14px;
  }
}

/* ================ HELPERS ================== */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }

/* ================ CUSTOM SCROLLBAR ================== */
::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: var(--grey-200);
  border-radius: 14px;
}


/* =========== END =========== */
