/* =====================================================
   CSS RESET & BASE STYLES
====================================================== */
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{
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
  display:block;
}
body{
  line-height:1.6;
  font-family:'Open Sans', Arial, Helvetica, sans-serif;
  background:#FFF8F4;
  color:#223043;
  -webkit-font-smoothing: antialiased;
}
img{
  max-width:100%;
  height:auto;
  display:block;
}
a{   text-decoration: none; transition: color 0.2s; }
a:hover,
a:focus{ color: #BF5600; text-decoration: underline; }
ul, ol{ margin-left: 20px; margin-bottom: 20px; }
li{ margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; margin: 24px 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(30,58,92,0.06);}
th, td{ padding: 16px 12px; border-bottom:1px solid #F3EDD6; text-align: left;}
th{ background: #FFE6CD; font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: 0; }

::selection { background: #FFD080; color: #1E3A5C; }


/* =====================================================
   BRAND COLORS & FONTS (Warm-Friendly Accents)
====================================================== */
:root {
  --brand-primary: #1E3A5C;
  --brand-secondary: #4E829A;
  --brand-accent: #FFE6CD;
  --warm-bg: #FFF8F4;
  --card-bg: #FFF;
  --shadow-light: 0 2px 14px 0 rgba(210,164,99, 0.13);
  --shadow-soft: 0 4px 20px rgba(255,152,0,0.08);
  --cta-bg: #F5AE67;
  --cta-bg-hover: #F5A24C;
  --cta-txt: #1E3A5C;
  --neutral: #A49071;
  --success: #458A64; 
  --error: #E55D50;
  --border: #F3EDD6;
  --dark-txt: #223043;
  --light-txt: #FFF;
}

/* HEADINGS & TYPOGRAPHY */
h1,h2,h3,h4,blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem;   line-height: 1.2; margin-bottom: 16px;  }
h2 { font-size: 2rem;     margin-bottom: 16px; }
h3 { font-size: 1.3rem;   margin-bottom: 8px; color: var(--brand-secondary); font-weight: 600; }
h4 { font-size: 1rem;     color: var(--brand-primary); }

p,li,td {
  font-size: 1.12rem;
  color: var(--dark-txt);
}

blockquote {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-left: 5px solid var(--brand-secondary);
  font-style: italic;
  padding: 18px 28px 18px 20px;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: var(--shadow-light);
}
blockquote span {
  font-style: normal;
  display: block;
  margin-top: 10px;
  color: var(--brand-secondary);
  font-size:1rem;
  font-weight: 500;
}

/* -----------------------------------------------------
  LAYOUT: Container, Section, Flex Wrapper
----------------------------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: transparent;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  padding: 28px 22px;
  margin-bottom: 32px;
  position: relative;
}
.text-section {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  padding: 32px 24px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  padding: 32px 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(245, 174, 103, 0.18);
  transform: translateY(-4px) scale(1.014);
}
.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: 12px;
  padding: 20px 24px;
  background: #FFE6CD;
  border-radius: 22px;
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  transition: box-shadow 0.23s, transform 0.2s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin: 0 0 8px 0;
}
.testimonial-card span {
  color: var(--brand-secondary);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.96;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(245,174,103,0.19);
  transform: translateY(-2px) scale(1.012);
}

.project-block {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow-light);
  padding: 22px 18px;
  margin-bottom: 20px;
  border-left: 5px solid var(--cta-bg);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-content > * {
  margin-bottom: 12px;
  min-width: 130px;
}
.footer-note {
  text-align: center;
  color: var(--neutral);
  font-size: 1rem;
  background: none;
  padding: 14px 0 12px 0;
}

.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.02rem;
}
.contact-snippet a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-secondary);
}
.contact-snippet a img {
  width: 19px;
  height: 19px;
}

/* HEADER + NAVIGATION --------------------------------- */
header {
  background: var(--brand-primary);
  box-shadow: 0 2px 12px 0 rgba(30,58,92,0.09);
  padding: 0;
}
.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 16px 0;
}
header img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 16px;
  padding: 6px 13px;
  transition: background .21s, color .18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.cta-btn {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-txt);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 22px;
  padding: 12px 28px;
  box-shadow: 0 6px 18px rgba(245, 174, 103, 0.12);
  margin-left: 14px;
  transition: background 0.18s, box-shadow 0.24s, transform 0.18s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--cta-bg-hover);
  box-shadow: 0 12px 36px 0 rgba(210,164,99, 0.20);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.018);
}

/* MOBILE MENU ----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--cta-bg);
  color: var(--brand-primary);
  font-size: 1.7rem;
  border: none;
  border-radius: 16px;
  padding: 7px 15px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.16s, color 0.14s, transform .11s;
  z-index: 25;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--cta-bg-hover);
  color: var(--brand-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(252,243,233,0.96);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-120%);
  transition: transform 0.35s cubic-bezier(.79,.58,.44,1.1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--cta-bg);
  color: var(--brand-primary);
  border: none;
  border-radius: 24px;
  font-size: 2rem;
  padding: 7px 16px 5px 16px;
  align-self: flex-end;
  margin: 22px 18px 10px 0;
  cursor: pointer;
  transition: background 0.14s, color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--cta-bg-hover);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  padding: 30px 34px 10px 34px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 16px;
  padding: 10px 0 10px 10px;
  transition: background 0.19s, color 0.14s;
  min-width: 140px;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--cta-bg);
  color: var(--brand-primary);
}

/* Hide mobile-menu for desktop */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }


/* =====================================================
   FORMATS FOR ICON LISTS
====================================================== */
ul li>img, ul li>svg {
  vertical-align: middle;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  margin-bottom: -4px;
}

/* =====================================================
   RESPONSIVENESS (MOBILE FIRST)
====================================================== */
@media (max-width: 900px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 26px;
    padding: 30px 0 16px 0;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .text-section {
    padding: 19px 8px;
    margin-bottom: 24px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .section {
    padding: 18px 8px 25px 8px;
    margin-bottom: 27px;
  }
  .card { padding: 16px 10px; }
  .card-container, .content-grid { gap: 14px; }
  .testimonial-card {
    padding: 15px 10px;
    margin-bottom: 16px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 500px){
  .footer-content { gap: 8px;  padding: 13px 0 0 0; }
  .footer-note { padding: 8px 0; font-size: 0.89rem; }
}

/* =====================================================
   BUTTONS
====================================================== */
button, .cta-btn {
  outline: none;
  cursor: pointer;
  appearance: none;
  border: none;
  background: var(--cta-bg);
  color: var(--cta-txt);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 12px 28px;
  box-shadow: 0 6px 18px rgba(245, 174, 103, 0.12);
  margin: 8px 0 12px 0;
  transition: background 0.19s, color 0.12s, box-shadow 0.19s, transform 0.15s;
}
button:focus, button:hover,
.cta-btn:focus, .cta-btn:hover {
  background: var(--cta-bg-hover);
  color: var(--brand-primary);
  box-shadow: 0 12px 28px rgba(245, 174, 103, 0.17);
  transform: translateY(-1px) scale(1.016);
}

/* =====================================================
   COOKIE CONSENT BANNER
====================================================== */
.cc-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-accent);
  border-top: 2px solid var(--cta-bg);
  padding: 24px 16px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 18px rgba(30,58,92,0.07);
  z-index: 9999;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.3s cubic-bezier(.68,.41,.56,1.08);
}
.cc-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cc-banner__msg {
  color: var(--brand-primary);
  font-size: 1.09rem;
  flex: 1;
}
.cc-banner__actions {
  display: flex;
  gap: 16px;
}
.cc-btn {
  padding: 9px 20px;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 20px;
  border: none;
  margin: 0 4px;
  color: var(--brand-primary);
  background: var(--cta-bg);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245,174,103,.08);
  transition: background 0.13s, color 0.11s, box-shadow 0.18s;
}
.cc-btn.accept {
  background: var(--success);
  color: #fff;
}
.cc-btn.reject {
  background: var(--error);
  color: #fff;
}
.cc-btn.settings {
  background: var(--cta-bg);
  color: var(--brand-primary);
}
.cc-btn:focus, .cc-btn:hover {
  background: var(--cta-bg-hover);
  color: var(--brand-primary);
}
.cc-btn.accept:hover, .cc-btn.accept:focus {
  background: #2B7350;
}
.cc-btn.reject:hover, .cc-btn.reject:focus {
  background: #B62E1B;
}

@media (max-width: 720px) {
  .cc-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 8px 9px 8px;
  }
  .cc-banner__actions {
    gap: 11px;
    flex-wrap: wrap;
  }
}

/* COOKIE PREFERENCES MODAL */
.cc-modal-overlay {
  position: fixed;
  z-index: 10011;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,58,92, 0.46);
  display: none;
  align-items: center;
  justify-content: center;
}
.cc-modal-overlay.open { display: flex; animation: fadeInModal 0.18s; }
@keyframes fadeInModal { 0%{opacity:0;} 100%{opacity:1;} }

.cc-modal {
  background: #FFF;
  border-radius: 32px;
  box-shadow: 0 16px 44px rgba(245,174,103,.25);
  padding: 44px 30px 36px 30px;
  max-width: 95vw;
  width: 400px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
  position: relative;
  animation: bounceInModal 0.25s cubic-bezier(.7,.78,.17,1.21);
}
@keyframes bounceInModal {
  0% { opacity: 0; transform: scale(0.95);}
  90%{ opacity: 1; transform: scale(1.04);}
  100%{ opacity:1; transform:scale(1);}
}
.cc-modal-close {
  position: absolute;
  top: 21px; right: 24px;
  background: var(--cta-bg);
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  font-size: 1.45rem;
  text-align: center;
  cursor: pointer;
}
.cc-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 15px;
  color: var(--brand-primary);
}
.cc-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 25px 0 18px 0;
}
.cc-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand-accent);
  padding: 13px 18px;
  border-radius: 16px;
  margin-bottom: 3px;
}
.cc-modal-category.essential {
  opacity: 0.56;
}
.cc-modal-desc {
  color: #3C495F;
  font-size: 1.07rem;
  flex: 1 0 65%;
  padding-right: 14px;
}
.cc-modal-toggle {
  font-size: 1.15rem;
  min-width: 64px;
}

.cc-modal .cc-btn { margin-top: 16px; }

@media (max-width: 520px) {
  .cc-modal { padding: 30px 12px 23px 12px; min-width: unset; width: 97vw; font-size: 1.01rem; }
  .cc-modal-close {
    right: 12px; top: 14px;
  }
  .cc-modal-category { padding: 9px 8px; }
}


/* ========================== SECTIONS SPECIFIC ============================== */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
ul, ol {
  padding-left: 1em;
}
ul li, ol li {
  margin-bottom: 8px;
}
h1+p, h2+p, h3+p, h4+p {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* Table-based text-section */
table {
  margin-bottom: 24px;
  background: #FFF;
}
th,td {
  border-bottom: 1px solid var(--border);
}

/* ========================== VISUAL EXTRAS ============================= */
/* Soft, warm drop shadow for cards, blocks, testimonials, 
   with playful subtle blur */

/* Rounded corners for everything interactive */
border-radius: 12px;

.icon {
  width: 24px; height: 24px;
  display: inline-block;
  vertical-align: sub;
  margin-right: 8px;
}

/* Subtle hover for blocks */
.text-section, .card, .project-block, .feature-item {
  transition: box-shadow 0.19s, transform 0.13s;
}
.text-section:hover, .project-block:hover, .feature-item:hover {
  background: #FFF6ED;
  box-shadow: 0 14px 37px 0 rgba(245,174,103, 0.13);
  transform: translateY(-3px) scale(1.007);
}

/* ========================== SCROLLBAR FOR WARMTH ============================= */
::-webkit-scrollbar {
  width: 10px;
  background: #F9E6D3;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb {
  background: #FFD08C;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F5AE67;
}

/* ========================== MISC UTILITIES ============================= */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Hide unwanted absolute for cards */
.card [style*='position:absolute'] {
  position: initial !important;
}

/* ========================== PRINT ============================= */
@media print { body,html { background:#fff !important; color:#000 !important;} }

