/* =====================================================
  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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
footer address {
  color: white !important;
}
body {
  line-height: 1.6;
  background: #F8F9FB;
  color: #222F3E;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* =====================================================
  BRAND VARIABLES (with fallback)
====================================================== */
:root {
  --primary: #14213D;
  --secondary: #FCA311;
  --accent: #E5E5E5;
  --white: #fff;
  --gray-light: #F8F9FB;
  --gray: #e0e3ea;
  --gray-dark: #6D798C;
  --box-shadow: 0 4px 16px rgba(40,50,70,0.06);
  --radius: 10px;
  --transition: 0.25s cubic-bezier(.35,.79,.26,1);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --nav-height: 80px;
}

/* =====================================================
  TYPOGRAPHY
====================================================== */
body {
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--gray-light);
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.17;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.22;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
address {
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
}

/* =============================================
  HEADER & NAVIGATION
============================================= */
header {
  width: 100%;
  background: var(--white);
  box-shadow: var(--box-shadow);
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 36px;
  height: 60px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.cta-primary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--secondary);
  color: var(--white)!important;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(252,163,17,0.06);
  margin-left: 32px;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: #e98403;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(252,163,17,0.12);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--white)!important;
  padding: 8px 22px;
  border-radius: 24px;
  margin-top: 22px;
  display: inline-block;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #32426c;
  color: var(--secondary);
  box-shadow: 0 8px 24px rgba(20,33,61,0.09);
  transform: translateY(-1px) scale(1.03);
}

/* HIDE DESKTOP NAV ON MOBILE, HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  margin-left: 24px;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 101;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffbb38;
  box-shadow: 0 0 0 2px var(--accent);
  color: var(--primary);
}
/* =============================================
  MOBILE MENU OVERLAY
============================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.4,.8,.3,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 2.3rem;
  color: var(--white);
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  line-height: 1;
  z-index: 203;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
}
.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition), background var(--transition);
  padding: 7px 0 7px 7px;
  border-radius: 8px;
  display: block;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* =============================================
  LAYOUT CONTAINERS & FLEXBOX
============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 900px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 24px;
  min-width: 260px;
}
.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(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(20,33,61,.06);
  padding: 24px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 36px rgba(20,33,61,0.17);
  border-color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 20px 18px 18px 18px;
  margin-bottom: 16px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-item img {
  height: 44px;
  margin-bottom: 4px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 30px rgba(20,33,61,.12);
  border: 1.5px solid var(--secondary);
}

/* SERVICE CARDS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 26px 26px 22px 26px;
  min-width: 240px;
  max-width: 290px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  border: 1px solid var(--accent);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 12px 38px rgba(20,33,61,0.12);
  border-color: var(--secondary);
}
.service-price {
  color: var(--secondary);
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 6px;
  font-family: var(--font-display);
}
.course-price {
  background: var(--accent);
  color: var(--primary);
  font-size: 1rem;
  border-radius: 6px;
  padding: 2px 10px;
  margin-left: 10px;
  font-family: var(--font-display);
}

/* HERO SECTION */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0 60px 0;
  position: relative;
}
.hero h1, .hero .h1 {
  color: var(--white);
  font-size: 2.55rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.17rem;
  color: #d4dae3;
  margin-bottom: 24px;
}
.hero .cta-primary {
  margin-top: 12px;
  background: var(--secondary);
  color: var(--white);
  border: none;
}

/* ===============  TESTIMONIALS/ SLIDER  =============== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 4px;
}
.stars {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.13rem;
}

/* ===============  FOOTER   =============== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 20px 28px 20px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #c9d1e5;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition), border-bottom var(--transition);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-contact img {
  width: 45px;
  height: auto;
  margin-bottom: 8px;
}
footer address a {
  color: var(--secondary);
  text-decoration: underline;
}
footer address a:hover, footer address a:focus {
  color: var(--white);
}

/* ===============  FORMS/ BUTTONS  =============== */
button,
input[type='submit'],
.cta-primary,
.cta-secondary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===============  COOKIE CONSENT BANNER  =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--white);
  width: 100%;
  z-index: 350;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(20,33,61,0.13);
  padding: 20px 14px 22px 14px;
  gap: 22px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
}
.cookie-banner button {
  border: none;
  outline: none;
  border-radius: 20px;
  padding: 7px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(252,163,17,0.16);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ef9002;
}
.cookie-banner .reject {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .settings {
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #c9d1e5;
  color: var(--primary);
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,48,74,.55);
  z-index: 401;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity var(--transition);
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  color: var(--primary);
  width: 98%;
  max-width: 420px;
  box-shadow: 0 8px 44px rgba(20,33,61,0.23);
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  z-index: 410;
  animation: cookieModalBounce 0.33s;
}
@keyframes cookieModalBounce {
  0%   { transform: scale(0.96) translateY(14px); opacity: 0.4; }
  90%  { transform: scale(1.04) translateY(-3px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0;
}
.cookie-modal .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal .cookie-cat label {
  cursor: pointer;
  font-weight: 500;
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin: 0 6px 0 0;
}
.cookie-modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 17px;
  border-radius: 18px;
  border: none;
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button.cancel {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: var(--gray);
  color: var(--primary);
}
.cookie-modal button.save:hover,
.cookie-modal button.save:focus {
  background: #e88800;
}

/* =============================================
  MEDIA QUERIES: RESPONSIVE DESIGN, FLEX LAYOUT
============================================= */
@media (max-width: 1000px) {
  .container { max-width: 96vw; }
  .service-list, .feature-grid, .content-grid, .testimonial-slider {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .main-nav { gap: 14px; font-size: 0.93rem; }
  .container { padding-left: 12px; padding-right: 12px; }
  .footer-nav { gap: 16px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .logo {
    margin-right: 16px;
    height: 45px;
  }
  .container { max-width: 100vw; }
  .section, .hero {
    padding: 28px 4px;
  }
  .service-list, .content-grid, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .service-card, .feature-item, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.28rem; }
  .footer-contact, .footer-nav { flex-direction: column; }
  .hero, .hero .container { padding: 25px 0 16px 0; }
  .cookie-modal { padding: 12px 4px 14px 4px; }
}

/* =============================================
  UTILITY CLASSES
============================================= */
.d-none { display: none !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* =============================================
  MICROINTERACTIONS/ANIMATION
============================================= */
.card,
.feature-item,
.service-card,
.cta-primary,
.cta-secondary,
.testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.card:hover,
.feature-item:hover,
.service-card:hover {
  box-shadow: 0 14px 40px rgba(20,33,61,0.13);
  transform: translateY(-3px) scale(1.02);
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(.98);
}

/* =============================================
  MISC
============================================= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

/* TAGS AND GENERAL ELEMENTS */
ul {
  margin-bottom: 16px;
  padding-left: 1.4em;
}
ul li, ol li {
  list-style: disc inside;
  margin-bottom: 10px;
  color: var(--primary);
}

hr {
  border: 0;
  border-bottom: 1px solid var(--accent);
  margin: 18px 0;
}

/* END OF STYLE */
