/* ========================================================================
   Bravon Academy Corporate CSS Framework
   Professional blue/gray palette, modern cards, formal Montserrat/Roboto fonts
   Flexbox-only responsive layouts · NO CSS Grid or CSS Columns used
   Includes: Reset, Typography, Layouts, Navigation, Cards, Buttons, CTAs, Cookie Banner
   ======================================================================== */

/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6f8fa;
  color: #223046;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: #224179;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #15A37A;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin: 16px 0;
  padding-left: 26px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* FONT SCALE & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #224179;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
p {
  margin-bottom: 12px;
  color: #333E4C;
}
.section p:last-child {
  margin-bottom: 0;
}

/* FLEXBOX CONTAINERS & SPACING */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(34, 65, 121, 0.07);
}
@media (max-width: 991px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}
.feature-grid, .offer-overview, .course-list, .workshops-list, .blog-list, .instructor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div, .offer-overview > div, .course-list > div, .workshops-list > div, .blog-list > div, .instructor-list > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #f5f8fb;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,65,121,0.06);
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.feature-grid > div:hover, .offer-overview > div:hover, .course-list > div:hover, .workshops-list > div:hover, .blog-list > div:hover, .instructor-list > div:hover {
  box-shadow: 0 6px 20px 0 rgba(34,65,121,0.12);
  transform: translateY(-4px) scale(1.02);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Testimonial Card Styling */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #f4f7f9;
  border-left: 4px solid #15A37A;
  box-shadow: 0 2px 10px 0 rgba(34,65,121,0.05);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px 26px 20px 22px;
  color: #223046;
  font-size: 1.075rem;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  color: #224179;
  margin-top: 8px;
  font-size: 1rem;
}
.testimonial-card span {
  color: #f6c93b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
}
.testimonials .testimonial-card {
  background: #fff;
  border-left: 4px solid #224179;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(21,163,122,0.13);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(98deg, #224179 72%, #2e5da8 100%);
  color: #fff !important;
  border-radius: 0 0 16px 16px;
  margin-bottom: 50px;
}
.hero .container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #F6C93B;
  color: #224179;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .hero {
    margin-bottom: 36px;
  }
  .hero .container {
    padding-top: 26px;
    padding-bottom: 26px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .section { padding: 20px 6px; }
}

/* BUTTONS & CTA */
.cta-btn, .cookie-btn {
  padding: 12px 28px;
  background: #15A37A;
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(21,163,122,0.10);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.15s;
  text-align: center;
  display: inline-block;
  margin-top: 12px;
}
.cta-btn:hover, .cookie-btn:hover {
  background: #0F7A57;
  color: #fff;
  box-shadow: 0 4px 12px 0 rgba(21,163,122,0.18);
  transform: translateY(-2px) scale(1.015);
}
.cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #F6C93B;
}

/* Card Containers for Utility */
.card-container, .card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(21, 163, 122, 0.04);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(34,65,121,0.13);
  transform: translateY(-4px) scale(1.01);
}

/* Content utility grids and layouts - Flexbox Only! */
.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, .feature-grid, .offer-overview, .course-list, .workshops-list, .blog-list, .instructor-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HEADER & MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(34, 65, 121, 0.07);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
.main-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 20px;
  height: 62px;
}
.main-menu > a {
  color: #224179;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  transition: color 0.13s;
  padding: 6px 12px;
  border-radius: 6px;
}
.main-menu > a.cta-btn {
  margin-left: auto;
  margin-right: 0;
  background: #F6C93B;
  color: #224179 !important;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(246,201,59,0.09);
}
.main-menu > a:not(.cta-btn):hover {
  color: #15A37A;
  background: #f6f8fa;
}
.main-menu img {
  height: 36px;
  margin-right: 14px;
}

/* Hide menu on mobile */
.mobile-menu-toggle {
  display: none;
  background: #224179;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 14px 3px 14px;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 101;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6C93B;
}
@media (max-width: 991px) {
  .main-menu > a:not(:first-child) {
    display: none;
  }
  .main-menu > a.cta-btn {
    display: none;
  }
  .main-menu {
    justify-content: flex-start;
    min-height: 55px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #223046;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.65,0,0.35,1), opacity 0.23s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 2px 48px 0 rgba(21, 163, 122, 0.16);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 18px; right: 28px;
  cursor: pointer;
  z-index: 202;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F6C93B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 72px;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  padding: 14px 0 10px 3px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
  font-weight: 500;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #15A37A;
  color: #fff !important;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  padding: 0 0 32px 0;
  background: #223046;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 32px 10px 0 10px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F6C93B;
  font-weight: 500;
  font-size: 1.035rem;
  text-decoration: none;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #15A37A;
  text-decoration: underline;
}
.footer-contact {
  color: #d3deee;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #F6C93B;
  text-decoration: underline;
}
.footer-branding {
  margin-top: 4px;
}
.footer-branding img {
  height: 38px;
}

@media (max-width: 991px) {
  footer .container {
    padding: 22px 5px 0 5px;
    font-size: 0.97rem;
    gap: 13px;
  }
  .footer-nav {
    gap: 10px;
    font-size: 1rem;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-branding img {
    height: 33px;
  }
}

/* POLICY & LEGAL PAGES */
.policy-text h2 { margin: 20px 0 8px 0; font-size: 1.22rem; color: #224179; }
.policy-text ul { margin-bottom: 8px; }
.policy-text p, .policy-text li { color: #2d3446; }
.policy-text a { text-decoration: underline; color: #15A37A; font-weight: 500; }
.policy-text a:hover { color: #224179; }
.policy {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(34, 65, 121, 0.08);
}

/* UTILITY CLASSES */
.muted { color: #6d7fa0 !important; }
.bg-accent { background: #f6c93b !important; color: #224179 !important; }
.bg-primary { background: #224179 !important; color: #fff !important; }

/* FORM ELEMENTS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #c3d3e6;
  border-radius: 7px;
  outline: none;
  margin-bottom: 18px;
  transition: border 0.12s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #15A37A;
  box-shadow: 0 0 0 2px #d2f6ed;
}
button {
  font-family: inherit;
}

/* SPECIAL COMPONENTS: Newsletter, Categories, Filters */
.newsletter-signup, .filters-search, .enrollment-info, .specialty-overview, .schedule-overview, .registration-info, .location-map, .categories-filter {
  margin: 18px 0 2px 0;
  background: #eff3f6;
  color: #224179;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1rem;
}
.categories-filter span {
  background: #15A37A;
  color: #fff;
  border-radius: 4px;
  padding: 2px 10px;
  margin-left: 3px;
  margin-right: 3px;
  font-weight: 600;
  font-size: 0.93rem;
}

/* ICONS */
.features img, .feature-grid img, .offer-overview img, .workshops-list img, .about img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 7px;
  filter: brightness(0.98) contrast(1.13);
}

/* COOKIE CONSENT BANNER (BOTTOM FIXED) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #223046;
  color: #fff;
  box-shadow: 0 -3px 24px 0 rgba(34,65,121,0.17);
  padding: 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  animation: cookie-banner-in 0.42s cubic-bezier(0.22,0.61,0.36,1);
}
@keyframes cookie-banner-in { 0% { opacity:0; transform: translateY(90px);} 100% {opacity:1; transform: none;} }
.cookie-banner__text {
  max-width: 600px;
  font-size: 1.03rem;
}
.cookie-btn {
  margin-right: 8px;
  margin-top: 0;
  border-radius: 7px;
  font-size: 1.02rem;
}
.cookie-btn.reject {
  background: #c3d3e6;
  color: #224179;
}
.cookie-btn.reject:hover {
  background: #d84d3f;
  color: #fff;
}
.cookie-btn.settings {
  background: #F6C93B;
  color: #224179;
}
.cookie-btn.settings:hover {
  background: #224179;
  color: #F6C93B;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 7px 16px 7px;
  }
  .cookie-banner__text {
    font-size: 0.98rem;
  }
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal {
  position: fixed;
  background: #fff;
  color: #224179;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.85);
  box-shadow: 0 6px 36px 0 rgba(34,65,121,0.22);
  border-radius: 16px;
  z-index: 10001;
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 94vh;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #224179;
}
.cookie-modal .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #15A37A;
  width: 18px; height: 18px;
  margin-right: 5px;
}
.cookie-modal .cookie-btn-bar {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px; right: 21px;
  font-size: 1.4rem;
  color: #224179;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .cookie-modal {
    min-width: 92vw;
    padding: 13vw 7vw 13vw 7vw;
  }
  .cookie-modal .close-modal {
    top: 9px; right: 10px;
  }
}

/* ANIMATIONS */
.cta-btn, .cookie-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.16s;
}
input, textarea, select {
  transition: border 0.13s, box-shadow 0.13s;
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.main-menu > a, .main-menu > a.cta-btn, .mobile-nav a {
  transition: background 0.13s, color 0.13s, transform 0.13s;
}

/* MISC */
::-webkit-input-placeholder { color: #8fa0be; }
::-moz-placeholder { color: #8fa0be; }
:-ms-input-placeholder { color: #8fa0be; }
::placeholder { color: #8fa0be; }

/* CUSTOM SCROLLBARS */
body::-webkit-scrollbar { width: 10px; background: #f6f8fa; }
body::-webkit-scrollbar-thumb { background: #c3d3e6; border-radius: 12px; }

/* =================
   END OF STYLESHEET
   ================= */
