/* --- 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5FAFF;
  color: #0D2235;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #19406D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #3CA676;
  outline: none;
}
ul, ol {
  padding-left: 1.7em;
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #19406D;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.24rem;
  margin-bottom: 14px;
  line-height: 1.25;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #131e33;
}

/* Typography hierarchy for energy! */
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(25,64,109,0.30);
}

/* --- CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* --- HEADER & NAV --- */
header {
  background: #19406D;
  box-shadow: 0 4px 18px rgba(25,64,109,0.14);
  position: relative;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 14px;
  transition: background .15s;
}
header nav a:hover, header nav a:focus {
  background: #3CA676;
  color: #fff;
}
.btn-primary {
  background: #3CA676;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.12rem;
  font-weight: 800;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(61,166,118,0.09);
  transition: background .18s, box-shadow .2s, transform .17s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #19406D;
  color: #fff;
  box-shadow: 0 0 0 2px #19406D22;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  margin-left: 16px;
  transition: color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #3CA676;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #19406D;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.4,1.6,.23,1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  cursor: pointer;
  z-index: 22;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #3CA676;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px 32px 16px 48px;
  margin-top: 30px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  padding: 10px 0;
  transition: color .19s, background .14s;
  border-radius: 7px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3CA676;
  color: #fff;
}

/* --- HERO BANNER --- */
.hero {
  background: linear-gradient(92deg, #19406D 64%, #3CA676 97%);
  padding: 80px 0 50px 0;
  margin-bottom: 0;
  position: relative;
  color: #fff;
  box-shadow: 0 8px 36px 0 rgba(25,64,109,0.09);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 740px;
}
.hero p {
  color: #fff;
  font-size: 1.17rem;
}

/* --- FEATURES / CARDS --- */
.feature-grid, .startup-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .startup-feature-grid > div {
  flex: 1 1 230px;
  min-width: 200px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 11px 0 rgba(25,64,109,0.07);
  padding: 26px 20px 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .14s;
  border-left: 6px solid #3CA676;
}
.feature-grid > div:hover, .startup-feature-grid > div:hover {
  box-shadow: 0 5px 22px 0 rgba(25,64,109,.15);
  transform: translateY(-3px) scale(1.024);
}
.feature-grid img, .startup-feature-grid img {
  margin-bottom: 18px;
  height: 40px;
  width: 40px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #E9F1FA;
  color: #193250;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(25,64,109,.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  border-left: 5px solid #3CA676;
  transition: box-shadow .16s, transform .12s;
}
.testimonial-card strong {
  color: #19406D;
  margin-left: 16px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px 0 rgba(61,166,118,0.10);
  transform: scale(1.018);
}

/* --- TEAM PROFILES --- */
.team-member-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-member-profiles > div {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 9px 0 rgba(25,64,109,0.06);
  padding: 20px 18px 16px 18px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 5px solid #19406D;
  transition: box-shadow .16s, transform .13s;
}
.team-member-profiles > div:hover {
  box-shadow: 0 8px 26px 0 rgba(25,64,109,0.13);
  transform: scale(1.024);
}

/* --- CARDS, LISTINGS, HIGHLIGHTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(25,64,109,.08);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 26px 25px 26px;
  transition: box-shadow .19s, transform .13s;
}
.card:hover {
  box-shadow: 0 7px 24px 0 rgba(61,166,118,0.14);
  transform: translateY(-2px) scale(1.015);
}
.review-snippets, .review-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.review-snippets > div, .review-listings > div {
  flex: 1 1 200px;
  min-width: 180px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(61,166,118,0.09);
  margin-bottom: 20px;
  padding: 20px 14px;
  border-left: 5px solid #3CA676;
  transition: box-shadow .18s, transform .13s;
}
.review-snippets > div:hover, .review-listings > div:hover {
  box-shadow: 0 6px 22px 0 rgba(25,64,109,0.14);
  transform: scale(1.014);
}

.tech-score-highlights, .local-tips, .partner-network, .map-snippet {
  background: #E9F1FA;
  color: #0D2235;
  border-radius: 10px;
  padding: 16px 22px;
  margin: 16px 0 0 0;
  font-size: 1.03rem;
}
.tech-score-highlights p, .local-tips p, .partner-network p, .map-snippet p {
  margin-bottom: 0;
}

.event-highlights {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 9px 0 rgba(25,64,109,0.052);
}

.contact-short-info {
  background: #afafaf;
  color: #0D2235;
  border-radius: 11px;
  margin-top: 32px;
  padding: 18px 18px 13px 18px;
  font-size: 1.02rem;
  box-shadow: 0 1px 4px rgba(25,64,109,0.08);
}

/* --- CONTENT ALIGNMENT & FLEX UTILS --- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** CTA Banner *****/
.cta-banner {
  background: #3CA676;
  color: #fff;
  border-radius: 18px;
  margin: 40px 0 0 0;
  padding: 44px 20px 40px 20px;
  box-shadow: 0 5px 24px rgba(61,166,118,.11);
  text-align: center;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .btn-primary {
  margin-top: 18px;
  border-radius: 24px;
}

/* Footer */
footer {
  background: #19406D;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 80px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 13px;
}
footer nav a {
  color: #fff;
  opacity: 0.89;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #3CA676;
}
.footer-info {
  color: #E9F1FA;
  opacity: 0.98;
  margin-bottom: 8px;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 26px 0;
  font-size: 1rem;
}
thead {
  background: #E9F1FA;
  color: #19406D;
}
th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #C1D2EB;
  text-align: left;
}
th {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}
tbody tr:hover {
  background: #F2FAF7;
}

/* --- FORMS & INPUTS (if needed) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1.5px solid #C1D2EB;
  border-radius: 9px;
  background: #E9F1FA;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #3CA676;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #19406D;
  color: #fff;
  box-shadow: 0 -7px 36px rgba(25,64,109,.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 26px 16px 20px 16px;
  z-index: 3500;
  font-size: 1rem;
  animation: cookieSlideIn .76s cubic-bezier(.3,1.25,.58,1) both;
}
@keyframes cookieSlideIn {
  0% { opacity: 0; transform: translateY(95px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  background: #3CA676;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 7px;
  box-shadow: 0 2px 7px rgba(61,166,118,0.11);
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .16s;
  outline: none;
  margin-bottom: 6px;
  display: inline-block;
}
.cookie-banner button.reject {
  background: #F1403C;
  color: #fff;
}
.cookie-banner button.settings {
  background: #E9F1FA;
  color: #19406D;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #126749;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #B03D3A;
}
.cookie-banner button.settings:hover {
  background: #19406D;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,64,109,.80);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinModal .4s cubic-bezier(.3,1.2,.6,1) both;
}
@keyframes fadeinModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #174877;
  border-radius: 13px;
  box-shadow: 0 8px 44px 0 rgba(25,64,109,0.14);
  padding: 37px 30px 30px 30px;
  width: 94vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.02rem;
}
.cookie-modal-content h3 {
  color: #19406D;
  font-size: 1.16rem;
  margin-bottom: 7px;
}
.cookie-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 5px 0 8px 0;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: #19406D;
}
.cookie-modal-content .toggle {
  width: 36px;
  height: 22px;
  background: #C1D2EB;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal-content .toggle[aria-checked="true"] {
  background: #3CA676;
}
.cookie-modal-content .toggle:after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 10px;
  transition: left .19s;
  box-shadow: 0 1px 4px #19406D11;
}
.cookie-modal-content .toggle[aria-checked="true"]:after {
  left: 17px;
}
.cookie-modal-content .category-desc {
  font-size: 0.97rem;
  color: #6787A7;
  margin-bottom: 8px;
}
.cookie-modal-content .modal-buttons {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-content button {
  background: #3CA676;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .13s, color .09s;
}
.cookie-modal-content button.cancel {
  background: #E9F1FA;
  color: #19406D;
}
.cookie-modal-content button.cancel:hover {
  background: #19406D;
  color: #fff;
}
.cookie-modal-content button.accept:hover,
.cookie-modal-content button.save:hover {
  background: #126749;
}

/***** RESPONSIVE / MOBILE FIRST *****/
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 860px) {
  .feature-grid > div, .startup-feature-grid > div, .review-snippets > div, .review-listings > div, .team-member-profiles > div {
    flex-basis: 46%;
    min-width: 145px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container, .footer .container {
    padding: 10px 10px 10px 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 11px 22px;
  }
  .feature-grid, .startup-feature-grid, .review-snippets, .review-listings, .team-member-profiles {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .startup-feature-grid > div, .review-snippets > div, .review-listings > div, .team-member-profiles > div {
    flex-basis: 99%;
    min-width: 90vw;
  }
  .hero {
    padding: 48px 0 30px 0;
    text-align: left;
  }
  .hero .content-wrapper {
    padding: 0;
    max-width: 95vw;
  }
  .cta-banner {
    padding: 34px 10px 28px 10px;
  }
  .cta-banner h2 {
    font-size: 1.32rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 23px;
  }
  th, td {
    padding: 10px 4px;
    font-size: .97rem;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 7px;
  }
}
@media (max-width: 600px) {
  header img {
    height: 36px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1.04rem;
  }
  .hero {
    padding: 34px 0 15px 0;
  }
  .cookie-modal-content {
    padding: 22px 7vw 20px 7vw;
  }
}

/***** MICRO-INTERACTIONS & EFFECTS *****/
.btn-primary, .cookie-banner button, .cookie-modal-content button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .19s, color .11s, box-shadow .15s, transform .14s;
}
.btn-primary:active, .cookie-banner button:active, .cookie-modal-content button:active {
  transform: scale(.98);
}
.feature-grid > div:active, .card:active, .testimonial-card:active, .team-member-profiles > div:active, .review-snippets > div:active, .review-listings > div:active {
  transform: scale(.97);
}

/***** Z-INDEX UTILITY *****/
header {
  z-index: 1000;
}
.mobile-menu {
  z-index: 2000;
}
.cookie-banner {
  z-index: 3500;
}
.cookie-modal {
  z-index: 8000;
}

/***** MISCELLANEOUS UTILITIES *****/
::-webkit-input-placeholder { color: #17447099; }
:-moz-placeholder { color: #17447099; }
::-moz-placeholder { color: #17447099; }
:-ms-input-placeholder { color: #17447099; }
::placeholder { color: #17447099; }

/***** SPECIAL FLEX LAYOUTS as per assignment *****/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }