/* --- 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,
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F5F7F9;
  color: #12334D;
  font-family: 'Open Sans', 'Arial', sans-serif;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #39A689;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #12334D;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #d6e0e9;
}

/* --- FONT IMPORTS (Google Fonts fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #12334D;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.75rem; margin-bottom: 20px; line-height: 1.1;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.2rem; margin-bottom: 12px;}
h4,h5,h6 {font-size: 1rem; margin-bottom: 8px;}
p, li, ul, ol {font-size: 1rem; margin-bottom: 12px; color: #23415C;}
.subheadline {color: #39A689; font-size: 1.25rem; margin-bottom: 28px; font-family: 'Open Sans', sans-serif; font-weight: 600;}
strong {font-weight: 700; color: #12334D;}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #12334D, #39A689 80%);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 12px rgba(34,46,68,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  padding: 6px 12px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: rgba(245,247,249,0.22);
  color: #12334D;
}
header img {
  height: 38px;
  width: auto;
}
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-left: 12px;
  box-shadow: 0 3px 14px rgba(34, 46, 68, 0.11);
  text-align: center;
  display: inline-block;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #12334D 70%, #39A689 100%);
  color: #fff;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: linear-gradient(90deg, #39A689 50%, #12334D 100%);
  color: #fff;
}
.cta-btn.secondary {
  background: #fff;
  color: #12334D;
  border: 2px solid #39A689;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #39A689;
  color: #fff;
  border-color: #12334D;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 2002;
  background: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  color: #12334D;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(34,46,68,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #39A689;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 40px rgba(50,70,120,0.16);
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(.7,.26,.22,1.13);
  z-index: 4000;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #39A689;
  background: #f5f7f9;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #39A689;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 56px 32px 32px;
}
.mobile-nav a {
  color: #12334D;
  font-size: 1.25rem;
  font-weight: 700;
  background: none;
  transition: color 0.2s;
  padding: 10px 8px;
  border-radius: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #39A689;
  color: #fff;
}

/* --- HERO --- */
.hero {
  padding: 64px 0 48px 0;
  background: linear-gradient(105deg, #f5f7f9 65%, #39A689 120%);
  background-repeat: no-repeat;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 220px;
  justify-content: flex-start;
}
.hero h1 {
  color: #12334D;
  font-size: 2.75rem;
  margin-bottom: 16px;
  line-height: 1.05;
}
.hero .subheadline {
  margin-bottom: 32px;
}

/* --- FLEXBOX LAYOUTS MANDATORY --- */
.feature-grid, .service-grid, .startup-grid, .team-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 26px rgba(34,46,68,0.06);
  padding: 32px 20px;
  flex: 1 1 340px;
}
.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 32px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(34,46,68,0.08);
  max-width: 630px;
  min-width: 290px;
}
.testimonial-content p {
  font-size: 1.1rem;
  color: #12334D;
  margin-bottom: 14px;
}
.testimonial-author {
  color: #39A689;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
}
.feature-item,
.team-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,46,68,0.09);
  padding: 26px 20px 20px;
  flex: 1 1 240px;
  min-width: 200px;
}

/* --- SPECIFIC FLEX LAYOUTS FOR PAGES --- */
.feature-grid .feature-icon {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(57, 166, 137, 0.13);
  padding: 24px 18px;
  flex: 1 1 260px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
}
.service-list,
.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.service-list li, .workshop-list li {
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #39A689;
  padding: 18px 20px 10px 28px;
  margin-bottom: 6px;
  color: #23415C;
  box-shadow: 0 2px 11px rgba(34,46,68,0.07);
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(57, 166, 137, 0.11);
  padding: 28px 18px 16px 18px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  min-width: 200px;
}
.startup-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 13px rgba(57, 166, 137, 0.07);
  padding: 24px 16px 16px 16px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 170px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.team-profile h3 {
  color: #12334D;
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.team-profile p {
  color: #39A689;
  font-weight: 600;
  margin-bottom: 0px;
}


/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(90deg, #39A689 40%, #12334D 100%);
  color: #fff;
  border-radius: 18px;
  padding: 38px 0 38px 0;
  margin-bottom: 50px;
  box-shadow: 0 6px 40px rgba(57,166,137,0.07);
}
.cta .content-wrapper h2,
.cta .content-wrapper p {
  color: #fff;
}
.cta .cta-btn {
  margin-top: 18px;
}

/* --- FILTER BAR --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.filter-bar input[type="text"],
.filter-bar select {
  min-width: 150px;
  padding: 8px 14px;
  border: 1px solid #39A689;
  border-radius: 7px;
  background: #fff;
  font-size: 1rem;
  color: #12334D;
  transition: border 0.2s;
}
.filter-bar input:focus, .filter-bar select:focus {
  border-color: #12334D;
}

/* --- MAP/CONTACT DETAILS --- */
.contact-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details img {
  height: 20px;
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.map {
  margin-top: 18px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #12334D 85%, #39A689 100%);
  color: #fff;
  padding: 44px 0 16px 0;
  box-shadow: 0 -3px 19px rgba(34,46,68,0.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.88;
  margin-bottom: 2px;
  transition: opacity 0.2s, text-decoration 0.2s;
}
footer nav a:hover,
footer nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
footer img {
  height: 38px;
}
.contact-info ul {
  list-style: none;
}
.contact-info li {
  color: #fff;
  opacity: 0.92;
  margin-bottom: 5px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- MODALS, ANIMATIONS, INTERACTIONS --- */
.card, .team-profile, .feature-icon, .service-card, .startup-card, .testimonial-card, .service-list li {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .team-profile:hover, .feature-icon:hover, .service-card:hover, .startup-card:hover, .testimonial-card:hover, .service-list li:hover {
  box-shadow: 0 8px 40px rgba(57,167,137,0.13);
  transform: translateY(-5px) scale(1.015);
}
button, .cta-btn {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 3px #39A68955;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1150px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid,.service-grid,.startup-grid,.team-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px 14px 10px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 7px;
    width: 100%;
    max-width: 320px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .service-grid, .startup-grid, .team-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .section,
  section {
    padding: 24px 0;
    margin-bottom: 36px;
  }
  .hero .container {
    min-height: 160px;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 8px 17px 8px;
  }
  .cta {
    padding: 24px 0;
    border-radius: 13px;
    margin-bottom: 32px;
  }
  .card, .service-card, .team-profile, .feature-icon, .startup-card, .testimonial-card {
    min-width: 0;
    padding: 19px 10px !important;
  }
  .testimonials, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .footer .container, footer .container{
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .filter-bar {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container {
    padding: 0 7px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: linear-gradient(90deg, #fff 60%, #d8f5ed 100%);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(57,166,137,0.11);
  transition: transform 0.45s cubic-bezier(.7,.26,.22,1.13), opacity 0.3s;
}
.cookie-consent-banner.closed {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner-text {
  color: #12334D;
  font-size: 1rem;
  margin-right: 22px;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat',sans-serif;
  border-radius: 20px;
  border: none;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  cursor: pointer;
  margin-left: 4px;
}
.cookie-btn.accept {
  background: #39A689;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #12334D;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #39A689;
  border: 1.5px solid #39A689;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #39A689;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff9;
  color: #39A689;
  border: 1.5px solid #cccccc;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #39A68933;
  color: #12334D;
}

/* --- COOKIE PREFERENCE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 6000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,51,77, 0.25);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 11px 68px rgba(34,46,68,0.11);
  padding: 36px 22px 28px 22px;
  width: 97%;
  max-width: 410px;
  color: #12334D;
  animation: popupFade 0.52s cubic-bezier(.52,.38,.22,.99);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@keyframes popupFade {
  0% { opacity: 0; transform: scale(0.94) translateY(50px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #39A689;
  font-size: 1.22rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.toggle-switch input[type="checkbox"] {
  width: 34px;
  height: 18px;
  accent-color: #39A689;
  margin-right: 6px;
}
.toggle-switch input[disabled] {
  opacity: 0.59;
  cursor: not-allowed;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.cookie-modal-footer .cookie-btn {
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 16px 8px;
  }
  .cookie-banner-text {font-size: 0.98rem;}
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {width: 9px; background: #f3fbf9;}
::-webkit-scrollbar-thumb {background: #d5eae4; border-radius: 6px;}

/* --- PRINT OPTIMIZATION --- */
@media print {
  .mobile-menu,
  .mobile-menu-toggle,
  .cookie-consent-banner,
  .cookie-modal-overlay {
    display: none !important;
  }
}

/* --- END OF STYLE.CSS --- */
