/* ========================================
   Reset & Base Styles
======================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #243C5A;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #243C5A;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #243C5A;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  color: #243C5A;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 14px 12px;
}
th {
  background: #f9fafb;
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #f2f5f7;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ========================================
   Buttons
======================================== */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  display: inline-block;
  min-width: 160px;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, border-color 0.2s;
  font-weight: 600;
  margin: 12px 0;
  box-shadow: 0 1px 4px rgba(36, 60, 90, 0.04);
}
.btn-primary {
  background: #243C5A;
  color: #fff;
  border: 1.5px solid #243C5A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #243C5A;
  border: 1.5px solid #243C5A;
  box-shadow: 0 2px 12px rgba(36,60,90,0.10);
}
.btn-secondary {
  background: #FFF;
  color: #243C5A;
  border: 1.5px solid #243C5A;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #243C5A;
  color: #fff;
  border: 1.5px solid #243C5A;
  box-shadow: 0 2px 12px rgba(36,60,90,0.09);
}

/* ========================================
   Header & Navigation
======================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(36,60,90,0.03);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  position: relative;
}
.main-nav .logo {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #243C5A;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #86B55C;
}
.main-nav .btn-primary {
  margin-left: 24px;
  box-shadow: 0 1px 4px rgba(36,60,90,0.06);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243C5A;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.17s;
  z-index: 1001;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #243C5A;
  background: #f2f5f7;
}

/* Hide mobile menu on desktop */
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav ul,
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    gap: 12px;
  }
}

/* ========================================
   Mobile Menu Overlay
======================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 20px 20px 20px;
  transform: translateX(100%);
  box-shadow: -8px 0 18px rgba(36,60,90,0.07);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #243C5A;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  border-radius: 4px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2F5F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #243C5A;
  padding: 12px 0;
  width: 100%;
  border-radius: 28px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #86B55C;
  color: #fff;
}

/* ========================================
   Sections General Layout
======================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(36,60,90,0.03);
}
@media (max-width: 700px) {
  section {
    padding: 26px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}
.content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-section {
  background: #F2F5F7;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 56px 0 32px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  text-align: left;
}
.hero-section h1 {
  color: #243C5A;
}
.hero-section .btn-primary {
  margin-top: 14px;
}

.features-section {
  background: #fff;
}
.features-section .content-wrapper {
  gap: 34px;
}

.cta-section {
  background: #243C5A;
  color: #fff;
  box-shadow: 0 4px 32px rgba(36,60,90,0.10);
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section .btn-primary,
.cta-section .btn-secondary {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .content-wrapper {
    max-width: 100%;
    padding: 0 8px;
  }
}

/* ========================================
   Flexbox Layout Patterns
======================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 12px rgba(36,60,90,0.05);
  padding: 24px;
  min-width: 240px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(36,60,90,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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 14px rgba(36,60,90,0.07);
  border-radius: 14px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 450px;
  transition: box-shadow 0.17s, border 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(36,60,90,0.10);
  border: 1.2px solid #86B55C;
}
.testimonial-card span {
  font-size: 1rem;
  font-style: italic;
  color: #243C5A;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,60,90,0.06);
  flex: 1 1 250px;
  min-width: 230px;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.feature-item:hover {
  box-shadow: 0 5px 24px rgba(36,60,90,0.10);
  border: 1.3px solid #86B55C;
}

/* ========================================
   Cards, Services, Blog
======================================== */
.feature-grid, .service-cards, .testimonial-slider, .testimonial-list, .article-preview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card, .article-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(36,60,90,0.06);
  min-width: 240px;
  max-width: 330px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.service-card:hover, .article-card:hover {
  box-shadow: 0 8px 26px rgba(36,60,90,0.11);
  border: 1.2px solid #243C5A;
}
.service-card h3, .article-card h3 {
  margin-bottom: 6px;
}
.service-card .btn-secondary, .article-card .btn-secondary {
  margin-top: 6px;
}

/* = Blog categories = */
.blog-categories {
  font-size: 0.95rem;
  color: #788094;
  margin-bottom: 17px;
}
.blog-categories a {
  color: #86B55C;
  font-weight: 500;
}

/* = Plan Features List = */
.plan-features, .core-values, .industries-supported, .consultation-types {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.plan-features li, .core-values li, .industries-supported li, .consultation-types li {
  background: #f2f5f7;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 1rem;
  color: #243C5A;
}

/* = About Feature List = */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 22px 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #243C5A;
  background: #f2f5f7;
  border-radius: 9px;
  padding: 8px 14px;
}

/* = Services List = */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.service-list li {
  background: #fff;
  box-shadow: 0 1px 12px rgba(36,60,90,0.06);
  border-radius: 13px;
  flex: 1 1 220px;
  padding: 22px 15px;
  min-width: 210px;
  max-width: 315px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border-color 0.13s;
}
.service-list li:hover {
  box-shadow: 0 8px 24px rgba(36,60,90,0.10);
  border: 1.2px solid #86B55C;
}
.service-list h3 {
  margin-bottom: 5px;
}

/* = Legal & Text Sections = */
.legal-section, .text-section {
  background: #fff;
  box-shadow: 0 1px 6px rgba(36,60,90,0.02);
  border-radius: 16px;
}
.text-section > h3 {
  margin-top: 14px;
}
.text-section ul {
  margin: 12px 0 12px 20px;
  list-style: disc;
}
.text-section ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .feature-grid, .service-cards, .testimonial-slider, .article-preview-cards, .service-list {
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .service-cards, .testimonial-slider, .article-preview-cards, .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .service-card, .article-card, .feature-item, .testimonial-card, .service-list li {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* ========================================
   Tables (Pricing etc.)
======================================== */
.pricing-table {
  width: 100%;
  border: 1px solid #f2f5f7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(36,60,90,0.04);
  font-size: 1rem;
  margin-bottom: 20px;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #f2f5f7;
}
.pricing-table th {
  background: #F2F5F7;
  color: #243C5A;
}

/* ========================================
   Footer
======================================== */
footer {
  background: #f8fafb;
  border-top: 1px solid #f2f5f7;
  padding: 26px 0 10px 0;
  font-size: 0.99rem;
  color: #243C5A;
}
.footer-top, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.footer-top .logo {
  display: flex;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #243C5A;
  font-family: 'Montserrat', Arial;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 14px;
  transition: background 0.14s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #86B55C;
  color: #fff;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  color: #243C5A;
}
.contact-info div, .contact-info a {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  opacity: 0.64;
}
@media (max-width: 800px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.copyright {
  color: #7e899a;
  font-size: 0.97rem;
  padding: 8px 0 0 0;
}

/* ========================================
   Thank You Section
======================================== */
.thank-you-section {
  background: #F2F5F7;
  border-radius: 12px;
  box-shadow: none;
  text-align: center;
}
.thank-you-section h1 {
  color: #243C5A;
}
.thank-you-section p {
  color: #243C5A;
}

/* ========================================
   Contact, Map Placeholder
======================================== */
.map-placeholder {
  background: #f2f5f7;
  color: #7e899a;
  border-radius: 10px;
  padding: 22px;
  text-align: center;
  font-size: 1.03rem;
  margin: 16px 0 18px 0;
}

/* ========================================
   Cookie Consent Banner & Modal
======================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 26px 0 rgba(36,60,90,0.10);
  border-top: 2px solid #86B55C;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 1100;
  padding: 20px 20px 20px 30px;
  font-size: 1.01rem;
  animation: cookie-slide 0.4s cubic-bezier(0.77,0,0.18,1);
}
@keyframes cookie-slide {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  background: #243C5A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 22px;
  font-size: 0.99rem;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #86B55C;
  color: #243C5A;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #243C5A;
  border: 1.3px solid #243C5A;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #243C5A;
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2001;
  background: rgba(36,60,90,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.22s cubic-bezier(.77,0,.18,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 46px rgba(36,60,90,0.16);
  max-width: 96vw;
  width: 400px;
  padding: 32px 28px 28px 28px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-pop .18s cubic-bezier(.77,0,.18,1);
}
@keyframes modal-pop {
  from { transform: translateY(30px) scale(.94); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F2F5F7;
}
.cookie-modal .cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #F2F5F7;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.14s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #86B55C;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4.5px rgba(36,60,90,0.22);
  transition: left 0.16s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]:before {
  left: 20px;
}
.cookie-modal .cookie-toggle[disabled], .cookie-modal .cookie-toggle[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-btns button {
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal .modal-btns .save-btn {
  background: #243C5A;
  color: #fff;
}
.cookie-modal .modal-btns .save-btn:hover {
  background: #86B55C;
  color: #243C5A;
}
.cookie-modal .modal-btns .cancel-btn {
  background: #fff;
  color: #243C5A;
  border: 1.3px solid #243C5A;
}
.cookie-modal .modal-btns .cancel-btn:hover {
  background: #243C5A;
  color: #fff;
}

/* ========================================
   Utilities
======================================== */
.hide {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* ========================================
   Responsive Typography & Headings
======================================== */
@media (max-width: 650px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.02rem; }
  body { font-size: 15px; }
}

/* ========================================
   Microinteractions / Animation
======================================== */
.btn-primary, .btn-secondary,
.card, .feature-item, .testimonial-card, .service-card, .article-card,
.service-list li, .footer-nav a {
  transition: box-shadow 0.16s, border-color 0.16s, color 0.14s, background 0.15s;
}
a, .main-nav ul li a, .mobile-nav a {
  transition: color 0.13s, background 0.14s;
}

/* ========================================
   Accessibility & Contrast
======================================== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #fff;
  color: #243C5A;
}

/* ========================================
   Selection color
======================================== */
::selection {
  background: #86B55C;
  color: #fff;
}

/* ========================================
   Extra Spacing Between Cards/Sections
======================================== */
section + section {
  margin-top: 20px;
}
.card + .card, .service-card + .service-card, .article-card + .article-card, .feature-item + .feature-item {
  margin-left: 0;
  margin-top: 20px;
}

/* ========================================
   Form / Input Basics (if any used in future)
======================================== */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  padding: 11px 14px;
  border: 1px solid #ccd6e2;
  border-radius: 8px;
  background: #f8fafb;
  color: #243C5A;
  margin-bottom: 18px;
  box-sizing: border-box;
  outline: none;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #86B55C;
  background: #fff;
}

/* ========================================
   Z-Index Notes
======================================== */
header { z-index: 100; position: relative; }
.mobile-menu { z-index: 1002; }
.cookie-banner { z-index: 1100; }
.cookie-modal-overlay { z-index: 2001; }

/* ========================================
   END
======================================== */
