/* ====================================================
   Brillix Maintain – PROFESSIONAL CORPORATE STYLESHEET
   Author: Senior CSS Developer & UI Designer
   ==================================================== */

/* === 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F5F8;
  color: #1B263B;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #47A5C5;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #1B263B;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
}

/* === TYPOGRAPHY === */
h1, .display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: #1B263B;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  color: #1B263B;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1B263B;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #25314C;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: #425376;
}
strong {
  font-weight: 700;
  color: #1B263B;
}

/* === LAYOUT CONTAINERS === */
section {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px rgba(27,38,59,0.07);
  position: relative;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,38,59,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 20px 20px 20px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1B263B;
  transition: color .18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #47A5C5;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 20px;
}
/* Burger Icon */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #1B263B;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  margin-left: auto;
  transition: background .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E8ECF1;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B263B;
  color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.7,.3,.1,1);
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #fff;
  margin: 22px 22px 0 0;
  cursor: pointer;
  z-index: 1100;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #47A5C5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 32px 32px 32px;
  gap: 24px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  padding: 14px 0;
  border-radius: 6px;
  transition: background .2s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #47A5C5;
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
    padding: 12px 8px 12px 0;
  }
  .main-nav img { margin-right: 12px; height: 34px; }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child) { font-size: 0.95rem; }
  .main-nav { gap: 12px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 16px;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(109deg, #1B263B 82%, #47A5C5 100%);
  color: #fff;
  border-radius: 0 0 20px 20px;
  margin: 0;
  padding-top: 62px;
  box-shadow: 0 2px 14px rgba(27,38,59,0.17);
}
.hero .container { align-items: center; }
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  padding: 28px 0 38px 0;
  max-width: 680px;
}
.hero h1 {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: -1.2px;
}
.hero .subheadline {
  color: #E8ECF1;
}

/* === BUTTONS === */
.cta-button,
.see-more,
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  min-width: 160px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: #47A5C5;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(27,38,59,0.11);
  transition: background .22s, color .12s, box-shadow .18s;
  text-align: center;
  text-decoration: none;
  outline: none;
  margin-top: 10px;
}
.cta-button.primary,
.see-more {
  background: #47A5C5;
  color: #fff;
}
.cta-button.primary:hover, .see-more:hover {
  background: #1B263B;
  color: #fff;
}
.cookie-btn.accept {
  background: #47A5C5;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #2888ad;
}
.cookie-btn.reject {
  background: #E8ECF1;
  color: #1B263B;
}
.cookie-btn.reject:hover {
  background: #C6D2E1;
}
.cookie-btn.settings {
  background: transparent;
  color: #47A5C5;
  border: 1.5px solid #47A5C5;
}
.cookie-btn.settings:hover {
  background: #F8FCFF;
}

/* === FLEX LAYOUT PATTERNS & SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2.5px 10px rgba(31,41,68,0.08);
  padding: 28px 22px;
  transition: box-shadow .22s, transform .18s;
}
.card:hover {
  box-shadow: 0 5px 18px rgba(27,38,59,0.14);
  transform: translateY(-4px) scale(1.014);
}
.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 { flex-direction: column; align-items: flex-start; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F3F5F8;
  border-left: 4px solid #47A5C5;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 1.5px 7px rgba(40,55,80,0.06);
  font-size: 1rem;
  color: #1B263B;
}
.testimonial-card p {
  color: #1B263B;
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  color: #425376;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(66,83,118,0.08);
  border-radius: 10px;
  padding: 20px 18px;
  margin: 0;
  min-width: 220px;
  flex: 1 1 180px;
  transition: box-shadow .18s, transform .13s;
}
.feature-item img {
  height: 48px;
  width: 48px;
}
.feature-item:hover {
  box-shadow: 0 6px 18px rgba(27,38,59,0.13);
  transform: translateY(-3px) scale(1.012);
}

/* === INDEX PAGE (overview) === */
.features {
  background: #fff;
  border: 1px solid #E8ECF1;
  border-radius: 14px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.services-overview {
  background: #F3F5F8;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #E8ECF1;
  border-radius: 12px;
  padding: 26px 19px;
  margin-bottom: 20px;
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 260px;
  font-size: 1rem;
  box-shadow: 0 1.5px 7px rgba(40,55,80,0.06);
  transition: box-shadow .15s, transform .13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.service-card span {
  color: #47A5C5;
  font-weight: 600;
  font-size: 1.03rem;
}
.service-card:hover {
  box-shadow: 0 8px 20px rgba(31,41,68,0.14);
  transform: translateY(-4px) scale(1.018);
}
.see-more {
  margin-top: 10px;
  background: transparent;
  color: #47A5C5;
  border: 1.5px solid #47A5C5;
  font-weight: 500;
  min-width: 120px;
}
.see-more:hover {
  background: #47A5C5;
  color: #fff;
}

/* === USP / Feature Lists === */
.usp-grid, .feature-grid, .team-grid, .course-overview, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.usp-item {
  background: #fff;
  border: 1px solid #E8ECF1;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(66,83,118,0.09);
  padding: 20px 18px;
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .17s, transform .13s;
}
.usp-item img { height: 36px; width: 36px; }
.usp-item:hover {
  box-shadow: 0 6px 20px rgba(27,38,59,0.14);
  transform: translateY(-3px) scale(1.012);
}

/* === TEAM GRID === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.team-member {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 1.5px 7px rgba(40,55,80,0.07);
  min-width: 200px;
  flex: 1 1 160px;
}

/* === COURSE OVERVIEW === */
.course-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.course-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E8ECF1;
  padding: 20px 16px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(40,55,80,0.07);
}
.course-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.course-item .price { color: #47A5C5; font-weight: 600; }

.service-list {
  margin-top: 16px;
}
.service-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E8ECF1;
  padding: 20px 16px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(40,55,80,0.07);
}
.service-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.price {
  color: #47A5C5;
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 8px;
  letter-spacing: .5px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  padding-left: 16px;
  color: #25314C;
  font-size: 1.02rem;
}

/* === CTA SECTIONS === */
.cta {
  background: #1B263B;
  color: #fff;
  border-radius: 15px;
  margin-bottom: 45px;
  box-shadow: 0 2px 14px rgba(27,38,59,0.16);
  padding: 45px 20px;
}
.cta .content-wrapper h2,
.cta .content-wrapper p {
  color: #fff;
}

/* === ADDRESS BLOCK / CONTACT DATA === */
.address-block, .contact-data, .opening-hours {
  background: #f7fafd;
  color: #1B263B;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 16px;
  font-size: 1rem;
  word-break: break-word;
  box-shadow: 0 1px 4px rgba(31,41,68,0.06);
}
.contact-data a {
  color: #47A5C5;
}

/* === TEXT SECTIONS === */
.text-section {
  padding: 12px 0;
}
.text-section ul, .text-section ol {
  padding-left: 18px;
  margin-bottom: 14px;
}

/* === FOOTER === */
footer {
  background: #1B263B;
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 32px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F3F5F8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color .14s;
  opacity: 0.91;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #47A5C5;
  opacity: 1;
  text-decoration: underline;
}
.footer-info { text-align: center; font-size: 0.90rem; color: #94A2BE; margin-top: 2px; }

/* === COOKIE BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #25314C;
  color: #fff;
  border-top: 2.5px solid #47A5C5;
  box-shadow: 0 -8px 20px rgba(27,38,59,0.13);
  padding: 24px 16px 24px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  transition: transform .35s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 180px;
  min-width: 140px;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  box-shadow: 0 1px 4px rgba(31,41,68,0.10);
  margin: 0 4px;
  font-size: 0.97rem;
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1220;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,49,75,0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .18s;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1;} 
}
.cookie-modal {
  background: #fff;
  color: #1B263B;
  border-radius: 16px;
  box-shadow: 0 6px 48px rgba(27,38,59,0.19);
  padding: 34px 20px 22px 20px;
  max-width: 362px;
  min-width: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal .21s cubic-bezier(.39,.575,.565,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(60px) scale(.97);} to { opacity: 1; transform: none;}
}
.cookie-modal h2 { font-size: 1.3rem; color: #1B263B; margin-bottom: 9px; }
.cookie-modal ul {
  padding-left: 16px;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 11px;
  color: #25314C;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #47A5C5;
  width: 17px; height: 17px;
}
.cookie-modal .modal-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #7891B2;
  cursor: pointer;
  z-index: 1234;
}
.cookie-modal .modal-close:hover {
  color: #47A5C5;
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1100px) {
  .section, section {
    padding: 28px 10px;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-item, .service-card, .usp-item, .course-item, .team-member, .service-item {
    min-width: 160px;
    max-width: 100%;
    padding: 16px 10px;
  }
  .feature-grid,
  .service-cards,
  .card-container,
  .team-grid,
  .usp-grid,
  .service-list,
  .course-overview {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .hero {
    padding-top: 36px;
    border-radius: 0 0 14px 14px;
  }
  .section, section, .cta {
    padding: 18px 4px !important;
    margin-bottom: 36px !important;
    border-radius: 10px;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
  .testimonial-card {
    padding: 12px 7px;
    margin-bottom: 14px;
    border-radius: 7px;
  }
}
@media (max-width: 600px) {
  .hero .content-wrapper {
    padding: 7px 0 14px 0;
    max-width: 95vw;
  }
  .main-nav img, header img {
    height: 30px;
    margin-right: 0;
  }
  .feature-grid, .service-cards, .card-container, .usp-grid, .service-list, .course-overview, .team-grid {
    flex-direction: column;
    gap: 10px;
  }
  footer {
    padding: 22px 0 10px 0;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
  }
  .footer-info { font-size: 0.88rem; }
  .cookie-banner { flex-direction: column; gap: 13px; align-items: flex-start; padding: 22px 7px; }
  .cookie-modal { padding: 17px 7px 14px 7px; min-width: unset; max-width: 99vw; }
}

/* === ANIMATIONS & MICROINTERACTIONS === */
.card, .feature-item, .service-card, .usp-item, .team-member, .course-item, .testimonial-card {
  transition: box-shadow .15s, transform .13s;
}
.cta-button, .see-more, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .17s, border .13s;
}
.cta-button:active, .see-more:active, .cookie-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(0,0,0,0.09);
}

/* === FORM ELEMENTS === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 10px;
  border: 1px solid #CED7E4;
  border-radius: 6px;
  background: #fff;
  color: #1B263B;
  outline: none;
  margin-bottom: 16px;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #47A5C5;
}

/* === ACCESSIBILITY & SELECTION === */
::selection {
  background: #47A5C5;
  color: #fff;
}

/* === MISC === */
hr {
  border: 0;
  height: 1px;
  background: #E8ECF1;
  margin: 32px 0;
}
