/* ---------- 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, menu, 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;
}
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  height: 100%;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #181F2C;
  color: #fffdf6;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #41b883;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #56f4c3;
  outline: none;
}
ull, menu, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fffdf6;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px #253062aa;
}
h2 {
  font-size: 2rem;  
  margin-bottom: 18px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 12px;
  letter-spacing: .025em;
}
h4 { font-size: 18px; margin-bottom: 7px; }
strong {
  color: #41b883;
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #23375a;
  background: #fffdf6;
  border-left: 3px solid #41b883;
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: 8px 14px 14px 8px;
}

/* -------------------- UTILITY CLASSES --------------------- */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(27, 37, 54, 0.98);
  border-radius: 24px;
}
@media (max-width: 899px) {
  .section { margin-bottom: 40px; padding: 24px 8px; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 22px; padding: 16px 3vw; }
}

/* ------------------ HEADER & MAIN NAV ------------------ */
header {
  width: 100%;
  background: #181f2c;
  box-shadow: 0 3px 16px 0 #16182785;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 300;
}
.main-nav {  
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 0 36px;
  height: 74px;
}
.main-nav .logo-link {
  display: flex;
  align-items: center;
  margin-right: 20px;
  padding: 7px 0 7px 0;
}
.main-nav img {
  height: 48px;
  width: auto;
  transition: filter .25s;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fffdf6;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 10px;
  border-radius: 7px;
  transition: color 0.2s, background .2s;
}
.main-nav a.button.primary {
  background: linear-gradient(90deg, #41b883 12%, #324988 100%);
  color: #232a41;
  box-shadow: 0 2px 18px #41b88350;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 9px 27px;
  border-radius: 18px 10px 18px 10px;
  font-size: 1.11rem;
  margin-left: 18px;
  border: none;
  outline: none;
  text-align: center;
}
.main-nav a.button.primary:hover,
.main-nav a.button.primary:focus {
  background: linear-gradient(90deg, #7cfbb3 3%, #23375a 100%);
  color: #fffdf6;
  box-shadow: 0 4px 36px #71ffd622;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7cfbb3;
  background: #23375a44;
}

/* Hide mobile nav on desktop */
.mobile-menu-toggle { 
  display: none; 
}
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    position: absolute;
    right: 26px; top: 16px;
    width: 44px; height: 44px;
    font-size: 2rem;
    color: #41b883;
    background: none;
    border: none;
    border-radius: 9px;
    box-shadow: none;
    z-index: 999;
    transition: background .16s, box-shadow .23s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #23375acc;
    color: #fffdf6;
    outline: none;
    box-shadow: 0 2px 12px #108f6557;
  }
}

/* --------------- MOBILE MENU & NAVIGATION --------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 31, 44, 0.98);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  transform: translateX(100%);
  box-shadow: -6px 0 32px #1d23334b;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  margin: 28px 26px 8px 0;
  padding: 11px 18px 11px 18px;
  background: none;
  border: none;
  color: #41b883;
  font-size: 2.3rem;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
  align-self: flex-end;
  z-index: 1;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #23375ae0;
  color: #fffdf6;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 98vw;
  align-items: center;
  gap: 29px;
  margin-top: 54px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fffdf6;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 13px 48px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  text-align: center;
  width: 96vw;
  max-width: 420px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #41b883;
  color: #232a41;
  outline: none;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* ------------------------ HERO SECTION ------------------------ */
.hero {
  background: linear-gradient(115deg, #23375a 65%, #41b883 140%);
  padding: 64px 0 68px 0;
  margin-bottom: 54px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 36px #23375a1c;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  color: #fffdf6;
  text-align: center;
  letter-spacing: .02em;
}
.hero p {
  color: #fffdf6;
  font-size: 1.22rem;
  max-width: 630px;
  margin: 0 auto 18px auto;
  text-align: center;
}
.hero .button.primary {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .hero { padding:38px 0 44px 0; margin-bottom:32px; border-radius:0 0 18px 18px;}
  .hero h1 { font-size:2.05rem; }
}

/*-------------- FLEXBOX LAYOUTS & SPACING --------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222e43;
  border-radius: 18px;
  box-shadow: 0 4px 24px #23375a44;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover { box-shadow: 0 8px 36px #41b88333; transform: translateY(-3px) scale(1.011); }
.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;
}
@media (max-width:768px) {
  .text-image-section, .content-grid { flex-direction: column; gap: 18px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffdf6;
  color: #23375a;
  border-radius: 22px;
  margin-bottom: 22px;
  box-shadow: 0 8px 36px #32498811;
  transition: box-shadow .22s;
  flex-direction: row;
  min-width: 0;
}
.testimonial-card strong {
  color: #23375a;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 12px 44px #23375a34;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232f4a;
  border-radius: 16px;
  padding: 26px 18px;
  min-width: 230px;
  max-width: 340px;
  box-shadow: 0 1.5px 12px #41b88338;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.feature-item h3 { color: #41b883; font-size: 1.15rem; margin-bottom: 7px; }
.feature-item img { height: 36px; margin-bottom: 6px; filter: drop-shadow(0 1.5px 10px #41b88350); }
.feature-item:hover {
  box-shadow: 0 9px 44px #41b88366;
  transform: translateY(-3px) scale(1.011);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .features-grid { gap:17px; }
}

/* --------- CARDS, LISTS, PREVIEWS, SERVICE CARDS ---------- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #222e43;
  border-radius: 18px;
  box-shadow: 0 4px 24px #23375a34;
  padding: 32px 22px 28px 22px;
  width: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .16s, transform .17s;
}
.service-card .price {
  color: #41b883;
  font-weight: 700;
  font-size: 1.01rem;
  margin-top: 1em; margin-bottom: .5em;
}
.service-card .button.secondary {
  align-self: stretch;
  text-align: center;
}
.service-card:hover {
  box-shadow: 0 10px 38px #41b88380;
  transform: translateY(-4px) scale(1.013);
}
@media (max-width:900px) {
  .service-cards { gap:12px; }
  .service-card { width: 100%; padding:21px 11px; }
}
@media (max-width:600px) {
  .service-card { min-width:0; max-width:100%; font-size:.99rem; }
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-preview {
  background: #232f4a;
  border-radius: 16px;
  box-shadow: 0 4px 16px #41b88315;
  padding: 26px 20px;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .13s, transform .13s;
}
.blog-preview h3 { color: #41b883; }
.blog-preview:hover { box-shadow:0 10px 32px #41b88355; transform: translateY(-2px) scale(.99); }

/* ------------------ BUTTONS & INTERACTIONS ------------------ */
.button, button, input[type="submit"], .button.primary, .button.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 16px;
  background: #41b883;
  color: #232a41;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 11px 30px;
  font-size: 1.12rem;
  box-shadow: 0 2px 18px #41b88360;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow .19s, transform .13s;
  text-align: center;
  display: inline-block;
}
.button.primary {
  background: linear-gradient(90deg, #41b883 22%, #23375a 145%);
  color: #fffdf6;
  border-radius: 18px 10px 18px 10px;
}
.button.primary:hover, .button.primary:focus {
  background: linear-gradient(90deg, #7cfbb3 8%, #324988 110%);
  color: #fffdf6;
  box-shadow: 0 4px 32px #71ffd644;
  transform: translateY(-2px) scale(1.01);
}
.button.secondary {
  background: #232f4a;
  color: #41b883;
  border: 1.5px solid #41b88390;
  border-radius: 9px 18px 9px 18px;
  font-weight: 600;
  font-size: 1.06rem;
  margin-top: 7px;
  margin-bottom: 3px;
}
.button.secondary:hover, .button.secondary:focus {
  background: #41b883;
  color: #181F2C;
  box-shadow: 0 4px 21px #41b88333;
  outline: none;
}
.button:disabled, button[disabled] {
  opacity: .53;
  cursor: not-allowed;
}

/* -------------- SECTION/LIST STYLING ------------- */
.service-list, .course-list, .benefit-list, .editor-pick {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.service-list li, .course-list li {
  background: #222e43;
  color: #fffdf6;
  border-radius: 14px;
  box-shadow: 0 2px 14px #23375a22;
  padding: 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li h3, .course-list li h3 {
  color: #41b883;
  margin-bottom: 5px;
  font-size: 1.17rem;
}
.benefit-list, .editor-pick {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding:0;
  gap:8px;
}
.benefit-list li::before, .editor-pick li::before {
 content:'›'; color:#41b883; margin-right:9px;
}
@media (max-width:800px) {
  .service-list li, .course-list li { padding:15px 7px; font-size:.97rem; }
}

/* --------------- BLOG & SEARCH & TAGS --------------- */
.categories-list { margin:12px 0; color: #41b883; font-weight:600; font-size:1.07rem; }
.search-bar {
  display: flex;
  align-items: center;
  gap:12px;
  margin:14px 0 22px 0;
}
.search-bar label {
  font-family: 'Montserrat';
  font-size: 1rem;
  margin-right: 3px;
  color: #fffdf6;
}
.search-bar input[type="text"] {
  background: #222e43;
  color: #fffdf6;
  border: 1.5px solid #41b88380;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1.04rem;
  transition: border-color .14s;
}
.search-bar input[type="text"]:focus {
  border-color: #41b883;
  outline: none;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.tag-cloud span {
  background: #222e43;
  color: #41b883;
  border-radius: 15px;
  padding: 7px 19px;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  box-shadow: 0 1.5px 9px #41b88330;
  transition: background .15s, color .14s;
  cursor: default;
}

/* ---------- MAP & ADDRESS CARD ----------- */
.address-map {
  background: #222e43;
  border-radius: 16px;
  margin-top: 16px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 21px #41b88311;
}
.address-map img {
  height: 42px;
  width: 42px;
}

/* ----------- THANK YOU SECTION -------------- */
.thank-you-section {
  background: linear-gradient(135deg, #23375a 60%, #41b883 120%);
  padding: 62px 0;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 42px #23375a24;
  min-height: 60vh;
  text-align: center;
}
.thank-you-section .container { display: flex; justify-content: center; }
.thank-you-section .content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: center;
}

/*----------- FOOTER --------------*/
footer {
  background: #181F2C;
  color: #fffdf6;
  padding: 36px 18px 17px 18px;
  border-top: 4.5px solid #41b88344;
  margin-top: 62px;
  position: relative;
  z-index: 10;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #41b883;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background .15s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #41b883;
  color: #181F2C;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
@media (max-width:600px) {
  .footer-nav, .footer-nav a { font-size: 0.97rem; gap: 7px; }
  footer { padding:18px 2vw 8px 2vw; margin-top:30px; }
}


/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: rgba(24, 31, 44, 0.99);
  color: #fffdf6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 21px 12px 21px 12px;
  box-shadow: 0 -3px 18px #1e395544;
  z-index: 3500;
  font-size: 1rem;
  animation: banner-slide-up .4s cubic-bezier(.7,0,.2,1);
}
@keyframes banner-slide-up { from { transform: translateY(120%);} to { transform: translateY(0); } }
.cookie-banner button {
  margin-left: 8px;
  margin-right: 8px;
  padding: 9px 21px;
  font-size: 1rem;
  border-radius: 8px 15px 8px 15px;
}
.cookie-banner .accept {
  background: #41b883;
  color: #232a41;
  font-weight: 700;
  border: none;  
}
.cookie-banner .reject {
  background: #f4466e;
  color: #fffdf6;
  font-weight: 700;
  border: none;
  margin-left:6px;
}
.cookie-banner .settings {
  background: #232e44;
  color: #41b883;
  border: 1.5px solid #41b88370;
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #324988;
  color: #fffdf6;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ad1131;
  color: #fffdf6;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #41b883;
  color: #232a41;
}

/* ========== COOKIE MODAL POPUP ========= */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,40,58,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  animation: popup-fade-in .3s cubic-bezier(.7,0,.4,1);
}
@keyframes popup-fade-in { from { opacity:0;} to { opacity:1; } }
.cookie-modal-box {
  background: #181F2C;
  color: #fffdf6;
  padding: 33px 32px 27px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 32px #23375ab0;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  font-size: 1.04rem;
  position: relative;
}
.cookie-modal-box h3 {
  color: #41b883;
  margin-bottom: 6px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 6px 0;
}
.cookie-modal-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 19px;
  background: none;
  border: none;
  color: #41b883;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background .12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #23375aaf;
  color: #fffdf6;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width:1190px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.31rem; }
  .card-container, .features-grid, .content-grid, .blog-list, .service-cards { gap: 11px; }
  .testimonial-card { flex-direction: column; gap:9px; }
}
@media (max-width:600px) {
  html { font-size: 14.6px; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .container { padding: 0 5vw; }
  .hero, .thank-you-section { padding: 24px 0 !important; }
  .service-card, .blog-preview, .feature-item, .testimonial-card { padding: 12px 9px !important; font-size:.98rem; }
}
@media (max-width:520px) {
  .testimonial-card, .service-card, .blog-preview, .feature-item, .address-map { padding:7px 4px!important; }
  .cookie-modal-box {padding: 21px 8px;}
}

/* ========== SCROLLBAR STYLING ========== */
body::-webkit-scrollbar { width:10px; background: #181f2c; }
body::-webkit-scrollbar-thumb { background: #232f4a; border-radius:9px; }

/* ========== FOCUS AND SELECTION STATES ========== */
:focus-visible {
  outline: 2.5px solid #41b883;
  outline-offset: 2.5px;
}
::selection { background: #324988; color:#fffdf6; }

/* ======== SMALL ANIMATIONS ON HOVER =========== */
a, .button, button, .feature-item, .card, .service-card, .testimonial-card {
  transition-property: box-shadow, background, color, transform;
  transition-duration: .18s;
  transition-timing-function: cubic-bezier(.65,0,.23,1);
}

/* ============= TYPOGRAPHY HIERARCHY ============ */
body, p, li, span {
  font-size: 1.05rem;
  color: #fffdf6;
}
blockquote, .testimonial-card {
  font-size: 1.13rem;
}
@media (max-width:600px) {
  body, p, li, span, blockquote, .testimonial-card { font-size: .99rem; }
}

/* ============= INPUTS / FORMS ============= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #232f4a;
  color: #fffdf6;
  border: 1.5px solid #41b88380;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1.01rem;
  resize: vertical;
  transition: border-color .14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #41b883;
}

/* =========== MODERN FONTS LOADING =========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
