/* STAGEEASE ACADEMY "modern_bold" CSS — mobile-first, flexbox-only, high-contrast, bold, responsive, modern */

/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F6F8FA;
  color: #183153;
  font-family: 'Nunito', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #37B77F;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 20px;
}
b, strong {
  font-weight: 700;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #183153;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.125rem;
}
.subheadline {
  font-size: 1.125rem;
  color: #183153;
  opacity: 0.8;
  font-weight: 600;
  margin-bottom: 28px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== FLEXBOX LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(24, 49, 83, 0.06);
  position: sticky;
  top: 0;
  z-index: 80;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
nav .logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
nav ul li {
  display: flex;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #183153;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
  position: relative;
}
nav ul li a:hover,
nav ul li a:focus {
  color: #37B77F;
  border-bottom: 2px solid #37B77F;
}
.cta-button {
  background: #37B77F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  padding: 12px 32px;
  border: none;
  border-radius: 36px;
  box-shadow: 0 4px 18px rgba(55, 183, 127, 0.11);
  cursor: pointer;
  transition: background 0.2s, color 0.15s, box-shadow 0.14s;
  letter-spacing: 0.03em;
  display: inline-block;
  margin-left: 28px;
}
.cta-button:hover, .cta-button:focus {
  background: #183153;
  color: #37B77F;
  box-shadow: 0 4px 20px rgba(24, 49, 83, 0.22);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #183153;
  background: #F6F8FA;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 120;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.mobile-menu-toggle:focus {
  background: #e3e9ee;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #183153;
  color: #fff;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  padding-top: 48px;
  padding-left: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 125;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #37B77F;
}
.mobile-nav {
  margin-top: 48px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  color: #fff;
  font-weight: 700;
  padding: 14px 0;
  border-left: 5px solid transparent;
  transition: border-color 0.17s, background 0.18s, color 0.15s;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #11223b;
  border-left: 5px solid #37B77F;
  color: #37B77F;
}
/* Hide nav for mobile by default and show burger */
@media (max-width: 1023px) {
  nav ul, nav .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* ===== SECTIONS & FLEX CONTAINERS ===== */
section {
  background: #F6F8FA;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(24,49,83,0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.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: 18px;
  box-shadow: 0 4px 16px rgba(24,49,83,0.09);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 250px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(55,183,127,0.13), 0 2px 8px rgba(24,49,83,0.11);
  transform: translateY(-3px) scale(1.018);
}
.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: 28px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(24,49,83,0.07);
  margin-bottom: 20px;
  max-width: 520px;
  border-left: 6px solid #37B77F;
  transition: box-shadow 0.16s, border-color 0.13s;
  position: relative;
}
.testimonial-card:hover {
  border-left: 6px solid #183153;
  box-shadow: 0 12px 36px rgba(55,183,127,0.10), 0 3px 12px rgba(24,49,83,0.13);
}
.testimonial-text {
  font-size: 1.15rem;
  color: #183153;
  font-weight: 600;
  margin-bottom: 12px;
}
.testimonial-info {
  font-size: 1rem;
  color: #183153;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 0;
}
.star-rating {
  color: #FFD902;
  font-size: 1.25rem;
  margin-left: 8px;
}
.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 700px) {
  .testimonial-slider {
    flex-direction: row;
    align-items: stretch;
  }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  min-width: 240px;
  max-width: 325px;
  flex: 1 1 220px;
  border-radius: 16px;
  padding: 30px 20px 22px 20px;
  box-shadow: 0 2px 13px rgba(55,183,127,0.09),0 4px 12px rgba(24,49,83,0.07);
  transition: box-shadow 0.22s, transform 0.11s;
}
.feature:hover {
  box-shadow: 0 8px 30px rgba(55,183,127,0.14),0 1px 4px rgba(24,49,83,0.13);
  transform: translateY(-2px);
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(0.2);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 1rem;
}
.service-highlights li {
  background: #fff;
  border-left: 7px solid #37B77F;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24,49,83,0.06);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.service-price {
  background: #37B77F;
  color: #fff;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 800;
  padding: 2px 12px;
  margin-left: 20px;
  letter-spacing: 0.07em;
}

/* OTHERS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Footer Styles */
footer {
  background: #183153;
  color: #fff;
  padding: 44px 0 30px 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.footer-logo img {
  width: 58px;
  height: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  opacity: 0.93;
  transition: color 0.21s, opacity 0.13s;
  font-size: 1rem;
  border-bottom: 1.5px solid transparent;
}
.footer-menu a:hover {
  color: #37B77F;
  border-bottom: 1.5px solid #37B77F;
  opacity: 1;
}
.contact-info {
  font-size: 0.97rem;
  font-weight: 500;
  color: #DAF5EC;
  opacity: 0.82;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.social-links a {
  background: #fff;
  border-radius: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 6px rgba(55,183,127,0.08);
  transition: background 0.14s, transform 0.13s;
}
.social-links a:hover {
  background: #37B77F;
  transform: scale(1.10) rotate(-8deg);
}
.social-links img {
  width: 22px;
  height: 22px;
  filter: grayscale(0.13) contrast(1.2);
}

/* Responsive layout for footer and main */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 44px;
    justify-content: space-between;
  }
  .content-wrapper {
    gap: 32px;
  }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.29rem; }
  h3 { font-size: 1.05rem; }
  .container { padding: 0 7px; }
  section, .section { padding: 26px 7px; }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-content, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .section, section {
    padding: 28px 6px;
    margin-bottom: 48px;
  }
}

/* ===== BUTTONS & INTERACTIVE ===== */
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
}
button:active, .cta-button:active {
  outline: 2px solid #37B77F;
}
button::-moz-focus-inner { border: 0; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #183153;
  box-shadow: 0 -2px 18px rgba(24,49,83,0.12);
  z-index: 170;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 1rem;
  animation: cookieSlideIn 0.37s cubic-bezier(.56,1.51,.21,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  min-width: 120px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(24,49,83,0.09);
}
.cookie-accept {
  background: #37B77F;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #183153;
  color: #37B77F;
}
.cookie-deny {
  background: #fff;
  color: #183153;
  border: 2px solid #37B77F;
}
.cookie-deny:hover, .cookie-deny:focus {
  background: #37B77F;
  color: #fff;
}
.cookie-settings {
  background: #183153;
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #37B77F;
  color: #183153;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,49,83,0.54);
  z-index: 175;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.23s cubic-bezier(.88,1.26,.14,1.06) 1;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #183153;
  border-radius: 20px;
  max-width: 400px;
  width: 90vw;
  padding: 38px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  box-shadow: 0 12px 36px rgba(55,183,127,0.11), 0 4px 16px rgba(24,49,83,0.13);
  animation: cookieModalPopIn 0.26s cubic-bezier(.36,1.13,.22,.98) 1;
}
@keyframes cookieModalPopIn {
  from { transform: scale(.82); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #183153;
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s;
  padding: 4px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #37B77F;
  color: #fff;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-category {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #e3e9ee;
  border-radius: 12px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  display: block;
  height: 16px;
  width: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: left 0.19s, background 0.12s;
  box-shadow: 0 1px 5px rgba(24,49,83,0.07);
}
.cookie-switch input:checked + span {
  left: 19px;
  background: #37B77F;
}
.cookie-modal-category label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
.cookie-modal-category.essential label { color: #183153; }
.cookie-modal-category.analytics label,
.cookie-modal-category.marketing label { color: #37B77F; }
.cookie-modal-category.essential label::after {
  content: ' (Always on)';
  color: #8799AF;
  font-weight: 500;
  font-size: 0.95em;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 2px;
  flex-wrap: wrap;
}

/* ===== UTILITIES, MICRO STATES, ETC. ===== */
::-webkit-input-placeholder { color: #8799AF; }
::-moz-placeholder { color: #8799AF; }
:-ms-input-placeholder { color: #8799AF; }
::placeholder { color: #8799AF; }

/* Error messages */
.error {
  color: #E63946;
  background: #ffe5ea;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 1rem;
  margin: 9px 0 0 0;
  font-weight: 700;
}

/* Hide content visually but keep accessible */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ===== GENERAL SPACING ENFORCEMENT ===== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid {
  gap: 24px;
  margin-bottom: 0;
}
.card, .feature, .testimonial-card {
  margin-bottom: 20px;
}
.testimonial-slider, .testimonial-card {
  gap: 20px;
}
.feature-item {
  gap: 15px;
}

/* ===== PRINT SAFETY ===== */
@media print {
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  nav, .footer-content, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; background: #F6F8FA; }
::-webkit-scrollbar-thumb { background: #183153; border-radius: 6px; }

/* ===== END OF CSS ===== */
