/* ========================
   CSS RESET & BASE STYLES
   ======================== */
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8FAFB;
  color: #262841;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}

/* ===============
   THEME VARIABLES
   =============== */
:root {
  --primary: #1C2655;
  --secondary: #8696C1;
  --accent: #FFF4E0;
  --pastel-lilac: #E4E6FA;
  --pastel-mint: #E8FAF4;
  --pastel-sky: #D2ECFB;
  --pastel-salmon: #FFF1ED;
  --pastel-yellow: #FFFAE0;
  --pastel-pink: #FFE1F2;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --border-radius: 18px;
  --shadow-sm: 0 2px 8px 0 rgba(60, 52, 90, 0.06);
  --shadow-md: 0 6px 32px 0 rgba(28, 38, 85, 0.10);
}

/* =============
   BASE LAYOUT
   ============= */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

/* =============
   TYPOGRAPHY
   ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  text-align: center;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.8rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1rem;
}

p, li, span {
  font-family: var(--font-body);
  color: #33374E;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

.cta-button, .cta-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--border-radius);
  color: var(--primary);
  background: var(--pastel-salmon);
  box-shadow: var(--shadow-sm);
  padding: 14px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, box-shadow 0.20s;
  margin: 8px 0;
  border: 1px solid var(--accent);
  cursor: pointer;
}
.cta-button:hover, .cta-link:hover, .cta-button:focus {
  background: var(--pastel-lilac);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  border-color: var(--pastel-lilac);
}

.cta-link {
  background: none;
  box-shadow: none;
  color: var(--secondary);
  border: 0;
  text-decoration: underline dotted var(--secondary) 1.5px;
  font-size: 1rem;
  padding: 0;
}
.cta-link:hover {
  color: var(--primary);
  text-decoration: underline solid var(--accent) 3px;
}

/* ===============
   HEADER & NAV
   =============== */
header {
  background: var(--pastel-lilac);
  box-shadow: 0 2px 12px 0 rgba(28,38,85,0.03);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  max-height: 52px;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 7px 13px;
  border-radius: var(--border-radius);
  transition: background 0.15s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}

/* Burger icon */
.mobile-menu-toggle {
  background: var(--pastel-sky);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 10px;
  padding: 5px 15px;
  margin-left: 12px;
  display: none;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--pastel-sky);
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  box-shadow: var(--shadow-md);
}

/* ====================
   MOBILE MENU OVERLAY
   ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 350px;
  height: 100vh;
  background: var(--pastel-lilac);
  box-shadow: -6px 0 32px 0 rgba(28,38,85,0.13);
  z-index: 1200;
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(.35,1.15,.73,1.01);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  padding-left: 22px;
  padding-right: 18px;
  padding-bottom: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--pastel-salmon);
  border-radius: 50%;
  border: 1.5px solid var(--secondary);
  font-size: 2rem;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-lilac);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 4px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Hide on desktop, show on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
   FLEX SECTION RULES
   =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  min-width: 230px;
  max-width: 436px;
  color: #262841;
  border: 1.5px solid var(--pastel-lilac);
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(60, 52, 90, 0.13);
  border-color: var(--pastel-salmon);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Multiple testimonials carousel (index) */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 22px;
}
.team-member {
  background: var(--pastel-lilac);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  border: 1.5px solid var(--pastel-sky);
  transition: box-shadow 0.17s, border 0.16s;
}
.team-member:hover, .team-member:focus {
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--secondary);
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.benefits-list > div {
  background: var(--pastel-yellow);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  min-width: 190px;
  padding: 16px 22px 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--primary);
}

.blog-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.blog-card {
  background: var(--pastel-pink);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 16px 14px 18px;
  margin-bottom: 20px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s;
}
.blog-card:hover, .blog-card:focus-within {
  box-shadow: var(--shadow-md);
}
.blog-card a {
  color: var(--primary);
  font-family: var(--font-display);
  text-decoration: underline;
  font-weight: 600;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.15s;
}
.blog-card a:hover {
  opacity: 1;
  color: var(--secondary);
}

.featured-articles {
  margin: 20px auto 0 auto;
  background: var(--pastel-salmon);
  border-radius: 10px;
  color: var(--primary);
  padding: 8px 18px;
  text-align: center;
  font-weight: 600;
}

.newsletter-form {
  background: var(--pastel-mint);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 19px 22px;
  color: var(--primary);
  text-align: center;
  margin: 0 auto;
}

.map-location {
  background: var(--pastel-lilac);
  border-radius: 10px;
  padding: 12px 13px;
  margin: 18px 0;
}

.awards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 24px 0;
}
.awards-list li {
  background: var(--pastel-yellow);
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}
.accreditation-logos {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Content table styles */
table {
  width: 100%;
  margin-top: 24px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
}
thead {
  background: var(--pastel-lilac);
}
th, td {
  text-align: left;
  padding: 13px 18px;
  color: var(--primary);
}
th {
  font-weight: 700;
}
tbody tr:nth-child(even) {
  background: var(--pastel-salmon);
}
tbody tr:nth-child(odd) {
  background: var(--accent);
}

/* =======================
   HERO/FEATURES/CARDS ETC
   ======================= */
ul li, .content-wrapper ul li {
  margin-bottom: 14px;
  line-height: 1.65;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  width: 28px;
  margin-right: 6px;
  flex-shrink: 0;
  vertical-align: middle;
}

.team-preview {
  background: var(--pastel-lilac);
  border-radius: 9px;
  padding: 10px 14px;
  color: var(--primary);
  font-family: var(--font-display);
  margin-top: 11px;
  margin-bottom: 11px;
}

/* ================
   STAR RATING
   ================ */
.star-rating {
  display: flex;
  gap: 3px;
  align-items: center;
}
.star-rating img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(225, 192, 153, 0.12));
}

/* ===============
   FOOTER AREA
   =============== */
footer {
  background: var(--accent);
  box-shadow: 0 -2px 14px 0 rgba(28,38,85,0.04);
  margin-top: 80px;
  padding: 0 0 32px 0;
}
footer .container {
  padding-top: 38px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.1s;
}
.footer-nav a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  justify-content: center;
  align-items: center;
}
.footer-contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--secondary);
}
.footer-contact-info img {
  width: 20px;
  height: 20px;
}
.footer-brand {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--secondary);
  font-size: 0.96rem;
}
.footer-brand img {
  width: 42px;
  height: 42px;
}

/* =============================
   RESPONSIVE & MOBILE LAYOUTS
   ============================= */
@media (max-width: 920px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .card-container, .content-grid, .blog-previews, .testimonial-slider, .benefits-list, .team-grid, .awards-list, .accreditation-logos {
    gap: 16px;
  }
  .card, .testimonial-card, .team-member {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 21px;
    align-items: stretch;
  }
  .team-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-slider, .blog-previews {
    flex-direction: column;
    gap: 18px;
  }
  .benefits-list {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact-info {
    flex-direction: column;
    gap: 9px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .awards-list, .accreditation-logos {
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .cta-button, .cta-link {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-size: 1.05rem;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.28rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-contact-info {
    gap: 7px;
  }
}

/* =================
   COOKIE CONSENT
   ================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--pastel-lilac);
  box-shadow: 0 -2px 22px 0 rgba(60,52,90,0.13);
  border-top: 2px solid var(--accent);
  padding: 18px 12px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(.42,1.13,.94,.99), opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner__message {
  color: var(--primary);
  font-size: 1rem;
  flex: 2 1 210px;
  line-height: 1.6;
}
.cookie-banner__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 12px;
  background: var(--pastel-yellow);
  border: 1.7px solid var(--accent);
  box-shadow: var(--shadow-sm);
  padding: 9px 23px;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-btn.accept {
  background: var(--pastel-lilac);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-settings-btn {
  background: var(--pastel-sky);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60, 52, 90, 0.20);
  z-index: 2200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--pastel-lilac);
  border-radius: var(--border-radius);
  padding: 32px 30px 24px 30px;
  box-shadow: 0 6px 48px 0 rgba(28,38,85,0.15);
  min-width: 310px;
  min-height: 230px;
  max-width: 99vw;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.26s cubic-bezier(.42,1.09,.92,.99);
}
@media (max-width: 550px){
  .cookie-modal {
    padding: 20px 7vw 18px 7vw;
  }
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pastel-salmon);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--primary);
  padding: 0.18em 0.5em;
  border: 1.5px solid var(--secondary);
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal__close:hover {
  background: var(--accent);
}
.cookie-modal__title {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.cookie-modal__section {
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 0;
}
.cookie-modal__category-label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 600;
}
.cookie-toggle {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: var(--pastel-sky);
  border: 1.5px solid var(--pastel-mint);
  position: relative;
  margin-left: 7px;
  cursor: pointer;
  transition: background 0.22s;
  flex-shrink: 0;
}
.cookie-toggle.checked {
  background: var(--pastel-lilac);
  border-color: var(--primary);
}
.cookie-toggle.disabled {
  opacity: 0.56;
  pointer-events: none;
}
.cookie-toggle__circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pastel-pink);
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.18s;
}
.cookie-toggle.checked .cookie-toggle__circle {
  left: 21px;
  background: var(--pastel-salmon);
}

/* =============
   UTILITIES
   ============= */
.mt-32 { margin-top:32px; }
.mb-24 { margin-bottom:24px; }
.mb-40 { margin-bottom:40px; }
.pt-16 { padding-top:16px; }
.pb-16 { padding-bottom:16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* =============
   ANIMATIONS
   ============= */
@keyframes fadeInUp {
  0%	  { opacity:0; transform: translateY(30px); }
  100% { opacity:1; transform: translateY(0); }
}
.card, .testimonial-card, .team-member, .blog-card, .cookie-modal {
  animation: fadeInUp 0.68s cubic-bezier(.31,1.12,.72,1) 0.06s both;
}

/* ===========================
   END: CUSTOM CSS STYLE FILE
   =========================== */
