/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F4F6F8;
  color: #232426;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #174A76;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BFA14A;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* THEME COLORS -- Including luxury gold accent */
:root {
  --color-primary: #174A76;
  --color-secondary: #A8DADC;
  --color-accent: #F4F6F8;
  --color-gold: #BFA14A;
  --color-dark: #232426;
  --color-white: #fff;
  --color-neutral-light: #EDF0F2;
  --color-card-bg: #FAFAFB;
  --color-footer-bg: #101319;
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 10px;
}
p, li {
  color: #232426;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

/* CONTAINER LAYOUTS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARD STYLES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(35, 36, 38, 0.07);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #E5E8EF;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .card:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 6px 30px rgba(191,161,74,0.13), 0 2px 8px rgba(23,74,118,0.10);
}

/* FLEXBOX PATTERNS & CRITICAL LAYOUTS */
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(35,36,38,.06);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-gold);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 2px 6px rgba(23,74,118,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 80;
}
header > a > img {
  height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
header nav a.cta-button {
  background: var(--color-gold);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(191,161,74,0.12);
  margin-left: 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
header nav a.cta-button:hover, header nav a.cta-button:focus {
  background: #AD9439;
  color: #fffbe8;
  box-shadow: 0 4px 16px rgba(191,161,74,0.15);
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 24px;
  z-index: 120;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #F4F6F8 80%, #BFA14A 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(191,161,74,0.04);
}
.hero p {
  color: #323337;
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 18px;
  margin-top: 10px;
}
.hero .cta-button {
  margin-top: 10px;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(191,161,74,0.09);
  transition: background 0.17s, transform 0.17s, box-shadow 0.18s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #AD9439;
  color: #fffbe8;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(191,161,74,0.19);
}

/* FEATURE GRID (Index, Courses, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23,74,118,0.07);
  border: 1px solid #EAE8E0;
  flex: 1 1 210px;
  min-width: 220px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border 0.19s;
  gap: 14px;
  position: relative;
}
.feature-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 8px 24px rgba(191,161,74,0.09);
}

/* SERVICES OVERVIEW */
.services ul,
.about ul,
.features ul,
.curriculum ul,
.team ul {
  list-style: disc inside;
  padding-left: 24px;
  margin-top: 8px;
  margin-bottom: 10px;
}
.services > .container > .content-wrapper > div, .team > .container > .content-wrapper > div {
  margin-bottom: 22px;
}

/* TESTIMONIALS */
.testimonials {
  background: #F8FAFB;
  padding: 40px 0 60px 0;
}
.testimonials h2 {
  color: var(--color-gold);
}
.testimonial-card p {
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232426;
  margin-bottom: 8px;
}
.testimonial-card > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-card img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 3px;
}
.testimonial-card span:last-child {
  font-size: 0.97rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* CALL TO ACTION SECTION */
.cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}
.cta h2 {
  color: var(--color-white);
}
.cta .cta-button {
  background: var(--color-gold);
  color: #fff;
  margin-top: 18px;
}

/* CONTACT PAGE INFO */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F3EA;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(191,161,74,0.03);
  min-width: 220px;
}
.contact-info img {
  width: 22px;
  height: 22px;
}
.text-section h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* LEGAL, PRIVACY, THANK-YOU */
.legal, .thank-you {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(23,74,118,0.08);
  margin: 42px 0;
  padding: 36px 5% 36px 5%;
}
.legal h1, .thank-you h1 {
  color: var(--color-gold);
  font-size: 2rem;
  margin-bottom: 18px;
}
.legal p, .thank-you p {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding-top: 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid #292C35;
  padding: 0 6vw 18px 6vw;
}
.footer-top img {
  height: 38px;
}
.footer-top nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-top nav a {
  color: #D9D9DF;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.18s;
  padding: 6px 8px;
  border-radius: 6px;
}
.footer-top nav a:hover {
  color: var(--color-gold);
  background: rgba(191,161,74,.04);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 6vw;
  font-size: 0.97rem;
  color: #D9D9DF;
}
.footer-bottom a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-bottom a:hover {
  color: var(--color-gold);
}

/* MOBILE MENU (BURGER MENU) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(16,19,25,0.97);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.86,.01,.37,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 2.2rem;
  position: absolute;
  top: 22px; right: 30px;
  cursor: pointer;
  z-index: 201;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(191,161,74,0.12);
}
.mobile-nav {
  margin-top: 72px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: var(--color-white);
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  width: 100%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(191,161,74,0.10);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FAF7EF;
  color: #232426;
  border-top: 1.5px solid var(--color-gold);
  z-index: 250;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -2px 16px rgba(191,161,74,0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 100vw;
  animation: cookie-banner-in 0.7s cubic-bezier(.45,.76,.34,1);
}
@keyframes cookie-banner-in {
  from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: var(--color-gold);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.17s;
  box-shadow: 0 1px 8px rgba(191,161,74,0.08);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #AD9439;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #123A5C;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,74,118,0.29);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.35s cubic-bezier(.5,.9,.25,1);
}
@keyframes modal-in {
  from { opacity:0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 14px 60px rgba(23,74,118,0.11);
  max-width: 380px;
  width: 96vw;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-in 0.35s cubic-bezier(.5,.9,.25,1);
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #f6f4ef;
  border-radius: 12px;
  padding: 12px 10px;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-gold);
  pointer-events: auto;
}
.cookie-category[data-essential="true"] input[type="checkbox"] {
  accent-color: #BFA14A;
  pointer-events: none;
  opacity: 0.4;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.3rem;
  color: var(--color-gold);
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 6px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: rgba(191,161,74,0.09);
}

/* FAQ EXPANDABLE (for future)*/
.faq .content-wrapper > div {
  border-bottom: 1px solid #E3E6EC;
  padding: 22px 0;
}
.faq .content-wrapper h3 {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.15rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
  .footer-top, .footer-bottom { padding: 0 20px; }
  .legal, .thank-you { padding: 24px 4vw; }
}
@media (max-width: 850px) {
  .feature-grid, .card-container, .content-grid, .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 0 12px;
    height: 65px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-top img {
    height: 32px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .section { padding: 24px 5px; }
  .feature-grid { gap: 18px; }
  .card { padding: 22px 10px; }
  .text-image-section, .contact-info {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  .legal, .thank-you {
    padding: 10px 1vw;
    margin: 18px 0;
  }
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.2rem; }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .feature-grid > div, .testimonial-card, .cta-button, .cookie-btn {
  transition: box-shadow 0.19s, border-color 0.17s, background 0.17s, color 0.13s, transform 0.13s;
}

/* CUSTOM SELECTION COLOR */
::selection {
  background: #BFA14A;
  color: #fff;
}

/* MISC */
hr {
  height: 1.5px;
  background: #DFD6C3;
  border: 0;
  margin: 32px 0;
  border-radius: 1.5px;
}

/* HIDE DEFAULT SCROLLBAR ON MOBILE MENU */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* SCROLLBAR STYLING */
body::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--color-gold);
  border-radius: 16px;
}

/* ENSURE MINIMUM CARD SPACING */
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(191,161,74,0.19);
}
