/* ===== CSS RESET AND NORMALIZE ===== */
html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,img,ul,ol,li,form,label,fieldset,legend,
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,
table,caption,tbody,tfoot,thead,tr,th,td,input,button,textarea {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
  box-sizing:border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: linear-gradient(135deg, #f6f6f6 0%, #e8ecf0 100%);
  color: #2B2322;
  font-family: 'Roboto', Arial, sans-serif;
  min-height:100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: #25586B;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D5A02A;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25586B;
  font-weight:700;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.subtitle {
  font-size: 1.1rem;
  color: #2B2322;
  opacity: 0.85;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: linear-gradient(90deg, #25586B 70%, #2B2322 100%);
  padding: 0;
  box-shadow: 0 2px 8px rgba(30,44,55,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 20px;
}
header a img {
  height: 44px;
}
header nav {
  display: flex;
  gap: 30px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2.5px;
  background: #D5A02A;
  transition: width .2s;
  border-radius: 2px;
  margin-top: 2px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 20px;
}
header nav a:hover, header nav a:focus {
  color: #D5A02A;
}
.btn-primary {
  background: linear-gradient(90deg,#D5A02A 60%,#FFC75A 100%);
  color: #2B2322;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 0.8em 2.1em;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(37,88,107,0.10);
  transition: background 0.26s, color 0.16s, transform 0.12s;
  border: none;
  display: inline-block;
  margin-left: 20px;
  margin-right: 8px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#f0bc40 60%,#D5A02A 100%);
  color: #25586B;
  transform: translateY(-2px) scale(1.04);
}
header .btn-primary {
  margin-left: 32px;
  margin-right: 0;
}
header .mobile-menu-toggle {
  display: none;
  background: #25586B;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1.6rem;
  line-height: 1;
  margin-left: 22px;
  transition: background 0.2s;
  border: none;
  z-index: 101;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  background: #1a3d4a;
  color: #D5A02A;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg,#25586B 90%, #2B2322 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.33,1.02,.46,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  padding: 18px 26px 10px 22px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 10000;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D5A02A;
  color: #2B2322;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO ==== */
.hero {
  background: linear-gradient(120deg, #25586B 0%, #305e7a 80%, #e7f0f6 100%);
  color: #fff;
  padding: 70px 0 60px 0;
  min-height: 380px;
  position: relative;
  /* add subtle background shapes as needed */
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero h2, .hero .subtitle {
  color: #fff;
}
.hero .subtitle {
  opacity: 0.95;
}
.hero .btn-primary {
  margin-top: 18px;
  color: #2B2322;
}

/* ==== CTA Section ==== */
.cta {
  background: linear-gradient(90deg, #D5A02A 60%, #FFE6A5 100%);
  padding: 32px 0;
  text-align: center;
  border-radius: 30px;
  margin: 60px 0 0 0;
  box-shadow: 0 2px 24px rgba(213,160,42,0.13);
}
.cta h2, .cta .btn-primary {
  color: #25586B;
}
.cta .btn-primary {
  background: #fff;
  border: 2.5px solid #25586B;
  color: #25586B;
  margin-left: 0;
  margin-top: 20px;
  transition: background 0.18s, color 0.12s, border 0.2s;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #25586B;
  color: #fff;
  border-color: #D5A02A;
}

/* ===== FLEXBOX CONTAINERS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(37,88,107,0.08);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 270px;
  padding: 30px 20px 26px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.23s, transform 0.14s;
}
.feature-grid li:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 28px rgba(37,88,107,0.17);
}
.feature-grid li img {
  width: 44px; height: 44px; margin-bottom: 4px;
}
.feature-grid li h3 {
  margin-bottom: 6px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}
.feature-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(37,88,107,0.07);
  flex: 1 1 200px;
  padding: 22px 18px 18px 18px;
  line-height: 1.55;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1.02rem;
}
.feature-list li img {
  width: 32px; height: 32px; margin-right: 10px; margin-top: 2px;
}

/* Services list and steps/process list */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.services-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(37,88,107,0.11);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  padding: 26px 22px 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.services-list li h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.13rem;
  color: #25586B;
}
.services-list li h3 span {
  font-size: 1rem;
  color: #D5A02A;
  font-weight: 500;
}

.step-list, .process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
  align-items: flex-start;
}
.step-list li, .process-steps li {
  background: #f6f6f6;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(37,88,107,0.06);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 280px;
  padding: 24px 16px 18px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.step-list li img, .process-steps li img {
  width: 36px;
  height: 36px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(22, 35, 48, 0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 27px rgba(37,88,107,0.15);
  transform: translateY(-3.5px);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
.testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,88,107,0.08);
  padding: 20px 22px 18px 22px;
  font-size: 1.08rem;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 370px;
}
.testimonial-card p {
  color: #2B2322;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 6px;
}
.testimonial-name {
  color: #25586B;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.02em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(37,88,107,0.09);
  flex: 1 1 240px;
  margin-bottom: 20px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #25586B 70%, #2B2322 100%);
  color: #fff;
  padding: 42px 0 22px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px 22px;
}
.footer-navigation, .footer-contact ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-navigation a {
  color: #fff;
  opacity: 0.86;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #D5A02A;
}
.footer-brand img {
  height: 38px;
  margin: 0 18px;
}
.footer-contact ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-contact a {
  color: #D5A02A;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}

/* CONTACT DETAILS */
.contact-details {
  margin-bottom: 22px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details strong {
  color: #25586B;
}

/* ==== MAP ==== */
.map {
  min-height: 180px;
  background: #e7f0f6;
  border-radius: 14px;
  margin-top: 20px;
}

/* ===== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #25586B 80%, #2B2322 100%);
  color: #fff;
  z-index: 12000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 24px 20px 24px;
  box-shadow: 0 -3px 24px rgba(37,88,107,0.10);
  animation: cookieEnter 0.6s 0.1s both;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookieEnter {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 210px;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  margin-right:16px;
  min-width: 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.18s, color 0.16s, box-shadow 0.14s;
  border: none;
}
.cookie-accept {
  background: #D5A02A;
  color: #2B2322;
  box-shadow: 0 1px 6px rgba(213,160,42,0.09);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #FFD67F;
  color: #25586B;
}
.cookie-reject {
  background: #e7f0f6;
  color: #25586B;
  border: 1.5px solid #25586B;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #25586B;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #D5A02A;
  border: 1.5px solid #D5A02A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #D5A02A;
  color: #2B2322;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 13000;
  top:0;left:0;width:100vw;height:100vh;
  background: rgba(40,60,70,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.16s both;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2B2322;
  border-radius: 18px;
  box-shadow: 0 6px 44px rgba(37,88,107,0.23);
  padding: 30px 25px 28px 25px;
  max-width: 400px;
  min-width: 265px;
  font-size: 1.06rem;
  position: relative;
  z-index: 13100;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalBounceIn 0.27s cubic-bezier(.32,1.1,.5,1) both;
}
@keyframes modalBounceIn {
  from{ opacity:0; transform:scale(0.91) translateY(40px); }
  80%{opacity:1;transform:scale(1.02) translateY(-5px);}
  to{opacity:1;transform:scale(1) translateY(0);}
}
.cookie-modal h3 {
  color: #25586B;
  margin-bottom: 5px;
  font-size: 1.18rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.01rem;
  margin: 5px 0;
}
.cookie-modal .cookie-category {
  font-weight: 600;
  color: #25586B;
  margin-right:12px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  width: auto;
  min-width:90px;
}
.cookie-modal .category-toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #D5A02A;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  margin-right: 4px;
}
.cookie-modal .category-toggle:before{
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2.7px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s, background 0.1s;
}
.cookie-modal .category-toggle:checked {
  background: #25586B;
}
.cookie-modal .category-toggle:checked:before {
  left: 16px;
  background: #D5A02A;
}
.cookie-modal .category-toggle[disabled] {
  opacity: 0.45;
  cursor: default;
}

/* ======= GENERAL SPACING & UTILITIES ======= */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.gap-20 { gap: 20px !important; }

hr {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  background: #e1e5e8;
  margin: 36px 0;
}

/* ====== FORM ELEMENTS (if needed in future) ======= */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  border: 1.5px solid #e1e5e8;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  transition: border 0.2s;
  margin-bottom: 15px;
  font-family: inherit;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #D5A02A;
  outline: none;
  background: #f9f8f2;
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 1024px){
  .container { max-width: 99vw; }
  .feature-grid, .feature-list, .services-list, .card-container, .testimonial-wrapper, .blog-list, .step-list, .process-steps {
    gap: 16px;
  }
  .hero, .cta {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .footer-brand {
    order: 1;
  }
  .footer-navigation {
    order: 2;
  }
  .footer-contact {
    order: 3;
    margin-top: 20px;
  }
}
@media (max-width: 768px){
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 28px 6px; }
  .hero { padding: 36px 0 32px 0; }
  .cta { padding: 18px 0; border-radius: 16px; }
  .feature-grid, .feature-list, .services-list, .blog-list, .step-list, .process-steps, .testimonial-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .card, .feature-grid li, .feature-list li, .services-list li, .testimonial-card, .blog-list li, .step-list li, .process-steps li {
    max-width: 98vw;
    width: 100%;
    min-width: unset;
    margin-left: 0; margin-right: 0;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-navigation, .footer-contact ul {
    gap: 10px;
    font-size: 0.98rem;
  }
  .footer-brand img {
    margin: 0 4px;
  }
  .footer-contact ul {
    font-size: 0.98rem;
    gap: 3px;
  }
  header .container {
    padding: 12px 10px 12px 10px;
  }
}
@media (max-width: 540px){
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.16rem; }
  .hero { padding: 17px 0 12px 0; min-height: 210px; }
  .cta { padding: 10px 0; }
  .footer-brand img { height: 30px; }
  .cookie-banner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 13px 6px 13px 6px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
  .cookie-modal {
    padding: 16px 7px 13px 7px;
    min-width: 160px;
    max-width: 96vw;
    font-size: 0.99rem;
  }
}

/* ====== MICRO-INTERACTIONS ====== */
.btn-primary, .cookie-banner button, .cookie-modal .cookie-accept, .cookie-modal .cookie-reject, .cookie-modal .cookie-settings {
  transition: background 0.17s, color 0.16s, transform 0.12s, border 0.19s;
}
.btn-primary:active, .cookie-banner button:active, .cookie-modal .cookie-accept:active, .cookie-modal .cookie-reject:active {
  transform: scale(0.98);
}
.card:hover, .feature-grid li:hover, .blog-list li:hover, .testimonial-card:hover {
  transition: box-shadow 0.21s, transform 0.11s;
}
::selection {
  background: #D5A02A;
  color: #fff;
}

/* ===== HIDE SCROLLBAR for overlays =====*/
.mobile-menu,
.cookie-modal-backdrop {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal-backdrop::-webkit-scrollbar {
  display: none;
}

/* ====== PRINT CLEANUP ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
