/* CSS RESET & BASE — Mobile-First Approach */
html,
body,
div,
span,
applet,
object,
iframe,
h1,h2,h3,h4,h5,h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,embed,
figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,
time,mark,audio,video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  background: transparent;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #34495E;
  font-size: 1rem;
  min-height: 100vh;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #E67E22;
  text-decoration: none;
  transition: color .22s cubic-bezier(.35,1.85,.5,1);
}
a:hover, a:focus {
  color: #B35400;
}
ul,ol {
  list-style: none;
}
button, .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  border: none;
  border-radius: 32px;
  padding: 0.75em 2.2em;
  background: #E67E22;
  color: #FFF;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(230,126,34,.07);
  transition: background-color .22s, box-shadow .22s, transform .18s;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus {
  background: #B35400;
  color: #fff;
  box-shadow: 0 4px 20px rgba(230,126,34,.14);
  transform: translateY(-2px) scale(1.03);
}

/* Brand Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #34495E;
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 16px;
  line-height: 1.22;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.32rem; }

p {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: #34495E;
}
strong {
  font-weight: 700;
  color: #B35400;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Headers & Navigation */
header {
  background: #FFF;
  box-shadow: 0 2px 16px 0 rgba(52,73,94,0.07);
  position: relative;
  z-index: 90;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.main-navigation img {
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 3px 10px 0 rgba(52,73,94,.08);
  background: #ECF0F1;
  padding: 8px;
}
.main-navigation ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.main-navigation ul li {
  margin-bottom: 0;
}
.main-navigation ul li a {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 22px;
  color: #34495E;
  background: transparent;
  transition: background .15s, color .13s;
}
.main-navigation ul li a:hover, .main-navigation ul li a:focus {
  background: #ECF0F1;
  color: #E67E22;
}
.main-navigation ul li .cta-btn {
  margin: 0 0 0 10px;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ECF0F1;
  color: #34495E;
  font-size: 2rem;
  border: none;
  border-radius: 18px;
  width: 48px;
  height: 48px;
  margin-left: 8px;
  margin-right: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(52,73,94,0.10);
  transition: background .14s, color .14s, box-shadow .20s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E67E22;
  color: #fff;
}

/* Hide menu button on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}
/* Mobile menu default hidden */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  background: #FFF;
  z-index: 4000;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.6,0,.3,1.2);
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0vw);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 0 0;
  font-size: 2.1rem;
  background: #ECF0F1;
  border: none;
  border-radius: 18px;
  width: 46px;
  height: 46px;
  color: #34495E;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(230,126,34,0.07);
  transition: background .14s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E67E22;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 48px;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.32rem;
  padding: 12px 24px;
  border-radius: 24px;
  color: #34495E;
  font-weight: 600;
  transition: background .13s, color .17s;
  width: 100%;
  min-width: 180px;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E67E22;
  color: #fff;
}

@media (max-width: 991px) {
  .main-navigation ul { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none!important; }
  .main-navigation ul { display: flex; }
}

/* Hero Section */
.hero {
  background: linear-gradient(110deg, #ECF0F1 80%, #FFF 100%);
  padding: 48px 0 20px 0;
  border-radius: 0 0 56px 56px;
  box-shadow: 0 4px 40px -10px #E67E2221;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 0 auto;
}

/* Section & Section Patterns */
.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 28px;
}
@media (max-width: 640px) {
  .section, main section { padding: 30px 10px; }
}

.features, .services, .faq {
  background: #FFFBEF;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px 0 #E67E2222;
}

.features ul,
.services ul,
.faq ul,
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features ul li, .services ul li, .faq ul li, .text-section ul li {
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  font-size: 1.06rem;
  box-shadow: 0 2px 8px 0 #34495E12;
  color: #34495E;
  margin-bottom: 0;
}
.features ul li strong,
.services ul li strong {
  color: #E67E22;
}

.services ul li span {
  display: inline-block;
  background: #ECF0F1;
  color: #B35400;
  font-size: 1rem;
  padding: 2px 13px;
  border-radius: 12px;
  margin: 5px 0 8px 0;
  font-weight: 600;
}

.cta {
  background: #E67E22;
  border-radius: 32px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 2px 32px 0 #E67E2228;
  padding: 44px 15px !important;
}
.cta h2, .cta p, .cta a {
  color: #FFF !important;
}
.cta a.cta-btn {
  background: #fff;
  color: #E67E22 !important; 
  font-weight: bold;
  margin: 20px auto 0 auto;
  border: 2px solid #fff;
  box-shadow: 0 6px 24px #B3540016;
}
.cta a.cta-btn:hover, .cta a.cta-btn:focus {
  background: #ECF0F1;
  color: #E67E22;
  border-color: #ECF0F1;
}

/* Testimonials as cards */
.testimonials, .testimonial-card {
  background: none;
  box-shadow: none;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 #E67E2220;
  margin-bottom: 20px;
  min-width: 0;
  font-size: 1.08rem;
  color: #34495E;
  transition: box-shadow .19s, transform .17s;
  position: relative;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 36px 0 #E67E2240;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p {
  margin-bottom: 4px;
  color: #34495E;
  font-style: italic;
  font-size: 1.04rem;
}
.testimonial-card span {
  color: #E67E22;
  font-weight: 600;
  font-size: 1rem;
}

/* Cards & Card Container Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(52,73,94,0.12);
  transition: box-shadow .19s, transform .15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px #E67E2230;
  transform: translateY(-3px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 20px;
  align-items: flex-start;
}

/* Content Grids (using Flexbox) */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 12px #E67E2211;
  padding: 18px 20px;
}

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

/* Text content sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FAQ Section */
.faq {
  background: #FFF9F2;
  border-radius: 20px;
  box-shadow: 0 2px 9px #E67E2218;
  margin-bottom: 60px;
  padding: 40px 18px;
}
.faq h2 {
  color: #B35400;
  margin-bottom: 14px;
}
.faq ul li {
  background: #FFF;
  border: 1px solid #ECF0F1;
  border-radius: 17px;
  color: #34495E;
}

/* Footer Styling */
footer {
  background: #34495E;
  color: #fff;
  padding: 38px 0 36px 0;
  border-radius: 50px 50px 0 0;
  margin-top: 100px;
  box-shadow: 0 -4px 32px #34495E3A;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
footer .footer-navigation a {
  color: #E67E22;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  border-radius: 14px;
  padding: 6px 13px;
  background: transparent;
  transition: background .13s, color .14s;
}
footer .footer-navigation a:hover, footer .footer-navigation a:focus {
  color: #fff;
  background: #E67E22;
}
footer .contact-information {
  color: #ECF0F1;
  font-size: 1.05rem;
  line-height: 1.6;
}
footer .contact-information strong {
  color: #fff;
}
footer .social-links {
  display: flex;
  gap: 16px;
}
footer .social-links img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff8f1;
  box-shadow: 0 2px 14px #B3540022;
  padding: 4px;
  transition: background .14s;
}
footer .social-links img:hover, footer .social-links img:focus {
  background: #E67E22;
}

/* Responsive Footer */
@media (min-width:600px) {
  footer .content-wrapper {
    flex-direction: row;
    gap: 46px;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  width: 100vw;
  background: #FFFDF8;
  box-shadow: 0 -2px 24px 0 #E67E2220, 0 -1.5px 0 #ECF0F1;
  padding: 22px 18px 16px 18px;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  transition: transform .4s cubic-bezier(.75,1,.5,1), opacity .33s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner p {
  font-size: 1.08rem;
  color: #34495E;
  text-align: center;
  margin-bottom: 0;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .95rem;
  font-weight: bold;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  cursor: pointer;
  background: #E67E22;
  color: #fff;
  box-shadow: 0 2px 10px #E67E2222;
  transition: all .16s;
  margin-left: 0;
}
.cookie-btn.settings {
  background: #ECF0F1;
  color: #B35400;
  border: 1px solid #E67E22;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff4e3;
  color: #E67E22;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #B35400;
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 8001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(52,73,94,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .27s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #34495E;
  max-width: 430px;
  border-radius: 23px;
  box-shadow: 0 4px 48px #34495E45;
  padding: 38px 30px 28px 30px;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  position: relative;
  animation: cookieModalIn .4s cubic-bezier(.6,0,.3,1.2);
}
@keyframes cookieModalIn { 0%{ transform: scale(.85); opacity:0;} 100%{transform: scale(1); opacity:1;} }
.cookie-modal h2 {
  color: #E67E22;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-options-list {
  margin: 20px 0 18px 0;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-option label {
  font-weight: 600;
}
.cookie-toggle {
  width: 34px; height: 20px;
  background: #ECF0F1;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  transition: background .19s;
  margin-left: 8px;
}
.cookie-toggle input {
  opacity: 0; width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 3; cursor: pointer;
}
.cookie-toggle .slider {
  width: 34px; height: 20px;
  position: absolute; top: 0; left: 0;
  border-radius: 22px;
  background: #ECF0F1;
  transition: background .18s;
}
.cookie-toggle input:checked ~ .slider {
  background: #E67E22;
}
.cookie-toggle .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 3px #B3540010;
  transition: left .17s, background .14s;
}
.cookie-toggle input:checked ~ .slider:before {
  left: 17px;
  background: #FFF7E8;
}
.cookie-option .locked {
  color: #B35400;
  font-size: 1rem;
  margin-left: 5px;
}
.cookie-modal .cookie-btn {
  margin-top: 6px;
  width: auto;
  padding-left: 22px;
  padding-right: 22px;
}
.cookie-modal .cookie-btn.cancel {
  background: #ECF0F1;
  color: #E67E22;
  border: 1px solid #E67E22;
  margin-left: 5px;
}
.cookie-modal .cookie-btn.cancel:hover, .cookie-modal .cookie-btn.cancel:focus {
  background: #fff9f2;
  color: #B35400;
}

/* Responsive Utilities */
@media (max-width: 700px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.07rem; }
  .container {
    max-width: 97vw;
  }
  .cta {
    border-radius: 24px;
    padding: 32px 5px !important;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 28px 5vw 15px 5vw;
  }
}

/* Misc Styles for Brand Friendly Look */
::-webkit-scrollbar {
  width: 11px; background: #F9F4ED;
}
::-webkit-scrollbar-thumb {
  background: #ECF0F1; border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #E67E22; }

table, th, td { border-collapse: collapse; }
table th, table td { padding: 12px 10px; border-bottom: 1px solid #ECF0F1; }
table th { background: #ECF0F1; color: #34495E; }
table td { background: #fff; }

/* Custom focus outlines for accessibility */
a:focus, .cta-btn:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus,
.mobile-menu-close:focus {
  outline: 2px dashed #E67E22;
  outline-offset: 2px;
}

/* Spacing around content */
main {
  min-height: 80vh;
}
main > section {
  margin-bottom: 60px;
}

/* Specific UX Tweaks */
@media (max-width: 500px) {
  .hero {
    padding-top: 15px;
    border-radius: 0 0 22px 22px;
  }
}

@media (max-width: 700px) {
  .footer-navigation { flex-direction: column; gap: 12px; }
  .section, main section { margin-bottom: 38px; padding: 22px 5px; }
  footer { border-radius: 20px 20px 0 0; }
}

/* Prevent card/content overlap */
.card, .testimonial-card, .feature-item, .section, main section {
  min-width: 0;
}

/* Hide cookie modal and banner by default for scripting */
.cookie-consent-banner, .cookie-modal-backdrop {
  display: none;
}
.cookie-consent-banner.active, .cookie-modal-backdrop.active {
  display: flex;
}
