/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.8;
  background: #F8FAFC;
  color: #2a3450;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol { list-style: none; }

/* BRAND COLORS (Soft Pastel Palette) */
:root {
  --color-primary: #274893;
  --color-secondary: #F0F4F9;
  --color-accent: #FFB43A;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-card: #F6F6FC;
  --color-soft-mint: #daf2ed;
  --color-soft-pink: #fbe6e5;
  --color-soft-blue: #e3e9fa;
  --color-soft-purple: #f2eafe;
  --color-text: #2A3450;
  --color-link: #2b72ca;
  --color-success: #6ccbbf;
  --color-warning: #ffcd79;
  --shadow-xs: 0 1px 4px rgba(45,64,107,.08);
  --shadow-md: 0 6px 18px rgba(89,106,154,0.10);
  --radius: 18px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2rem; margin-top: 32px; }
h3 { font-size: 1.3rem; margin-top: 20px; }
h4 { font-size: 1.07rem; font-weight: 600; }
h5, h6 { font-size: 1rem; font-weight: 600; }
p, li {
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong { font-weight: 700; }
small { font-size: 0.95rem; color: #6a7891; }

/* LAYOUT CONTAINERS & FLEX SPACING */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.card-container,
.course-grid,
.resources-list,
.faculty-list,
.contact-info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .resource-item, .faculty-member, .course-card, .contact-block {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  padding: 30px 20px;
  flex: 1 1 240px;
  transition: box-shadow 0.24s;
}
.card:hover, .resource-item:hover, .faculty-member:hover, .course-card:hover, .contact-block:hover {
  box-shadow: 0 4px 18px rgba(101,109,165,.14);
}
.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: flex-start;
  gap: 20px;
  padding: 23px 26px;
  border-radius: var(--radius);
  background: var(--color-soft-blue);
  color: var(--color-text);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  max-width: 420px;
}
.testimonial-card span {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.90;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  background: var(--color-soft-mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  min-width: 230px;
}
.feature-item img {
  width: 44px;
  height: 44px;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(135deg, #e3e9fa 0%, #daf2ed 100%);
  padding: 52px 0 36px 0;
  border-radius: 0 0 26px 26px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.18rem;
}

/* BUTTONS & INTERACTIVE ELEMENTS */
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  background: var(--color-accent);
  color: #353741;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(255,180,58,0.07);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.23s, color 0.2s;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #FFD278;
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(255,180,58,0.14);
  outline: none;
}

/* NAVIGATION BAR (Desktop & Mobile) */
header {
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px;
}
.logo img {
  height: 45px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--color-primary);
  opacity: 0.94;
  padding: 8px 2px;
  border-radius: 8px;
  transition: background 0.14s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-soft-blue);
  color: #163168;
}

/* Mobile Burger Icon */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-soft-purple);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 16px;
  width: 46px;
  height: 46px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: background 0.18s;
  z-index: 52;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e3e9fa;
  outline: none;
}

/* Header responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(230,236,250,0.98);
  box-shadow: 0 6px 32px rgba(39,72,147,0.15);
  z-index: 400;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(.77,.2,.14,1.0);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 12px;
  margin: 22px 24px 0 0;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e3e9fa;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 46px 0 0 0;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  padding: 12px 6px 12px 0;
  border-radius: 7px;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-soft-pink);
  color: #b98322;
}

/* END NAVIGATION */

/* ABOUT & INFO SECTION STYLES */
.about, .about-brand, .why-choose-us, .team, .gdpr-section, .privacy-policy-section, .cookies-policy-section, .terms-section, .thank-you-section, .contact-section, .support-highlights, .learning-hub, .learning-experience, .event-calendar, .event-highlights, .faculty-profiles, .intro-instructors, .teaching-approach, .course-listings, .enroll-cta {
  margin-bottom: 60px;
  padding: 42px 0;
}

/* List Styles */
ul, ol {
  margin-left: 1.45rem;
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text);
}
ul li::marker, ol li::marker {
  color: var(--color-accent);
  font-size: 1.19em;
}

/* Cards & Special content blocks */
.course-card, .resource-item, .faculty-member {
  background: var(--color-soft-mint);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius);
  padding: 28px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.course-card:hover, .resource-item:hover, .faculty-member:hover {
  box-shadow: 0 8px 26px rgba(101,109,165,0.14);
}
.course-grid, .resources-list, .faculty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Contact Us Blocks */
.contact-info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.contact-block {
  background: var(--color-soft-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  gap: 6px;
  flex: 1 1 220px;
}
.contact-block h3 {
  font-size: 1.12rem;
  margin-bottom: 5px;
}
.contact-block img {
  width: 32px;
  margin-bottom: 7px;
}

/* CTA Section */
.cta {
  background: linear-gradient(110deg, #fbe6e5 0%, #e3e9fa 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta h2 { font-size: 2rem; }

/* Footer Styles */
footer {
  background: var(--color-secondary);
  margin-top: 40px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -3px 18px rgba(39,72,147,0.05);
}
footer .container {
  padding: 38px 18px 0 18px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid #ecf1fb;
}
.footer-logo img {
  width: 54px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-legal a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  opacity: 0.92;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--color-accent);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #355;
}
.footer-contact img {
  width: 19px;
}
.footer-bottom {
  padding: 25px 0 10px 0;
  text-align: center;
  color: #8da5c4;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(58,72,138,0.13);
  border-top: 2px solid var(--color-soft-mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 14px 26px 14px;
  z-index: 900;
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(200%);
}
.cookie-banner p {
  color: #38425c;
  font-size: 1.04rem;
  text-align: center;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 24px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  border: none;
  border-radius: 16px;
  font-size: 1.08rem;
  margin: 0 3px;
  box-shadow: 0 2px 7px rgba(255,180,58,0.10);
  transition: background 0.17s, color 0.14s;
}
.cookie-btn.settings {
  background: var(--color-soft-blue);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #e3e9fa;
  color: #9c5630;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffdb90;
  color: var(--color-primary);
  outline: none;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(22,24,41,0.30);
  z-index: 910;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.21s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 38px 28px 30px 28px;
  border-radius: 21px;
  box-shadow: 0 12px 68px rgba(58,72,138,0.08);
  min-width: 272px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  animation: cookieModalPop 0.28s cubic-bezier(.79,.08,.32,1.2);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.84); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-option label {
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
}
.cookie-option input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 19px;
  height: 19px;
  margin-right: 5px;
}
.cookie-option.essential label {
  font-weight: 700;
  color: #85a34d;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  margin-top: 10px;
  margin-right: 8px;
}
.cookie-modal .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #8892b2;
  font-size: 1.7rem;
  position: absolute;
  right: 32px;
  top: 24px;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .footer-main, .card-container, .course-grid, .resources-list, .faculty-list, .contact-info-blocks {
    flex-direction: column;
    gap: 18px;
  }
  .footer-main > * { width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section, .about-brand, .why-choose-us, .team, .gdpr-section, .privacy-policy-section, .cookies-policy-section, .terms-section, .thank-you-section, .contact-section, .support-highlights, .learning-hub, .learning-experience, .event-calendar, .event-highlights, .faculty-profiles, .intro-instructors, .teaching-approach, .course-listings, .enroll-cta {
    padding: 28px 0 24px 0;
  }
  .hero {
    padding: 36px 0 20px 0;
    border-radius: 0 0 18px 18px;
  }
  .card, .resource-item, .faculty-member, .course-card, .contact-block,
  .feature-item { min-width: 0; width: 100%; }
  .cookie-modal {
    padding: 24px 12px 18px 12px;
    max-width: 98vw;
  }
}
@media (max-width: 570px) {
  header .container {
    flex-direction: row;
    padding: 11px 6px;
  }
  .logo img { height: 35px; }
  .footer-logo img { width: 35px; }
  .footer-main {
    gap: 10px;
    padding-bottom: 19px;
  }
  .footer-bottom { padding: 10px 0 6px 0; }
  section, .section {
    margin-bottom: 36px;
    padding: 15px 0 11px 0;
  }
}

/* SIMPLE MICRO-INTERACTIONS */
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.96);
}
.feature-item img,
.contact-block img,
.footer-contact img {
  filter: drop-shadow(0 2px 2px rgba(255,180,58,0.03));
  transition: filter 0.1s;
}
.feature-item:hover img, .contact-block:hover img {
  filter: brightness(0.95) drop-shadow(0 2px 7px rgba(255,180,58,0.11));
}

/* Miscellaneous Styling */
main ul {
  list-style: disc inside;
  margin-left: 0.9rem;
}
main ol {
  list-style: decimal inside;
  margin-left: 0.9rem;
}
.section, section {
  background: var(--color-surface);
}

::-webkit-scrollbar {
  width: 8px;
  background: #f2f5fa;
}
::-webkit-scrollbar-thumb {
  background: #e5e9f4;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover { background: #d7def1; }

/* Accessibility: Focus Styles for Keyboard Navigation */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

/* Utility class to visually hide but accessibly present text (for cookie modals etc.) */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Make sure testimonial and review sections have strong contrast */
.testimonials, .testimonial-slider, .testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #1b2437;
  background: none;
}

/* End of style. */
