/* ==== CSS RESET & NORMALIZE (MOBILE-FIRST) ==== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'Open Sans', Arial, sans-serif; background: #FAF9F7; color: #242625; min-height: 100vh; letter-spacing: 0.01em; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
a { color: #274B6D; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #37A084; }
ul, ol { list-style: none; margin: 0; padding: 0; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; box-shadow: 0 3px 16px 0 rgba(39,75,109,.07); margin-bottom: 24px; overflow: hidden; }
th, td { padding: 14px 12px; text-align: left; }
th { background: #FDF5EF; font-family: 'Roboto Slab', serif; font-size: 18px; color: #274B6D; font-weight: 700; }
td { font-size: 16px; border-bottom: 1px solid #E3E8EC; }
tbody tr:last-child td { border-bottom: none; }
small { color: #81786F; }
strong { font-weight: 700; color: #274B6D; }

/* ==== BRAND FONTS (WEB SAFE, FALLBACK) ==== */
@font-face { font-family: 'Roboto Slab'; src: local('Roboto Slab'), local('RobotoSlab'), 
    url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap'); }
@font-face { font-family: 'Open Sans'; src: local('Open Sans'), local('OpenSans'), 
    url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap'); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #274B6D;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.125rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li { font-size: 1rem; line-height: 1.7; color: #333033; }

/* ==== BASE LAYOUT CLASSES & CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.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 2px 14px 0 rgba(39,75,109,0.08);
  padding: 32px 24px;
  min-width: 250px;
}
.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: #FDF5EF;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(230,143,88,0.08);
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO / FEATURE / CTA BANNERS === */
.hero {
  background: linear-gradient(100deg, #FDF5EF 70%, #FFF3E1 100%);
  border-radius: 0 0 30px 30px;
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}
.hero .container { padding-top: 36px; padding-bottom: 36px; }

.features, .about-values, .team, .services, .services-list, .pricing, .contact-details, .about-preview, .blog-list, .legal, .thank-you {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(39,75,109,0.08);
}

.cta-banner {
  background: #FFF3E1;
  border-radius: 20px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: 0 3px 20px 0 rgba(230,143,88,0.10);
  text-align: center;
  padding: 36px 10px !important;
}

/* === NAVIGATION & HEADER === */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(39,75,109,0.07);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 0 10px 0;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #274B6D;
  border-radius: 18px;
  padding: 8px 16px;
  transition: background .18s, color .18s;
  display: flex;
  align-items: center;
}
header nav a.primary-btn {
  background: #E68F58;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(230,143,88,.08);
  padding: 10px 24px;
  font-size: 1rem;
  margin-left: auto;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  transition: background .18s, color .18s, box-shadow .2s;
}
header nav a.primary-btn:hover,
header nav a.primary-btn:focus {
  background: #1B6E58;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(27,110,88,0.12);
}
header nav a:hover, header nav a:focus {
  background: #FDF5EF;
  color: #1B6E58;
}
header nav a img {
  height: 40px;
  width: auto;
  margin-right: 6px;
  margin-left: 0px;
  border-radius: 8px;
  background: transparent;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E68F58;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 8px;
  width: 44px; height: 44px;
  box-shadow: 0 2px 6px 0 rgba(230,143,88,.13);
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 120;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #274B6D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FDF5EF;
  transform: translateX(-110%);
  transition: transform .35s cubic-bezier(.8,.23,.4,1);
  z-index: 5000;
  padding: 0 0 0 0;
  box-shadow: 0 0 0 rgba(0,0,0,0.0);
  width: 100vw; height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 30px 0 rgba(39,75,109,0.11);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #E68F58;
  margin: 26px 28px 12px 22px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #274B6D;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 12px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE5CF;
  color: #1B6E58;
  font-weight: 700;
}
@media (min-width: 1000px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 999px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle { display: inline-flex !important; }
}

/* ==== MAIN BUTTON STYLES ==== */
.primary-btn, .primary-btn:visited {
  background: #E68F58;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 32px;
  font-family: 'Roboto Slab', serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(230,143,88,0.12);
  transition: background .18s, color .18s, box-shadow .18s, transform .1s;
}
.primary-btn:hover, .primary-btn:focus {
  background: #1B6E58;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 28px 0 rgba(27,110,88,0.18);
}

/* ==== TESTIMONIALS ==== */
.testimonials .testimonial-card {
  background: #FDF5EF;
  color: #274B6D;
  box-shadow: 0 2px 20px 0 rgba(230,143,88,0.1);
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #274B6D;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #E68F58;
  margin-top: 5px;
}

/* ==== FOOTER ==== */
footer {
  background: #E3E8EC;
  color: #274B6D;
  margin-top: 44px;
  padding: 0 0 0 0;
  border-top: 2px solid #FDF5EF;
  font-size: 1rem;
}
footer .container { padding-top: 36px; padding-bottom: 26px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.branding {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.branding img {
  height: 40px;
  border-radius: 10px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #274B6D; font-size: 1rem;
  text-decoration: underline;
  border-radius: 8px;
  padding: 5px 10px;
  transition: background .15s, color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FDF5EF;
  color: #1B6E58;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #274B6D;
  font-size: 0.97rem;
  margin-bottom: 0;
}
.contact-info a { color: #1B6E58; }
.contact-info a:hover, .contact-info a:focus { color: #E68F58; }

/* ==== LEGAL PAGES ==== */
.legal {
  padding: 40px 20px;
  background: #fff;
}
.legal h1, .legal h2 { color: #274B6D; }
.legal ul { margin-left: 20px; margin-bottom: 14px; }
.legal ul li { list-style: disc inside; margin-bottom: 7px; }

/* ==== SPACING ADJUSTMENTS ==== */
@media (min-width: 768px) {
  .container { padding-left: 36px; padding-right: 36px; }
  .content-wrapper { gap: 34px; }
  .section { padding: 60px 40px; margin-bottom: 72px; }
  .card { padding: 40px 34px; }
}

/* ==== FLEXBOX RESPONSIVENESS & ADAPTIVENESS ==== */
.text-image-section { flex-direction: column; }
@media (min-width: 900px) {
  .content-grid { flex-direction: row; }
  .card-container { flex-direction: row; }
  .text-image-section { flex-direction: row; }
}
@media (max-width: 768px) {
  .footer .content-wrapper, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .section, .hero, .features, .team, .services, .services-list, .about-preview, .pricing, .about-values, .contact-details, .legal, .thank-you {
    padding: 24px 10px;
    margin-bottom: 32px;
    border-radius: 14px;
  }
  .cta-banner { border-radius: 10px; padding: 24px 4px !important; }
}

/* ==== SERVICES / FEATURES LIST STYLE ==== */
.features ul,
.team ul,
.services ul,
.services-list ul,
.contact-details ul,
.blog-list ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
  margin-bottom: 0;
  padding-left: 6px;
}
.features li,
.team li,
.services li,
.services-list li,
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF3E1;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1.05rem;
  color: #274B6D;
  box-shadow: 0 1px 6px 0 rgba(230,143,88,0.07);
  font-weight: 500;
  transition: background .17s;
}
.features li:hover,
.services-list li:hover,
.team li:hover,
.contact-details li:hover {
  background: #FFE5CF;
}
.features li img,
.team li img,
.services-list li img,
.contact-details li img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
}

/* ==== BLOG LIST STYLE ==== */
.blog-list ul { gap: 32px; }
.blog-list li { 
  background: #FDF5EF;
  border-radius: 13px;
  box-shadow: 0 2px 18px 0 rgba(230,143,88,0.08);
  padding: 22px 20px 12px 20px;
  margin-bottom: 0;
  transition: transform .14s, box-shadow .16s;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.blog-list li:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 32px 0 rgba(230,143,88,0.13);
}
.blog-list h3 { font-size: 1.18rem; margin-bottom: 2px; }
.blog-list a { color: #E68F58; border-radius: 8px; font-weight: 700; font-size: 1rem; }
.blog-list a:hover, .blog-list a:focus { color: #1B6E58; text-decoration: underline; }

/* ==== PRICING TABLE ==== */
.pricing table {
  margin-top: 16px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 18px 0 rgba(230,143,88,0.13);
  font-size: 1.07rem;
}
.pricing tbody td { color: #333033; font-size: 1.04rem; }

/* ==== THANK YOU PAGE ==== */
.thank-you {
  background: #fff7f2;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(230,143,88,0.10);
  text-align: center;
  padding: 40px 18px;
}
.thank-you h1 { color: #E68F58; margin-bottom: 24px; font-size: 2rem; }

/* ==== FORM ELEMENTS (for future extensibility) ====*/
input, textarea, select {
  border-radius: 10px;
  border: 1.5px solid #E3E8EC;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(39,75,109,0.03);
  margin-bottom: 14px;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus { border-color: #E68F58; outline: none; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFF3E1;
  color: #274B6D;
  padding: 24px 16px;
  box-shadow: 0 -4px 28px 0 rgba(250,178,77,0.13);
  z-index: 50000;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform .36s cubic-bezier(.86,0,.07,1);
  font-size: 1rem;
  max-width: 100vw;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .primary-btn,
.cookie-consent-banner .cookie-btn,
.cookie-consent-banner .cookie-settings-btn {
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 16px;
  margin-right: 5px;
}
.cookie-consent-banner .cookie-btn {
  background: #E68F58;
  color: #fff;
  border: none;
  font-weight: 700;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background .17s;
  margin-left: 5px;
}
.cookie-consent-banner .cookie-btn:hover {
  background: #1B6E58;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #E3E8EC;
  color: #274B6D;
  border: none;
  font-weight: 700;
  margin-left: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background .12s;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #FFF3E1;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 8px;
    font-size: .97rem;
  }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,75,109,0.25);
  z-index: 55000;
  transition: opacity .20s;
  opacity: 1;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 28px 0 rgba(230,143,88,0.17);
  max-width: 410px;
  width: 94vw;
  padding: 34px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieSlide .36s cubic-bezier(.81,.13,.32,1) 1;
}
@keyframes cookieSlide {
  0% { transform: translateY(80px) scale(.98); opacity: 0; }
  52% { transform: translateY(-7px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.31rem;
  color: #274B6D;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  background: #E3E8EC;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 21px; height: 21px;
  accent-color: #E68F58;
  margin-left: 6px;
  margin-right: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .primary-btn, .cookie-modal .cookie-btn {
  font-size: .98rem;
  padding: 7px 20px;
  border-radius: 12px;
  margin-right: 0;
}
.cookie-modal .cookie-cancel {
  background: #E3E8EC;
  color: #274B6D;
}
.cookie-modal .cookie-cancel:hover {
  background: #FFE5CF;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #E68F58;
  cursor: pointer;
}

/* ==== MICRO-INTERACTIONS and ANIMATIONS ==== */
.primary-btn, .card, .testimonial-card, .cookie-btn, .cookie-modal {
  transition: box-shadow .14s, background .12s, color .12s, transform .11s;
}
.testimonial-card:hover,
.card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 6px 36px 0 rgba(230,143,88,0.14);
}

/* ==== FINAL SPACING FIXES ==== */
section, .section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container > *:not(:last-child), .content-grid > *:not(:last-child) { margin-right: 0; }

/* ==== SCROLL BAR FRIENDLY ==== */
::-webkit-scrollbar { width: 9px; background: #F2EAE4; }
::-webkit-scrollbar-thumb { background: #E68F58; border-radius: 5px; }

/* ==== UTILITY CLASSES and OVERRIDES ==== */
.text-center { text-align: center; }
@media (max-width: 999px) {
  .footer .content-wrapper, .content-wrapper { flex-direction: column; gap: 18px; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.04rem; }
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px solid #E68F58;
  outline-offset: 2px;
}
section {
  padding: 15px;
}
/* ==== END OF WARM_FRIENDLY FLEX-ONLY CSS ==== */
