/* ------------------- 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.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* --------- CSS VARIABLES (with fallback) --------- */
:root {
  --primary: #244C77;
  --secondary: #49A078;
  --accent: #F5F7FA;
  --yellow: #FFE066;
  --pink: #FF7F96;
  --blue: #58AFFF;
  --orange: #FFC947;
  --purple: #B39DDB;
  --white: #fff;
  --shadow: 0 4px 18px 0 rgba(36,76,119,0.12), 0 1.5px 3.5px 0 rgba(73,160,120,0.11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

body {
  background: var(--accent, #F5F7FA);
  color: #222;
  font-family: var(--font-body, 'Open Sans', Arial, sans-serif);
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}


/* ----------- TYPOGRAPHY ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  color: var(--primary, #244C77);
  font-weight: 800;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.subheadline {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--secondary, #49A078);
  margin-bottom: 20px;
  font-weight: 600;
}
.cta-subtext {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 20px;
  font-weight: 500;
}
strong {
  font-weight: bold;
}

/* ----------- CONTAINER & GLOBAL STRUCTURE ----------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.location-map {
  margin: 30px 0 0 0;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* ----------- HEADER & NAVIGATION ----------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(36,76,119,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
  z-index: 30;
}
header > a > img {
  height: 46px;
  margin-right: 16px;
  margin-left: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
}
.main-nav a {
  color: var(--primary);
  transition: color 0.18s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  border-bottom: 2.5px solid var(--secondary);
  transition: width 0.22s cubic-bezier(0.48,0.36,0.18,1.15);
  border-radius: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.button-primary {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 12px 0 rgba(73,160,120,0.13);
  margin-left: 22px;
  transition: background 0.22s, transform 0.16s;
  outline: none;
  border: none;
  letter-spacing: 0.01em;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.button-primary:hover, .button-primary:focus {
  background: var(--primary);
  color: var(--yellow);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 20px 0 rgba(36,76,119,0.15);
}
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--primary);
  background: var(--yellow);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 40;
  box-shadow: 0 2px 8px 0 rgba(36,76,119,0.08);
  transition: background 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--pink);
}

/* ----------- MOBILE MENU ----------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,76,119, 0.99);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 24px 24px 24px;
  transform: translateX(-150vw);
  transition: transform 0.35s cubic-bezier(0.53,0.15,0.34,1.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--yellow);
  background: transparent;
  align-self: flex-end;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 4px;
  border-radius: var(--radius-md);
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--yellow);
  transform: translateX(4px) scale(1.03);
}

/* ----------- SECTIONS GENERAL ----------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}
.hero {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 100%);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 0 8px 24px 0 rgba(73,160,120,0.07);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.cta {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px 0 rgba(36,76,119,0.07);
  text-align: left;
}
.cta h1, .cta h2 {
  color: var(--white);
}
.cta .cta-subtext {
  color: var(--yellow);
}

/* ----------- FLEXBOX PATTERNS ----------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- FEATURES GRIDS ----------- */
.features, .course-overview-grid, .feature-grid, .teacher-profiles, .testimonial-list, .faq-accordion {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
}
.feature-grid {
  gap: 24px 20px;
}
.feature-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 210px;
  flex: 1 1 210px;
  transition: transform 0.15s, box-shadow 0.17s;
  border-left: 8px solid var(--yellow);
  margin-bottom: 20px;
  position: relative;
}
.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-4px) scale(1.024);
  box-shadow: 0 8px 32px 0 rgba(73,160,120,0.18);
  border-left: 8px solid var(--pink);
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(1px 2px 0 var(--blue));
}

/* ---------- COURSE OVERVIEW ---------- */
.course-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.course-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  flex: 1 1 230px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  border-top: 5px solid var(--primary);
  position: relative;
}
.course-item:hover, .course-item:focus-within {
  box-shadow: 0 10px 32px 0 rgba(36,76,119,0.16);
  transform: scale(1.012) translateY(-3px);
  border-top: 5px solid var(--pink);
}

/* ---------- TEACHERS ---------- */
.teacher-profiles {
  flex-wrap: wrap;
  gap: 24px 18px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.teacher-profile {
  background: var(--blue);
  color: var(--primary);
  border-radius: var(--radius-md);
  min-width: 170px;
  flex: 1 1 210px;
  padding: 20px 16px 12px 16px;
  box-shadow: 0 2px 14px 0 rgb(88 175 255 / 15%);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.teacher-profile h3 {
  color: var(--primary);
  margin-bottom: 6px;
}
.teacher-profile:hover {
  box-shadow: 0 6px 20px 0 rgb(187 127 200 / 13%);
  transform: translateY(-3px) scale(1.016);
}

/* ---------- PRICE TABLE ---------- */
.price-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow-x: auto;
}
.price-table th, .price-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-display);
}
.price-table tr:not(:first-child):hover {
  background: var(--yellow);
  transition: background 0.15s;
}
.price-table th {
  background: var(--secondary);
  color: var(--white);
  font-weight: 800;
}
.price-table td {
  color: var(--primary);
  border-bottom: 1px solid var(--accent);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--accent);
  padding-top: 36px;
  border-radius: var(--radius-lg);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 14px 0 rgba(36,76,119,0.10);
  padding: 32px 26px;
  flex: 1 1 310px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(36,76,119,0.18);
  transform: translateY(-4px) scale(1.016);
}
.testimonial-content p {
  color: #222;
  font-size: 1.04rem;
  margin-bottom: 12px;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: var(--primary);
  display: flex;
  gap: 8px;
  font-weight: 700;
  align-items: center;
}
.stars {
  color: var(--yellow);
  font-size: 1.15rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion {
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px 0 rgba(36,76,119,0.06);
  padding: 18px 18px 12px 22px;
  transition: box-shadow 0.19s;
  border-left: 8px solid var(--secondary);
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: var(--secondary);
  margin-bottom: 7px;
}
.faq-item p {
  color: #242424;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 20px 0 rgba(73,160,120,0.16);
  border-left: 8px solid var(--yellow);
}

/* ---------- LEGAL/TEXT PAGES ---------- */
.legal .text-section,
.about .text-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 22px 22px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.legal ol, .legal ul, .about ul, .about ol {
  margin: 15px 0 10px 20px;
  list-style-position: inside;
}
.legal ol li, .legal ul li, .about ul li {
  padding-left: 2px;
  margin-bottom: 5px;
}

/* ---------- CONTACT INFO ICONS ---------- */
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.text-section ul li img {
  width: 26px;
  height: 26px;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 40px 20px 18px 20px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 8px;
}
.footer-nav a {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--pink);
}
.footer-contact {
  text-align: center;
  color: #E2EAFA;
  font-size: 0.98rem;
}
.footer-contact a {
  color: var(--yellow);
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-contact a:hover {
  color: var(--pink);
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--blue);
  color: var(--primary);
  padding: 22px 14px 18px 14px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -1px 18px 0 rgba(36,76,119,0.22);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: cookie-in .8s cubic-bezier(0.5,1.4,0.51,1.12);
}
@keyframes cookie-in {
  from { transform: translateY(130px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 6px 0 rgba(73,160,120,0.13);
  transition: background 0.18s, color 0.11s, transform 0.14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--yellow);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings {
  background: var(--yellow);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.02);
}
.cookie-btn.reject {
  background: var(--pink);
  color: var(--white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: var(--yellow);
  transform: scale(1.02);
}

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 400;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 76, 119, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .45s cubic-bezier(0.51,1.12,0.49,1.13);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 60px 0 rgba(36,76,119,0.11);
  width: 95vw;
  max-width: 420px;
  padding: 38px 26px 26px 26px;
  position: relative;
  animation: modal-rise .4s cubic-bezier(0.47,1.34,0.32,1.01);
}
@keyframes modal-rise {
  from { transform: translateY(64px) scale(1.02); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--secondary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px;
  height: 19px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
}

/* ---------- ANIMATION/INTERACTION ---------- */
.button-primary, .cookie-btn {
  transition: background 0.18s, color 0.11s, box-shadow 0.18s, transform 0.16s;
}
.feature-item, .course-item, .teacher-profile, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.14s;
}
@media (hover: hover) and (pointer: fine) {
  .feature-item:hover, .course-item:hover, .teacher-profile:hover, .testimonial-card:hover, .faq-item:hover {
    filter: brightness(1.03) saturate(1.12);
  }
}

/* ------------- RESPONSIVE DESIGN ------------- */
@media (max-width: 1020px) {
  .container { max-width: 94vw; }
  .feature-grid, .features, .testimonial-list, .course-overview-grid, .teacher-profiles {
    gap: 24px 0px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
    font-size: 0.97rem;
  }
  .footer-contact { font-size: 0.95rem; }
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 11px 10px;
  }
  .main-nav {
    display: none;
  }
  .button-primary {
    margin-left: 10px;
    padding: 11px 16px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    min-height: 210px;
    border-radius: 0;
  }
  .feature-item, .course-item, .teacher-profile, .testimonial-card {
    min-width: 96vw;
    max-width: 100%;
    flex: 1 1 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid, .features, .testimonial-list, .course-overview-grid, .teacher-profiles {
    flex-direction: column;
    gap: 20px 0px;
  }
  .testimonial-list {
    gap: 16px;
  }
  .cta {
    border-radius: 0;
    padding: 35px 10px 25px 10px;
  }
  .faq-item {
    min-width: 90vw;
    padding: 16px 8px 10px 13px;
  }
  .location-map, .legal .text-section, .about .text-section {
    padding: 20px 7px 15px 7px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  .footer-nav { gap: 11px; }
  .footer-contact { font-size: 0.92rem; }
}
@media (max-width: 500px) {
  header > a > img { height: 32px; }
  .cookie-banner { font-size: 0.97rem; padding: 14px 7px 12px 7px; }
  .cookie-modal { padding: 25px 6px 12px 6px; }
}

/* ---------- MISC DECORATIVES ---------- */
.hero {
  overflow: hidden;
}
.hero::before {
  content: '';
  display: block;
  position: absolute;
  top: -48px; right: -100px;
  width: 170px; height: 170px;
  z-index: 0;
  background: var(--pink);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.features::after {
  content: '';
  display: block;
  position: absolute;
  left: -24px; top: -24px;
  width: 42px; height: 42px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.16;
}
.section::after {
  content: '';
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.10;
  z-index: 0;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 6px;
}

/* ----------- ACCESSIBILITY FOCUS ----------- */
:focus {
  outline: 2px dashed var(--pink);
  outline-offset: 2px;
}
.button-primary:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--yellow);
}

/* --------- ELEVATION FOR MOBILE MENU --------- */
.mobile-menu {
  box-shadow: 8px 0 30px 0 rgba(36,76,119,0.18);
}

/* -------- UTILITY --------- */
.mt-3 { margin-top: 24px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* Ensure none of the required containers overlap, and apply default padding/margins at container edges */
.section, section, .features, .about, .services, .legal, .testimonials, .cta, .container, .main, main, .content-wrapper {
  box-sizing: border-box;
}

/* ----------- END OF STYLE.CSS ----------- */
