/* === CSS RESET & NORMALIZE === */
html, body, div, section, header, footer, nav, main, article, aside, h1, h2, h3, h4, h5, h6, p, ul, ol, li, a, img, button, strong, b, span {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.24s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* === ROOT COLORS AND FONTS === */
:root {
  --color-primary: #1B253B;
  --color-secondary: #006D77;
  --color-accent: #FFD166;
  --color-bg: #F6FAFF;
  --color-white: #FFF;
  --color-dark: #222;
  --color-light: #F4F4F4;
  --color-grey: #D1E0E7;
  --shadow-card: 0 6px 24px rgba(27, 37, 59, 0.09);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}


/* === GENERAL LAYOUT & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 8px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.06rem;
}
.text-section ul {
  margin-top: 0.8em;
  margin-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.text-section ul li {
  position: relative;
  padding-left: 1.1em;
}
.text-section ul li::before {
  content: '●';
  color: var(--color-accent);
  position: absolute;
  left: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-shadow: 0px 6px 18px rgba(27, 37, 59, 0.08);
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
  position: relative;
}
h2:after {
  content: '';
  display: block;
  height: 4px;
  width: 48px;
  margin-top: 8px;
  background: var(--color-accent);
  border-radius: 2px;
}
h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
  margin-top: 0.3em;
}
strong, b {
  font-weight: 700;
  color: var(--color-secondary);
}
p {
  margin-bottom: 0.7em;
  color: var(--color-dark);
  font-size: 1.07rem;
}

/* === ARTISTIC CARD & FLEX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s;
  min-width: 270px;
  flex: 1 1 320px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(27, 37, 59, 0.18);
  transform: translateY(-6px) scale(1.015) rotate(-1deg);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-dark);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  font-size: 1.09rem;
  flex: 1 1 320px;
  min-width: 240px;
  transition: transform 0.14s, box-shadow 0.18s;
}
.testimonial-card:hover {
  transform: scale(1.016) translateY(-4px) rotate(2deg);
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 20px;
  margin-bottom: 20px;
}

/* === FEATURES & SERVICES ICONS === */
.features ul, .content-wrapper ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .features ul, .content-wrapper ul {
    flex-direction: column;
    gap: 16px;
  }
}
.features ul li, .content-wrapper ul li {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 16px 17px 16px;
  min-width: 200px;
  flex: 1 1 220px;
  transition: box-shadow 0.17s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75em;
  margin-bottom: 20px;
}
.features ul li:hover, .content-wrapper ul li:hover {
  box-shadow: 0 8px 34px rgba(0,109,119,0.14);
  transform: scale(1.024) translateY(-6px) rotate(-2deg);
}
.features ul li img, .content-wrapper ul li img {
  width: 36px;
  height: auto;
  margin-bottom: 3px;
}

/* === BLOG TEASERS === */
.blog-teaser {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.19s, transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 7px solid var(--color-accent);
}
.blog-teaser:hover {
  box-shadow: 0 6px 22px rgba(0,109,119,0.13);
  border-left: 7px solid var(--color-secondary);
  transform: translateY(-4px) scale(1.013) rotate(2deg);
}
.blog-teaser h3 a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.19rem;
}
.blog-teaser .date-tag {
  color: var(--color-secondary);
  font-size: 0.98rem;
  font-weight: bold;
}
.blog-teaser .blog-category {
  font-family: var(--font-display);
  color: var(--color-primary);
  background: var(--color-accent);
  display: inline-block;
  padding: 2px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
}

/* === CALL TO ACTION BUTTONS === */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius-md);
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, transform 0.12s;
  box-shadow: 0 3px 17px rgba(0,109,119,0.07);
  letter-spacing: 0.01em;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: none;
  border: none;
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-accent);
  box-shadow: 0 6px 28px rgba(255,209,102,0.17);
  transform: scale(1.025) rotate(-1deg);
}
.cta-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
  box-shadow: 0 6px 22px rgba(0,109,119,0.13);
  transform: scale(1.025) rotate(1deg);
}

/* === HEADER, NAVIGATION & LOGO === */
header {
  background: var(--color-white);
  box-shadow: 0 2px 18px rgba(27,37,59,0.06);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 28px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.19s, color 0.19s;
  font-size: 1.07rem;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav .cta-primary {
  margin-left: 15px;
}
header img {
  max-height: 48px;
  margin-right: 8px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.19s;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 8px 40px rgba(27,37,59,0.19);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.32);
  display: flex;
  flex-direction: column;
  padding: 40px 16px 25px 16px;
  gap: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  border: none;
  margin-bottom: 16px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 12px 0 12px 10px;
  border-radius: var(--radius-md);
  background: none;
  transition: background 0.20s, color 0.20s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary);
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 8px;
  }
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 36px 0 18px 0;
  box-shadow: 0 0px 32px rgba(0,109,119,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer img {
  max-height: 34px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.18s, text-decoration 0.18s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p {
  font-size: 0.98rem;
  color: var(--color-grey);
  margin-top: 12px;
}

/* === MAP & PLACEHOLDER === */
.map-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(120deg, #006D77 40%, #FFD166 100%);
  border-radius: var(--radius-lg);
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.19rem;
  letter-spacing: 0.03em;
  position: relative;
  box-shadow: 0 3px 18px rgba(0,109,119,0.09);
}

/* === PROJECT TAGS === */
.project-tag {
  background: var(--color-secondary);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 3px 12px;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-left: 8px;
}

/* === DATE & META === */
.date-tag {
  color: var(--color-secondary);
  font-size: 0.96rem;
  margin-bottom: 6px;
}

/* === SECTION SPACING & FLEX MODE === */
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 30px;
    padding: 22px 4px;
  }
}
/* Ensures all main sections and card layouts use flex (never grid!) */

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 20px 30px 20px 20px;
  box-shadow: 0 -3px 24px rgba(0,109,119,0.12);
  z-index: 2000;
  font-size: 1.03rem;
  animation: cookie-slide-up 0.55s cubic-bezier(0.32,2,0.55,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 12px;
  padding: 8px 24px;
  font-size: 1.04rem;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.15s, color 0.16s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(255,209,102,0.13);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .reject {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: none;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 7px 18px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 8px;
    gap: 10px;
    align-items: stretch;
    font-size: 0.98rem;
  }
  .cookie-banner button {
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
  }
}
/* Cookie Preference Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,37,59,0.72);
  justify-content: center;
  align-items: center;
  z-index: 3000;
  animation: modal-fade-in 0.33s cubic-bezier(0.4,2,0.5,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0,109,119,0.15);
  min-width: 320px;
  max-width: 96vw;
  padding: 35px 36px 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.10rem;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 19px; height: 19px;
  border-radius: 4px;
}
.cookie-modal-content .modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-content .close-modal {
  position: absolute; right: 20px; top: 17px;
  background: var(--color-accent);
  color: var(--color-secondary);
  border-radius: 50%; border: none;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  transition: background 0.17s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 22px 6vw 16px 6vw;
    min-width: 0;
    font-size: 0.98rem;
  }
}

/* === RESPONSIVE & FLEX LAYOUTS === */
@media (max-width: 900px) {
  .content-wrapper, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    min-width: unset;
    width: 100%;
    gap: 8px;
  }
  .feature-item {
    width: 100%;
  }
}

/* === ARTISTIC DECORATIVE ELEMENTS (Optional) === */
/* For visual flair, use artistic brush underline for some headings */
h2.artistic {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent) 50%, transparent 90%);
  background-size: 115% 18px;
  background-repeat: no-repeat;
  background-position: 0 85%;
  padding-bottom: 0.05em;
}

/* === MICRO-INTERACTIONS FOR ANIMATIONS === */
.cta-primary, .cta-secondary, .main-nav a, .mobile-nav a, .blog-teaser, .card, .testimonial-card, .feature-item, .cookie-banner button {
  transition: all 0.18s cubic-bezier(0.6,0.2,0.3,1);
}

/* === FORMS & INPUTS (for newsletter, if present) === */
input[type="text"],
input[type="email"],
textarea {
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: 10px 16px;
  border: 2px solid var(--color-grey);
  border-radius: var(--radius-md);
  background: var(--color-white);
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.19s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--color-secondary);
}

button[type="submit"] {
  background: var(--color-secondary);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: bold;
  padding: 12px 28px;
  margin-top: 10px;
  border: none;
  transition: background 0.19s, color 0.19s;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* === UTILS === */
.hide { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* === SCROLLBARS === */
::-webkit-scrollbar { width: 10px; background: #E5EAF3; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 12px; }

/* === ARTISTIC FONTS LOAD (For Montserrat/Roboto) === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&family=Roboto:wght@300;400;700&display=swap');

/* === END === */
