/* CSS RESET & NORMALIZE */
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, font, 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F8FB;
  color: #25313C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
a {
  color: #1A4263;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #30A87B;
}
a:hover, a:active {
  color: #30A87B;
}
ul, ol {
  list-style-position: inside;
}

/* FONT FACE (Include fallbacks)*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #1A4263;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.05rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; color: #25313C; margin-bottom: 12px; }
strong, b { font-weight: 700; }

/* CONTAINER & WRAPPER LAYOUTS */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Spacing and Section Patterns */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 30px rgba(26,66,99,0.05);
}
/* Remove white background for hero/CTA or set brand accent background */
.hero {
  background: #FBEAD7;
  border-radius: 0 0 24px 24px;
  margin-bottom: 60px;
  padding: 56px 20px 52px 20px;
  text-align: left;
}
.hero .btn-primary {
  margin-top: 30px;
}

/* Feature Section Grid (Flexbox Only!) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(26,66,99,0.07);
  padding: 30px 24px 24px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #FBEAD7;
  padding: 8px;
}
.feature-card:hover {
  box-shadow: 0 8px 34px rgba(26,66,99,0.10);
  transform: translateY(-4px) scale(1.018);
}

/* CARD CONTAINER LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(26,66,99,0.07);
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,66,99,0.13);
}

/* Content Grids & Flex Utilities */
.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) {
  .content-grid,
  .text-image-section,
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* Service Cards (services.html) */
.service-card {
  background: #FBEAD7;
  border-radius: 18px;
  padding: 28px 18px 18px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(30,129,104,0.065);
  border-left: 5px solid #30A87B;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  transition: box-shadow 0.20s;
}
.service-card strong {
  color: #1A4263;
  font-size: 1.12rem;
  font-weight: 600;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(26,66,99,0.10);
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff8f1;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(136,67,43,0.09);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid #F5C089;
  transition: box-shadow 0.20s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(245,192,137,0.19);
}
.testimonial-card p {
  color: #4B2E16;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #1A4263;
  font-weight: 600;
}

/* CTA Banner */
.hero .btn-primary,
.section .btn-primary,
.btn-primary {
  display: inline-block;
  background: #30A87B;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 32px;
  border: none;
  font-size: 1.13rem;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 12px rgba(49, 168, 123, 0.11);
  outline: none;
  cursor: pointer;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #21885F;
  transform: translateY(-2px) scale(1.025);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: #FBEAD7;
  color: #1A4263;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  transition: background 0.18s;
  margin-top: 8px;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F5C089;
}


/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff8f1;
  border-radius: 15px;
  box-shadow: 0 2px 13px rgba(245,192,137,0.07);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: box-shadow 0.18s;
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(245,192,137,0.16);
}
.faq-item h2 {
  font-size: 1.1rem;
  color: #B97D11;
  margin-bottom: 9px;
}
.faq-item p {
  color: #25313C;
  font-size: 1rem;
}

/* BLOG PREVIEW & TAG CLOUD */
.blog-list-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.blog-list-preview article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,66,99,0.06);
  padding: 24px 20px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.16s;
  margin-bottom: 20px;
}
.blog-list-preview article:hover {
  box-shadow: 0 6px 24px rgba(30,129,104,0.12);
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud span {
  background: #FBEAD7;
  color: #B97D11;
  padding: 7px 18px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Thank You Section */
.thank-you-section {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 60px;
  background: #FBEAD7;
  border-radius: 20px;
  padding: 50px 18px;
  box-shadow: 0 2px 18px rgba(245,192,137,0.14);
}
.thank-you-section .btn-primary {
  margin-top: 32px;
}

/* Contact Pages */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin-bottom: 0;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
}
.contact-info-list img {
  width: 24px; height: 24px; border-radius: 50%; background: #FBEAD7;
  padding: 3px;
}
.map-placeholder {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(49,168,123,0.06);
  margin-top: 14px;
  padding: 17px 12px;
  color: #687e2b;
}

/* Experience Timeline on About Page */
.experience-timeline,
.certifications,
.case-studies-preview {
  margin: 16px 0 24px 0;
  background: #fff;
  padding: 22px 18px;
  border-radius: 15px;
  box-shadow: 0 2px 13px rgba(49,168,123,0.07);
}
.experience-timeline ul,
.certifications ul,
.case-studies-preview ul {
  margin-left: 10px;
  padding-left: 0;
}

/* Footer */
footer {
  background: #1A4263;
  padding: 44px 0 26px 0;
  color: #fff;
  border-radius: 22px 22px 0 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #F5C089;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
  color: #e5e0db;
  line-height: 1.55;
}
.mini-logo {
  width: 58px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #F5C089;
  padding: 7px;
}
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 22px;
  }
}

/* HEADER / NAVIGATION / MOBILE MENU */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(30,129,104,0.05);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px 20px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  padding: 7px 10px;
  border-radius: 11px;
  color: #1A4263;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  transition: background 0.15s, color 0.16s;
}
.main-nav a.btn-primary {
  margin-left: 11px;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #FBEAD7;
  color: #30A87B;
}
.mobile-menu-toggle {
  background: #FBEAD7;
  color: #1A4263;
  border: none;
  font-size: 2.1rem;
  border-radius: 13px;
  padding: 2px 14px;
  cursor: pointer;
  margin-left: 9px;
  box-shadow: 0 2px 8px rgba(245,192,137,0.13);
  display: none;
  transition: background 0.15s, color 0.16s;
  z-index: 1025;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5C089;
  color: #30A87B;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 30px rgba(26,66,99,0.13);
  z-index: 1030;
  transform: translateX(105%);
  transition: transform 0.33s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A4263;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 1045;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 45px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #1A4263;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 9px;
  transition: background 0.17s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FBEAD7;
  color: #30A87B;
}
@media (max-width: 1040px) {
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.96rem;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav a.btn-primary {
    padding: 12px 14px;
    font-size: 1.03rem;
  }
}
@media (max-width: 940px) {
  .main-nav {
    gap: 9px;
  }
}

@media (max-width: 900px) {
  .main-nav a { padding: 7px 6px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 15px 16px 10px 16px;
  }
}

/* OVERLAY for mobile menu, if needed for fade */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 66, 99, .24);
  z-index: 1028;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* COOKIE CONSENT BANNER AND MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 580px;
  background: #fff8f1;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 18px rgba(245,192,137,0.18);
  padding: 24px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 11000;
  animation: cookieFadeIn 0.5s;
}
@keyframes cookieFadeIn {
  0% { bottom: -140px; opacity: 0; }
  100% { bottom: 0; opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-accept {
  background: #30A87B;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1.01rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.16s, color 0.14s;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #21885F;
  color: #fff;
}
.cookie-reject {
  background: #FBEAD7;
  color: #1A4263;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1.01rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F5C089;
}
.cookie-settings {
  background: #fff;
  color: #30A87B;
  border: 2px solid #30A87B;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 1.01rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.14s, color 0.14s, background 0.16s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #FBEAD7;
  color: #21885F;
  border-color: #21885F;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 11010;
  background: rgba(26,66,99,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.16s;
}
@keyframes modalFadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 420px;
  width: 90vw;
  padding: 32px 26px 26px 26px;
  box-shadow: 0 6px 35px rgba(245,192,137,0.32);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #30A87B;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #bbb;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.34rem;
  color: #1A4263;
  cursor: pointer;
}
/* Hide banner when not active */
.cookie-consent-banner[aria-hidden="true"] {
  display: none !important;
}
.cookie-modal-overlay[aria-hidden="true"] {
  display: none !important;
}

/* Accessibility */
*:focus-visible { outline: 2px solid #F5C089; outline-offset: 2px; }

/* Responsive Typography & Layout*/
@media (max-width: 980px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.42rem; }
  .container { max-width: 96vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.05rem; }
  .section, section {
    padding: 28px 10px;
  }
  .footer-wrapper { padding-left: 0; }
}
@media (max-width: 560px) {
  .container {
    padding: 0 6px;
  }
  .section, section { padding: 16px 2px; }
}

/* Utility Classes */
.d-block { display: block; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }

/* Animation for subtle hover/shadow on cards, buttons */
.card, .feature-card, .service-card, .testimonial-card, .faq-item, .blog-list-preview article {
  transition: box-shadow 0.24s, transform 0.22s;
}
.card:hover, .feature-card:hover, .testimonial-card:hover, .faq-item:hover, .blog-list-preview article:hover {
    box-shadow: 0 8px 34px rgba(30,129,104,0.13), 0 2px 15px rgba(245,192,137,0.11);
    transform: translateY(-2px) scale(1.018);
}

/* Ensure no elements overlap & proper card spacing */
.card, .feature-card, .service-card, .testimonial-card, .faq-item, .blog-list-preview article {
  margin-bottom: 20px;
}

/* Remove absolute positioning for content by default (only mini-logo, mobile close allowed) */

/* High contrast for testimonials & reviews */
.testimonial-card, .faq-item {
  color: #2C1B07;
  background: #fff8f1;
}
.testimonial-card p, .testimonial-card span {
  color: #1A4263;
}

/* Misc List Styles */
ul ul, ul ol, ol ul, ol ol {
  margin-left: 18px;
  margin-bottom: 0;
}
li { margin-bottom: 7px; }

/* Hide elements by default when not active, use .show when open */
.hide { display: none !important; }
.show { display: block !important; }

/**********
 End of style.css
***********/
