/* ------------------------------------------------------------
   RESET & BASE STYLES
------------------------------------------------------------ */
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, input, button,
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 {
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #294157; /* slightly softened dark navy */
  background-color: #FAFBFD;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #29506B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5B042;
}
ul,ol {
  list-style: none;
}
/* ------------------------------------------------------------
   FONT FACE (GOOGLE FONTS ASSUMED TO BE LOADED IN HTML HEAD)
------------------------------------------------------------ */

h1, h2, h3, .btn-primary, .btn-secondary, nav a, .testimonial-rating {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6 {
  color: #29506B;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.14;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; margin-bottom: 10px; }
strong { font-weight: 700; }


/* ------------------------------------------------------------
   CONTAINER & LAYOUT
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(41, 80, 107, 0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #F2F8FF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(41, 80, 107,0.05);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 10px 10px 10px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(41, 80, 107, 0.03);
}

/* ------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------ */
header {
  background: #E1E9F0;
  box-shadow: 0 2px 12px 0 rgba(41, 80, 107, 0.08);
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
.logo img {
  height: 42px;
  padding: 8px 0;
  filter: drop-shadow(0 2px 2px rgba(41,80,107,0.02));
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  padding: 7px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background-color: #F4E7DF;
  color: #F5B042;
}
nav .btn-primary {
  background: #F5B042;
  color: #29506B;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(245,176,66,0.08);
  letter-spacing: 0.025em;
  transition: background 0.2s, color 0.2s;
}
nav .btn-primary:hover, nav .btn-primary:focus {
  background: #F1A126;
  color: #fff;
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #29506B;
  cursor: pointer;
  padding: 6px 10px;
  margin-left: 10px;
  border-radius: 10px;
  transition: background 0.2s;
  z-index: 40;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EDE7FB;
}

/* Hide nav by default on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------------------------------------------------
   MOBILE MENU OVERLAY
------------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(225, 233, 240, 0.96);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 28px 12px 0;
  background: #FFF;
  border: none;
  border-radius: 18px;
  font-size: 2rem;
  color: #29506B;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 10px 16px;
  box-shadow: 0 2px 16px 0 rgba(41,80,107,0.09);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F5B042;
  color: #29506B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100vw;
  max-width: 360px;
  padding: 16px 32px 32px 48px;
  gap: 18px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #29506B;
  padding: 14px 8px;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  text-align: right;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: #F5B042;
  color: #FFF;
}

/* ------------------------------------------------------------
   HERO SECTIONS & BACKGROUND
------------------------------------------------------------ */
.hero {
  background: linear-gradient(160deg, #F8F9FF 70%, #D6E6F5 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 48px;
  border-radius: 0 0 60px 60px/0 0 28px 28px;
  box-shadow: 0 4px 42px 0 rgba(225,233,240,0.31);
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.4rem;
}
.hero p {
  color: #4A728F;
  font-size: 1.15rem;
}

/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */
.btn-primary, .btn-secondary {
  display: inline-block;
  min-width: 150px;
  padding: 12px 28px;
  border-radius: 22px;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 16px 0 rgba(41,80,107,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 16px 0 0 0;
}
.btn-primary {
  background: #F5B042;
  color: #29506B;
  letter-spacing: 0.025em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #29506B;
  color: #FFF;
  box-shadow: 0 4px 32px 0 rgba(41,80,107,0.16);
}
.btn-secondary {
  background: #fff;
  color: #29506B;
  border: 2px solid #F5B042;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F5B042;
  color: #FFFFFF;
  border-color: #F5B042;
}

/* ------------------------------------------------------------
   CARDS & FEATURES
------------------------------------------------------------ */
/* .feature-grid, .course-list, .team-grid, .blog-list, .value-highlights, .accreditation, .categories */
.feature-grid, .course-list, .team-grid, .blog-list, .value-highlights, .accreditation, .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .course-list > div, .team-grid > div, .blog-list > div {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(41,80,107,0.03);
  flex: 1 1 240px;
  min-width: 240px;
  max-width: calc(48% - 12px);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .course-list > div:hover, .team-grid > div:hover, .blog-list > div:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 8px 32px 0 rgba(45,115,155,0.09);
}
.feature-grid img, .course-list img {
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.94;
}
.value-highlights span, .accreditation span, .categories span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FBEFD2;
  color: #29506B;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.value-highlights, .accreditation, .categories {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

/* ------------------------------------------------------------
   FORMS, INPUTS, SEARCH
------------------------------------------------------------ */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E1E9F0;
  border-radius: 12px;
  font-size: 1rem;
  color: #29506B;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.17s, box-shadow 0.16s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #F5B042;
  box-shadow: 0 0 3px 0 #F5B042;
}


/* ------------------------------------------------------------
   TESTIMONIALS
------------------------------------------------------------ */
.testimonials {
  background: #E4F1FB;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 10px 36px 10px;
}
.testimonials .testimonial-card {
  background: #fff;
  border: 2px solid #D6E6F5;
  box-shadow: 0 4px 24px 0 rgba(41,80,107,0.05);
  color: #29506B;
}
.testimonials .testimonial-card p {
  font-size: 1.16rem;
  color: #29506B;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.testimonial-name {
  color: #4A728F;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-rating {
  color: #F5B042;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ------------------------------------------------------------
   BLOG CATEGORIES & SEARCH
------------------------------------------------------------ */
.categories {
  margin-top: 10px;
  gap: 10px;
  flex-wrap: wrap;
}
.categories strong {
  color: #29506B;
  margin-right: 8px;
}

/* ------------------------------------------------------------
   NEWSLETTER SIGNUP
------------------------------------------------------------ */
.newsletter {
  background: #F5F9FD;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 10px;
  text-align: center;
}
.newsletter .btn-primary { margin: 24px 0 0 0; }

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
footer {
  background: #E1E9F0;
  color: #29506B;
  padding: 0 0 0 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(225,233,240,0.14);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 18px 24px 18px;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #29506B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 0;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
footer nav a:hover,footer nav a:focus {
  background: #F5B042;
  color: #fff;
}
footer .contact-info div {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #29506B;
}

/* ------------------------------------------------------------
   SPECIAL & DETAIL SECTIONS
------------------------------------------------------------ */
.about, .about-us, .why-choose, .services, 
.blog-intro, .courses-overview, .course-features, .faq-list, .faq-cta, .contact-details, .branch-info, .legal, .thank-you, .student-benefits {
  background: #FFFFFF;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px 0 rgba(41,80,107,0.03);
}
.team-grid > div, .blog-list > div {
  min-width: 220px;
  flex: 1 1 220px;
}
.opening-hours {
  margin-top: 14px;
  background: #E1E9F0;
  color: #29506B;
  border-radius: 12px;
  padding: 12px 20px;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.social-links a {
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(41,80,107,0.08);
  padding: 8px;
  display: flex;
  transition: background 0.16s;
}
.social-links a:hover,
.social-links a:focus {
  background: #F5B042;
}

/* ------------------------------------------------------------
   FAQ SECTIONS
------------------------------------------------------------ */
.faq-list > .content-wrapper > div {
  background: #F9FAFB;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(41,80,107,0.05);
  margin-bottom: 18px;
  padding: 16px 16px 14px 18px;
}
.faq-list h3 {
  color: #F5B042;
  font-size: 1.1rem;
}
.faq-list p {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   COOKIE CONSENT BANNER
------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFF3E6;
  color: #29506B;
  border-top: 2px solid #F5B042;
  box-shadow: 0 -6px 34px 0 rgba(245,176,66,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  z-index: 2000;
  gap: 25px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: opacity 0.28s, transform 0.23s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  flex: 1 1 auto;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px;
  padding: 8px 18px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .accept {
  background: #F5B042;
  color: #29506B;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #29506B;
  color: #fff;
}
.cookie-banner .reject {
  background: #E1E9F0;
  color: #29506B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #29506B;
  color: #fff;
}
.cookie-banner .settings {
  background: #FFF;
  color: #F5B042;
  border: 2px solid #F5B042;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F5B042;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41, 80, 107, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 42px 0 rgba(41,80,107,0.16);
  padding: 40px 30px 30px 30px;
  max-width: 400px;
  width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #29506B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #29506B;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover { color: #F5B042; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
}
.cookie-modal .toggle-switch {
  width: 36px;
  height: 22px;
  background: #E1E9F0;
  border-radius: 16px;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
  margin-left: 12px;
}
.cookie-modal .toggle-switch.enabled {
  background: #F5B042;
}
.cookie-modal .toggle-thumb {
  width: 17px;
  height: 17px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  top: 2.5px; left: 2.5px;
  transition: left 0.18s;
}
.cookie-modal .toggle-switch.enabled .toggle-thumb {
  left: 16px;
}
.cookie-modal .toggle-switch[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px;
  padding: 8px 18px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal .modal-actions .save {
  background: #F5B042;
  color: #29506B;
}
.cookie-modal .modal-actions .save:hover {
  background: #29506B;
  color: #fff;
}
.cookie-modal .modal-actions .cancel {
  background: #E1E9F0;
  color: #29506B;
}
.cookie-modal .modal-actions .cancel:hover {
  background: #29506B;
  color: #fff;
}

/* ------------------------------------------------------------
   UTILITIES
------------------------------------------------------------ */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 2px !important; }
.mb-4 { margin-bottom: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* ------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .content-wrapper { gap: 10px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .content-wrapper { gap: 8px; }
  .feature-grid>div, .course-list>div,
  .team-grid>div, .blog-list>div {
    min-width: 90vw;
    max-width: 100%;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px 8px 16px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.92rem; }
  h2 { font-size: 1.32rem; }
  .section, .about, .services, .about-us, .why-choose, .student-benefits, .newsletter, .faq-list, .course-features, .courses-overview, .blog-intro, .contact-details, .branch-info, .legal, .thank-you {
    padding: 28px 10px;
    margin-bottom: 34px;
    border-radius: 14px;
  }
  .testimonials {
    border-radius: 16px;
    padding: 24px 4px 24px 4px;
  }
  .container { padding-left: 6px; padding-right: 6px; }
  .content-grid, .feature-grid, .course-list, .team-grid, .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 4px;
  }
  .hero { border-radius: 0 0 26px 26px/0 0 12px 12px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { padding: 14px; }
  .categories { gap: 7px; }
}
@media (max-width: 508px) {
  .section, .about, .about-us, .why-choose, .services, .student-benefits, .newsletter, .faq-list, .course-features, .courses-overview, .blog-intro, .contact-details, .branch-info, .legal, .thank-you {
    padding: 16px 4px;
    border-radius: 7px;
  }
  .container { padding: 0 0; }
  .content-wrapper { gap: 2px; }
}
/* ------------------------------------------------------------
   END CSS
------------------------------------------------------------ */
