/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f8f9fb;
  color: #222834;
  font-size: 16px;
  line-height: 1.6;
  min-width: 0;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}
ul, ol {
  margin-top: 0;
  margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  color: #23395d;
}
h1 {
  font-size: 2.25rem; /* 36px */
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.5rem; /* 24px */
  color: #237298;
  letter-spacing: 0px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  color: #23395d;
}
h4, h5, h6 {
  font-size: 1.12rem;
  color: #23395d;
}
p, li, a, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222834;
}
a {
  color: #237298;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #f4bb44;
}
strong {
  font-weight: 600;
}

/* GENERAL CONTAINER STRUCTURE */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper,
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  padding: 0 36px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 18px;
  border-radius: 32px;
  border: none;
  outline: none;
  background: #f4bb44;
  color: #23395d;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px 0 rgba(36,40,53,0.07);
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.14s;
  margin-top: 12px;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #fff0c4;
  color: #bc9300;
  box-shadow: 0 8px 28px 0 rgba(36,40,53,0.09);
  border: 2px solid #f4bb44;
  transform: translateY(-2px) scale(1.04);
}
.cta-button.secondary {
  background: #23395d;
  color: #fff;
  border: 2px solid #f4bb44;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #f8f9fb;
  color: #bc9300;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 22px 0 rgba(30,33,43,0.07);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 72px;
}
header > a img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #23395d;
  padding: 6px 14px;
  border-radius: 22px;
  transition: background 0.13s, color 0.22s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #f4bb44;
  color: #23395d;
  text-decoration: none;
}
header .cta-button.primary {
  margin-left: 14px;
  margin-right: 0;
  min-width: 144px;
  padding: 0 22px;
  font-size: 17px;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #f4bb44;
  background: none;
  border: none;
  outline: none;
  height: 44px;
  width: 44px;
  margin-left: 16px;
  cursor: pointer;
  z-index: 400;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #23395d;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(30, 36, 54, 0.94);
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.66,0,.34,1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #f4bb44;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  cursor: pointer;
  z-index: 5100;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 44px;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
  background: none;
  border: none;
  padding: 12px 0;
  border-radius: 0 12px 12px 0;
  width: 100%;
  transition: color 0.23s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4bb44;
  color: #222834;
}

/* Hide mobile menu toggle by default on desktop */
@media (max-width: 1100px) {
  header nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1101px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN LAYOUT & CONTENT */
main {
  width: 100%;
  padding-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 28px 5vw;
    margin-bottom: 38px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(36,40,53,0.08);
  padding: 28px 20px 24px 20px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 350px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1.5px solid #ede7db;
  position: relative;
}
.feature-grid img {
  width: 58px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(36,40,53,0.07);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  max-width: 370px;
  transition: box-shadow 0.20s, transform 0.12s;
  border: 1.5px solid #ede7db;
}
.card:hover, .card:focus {
  box-shadow: 0 7px 30px 0 rgba(36,40,53,0.10);
  transform: translateY(-2px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-top: 14px;
  margin-bottom: 20px;
  background: #f8f5f1;
  border-radius: 17px 17px 13px 13px;
  box-shadow: 0 1px 10px 0 rgba(36, 40, 53, 0.04);
  border-left: 5px solid #f4bb44;
  border-right: 1px solid #ede7db;
  color: #222834;
  transition: box-shadow 0.15s;
  max-width: 650px;
}
.testimonial-card strong {
  color: #23395d;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.04em;
  font-weight: 700;
}
.testimonial-card p {
  color: #222834;
  font-size: 1.08em;
  line-height: 1.45;
}
.testimonial-card:hover {
  box-shadow: 0 4px 23px 0 rgba(36, 40, 53, 0.10);
}

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

/* CONTACT DETAILS */
.contact-details, .location-map {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(36,40,53,0.06);
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 1.02em;
  border: 1.5px solid #ede7db;
}
.location-map {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
}

/* FOOTER */
footer {
  padding: 36px 0 20px 0;
  background: #23395d;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  gap: 15px;
  margin-top: 64px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
footer nav a {
  color: #f4bb44;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.19s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #fff0db;
  color: #232323;
}
footer div {
  color: #fff;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 9000;
  background: #fffdfa;
  border-top: 3.5px solid #f4bb44;
  box-shadow: 0 -2px 15px 0 rgba(36,40,53,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 12px 18px 12px;
  gap: 16px;
  transition: transform 0.34s cubic-bezier(.66,0,.34,1), opacity 0.12s;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner__text {
  text-align: center;
  color: #23395d;
  margin-bottom: 4px;
}
.cookie-banner__actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  min-width: 110px;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  margin: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, box-shadow 0.18s;
  outline: none;
  background: #23395d;
  color: #fff;
}
.cookie-btn.accept {
  background: #f4bb44;
  color: #222834;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff0c4;
  color: #bc9300;
}
.cookie-btn.reject {
  background: #fff;
  color: #23395d;
  border: 2px solid #f4bb44;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f8f5f1;
  color: #bc9300;
}
.cookie-btn.settings {
  background: #eee;
  color: #23395d;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f4bb44;
  color: #222834;
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12000;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(36, 40, 53, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(36,40,53,0.11);
  min-width: 310px;
  max-width: 97vw;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal h3 {
  margin-top: 0;
  font-size: 1.32rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23395d;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  color: #222834;
}
.cookie-category input[type="checkbox"] {
  accent-color: #f4bb44;
  width: 19px;
  height: 19px;
  margin-right: 9px;
}
.cookie-category .category-label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  min-width: 162px;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #f4bb44;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-btn:hover {
  color: #bc9300;
}
.cookie-modal__actions {
  margin-top: 17px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/* Responsive Adjustments */
@media (max-width: 690px) {
  .container {
    padding: 0 8px;
  }
  header {
    padding-left: 6px;
    padding-right: 9px;
    min-height: 59px;
  }
  .cookie-modal {
    padding: 17px 7vw 16px 7vw;
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .cookie-modal {
    padding: 8vw 3vw 6vw 3vw;
  }
  .cookie-modal .close-btn {
    top: 2px;
    right: 6px;
    font-size: 1.47rem;
  }
}

/* VISUAL PREMIUM ACCENTS */
section h2, .feature-grid h3, .text-section h2, .text-section h3 {
  position: relative;
  padding-left: 0.8em;
}
section h2:before, .text-section h2:before, .feature-grid h3:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 20px;
  height: 3.5px;
  border-radius: 2.5px;
  background: #f4bb44;
}
.feature-grid h3:before {
  top: 0.85em;
  height: 2.5px;
  width: 17px;
}

/* Accent details for checkmarks, borders, and highlights */
ul li::marker {
  color: #f4bb44;
  font-size: 1.1em;
}
ol li::marker {
  color: #237298;
}

/* Shadows and Effects */
.card, .testimonial-card, .feature-grid > div, .contact-details, .location-map {
  box-shadow: 0 1.5px 12px 0 rgba(36,40,53,0.07);
}

/* Typography Hierarchy */
@media (max-width: 650px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .cta-button, .cta-button.primary, .cta-button.secondary {
    font-size: 1rem;
    min-width: 145px;
    min-height: 40px;
    padding: 0 17px;
  }
}

/* Ensuring Adequate Spacing everywhere */
.content-wrapper, .text-section, .feature-grid, .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}
section > .container > .content-wrapper > *, .content-wrapper > *, .text-section > * {
  margin-bottom: 0.75em;
}
section > .container > .content-wrapper > *:last-child, .content-wrapper > *:last-child, .text-section > *:last-child {
  margin-bottom: 0;
}

/* Scrollbar Styling for premium appearance */
::-webkit-scrollbar {
  width: 7px;
  background: #ede7db;
}
::-webkit-scrollbar-thumb {
  background: #e2c165;
  border-radius: 7px;
}

/* Remove input shadows and browser autofill styles for neutral look */
input, textarea, select, button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  color: #23395d;
}
input, textarea {
  border-radius: 8px;
  background: #fff;
  border: 1.2px solid #ede7db;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus {
  border: 1.5px solid #f4bb44;
  background: #fffdfa;
}

/* Animations and Microinteractions */
.cta-button, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 33px 0 rgba(36,40,53,0.16);
  transform: translateY(-2px) scale(1.017);
}

/* Z-INDEX rules for header, mobile menu, and banners */
header {
  z-index: 200;
}
.mobile-menu {
  z-index: 5000;
}
.cookie-banner {
  z-index: 9000;
}
.cookie-modal-overlay {
  z-index: 12000;
}

/* === END OF LUXURY PREMIUM CSS FOR CARGRAVITE AKADEMIE === */
