/* =============================================================
   CSS RESET & NORMALIZATION
   ============================================================= */
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 {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #F5F7FA;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3E5B;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.66;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.17s;
}
button, input, textarea, select {
  font: inherit;
}
a:focus, button:focus {
  outline: 2px solid #F9C846;
  outline-offset: 2px;
}

/* =============================================================
   BRAND FONTS (Google Fonts import if needed)
   ============================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');

:root {
  --primary: #2C3E5B;
  --secondary: #F5F7FA;
  --accent: #F9C846;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --text-dark: #2C3E5B;
  --text-light: #FFFFFF;
  --shadow-lg: 0 8px 32px rgba(44,62,91,0.12);
  --shadow-md: 0 4px 14px rgba(44,62,91,0.05);
  --radius: 18px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
}

/* =============================================================
   LAYOUT ELEMENTS
   ============================================================= */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-center {
  text-align: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 270px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
  margin-bottom: 24px;
  background: #fef5e7;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 8px solid var(--accent);
  max-width: 610px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================================================
   CREATIVE ARTISTIC: COLORFUL & UNIQUE BRAND EFFECTS
   ============================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: linear-gradient(125deg, #fff 80%, #fef5e7 100%);
}
section:nth-of-type(odd) {
  background: linear-gradient(105deg, #f6f9fd 80%, #e6e9f0 100%);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.19rem;
  color: #AD8808;
}
p, li, span {
  font-family: var(--font-body);
  color: #2c3e5b;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 2px;
}
strong {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* List Styling in Offer/Course/Feature Sections */
ul {
  list-style: none;
  margin-left: 0;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 0;
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  filter: drop-shadow(0 2px 8px #f9c8463d);
}
ul li span {
  color: #de9f0a;
  font-weight: 600;
  margin-left: 7px;
}
ul li:last-child {
  margin-bottom: 0;
}
ol {
  margin-left: 20px;
  counter-reset: ol-counter;
}
ol li {
  counter-increment: ol-counter;
  margin-bottom: 18px;
  position: relative;
}
ol li:before {
  content: counter(ol-counter) '.';
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-right: 8px;
}

/* For .text-center headers */
h2.text-center {
  margin-top: 0;
  margin-bottom: 28px;
}

/* =============================================================
   HEADER / NAVIGATION
   ============================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 10px 4px #f9f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 0 0 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
header nav a img {
  height: 48px;
  width: auto;
}
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  border-radius: 10px;
  padding: 7px 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
}
header nav ul li a:hover {
  background: var(--accent);
  color: #2C3E5B;
  box-shadow: 0 2px 12px #f9c84636;
}

/* MOBILE MENU ICON */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  box-shadow: var(--shadow-md);
  transition: background .18s, color .15s;
}
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #29213e;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.7,.1,.4,1);
  box-shadow: 0 8px 48px rgba(44,62,91,.18);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 22px 0 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.0rem;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 38px;
  gap: 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  padding: 18px 36px 18px 32px;
  width: 100%;
  border-bottom: 1px solid #36275d;
  transition: background 0.18s, color 0.15s;
  border-radius: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #393267;
  color: var(--accent);
}

/* Hide main navigation on mobile */
@media (max-width: 992px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  header nav a img {
    height: 36px;
  }
}

/* =============================================================
   BUTTONS & CTAs
   ============================================================= */
.cta, .cta.primary {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  padding: 13px 36px;
  border: none;
  border-radius: 16px 4px 18px 4px;
  box-shadow: 0 2px 24px #f9c8461f;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 5px;
  display: inline-block;
  transition: background 0.2s, color 0.14s, box-shadow 0.2s, transform .14s;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px #2c3e5b24;
}
.cta:hover, .cta:focus {
  background: #de9f0a;
  color: #fff;
  box-shadow: 0 8px 32px #f9c84636;
  transform: translateY(-2px) scale(1.025) rotate(-2.5deg);
}
.cta.primary:hover, .cta.primary:focus {
  background: #18253a;
  color: var(--accent);
  box-shadow: 0 10px 40px #18253a28;
  letter-spacing: 0.09em;
}

/* =============================================================
   CARDS, TESTIMONIALS & ARTISTIC DETAILS
   ============================================================= */
.card {
  box-shadow: var(--shadow-lg);
  border: none;
  background: linear-gradient(110deg, #f8fbff 89%, #e7ecfb 100%);
  transition: box-shadow .17s, transform .24s;
  cursor: pointer;
}
.card:hover {
  box-shadow: 0 12px 44px #2c3e5b1c;
  background: #fffbe7;
  transform: translateY(-8px) scale(1.025) rotate(-1.5deg);
}

.testimonial-card {
  background: #fffbe7;
  color: #312600;
  border-left: 8px solid var(--accent);
  box-shadow: var(--shadow-md);
  font-size: 1.06rem;
  line-height: 1.72;
  transition: box-shadow .18s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px #f9c84644;
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card strong {
  color: #2c3e5b;
  font-family: var(--font-display);
  font-size: 1.04rem;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 36px 0 12px 0;
  box-shadow: 0 -2px 32px #2c3e5b12;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer a {
  color: var(--accent);
  font-weight: 700;
  transition: color .16s, text-decoration .13s;
  text-decoration: underline dotted 1.8px #f9c846;
}
footer a:hover, footer a:focus {
  color: #fff;
  text-decoration: underline solid 1.8px #fffbae;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
}
footer .text-section p {
  color: #fff9e6;
  font-size: 0.98rem;
  line-height: 1.52;
  font-family: var(--font-body);
}
footer .content-wrapper a img {
  height: 40px;
  margin-bottom: 8px;
}
footer .text-section:last-child {
  margin-top: 10px;
}

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 8000;
  background: #fffbe7;
  color: #2c3e5b;
  box-shadow: 0 -4px 24px #ffc82b22;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: slideupIn 0.48s cubic-bezier(.7,.1,.6,1) 1;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-banner button {
  font-family: var(--font-display);
  border: none;
  border-radius: 13px 5px 13px 5px;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 25px;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 2px 13px #f9c84631;
  background: var(--accent);
  color: var(--primary);
  transition: background .17s, color .14s, box-shadow .18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #de9f0a;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #f5f7fa;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner button.cookie-settings:hover { 
  background: #fcf4cb; 
  color: #ad820d; 
}
@keyframes slideupIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie modal overlay */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22, 19, 39, 0.65);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .28s cubic-bezier(.25, .85, .51, 1) both;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fffbe7;
  border-radius: var(--radius);
  box-shadow: 0 14px 64px #252f5b33;
  padding: 36px 32px 28px 32px;
  width: 100%;
  max-width: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn .42s cubic-bezier(.7,.1,.6,1) 1;
}
@keyframes modalIn {
  from { transform: scale(.89) translateY(60px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 19px;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: #b09c3b;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: #2c3e5b;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 11px;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 22px;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #efecbf;
  border-radius: 24px;
  transition: background .22s;
  box-shadow: 0 0 0 0 #f9c84600;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--accent);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
  box-shadow: 0 2px 6px #cfbe569b;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}
.cookie-essential {
  font-weight: 700;
  color: #989845;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 9px 5px 13px 7px;
}

/* =============================================================
   RESPONSIVE DESIGN & ARTISTIC ADAPTATION
   ============================================================= */
@media (max-width: 1280px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 800px;
  }
  .footer .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start; 
  }
  .footer .content-wrapper, footer .content-wrapper {
    align-items: center;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  .section { padding: 24px 7px; }
  section { padding: 24px 0; }
  .content-wrapper, .footer .content-wrapper { gap: 20px; }
  .testimonial-card { max-width: 100%; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer ul { flex-direction: column; gap: 5px; }
  .footer .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .container { padding-left: 3px; padding-right: 3px; }
  .card { padding: 18px 6px; }
  .testimonial-card { padding: 11px 5px; gap: 10px; }
  .cta, .cta.primary { padding: 10px 17px; font-size: 1.01rem; }
}
@media (max-width: 480px) {
  h1, h2, h3 { text-align: left; }
  .testimonial-card strong { font-size: 1rem; }
}

/* ===================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ===================================================*/
.card, .testimonial-card, .cta, .cta.primary, .mobile-menu, .mobile-nav a, .cookie-banner, .cookie-banner button, .cookie-modal {
  will-change: transform, box-shadow;
}
.card:active {
  transform: scale(.98) rotate(-2.5deg);
}
.cta.primary:active {
  transform: scale(.97);
}

/* === UTILS == */
.hide { display: none !important; }
.visible { display: block !important; }

/* For accessibility: visually-hidden class */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
