/* 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,main,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,main,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAFAFA;
  color: #1E3572;
}
ol,ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
input,textarea,select,button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary: #1E3572;
  --secondary: #F3B431;
  --secondary-dark: #bb901e;
  --accent: #FFFFFF;
  --bg: #FAFAFA;
  --text: #181C23;
  --card-bg: #fff;
  --border: #ECE6D8;
  --shadow: 0 2px 18px 0 rgba(30,53,114,0.10);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, dl { margin-bottom: 16px; }
strong { font-weight: 700; }

::selection {
  background: var(--secondary);
  color: var(--primary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX LAYOUTS (MANDATORY PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  margin-bottom: 24px;
  color: var(--text);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERIC FLEX WRAPPERS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  padding: 24px;
  min-width: 230px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .23s, border-color .23s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 26px 0 rgba(30,53,114,0.18);
  border-color: var(--secondary);
}

/* HERO / CALL TO ACTION */
.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(90deg,var(--secondary),var(--secondary-dark));
  color: var(--primary);
  border-radius: 40px;
  box-shadow: 0 2px 12px 0 rgba(243,180,49,0.17);
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.16s, box-shadow 0.16s, color 0.17s;
  cursor: pointer;
  margin-top: 8px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFD463, var(--secondary) 80%, #e3af25 100%);
  color: var(--primary);
  box-shadow: 0 6px 20px 0 rgba(243,180,49,0.21);
}

/* HEADER */
header {
  background: var(--accent);
  box-shadow: 0 2px 16px 0 rgba(30,53,114,0.08);
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.16s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
}
header nav a.active, header nav a[aria-current='page'] {
  color: var(--secondary);
}
header a img {
  height: 48px;
  width: auto;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.2rem;
  padding: 8px 18px 7px 18px;
  border-radius: 32px;
  box-shadow: 0 2px 10px 0 rgba(243,180,49,0.19);
  z-index: 300;
  margin-right: 14px;
  transition: background .15s, color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 53, 114, 0.93);
  color: var(--accent);
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(.71,.32,.21,1.22);
  z-index: 450;
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: var(--secondary);
  background: none;
  margin: 20px 26px 8px 0;
  border-radius: 18px;
  padding: 2px 12px;
  transition: background .16s, color .12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 38px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 2px;
  border-radius: 7px;
  transition: background .13s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Hide desktop nav/burger based on breakpoint */
@media (max-width: 980px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS */
main > section {
  width: 100%;
  background: var(--bg);
  margin-bottom: 60px;
  padding: 40px 0;
}

main > section:nth-child(even) {
  background: #F7F5EF;
}

/* TABLES - SCHEDULE */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 1rem;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
thead th {
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: none;
}
tbody td {
  padding: 11px 16px;
  border-bottom: 1.5px solid var(--border);
  color: var(--text);
}
tbody tr:last-child td {
  border-bottom: none;
}
table th, table td {
  min-width: 94px;
  vertical-align: top;
}

.schedule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.legend {
  margin-top: 16px;
  background: #fffbe5;
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 1px 8px 0 rgba(243,180,49,0.11);
}

/* TESTIMONIALS */
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  font-style: italic;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--primary);
}
.testimonial-card div strong {
  color: var(--secondary);
  font-family: var(--font-display);
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  gap: 16px;
  margin: 10px 0 0 0;
}
.social-links a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 22px;
  background: #f5f4f9;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  gap: 8px;
  transition: background .14s, color .14s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* CONTACT GRID */
.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.contact-info-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  padding: 22px;
  min-width: 180px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info-grid img {
  margin-right: 7px;
  height: 20px;
  width: auto;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 34px 0 0 0;
  font-size: 1rem;
  margin-top: 50px;
  border-top: 3px solid var(--secondary);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 14px;
}
footer a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-right: 18px;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #fffbb0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: #ffd57f;
}
footer .contact-details img {
  height: 16px;
  margin-right: 6px;
}
footer .legal {
  font-size: 0.93rem;
  color: #bd9c35;
  background: rgba(0,0,0,0.03);
  padding: 9px 0 14px 0;
  text-align: center;
}
/* Footer responsiveness */
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* CARDS (GENERIC) */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  padding: 28px 26px 24px 26px;
  transition: box-shadow .18s, border-color .18s;
  margin-bottom: 24px;
}
.card:hover {
  box-shadow: 0 8px 38px 0 rgba(30,53,114,0.19);
  border-color: var(--secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* BUTTON GENERICS */
button, .button {
  font-family: var(--font-display);
  border-radius: 30px;
  outline: none;
  border: none;
  transition: box-shadow .13s, background .13s, color .13s;
}
.button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
  margin-right: 7px;
  margin-bottom: 4px;
}
.button:hover, .button:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 10px 0 rgba(243,180,49,0.16);
}

/* GOLD ACCENTS */
h1, h2, .cta-btn, .testimonial-card strong, .features-grid > div:hover, footer, .mobile-nav a:hover, .mobile-nav a:focus {
  /* Highlights w/ gold (secondary) color */
}
h1 span, h2 span, h3 span, .gold {
  color: var(--secondary);
  font-weight: 800;
}

/* LISTS */
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 1rem;
}
ul li {
  margin-bottom: 7px;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: var(--secondary);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* SPACING, WHITESPACE */
section + section, .section { margin-bottom: 60px; }
.features-grid, .testimonial-slider, .content-grid, .contact-info-grid { gap: 24px; }
.card, .testimonial-card, .features-grid > div { margin-bottom: 20px; }

/* IMAGES in .features-grid */
.features-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .contact-info-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .content-wrapper { gap: 16px; }
  .features-grid > div, .contact-info-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 10px 16px 10px;
  }
  .card {
    padding: 14px 10px 12px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px;
    gap: 8px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section, main > section {
    margin-bottom: 38px;
    padding: 22px 0;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  header .container { flex-direction: column; gap: 14px; }
  .cta-btn, .button { padding: 12px 16px; font-size: 1rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1E3572;
  color: #fff;
  box-shadow: 0 -2px 14px 0 rgba(30,53,114,0.21);
  z-index: 500;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  border-top: 2px solid var(--secondary);
  animation: slideUpCookie .45s cubic-bezier(.61, .23, .34, 1.01);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  display: inline-block;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  margin-right: 5px;
  margin-bottom: 0;
  transition: background .13s, color .13s, box-shadow .12s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffd463;
  color: var(--primary);
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 8px 13px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 6px;
  }
}

/* COOKIE MODAL SETTINGS */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 430px;
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 4px 38px 0 rgba(30,53,114,0.30);
  transform: translate(-50%,-50%) scale(0.96);
  opacity: 0;
  z-index: 555;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 26px 28px;
  pointer-events: none;
  transition: opacity .26s cubic-bezier(.61, .23, .34, 1.01), transform .26s cubic-bezier(.61, .23, .34, 1.01);
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-categories {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  min-width: 110px;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-category input[disabled] {
  accent-color: #ccc;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 16px;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 16px 8px;
    min-width: 0;
    width: 98vw;
  }
}

/* MICRO INTERACTIONS */
.cta-btn, .button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition: background .15s, color .13s, box-shadow .14s, transform .13s;
}
.cta-btn:active, .button:active, .mobile-menu-toggle:active, .mobile-menu-close:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* FOCUS STYLES */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* UTILITIES */
.d-none { display: none !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* NO GRID, NO ABSOLUTE CONTENT CARDS! */
