/* CSS 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;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  background: #fff;
  color: #171717;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.22s; }
button { font: inherit; cursor: pointer; background: none; border: none; outline: none; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

/* MONOCHROME SOPHISTICATED STYLE + BRAND COLORS */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f3f4f6;
  --color-card: #f7f7f8;
  --color-primary: #115273;
  --color-secondary: #2F9DC0;
  --color-accent: #F1F8FB;
  --color-text: #18181A;
  --color-text-inverse: #fff;
  --color-muted: #555;
  --color-border: #D7DBDF;
  --color-shadow: rgba(24,24,26,0.07);
  --color-hero-gradient: linear-gradient(90deg, #222 30%, #18181A 100%);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TYPOGRAPHY SCALE: Primary = Montserrat, body = Roboto */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #151516;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.4rem; line-height: 1.23; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol, li { font-size: 1rem; }
p { margin-bottom: 1.2em; color: var(--color-muted); }
.text-section p,
.text-section ul,
.text-section ol { color: #222; }
.text-section ul, .text-section ol { padding-left: 20px; }
.text-section li { margin-bottom: 8px; }

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  width: 100%;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 32px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1B1C1E;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
}
nav a:hover,
nav a:focus {
  color: var(--color-primary);
}
nav a.btn-primary {
  margin-left: 12px;
}

/* BUTTON PRIMARY */
.btn-primary {
  display: inline-block;
  background: #18181a;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 12px 30px;
  border: none;
  box-shadow: 0 2px 8px rgba(24,24,26,0.06);
  transition: background 0.22s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(24,24,26, 0.11);
  transform: translateY(-1px) scale(1.025);
}

/* HERO SECTION */
.hero {
  background: var(--color-bg);
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
  border-bottom: 1.5px solid var(--color-border);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper h1,
.hero .content-wrapper p {
  color: #151516;
}
.hero .content-wrapper p {
  font-size: 1.18rem;
  color: #3a3a3f;
  margin-bottom: 28px;
}

/* SECTIONS & LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  background: #fff;
  position: relative;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 370px;
  padding: 30px 28px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(16, 16, 18, 0.13);
  transform: translateY(-2px) scale(1.0125);
}

.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 CARDS (for both slider and static) */
.testimonial-slider, .testimonial-card {
  width: 100%;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #E2E5E9;
  box-shadow: 0 2px 12px 0 rgba(38,40,52,0.08);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 420px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.testimonial-card p {
  color: #212123;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 12px;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(24,24,26,0.14);
  transform: translateY(-1.5px) scale(1.015);
}

/* FEATURE LISTS */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 14px;
  margin-bottom: 12px;
}
.features-list > *,
.values-list > * {
  background: #f6f6f7;
  border-radius: 12px;
  padding: 18px 18px 18px 18px;
  box-shadow: 0 2px 12px rgba(24,24,26, 0.06);
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.features-list img,
.values-list img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 22px 0;
}

/* SERVICES CARDS FOR INDEX */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 32px 0;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 20px 26px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border: 1px solid #ececec;
  transition: box-shadow 0.22s, transform 0.16s;
}
.service-card h3 {
  margin-bottom: 8px;
  color: #18181a;
  font-size: 1.1rem;
}
.service-card p {
  font-size: 0.98rem;
  color: #3C3C41;
  flex-grow: 1;
}
.service-card .price {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.service-card:hover {
  box-shadow: 0 8px 44px rgba(16, 16, 18, 0.13);
  transform: translateY(-3px) scale(1.021);
}

/* Detailed Courses List */
.service-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}
.service-detailed-list li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 22px 20px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #ececec;
  margin-bottom: 20px;
}
.service-detailed-list h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.13rem;
  margin-bottom: 2px;
  gap: 10px;
}
.service-detailed-list .price {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 12px;
}

/* TEAM MEMBERS GRID */
.team-members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.team-members-grid .text-section {
  background: #f7f7f9;
  border-radius: 13px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 22px 24px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* BLOG TEASERS GRID */
.blog-teasers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-teasers-grid .text-section {
  background: #f8f8f9;
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 20px 22px 18px 22px;
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.blog-teasers-grid .text-section:hover {
  box-shadow: 0 8px 32px rgba(16, 16, 18, 0.13);
  transform: translateY(-1.5px) scale(1.016);
}

/* TEXT SECTION (GENERIC) */
.text-section {
  margin-bottom: 16px;
  padding: 0;
}
.text-section strong {
  font-weight: 700;
}

/* FOOTER */
footer {
  background: #1a1a1b;
  color: var(--color-text-inverse);
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #d1dde6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
footer .text-section {
  background-color: #d1dde6;
  font-size: 0.97rem;
}

/* SPACING AND ALIGNMENT PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; 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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .container { max-width: 95vw; }
  .service-cards,
  .features-list,
  .blog-teasers-grid,
  .testimonial-slider,
  .team-members-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 14px; padding-right: 14px; }
  nav { gap: 20px; }
  .service-cards, .blog-teasers-grid, .testimonial-slider, .team-members-grid, .features-list, .values-list { gap: 14px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 5px; }
  header .container { flex-direction: row; gap: 18px; }
  nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .content-wrapper {
    padding: 0 0px;
  }
  .service-cards,
  .features-list,
  .blog-teasers-grid,
  .testimonial-slider,
  .team-members-grid {
    flex-direction: column;
    gap: 8px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 4px;
  }
  .hero { padding-top: 30px; padding-bottom: 16px; }
  .hero .container { padding: 0 8px; }
  h1 { font-size: 1.66rem; margin-bottom: 15px; }
  h2 { font-size: 1.23rem; margin-bottom: 12px; }
  .testimonial-slider, .blog-teasers-grid, .team-members-grid, .service-cards { gap: 8px; }
  .testimonial-card, .service-card, .card, .features-list > *, .values-list > * {
    max-width: unset;
    min-width: 0;
    width: 100%;
  }
  .card {
    padding: 20px 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .section, .hero { padding-left: 4px; padding-right: 4px; }
  .footer-nav { gap: 12px; font-size: 0.96rem; }
  .mobile-nav { flex-direction: column; gap: 18px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .btn-primary { width: 100%; padding: 13px 0; }
}

/* INTERACTIVE STATES (buttons/links) */
a, .btn-primary {
  transition: color 0.18s, background 0.2s, box-shadow 0.2s, transform 0.14s;
}
a:focus, .btn-primary:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  z-index: 2;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-left: 18px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.21s, background 0.16s;
  z-index: 1103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #212123;
  background: var(--color-accent);
  border-radius: 6px;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,11,15,0.97);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.59,.07,.72,.77);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0vw);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  margin: 23px 22px 12px 0;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: rgba(255,255,255,0.07); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  background: none;
  transition: background 0.18s, color 0.18s;
  width: 96vw;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (min-width: 769px) {
  .mobile-menu-toggle,.mobile-menu { display: none!important; }
  nav { display: flex!important; }
}

/* COOKIE CONSENT BANNER (fixed bottom) */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222223;
  box-shadow: 0 -2px 16px rgba(18,18,20,0.14);
  color: #fff;
  z-index: 1400;
  padding: 26px 24px 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: cookiein 0.46s cubic-bezier(.53,.16,.54,.82);
}
@keyframes cookiein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0px); }
}
.cookie-banner .cookie-banner-text {
  font-size: 0.99rem;
  color: #ecf2f7;
  flex: 1 1 220px;
  margin-bottom: 14px;
}
.cookie-banner .cookie-btn-area {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn-secondary {
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 18px rgba(24,24,26,0.09);
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .btn-secondary {
  background: none;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  color: var(--color-primary);
  background: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 6px 10px 6px;
  }
  .cookie-banner .cookie-btn-area { width: 100%;  justify-content: flex-start; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,19,22,0.7);
  z-index: 1600;
  display: flex; align-items: center; justify-content: center;
  animation: cookiein 0.45s cubic-bezier(.53,.16,.54,.82);
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #18181a;
  border-radius: 19px;
  box-shadow: 0 8px 48px rgba(16,20,30,0.26);
  padding: 38px 34px 24px 34px;
  min-width: 295px; max-width: 95vw;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2000;
  animation: cookiein 0.39s cubic-bezier(.53,.16,.54,.82);
}
.cookie-modal h2 {
  font-size: 1.16rem;
  margin-bottom: 7px;
  color: var(--color-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  background: #f6fafd;
  border-radius: 6px;
  padding: 10px 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #222223;
  flex: 1;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 42px; height: 22px;
  display: inline-block;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #dee5ec;
  border-radius: 12px;
  transition: background 0.17s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-primary);
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  top: 3.5px; left: 3.5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px rgba(24,24,26,0.09);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal .cookie-actions button {
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 9px rgba(24,24,26,0.09);
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .cookie-actions button.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.2px solid var(--color-primary);
}
.cookie-modal .cookie-actions button.btn-secondary:hover {
  background: var(--color-accent);
  color: #151516;
}
.cookie-modal .cookie-actions button:hover,
.cookie-modal .cookie-actions button:focus {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 14px 7px 14px 7px;
    min-width: 96vw;
    font-size: 0.98rem;
  }
}

/* MISC */
::-webkit-scrollbar { width: 9px; background: #eee; }
::-webkit-scrollbar-thumb { background: #adb1be; border-radius: 20px; }

/* Animations */
.card, .service-card, .testimonial-card, .blog-teasers-grid .text-section, .values-list > *, .features-list > *, .team-members-grid .text-section {
  will-change: box-shadow, transform;
  transition: box-shadow 0.23s, transform 0.16s;
}

/* Ensure consistent spacing between content cards & grid items */
.card, .service-card, .testimonial-card, .features-list > *, .values-list > *, .blog-teasers-grid .text-section, .team-members-grid .text-section {
  margin-bottom: 20px;
}

/* NO absolute positioning for content, only decorative if used. All above content layouts avoid position: absolute for core placement. */

/* Z-index layering for overlays */
.mobile-menu, .cookie-modal-overlay { z-index: 1600; }
.cookie-modal { z-index: 2000; }

/* Hide scrollbar arrows on macOS/webkit */
::-webkit-scrollbar-button { display: none; }
