/* CSS RESET & BASE -------------------------------- */
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;
}
html {
  min-height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #F6FAFB;
  color: #183449;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 1em 0 1.5em 0;
}
ol {
  list-style: decimal;
  padding-left: 1.3em;
  margin: 1em 0 1.5em 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
}
table { border-collapse: collapse; border-spacing: 0; }

/* FONT FAMILIES (ensure font-face is loaded via HTML) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #133356;
  letter-spacing: -0.01em;
}

/* PASTEL COLOR VARIABLES AND FALLBACKS ----------- */
:root {
  --primary: #133356;
  --secondary: #49A578;
  --accent: #E4EDF9;
  --pastel-blue: #E4EDF9;
  --pastel-green: #D5F5EA;
  --pastel-purple: #EBE5F5;
  --pastel-pink: #FBEFFA;
  --pastel-lavender: #D6E6F2;
  --pastel-yellow: #FFF8DF;
  --gray-100: #F6FAFB;
  --gray-200: #EBF3F6;
  --gray-300: #E0EAF0;
  --shadow: 0 6px 28px 0 rgba(45,49,68,0.06);
  --shadow-light: 0 2px 10px rgba(140,152,165,0.10);
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --transition: all 0.24s cubic-bezier(.2,.8,.2,1);
}

/* LAYOUT & CONTAINER ----------------------------- */
.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  margin-bottom: 32px;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  position: relative;
}

/* MAIN TYPOGRAPHY -------------------------------- */
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: var(--font-display);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: var(--font-display);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
  font-weight: 700;
}
h4, h5, h6 {
  color: var(--primary);
}
p {
  color: #273850;
  font-size: 1.12rem;
  margin-bottom: 16px;
}
.section p:last-child {
  margin-bottom: 0;
}
.text-section h3 {
  margin-top: 24px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

/* BUTTONS & LINKS -------------------------------- */
.cta-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75em 2.2em;
  background: var(--secondary);
  color: #fff;
  font-size: 1.125rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.20s, transform 0.14s;
  margin: 12px 0 0 0;
}
.cta-btn.primary {
  background: var(--secondary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #369268;
  box-shadow: 0 10px 24px rgba(76,165,120,0.12);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: var(--primary);
  color: #fff;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #0a2540;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:active {
  color: var(--secondary);
}

/* HEADER & NAVIGATION ---------------------------- */
header {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-green) 90%);
  box-shadow: 0 2px 8px #0000000C;
  z-index: 11;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 46px;
  min-width: 110px;
  margin-right: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
}
header nav a {
  padding: 6px 16px;
  border-radius: 12px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  background: none;
  transition: background 0.18s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: var(--pastel-blue);
  color: var(--secondary);
}
header .cta-btn {
  margin-left: 26px;
}
.mobile-menu-toggle {
  display: none;
  margin-left: 18px;
  font-size: 2rem;
  background: transparent;
  border: none;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  z-index: 60;
  border-radius: 13px;
  transition: background 0.1s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-blue);
}

/* MOBILE MENU ------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(237, 245, 251, 0.97);
  z-index: 1002;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.52,.06,.19,1.02);
  box-shadow: 0 2px 40px rgba(65,86,120,0.08);
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  width: 94vw;
  max-width: 390px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: 40px;
  width: 42px;
  height: 42px;
  margin: 24px 0 16px 20px;
  box-shadow: 0 2px 10px rgba(73,165,120,0.11);
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s, box-shadow 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #369268;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 18px;
  padding-left: 24px;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* Hide desktop nav for mobile, hide burger on desktop */
@media (max-width: 1020px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
}

/* SECTIONS & LAYOUT STRUCTURE -------------------- */
main {
  padding-top: 36px;
  padding-bottom: 48px;
}
section {
  margin-bottom: 60px;
  background: none;
  border-radius: var(--radius-md);
  box-shadow: none;
}
.section {
  background: var(--accent);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

/* FLEXBOX LAYOUTS (strictly no grid) -------------- */
.feature-grid, .sector-grid, .project-list, .testimonial-list, .news-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 0 0 20px 0;
}
.feature-grid, .sector-grid {
  gap: 24px;
}
.card-container, .content-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 22px 26px 22px;
  flex: 1 1 280px;
  min-width: 270px;
  max-width: 99%;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(73,165,120,0.13);
  transform: translateY(-3px) scale(1.01);
}
.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;
  margin-bottom: 36px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  background: #fff;
  color: #20354a;
  box-shadow: var(--shadow-light);
  min-width: 280px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  font-family: var(--font-body);
  flex: 1 1 340px;
  max-width: 590px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card span {
  color: var(--primary);
  margin-left: 16px;
  font-weight: 700;
  font-size: 1rem;
  align-self: flex-end;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(25,64,117,0.12);
  transform: scale(1.01) translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE & SECTOR CARDS ------------------------- */
.feature, .sector, .project, .news-item {
  background: var(--pastel-green);
  border-radius: var(--radius-sm);
  flex: 1 1 270px;
  padding: 24px 18px 22px 18px;
  min-width: 220px;
  box-shadow: var(--shadow-light);
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}
.feature img, .sector img {
  margin-bottom: 10px;
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(70,180,139,0.13));
}
.feature:hover, .sector:hover, .project:hover, .news-item:hover {
  box-shadow: 0 6px 24px rgba(60,140,120,0.13);
  transform: scale(1.01) translateY(-2px);
}

.project {
  background: var(--pastel-lavender);
  color: #1D3250;
}
.project .highlight, .news-item .highlight {
  display: inline-block;
  margin-top: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}
.news-item {
  background: var(--pastel-yellow);
  color: #384258;
}

/* SPECIAL LAYOUT COMPONENTS ---------------------- */
.contact-section {
  display: flex;
  flex-direction: row;
  gap: 38px;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}
.contact-details,
.contact-location {
  flex: 1 1 335px;
  background: var(--pastel-blue);
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  padding: 24px 22px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 1rem;
  color: #597c94;
}
.confirmation-section {
  text-align: center;
  padding: 45px 14px 52px 14px;
  background: var(--pastel-pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.legal-section {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 36px 20px 24px 20px;
  color: #273850;
  box-shadow: var(--shadow-light);
  margin-bottom: 24px;
}
.legal-section h1, .legal-section h2, .legal-section h3 {
  color: var(--primary);
}
.legal-section a {
  text-decoration: underline;
}

/* FOOTER ---------------------------------------- */
footer {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-green) 90%);
  padding: 34px 0 24px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -2px 16px rgba(38,97,128,0.08);
}
footer .container {
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
  min-width: 210px;
  max-width: 340px;
}
.footer-contact img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-contact p {
  color: #2F607C;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.footer-contact p:last-child {
  margin-bottom: 0;
}

/* MICRO ANIMATION UTILS ------------------------- */
[data-animate] {
  transition: opacity 0.3s, transform 0.3s;
}
[data-animate].hidden {
  opacity: 0;
  transform: translateY(24px);
}

/* RESPONSIVE QUERIES ---------------------------- */
@media (max-width: 980px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .feature-grid, .sector-grid, .project-list, .testimonial-list, .news-list, .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .contact-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .content-wrapper, .legal-section, .section {
    padding: 22px 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid, .sector-grid, .project-list, .testimonial-list, .news-list {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 830px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  .card,
  .feature, .sector, .project, .news-item,
  .contact-details, .contact-location {
    min-width: 90%;
    padding: 18px 6px 18px 10px;
  }
  .confirmation-section {
    padding: 24px 5px;
  }
  h1 { font-size: 1.53rem; }
}
@media (max-width: 750px) {
  header .container {
    flex-direction: row;
    padding: 7px 7px;
    align-items: center;
    gap: 0;
  }
  footer {
    padding: 22px 0 14px 0;
  }
}

/* SPACING & GAPS --------------------------------- */
.section, section, .content-wrapper {
  margin-bottom: 60px;
}
.card-container, .content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}

/* COOKIE CONSENT BANNER -------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--pastel-yellow);
  color: #2a2f34;
  padding: 26px 10px 22px 10px;
  box-shadow: 0 -2px 22px rgba(120,160,150,0.08);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  border-radius: 18px 18px 0 0;
  animation: cookieBannerIn .37s cubic-bezier(.54,1.2,.25,1.03);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(90%); opacity: 0;}
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner .cookie-banner-content {
  max-width: 900px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-consent-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-consent-btn {
  padding: 0.57em 2em;
  border-radius: 99px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  margin-right: 5px;
  margin-top: 2px;
  transition: background 0.13s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(49,163,120,0.08);
}
.cookie-consent-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-consent-btn.accept:hover,.cookie-consent-btn.accept:focus {
  background: #369268;
}
.cookie-consent-btn.reject {
  background: #fff;
  color: #455374;
  border: 1px solid #b6cddc;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #f3f8fa;
  color: #173a56;
}
.cookie-consent-btn.settings {
  background: var(--pastel-blue);
  color: #133356;
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  background: var(--pastel-green);
}
@media (max-width: 670px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
    border-radius: 11px 11px 0 0;
    padding-bottom: 9px;
  }
  .cookie-consent-banner .cookie-banner-actions {
    gap: 7px;
  }
}

/* COOKIE MODAL POPUP ----------------------------- */
.cookie-modal-overlay {
  position: fixed !important;
  z-index: 2100;
  inset: 0;
  background: rgba(220,235,239,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayIn 0.33s;
}
@keyframes cookieOverlayIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #193254;
  border-radius: 22px;
  max-width: 420px;
  width: 92vw;
  padding: 42px 30px 28px 30px;
  box-shadow: 0 7px 35px rgba(56,113,177,0.14);
  position: relative;
  font-family: var(--font-body);
  animation: cookieModalIn 0.29s cubic-bezier(.31,1.22,.18,0.99);
}
@keyframes cookieModalIn {
  0% {transform: scale(0.92) translateY(70px); opacity: 0; }
  100% {transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.33rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-modal-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
}
.cookie-modal-category input[type=checkbox] {
  width: 22px; height: 22px;
  border-radius: 6px;
}
.cookie-modal-category.essential label {
  font-weight: 700;
  color: #2c6350;
}
.cookie-modal-category.essential input[type=checkbox] {
  accent-color: var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 13px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #7e9ab5;
  cursor: pointer;
  padding: 0 7px;
  border-radius: 50%;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}

/* UTILS ----------------------------------------- */
.highlight {
  background: var(--pastel-green);
  border-radius: 8px;
  padding: 2px 12px;
  margin-left: 0;
  font-weight: 700;
  color: var(--secondary);
}

/* SCROLLBAR STYLE ------------------------------- */
::-webkit-scrollbar { width: 9px; background: var(--accent); border-radius: 7px; }
::-webkit-scrollbar-thumb { background: var(--pastel-blue); border-radius: 7px; }

/* -- END OF CSS -- */
