/* ============================================================
   Radiant Charge: Geometric Structured CSS Theme (Flex-Only)
   Brand colors: #2C3556 (primary), #E1EDF7 (secondary), #F7931E (accent)
   Display font: Montserrat, Body font: Open Sans
   Only flexbox layouts, geometric elements, modern pro standards
   ============================================================ */

/* ========================
   RESET & BASIC NORMALIZE
   ======================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #2C3556;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #2C3556;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; }
p, ul, ol, address {
  margin-bottom: 1.1em;
}
address {
  font-style: normal;
  color: #2C3556;
  opacity: 0.92;
}
ul, ol {
  padding-left: 1.2em;
}
a {
  color: #F7931E;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #2C3556;
}
button, .btn-primary, .btn-secondary, .btn-accent {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

/* ================
   CONTAINER & LAYOUT
   ================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(44,53,86,0.09);
  padding: 28px 24px;
  border: 2.5px solid #E1EDF7;
  min-width: 265px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, border 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44,53,86,0.18);
  border-color: #F7931E;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 2px 14px rgba(44,53,86,0.10);
  border-radius: 18px;
  background: #E1EDF7;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  border-left: 6px solid #F7931E;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================
   HEADER & NAVIGATION
   ================ */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44,53,86,0.08);
  border-bottom: 2px solid #E1EDF7;
  position: sticky;
  top: 0;
  z-index: 1050;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  margin-right: 30px;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  color: #2C3556;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.22s;
  padding: 8px 0;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F7931E;
  transition: width 0.2s;
  margin-top: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F7931E;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.btn-accent {
  background: #F7931E;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 26px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(249,147,30,0.10);
  margin-left: 28px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s;
}
.btn-accent:hover, .btn-accent:focus {
  background: #2C3556;
  color: #F7931E;
  box-shadow: 0 2px 20px rgba(44,53,86,0.17);
}

/* Mobile Burger Menu Styles */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 1600;
  background: #2C3556;
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 8px rgba(44,53,86,0.13);
  cursor: pointer;
  transition: background .19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7931E;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 28px rgba(44,53,86,0.17);
  transform: translateX(-105%);
  transition: transform .38s cubic-bezier(.6,.2,.3,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 0 26px;
  justify-content: flex-start;
  align-items: stretch;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2.2rem;
  color: #2C3556;
  padding: 18px 10px 8px 10px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7931E;
}
.mobile-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #2C3556;
  font-size: 1.2rem;
  background: #E1EDF7;
  border-radius: 12px;
  padding: 14px 18px;
  margin-right: 16px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7931E;
  color: #fff;
}

/* Hide nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav, .btn-accent {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================
   HERO BANNER & CTA
   ===================== */
.hero {
  background: linear-gradient(95deg, #E1EDF7 89%, #fff 120%);
  min-height: 330px;
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: #4A5377;
}

.cta {
  background: #2C3556;
  color: #fff;
  text-align: center;
  padding: 46px 0 36px 0;
  border-radius: 32px;
  margin-top: 44px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 24px;
}

/* ==================
   BUTTONS
   ================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 13px 34px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 10px rgba(44,53,86,0.11);
  cursor: pointer;
  letter-spacing: 1.2px;
  margin: 8px 0 0 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, border 0.20s;
  outline: none;
}
.btn-primary {
  background: #F7931E;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2C3556;
  color: #F7931E;
  box-shadow: 0 2px 24px rgba(44,53,86,0.21);
}
.btn-secondary {
  background: #fff;
  color: #2C3556;
  border: 2px solid #F7931E;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F7931E;
  color: #fff;
  border-color: #2C3556;
}

/* =======================
   FEATURES / GUIDES / FAQ
   ======================= */
.features .feature-grid, .guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.features .feature-grid li, .guide-list li {
  background: #fff;
  border: 2px solid #E1EDF7;
  border-radius: 22px;
  padding: 32px 26px 26px 26px;
  flex: 1 1 220px;
  min-width: 230px;
  box-shadow: 0 2px 10px rgba(44,53,86,.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.16s, border-color 0.15s;
  position: relative;
}
.features .feature-grid li:hover, .guide-list li:hover {
  border-color: #F7931E;
  box-shadow: 0 6px 18px rgba(44,53,86,.15);
}
.features img, .feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  filter: drop-shadow(0 1px 4px rgba(44,53,86,0.09));
}
.feature-grid h3, .guide-list h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2C3556;
}
.guide-list .guide-tags {
  font-size: 0.94rem;
  color: #F7931E;
  margin-top: 12px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.faq-accordion div {
  background: #E1EDF7;
  border-radius: 16px;
  padding: 18px 17px;
  box-shadow: 0 1px 6px rgba(44,53,86,0.07);
}
.faq-accordion h3 {
  font-size: 1.16rem;
  margin-bottom: 0.28em;
  color: #2C3556;
}
.faq-accordion p {
  color: #364066;
  font-size: 1rem;
}

/* =======================
   PRICING TABLE
   ======================= */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  margin-top: 16px;
}
.pricing-table th {
  background: #2C3556;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  padding: 16px 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  text-align: left;
}
.pricing-table td {
  background: #E1EDF7;
  color: #2C3556;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 16px 14px;
  font-size: 1rem;
  border-bottom: 2px solid #fff;
}
.pricing-table tr:last-child td {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  border-bottom: none;
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonials {
  background: #fff;
  padding: 44px 0 20px 0;
}
.testimonials h2 {
  margin-bottom: 32px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #2C3556;
  font-size: 1.13rem;
  font-weight: 500;
  margin: 0 0 18px 0;
}
.testimonial-author {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #F7931E;
  letter-spacing: 0.04em;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #2C3556;
  color: #fff;
  margin-top: 60px;
  padding: 44px 0 24px 0;
  box-shadow: 0 -4px 22px rgba(44,53,86,0.10);
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.logo-footer {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.45px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F7931E;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-contact div {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
@media (max-width: 950px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .footer-contact {
    padding-top: 14px;
  }
}

/* =======================
   FORMS & CONTACT DETAILS
   ======================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 28px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.map-location {
  background: #E1EDF7;
  border-radius: 14px;
  padding: 16px 16px 9px 16px;
  margin-top: 18px;
  box-shadow: 0 1px 7px rgba(44,53,86,0.07);
}

.text-section ul li {
  margin-bottom: 0.7em;
}
.text-section ul {
  margin-bottom: 1em;
}

/* =======================
   GENERAL SPACING & SHAPES
   ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px 32px 0 0;
}

/* Geometric accents (triangles, lines) for section backgrounds */
.hero:after, .features:before, .cta:before {
  content: '';
  display: block;
  position: absolute;
}
.hero {
  position: relative;
  overflow: visible;
}
.hero:after {
  right: -28px; top: -42px;
  width: 110px; height: 100px;
  background: none;
  border-left: 52px solid #F7931E;
  border-top: 70px solid transparent;
  border-bottom: 30px solid transparent;
  border-radius: 14px;
  z-index: 1;
  opacity: 0.14;
  pointer-events: none;
  position: absolute;
}
.features {
  position: relative;
  overflow: visible;
}
.features:before {
  left: -28px; bottom: -42px;
  width: 86px; height: 90px;
  background: none;
  border-right: 40px solid #2C3556;
  border-bottom: 50px solid transparent;
  border-top: 40px solid transparent;
  z-index: 1;
  opacity: 0.09;
  pointer-events: none;
  position: absolute;
}
.cta {
  position: relative;
  box-shadow: 0 2px 22px rgba(44,53,86,0.10);
  margin-bottom: 60px;
}
.cta:before {
  right: 12px; bottom: -26px;
  width: 54px; height: 56px;
  background: none;
  border-top: 28px solid #F7931E;
  border-right: 36px solid transparent;
  border-left: 18px solid transparent;
  border-radius: 8px 8px 0 0;
  z-index: 1;
  opacity: 0.13;
  pointer-events: none;
  position: absolute;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  width: 100%;
  background: #2C3556;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(44,53,86,0.18);
  padding: 24px 16px 18px 16px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 1rem;
  animation: cookieSlideIn 0.55s cubic-bezier(.7,.1,.18,.95);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 240px;
  max-width: 580px;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  outline: none;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 23px;
  margin-left: 1px;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-btn.accept {
  background: #F7931E;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #fff; color: #F7931E; }
.cookie-btn.reject {
  background: #fff;
  color: #2C3556;
  border: 2px solid #F7931E;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #F7931E; color: #fff; }
.cookie-btn.settings {
  background: none;
  color: #F7931E;
  text-decoration: underline;
  border: none;
  padding: 0 10px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #fff;
  background: none;
  text-decoration: underline;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,53,86,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.36s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2C3556;
  border-radius: 18px;
  box-shadow: 0 1px 14px rgba(44,53,86,0.21);
  max-width: 430px;
  padding: 38px 28px 24px 28px;
  position: relative;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  min-width: 270px;
  animation: cookieModalPop 0.35s cubic-bezier(.76,.04,.45,1.1);
}
@keyframes cookieModalPop {
  0% { opacity: 0; transform: translateY(55px) scale(.87); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-bottom: 20px;
  color: #2C3556;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
}
.cookie-toggle {
  width: 38px; height: 20px;
  appearance: none;
  background: #E1EDF7;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #F7931E;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-toggle:checked::before {
  left: 20px;
}
.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2C3556;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F7931E;
}

/* make sure the cookie banner doesn't overlap content */
body {
  padding-bottom: 82px;
}

/* ============
   RESPONSIVENESS
   ============= */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .card, .card-container, .content-grid,
  .guide-list, .features .feature-grid, .testimonial-list { flex-wrap: wrap; }
  .footer-wrapper { gap: 22px; }
}
@media (max-width: 920px) {
  .hero .content-wrapper { max-width: 88vw; }
  .main-nav, .footer-nav { gap: 10px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  section, .section {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  header .container {
    flex-direction: row;
    padding-top: 8px; padding-bottom: 8px;
  }
  .content-wrapper {
    padding: 0 0;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .footer-contact {
    gap: 7px;
  }
  .guide-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features .feature-grid li, .guide-list li, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .cta, .cta:before {
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 530px) {
  .hero h1, h1 { font-size: 1.55rem; }
  .hero p, h2, h3 { font-size: 1.1rem; }
  .btn-primary, .btn-secondary { width: 100%; font-size: 1rem; min-width: 0; }
  .mobile-nav a { font-size: 1.02rem; padding: 12px 10px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; font-size: .96rem; }
  .cookie-btn { font-size: .96rem; padding: 10px 14px; }
  .cookie-modal { padding: 22px 8px 14px 14px; min-width: 0; }
}

/* ==============
   ACCESSIBILITY
   ============== */
:focus-visible {
  outline: 2.5px solid #F7931E;
  outline-offset: 2px;
  z-index: 10;
}

/* =================
   MICRO-INTERACTIONS
   ================= */
.card, .feature-grid li, .guide-list li, .testimonial-card,
.btn-primary, .btn-secondary, .btn-accent {
  transition: box-shadow 0.18s, border-color 0.14s, background 0.18s, color 0.16s;
}
.mobile-menu, .cookie-banner {
  transition: transform 0.34s cubic-bezier(.62,.2,.28,1), opacity 0.26s;
}

/* ===============
   UTILITIES
   =============== */
.hide { display: none !important; }
.visible { display: block !important; }
.mt-24 { margin-top: 24px !important; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* END Radiant Charge Geometric Structured Theme */
