/* ===============================================================
   CSS RESET & NORMALIZATION (minimal, modern)
   =============================================================== */
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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body {
  background: #fff;
  color: #272833;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #272833;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #B28F5C; }
ul { list-style-type: disc; margin-left: 1.4em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid #EFEFEF; margin: 40px 0; }

/* ===============================================================
   BRAND TYPOGRAPHY
   =============================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #272833;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #272833;
}
.text-section p,
.text-section ul,
.text-section ol {
  max-width: 46em;
}
blockquote {
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  color: #272833;
  font-style: italic;
  margin: 0 0 1em 0;
  padding-left: 18px;
  border-left: 3px solid #B28F5C;
  background: #FCFCFC;
}

/* ===============================================================
   MAIN LAYOUT & CONTAINERS (Mobile First, Flexbox)
   =============================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(39, 40, 51, 0.03);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* SPACING & FLEX LAYOUTS for Components */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(39, 40, 51, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(39, 40, 51, 0.11);
}
.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: 20px;
  background: #F5F6F7;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(39,40,51,0.08);
  max-width: 420px;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(39,40,51,0.16);
}
.testimonial-card blockquote {
  border-left: 2px solid #B28F5C;
  background: none;
  padding-left: 14px;
  margin-bottom: 0.7em;
}
.testimonial-meta {
  color: #87794B;
  font-size: 0.99em;
  font-family: 'Roboto', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FCFCFC;
  border-radius: 9px;
  padding: 20px;
}

/* Feature Grid / Service List / Faculty Profiles */
.feature-grid,
.faculty-profiles,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
}
.feature-grid > div,
.faculty-profiles > div,
.service-list > div,
.service-list > li {
  flex: 1 1 240px;
  min-width: 200px;
  background: #FCFCFC;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(39,40,51,0.05);
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover,
.faculty-profiles > div:hover,
.service-list > div:hover,
.service-list > li:hover {
  box-shadow: 0 12px 30px rgba(39,40,51,0.12);
}
.service-list {
  gap: 20px;
  flex-wrap: wrap;
}
.service-list > li,
.service-list > div {
  margin-bottom: 0;
}
.tag {
  display: inline-block;
  background: #EFE9DF;
  color: #87794B;
  border-radius: 8px;
  font-size: 0.86em;
  padding: 2px 9px;
  margin-left: 8px;
  letter-spacing: 0.01em;
}

/* Carousel for testimonials (simplified, flexbox)
-------------------------------------------------------- */
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Footer Layout
-------------------------------------------------------- */
footer {
  background: #F5F6F7;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 0 20px 0;
  border-radius: 14px 14px 0 0;
}
.footer-logo { min-width: 130px; }
.footer-main-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-main-menu a {
  font-size: 1rem;
  color: #272833;
  opacity: 0.82;
  letter-spacing: 0.01em;
  transition: color 0.17s, opacity 0.17s;
}
.footer-main-menu a:hover {
  color: #B28F5C;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97em;
  color: #7E7B87;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  width: 17px;
  height: 17px;
}
.footer-policies {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-policies a {
  font-size: 0.96em;
  color: #999;
  opacity: 0.84;
}
.footer-policies a:hover { color: #B28F5C; opacity: 1; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: #EFE9DF;
  border-radius: 50%;
  transition: background 0.17s;
}
.footer-social a:hover { background: #B28F5C; }
.footer-social img { width: 18px; height: 18px; }
.footer-bottom {
  text-align: center;
  color: #9E9E9E;
  font-size: 0.95em;
  opacity: 0.63;
  padding: 18px 0;
}

/* ===============================================================
   HEADER & NAVIGATION
   =============================================================== */
header {
  background: #fff;
  box-shadow: 0 4px 14px rgba(39, 40, 51, 0.05);
  border-bottom: 1px solid #F3F3F3;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
  position: relative;
}
.logo-link img {
  width: 150px;
  max-width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 1.05rem;
  color: #272833;
  padding: 6px 2px;
  border-radius: 6px;
  letter-spacing: 0em;
  opacity: 0.90;
  transition: color 0.15s, opacity 0.15s, background 0.17s;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:focus {
  color: #B28F5C;
  opacity: 1;
  background: #EFE9DF;
}
.cta-btn {
  display: inline-block;
  background: #B28F5C;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.18s, color 0.17s;
  box-shadow: 0 2px 12px rgba(178,143,92,0.10);
}
.cta-btn:hover,.cta-btn:focus {
  background: #272833;
  color: #fff;
  box-shadow: 0 4px 18px rgba(39,40,51,0.14);
  outline: none;
}

/* ===============
   MOBILE MENU
   =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #272833;
  cursor: pointer;
  margin-left: 20px;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.13s;
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EFE9DF;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,40,51,0.94);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.77,0.03,0.25,1);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.13rem;
  cursor: pointer;
  z-index: 1410;
  background: rgba(39,40,51,0.12);
  border-radius: 6px;
  padding: 2px 12px 2px 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B28F5C;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 85px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0em;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.19s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B28F5C;
  background: rgba(255,255,255,0.07);
  outline: none;
}

/* ===============
   Responsive Breakpoints
   =============== */
@media (max-width: 992px) {
  .container { max-width: 98vw; }
  .main-nav {
    gap: 19px;
  }
}
@media (max-width: 820px) {
  .footer-columns { flex-wrap: wrap; gap: 16px; }
  .footer-logo, .footer-contact, .footer-main-menu, .footer-policies, .footer-social {
    min-width: 110px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 34px 8px; }
  .container { padding: 0 9px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .footer-columns { flex-direction: column; gap: 20px; align-items: flex-start; }
  .feature-grid, .faculty-profiles, .service-list, .testimonial-carousel, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section { gap: 12px; }
  .testimonial-card, .feature-grid > div, .faculty-profiles > div, .service-list > div, .service-list > li {
    min-width: 0;
    max-width: 100% !important;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 519px) {
  .content-wrapper { gap: 10px; }
  .section { margin-bottom: 36px; padding: 20px 4px; border-radius: 7px; }
  .footer-columns { padding: 23px 0 8px 0; gap: 10px; }
  .footer-logo img { width: 88px; }
}

/* Consistent margins for all "cards" in flex containers */
.card-container > *,
.feature-grid > *,
.service-list > *,
.faculty-profiles > *,
.testimonial-carousel > * {
  margin-bottom: 20px;
}

/* =============================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================= */
button, [type="button"], [type="submit"] {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
.cta-btn, .cookie-btn, .cookie-modal-btn {
  display: inline-block;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 30px;
  background: #B28F5C;
  color: #fff;
  box-shadow: 0 2px 9px rgba(178,143,92,0.10);
  transition: background 0.18s, box-shadow 0.17s, color 0.18s, transform 0.15s;
  margin-right: 12px;
}
.cta-btn:active, .cookie-btn:active, .cookie-modal-btn:active {
  transform: scale(0.98);
}
.cta-btn:hover,.cta-btn:focus,
.cookie-btn:hover, .cookie-btn:focus,
.cookie-modal-btn:hover, .cookie-modal-btn:focus {
  background: #272833;
  color: #fff;
  box-shadow: 0 6px 18px rgba(39,40,51,0.12);
}


/* =============================
   MISC COMPONENTS & UTILITIES
   ============================= */

::-webkit-input-placeholder { color: #bebebe; opacity: 1; }
::-moz-placeholder { color: #bebebe; opacity: 1; }
:-ms-input-placeholder { color: #bebebe; opacity: 1; }
::placeholder { color: #bebebe; opacity: 1; }

/* Tag Utility for ages, etc. */
.tag {
  margin-left: 7px;
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #272833;
  color: #fff;
  padding: 20px 14px 17px 14px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  box-shadow: 0 -4px 28px rgba(39,40,51,0.14);
  font-size: 1.02em;
  border-radius: 18px 18px 0 0;
  justify-content: space-between;
  opacity: 0.98;
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.05em;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #B28F5C;
  color: #fff;
}
.cookie-btn.settings {
  background: #EFE9DF;
  color: #272833;
  border: 1px solid #B28F5C;
}
.cookie-btn.reject {
  background: #fff;
  color: #B28F5C;
  border: 1px solid #B28F5C;
}

/* Hide banner on mobile when cookie modal is open */
.cookie-consent-banner.hide { display: none; }

/* =============================
   COOKIE CONSENT MODAL
   ============================= */
.cookie-modal-wrapper {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(39,40,51,0.80);
  z-index: 1520;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #272833;
  border-radius: 18px;
  padding: 38px 35px 28px 35px;
  min-width: 300px;
  max-width: 92vw;
  min-height: 240px;
  box-shadow: 0 8px 40px rgba(39,40,51,0.21);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookieModalIn 0.28s cubic-bezier(0.77,0.03,0.25,1);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.95) translateY(24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-size: 1.18em;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 7px;
  color: #272833;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category.essential span { opacity: 0.68; color: #7E7B87; font-size:0.97em; }
.cookie-toggle {
  accent-color: #B28F5C;
  height: 22px;
  width: 22px;
}
/* Modal Actions */
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-modal-btn {
  min-width: 120px;
  font-size: 1em;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 1.6rem;
  color: #87794B;
  background: none;
  border: none;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EFE9DF;
  color: #272833;
}
@media (max-width: 479px) {
  .cookie-modal {
    padding: 15px 6vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    border-radius: 11px 11px 0 0;
  }
}

/* =============================
   ACCESSIBILITY & MICRO-INTERACTIONS
   ============================= */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #B28F5C;
  outline-offset: 2px;
}

.cta-btn:focus-visible, .cookie-btn:focus-visible, .cookie-modal-btn:focus-visible {
  outline: 2px solid #272833;
}

/* Subtle animations for hover/focus */
.cta-btn, .cookie-btn, .cookie-modal-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.card, .testimonial-card, .feature-grid > div, .faculty-profiles > div, .service-list > div, .service-list > li {
  transition: box-shadow 0.18s;
}

/* =============================
   PRINT & SELECTION
   ============================= */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  .section { box-shadow: none !important; background: #fff !important; }
}

::selection {
  background: #B28F5C;
  color: #fff;
}

/* =============================
   END OF STYLE.CSS
   ============================= */
