/* ==== 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;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #223E57;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #21968B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #223E57;
  text-decoration: underline;
}

/* ==== COLOR PALETTE & VARIABLES ==== */
:root {
  --primary: #223E57;
  --secondary: #21968B;
  --accent: #F5F7FA;
  --electric-blue: #38ECF7;
  --vibrant-coral: #FF6B5C;
  --sunny-yellow: #FFD82F;
  --energetic-purple: #B968FE;
  --dark: #12202A;
  --white: #fff;
  --grey: #E7EDF2;
  --shadow: 0 4px 18px 0 rgba(56, 236, 247, 0.10);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  color: var(--electric-blue);
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 24px;
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--primary);
}
strong {
  color: var(--vibrant-coral);
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: var(--dark);
  border-left: 3px solid var(--secondary);
  padding-left: 15px;
  margin-bottom: 8px;
}

/* ==== BASE LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  background: var(--accent);
  border-left: 5px solid var(--energetic-purple);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(185, 104, 254, 0.12);
}
.legal-content {
  background: var(--white) !important;
  border-left: 5px solid var(--primary);
}

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

/* ==== FLEX PATTERNS (MANDATORY FOR LAYOUT) ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(34,62,87,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.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;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(34, 62, 87, 0.10);
  margin-bottom: 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 5px solid var(--electric-blue);
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(56,236,247,0.15);
  transform: translateY(-4px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HOMEPAGE & COMPONENTS ==== */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature_grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--grey);
  padding: 18px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(33,150,139,0.10);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.2s;
}
.feature_grid li img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 8px var(--electric-blue));
}
.feature_grid li:hover {
  background: var(--energy);
  background: var(--sunny-yellow);
}
.service_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0;
}
.service_list li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  background: var(--grey);
  border-radius: 8px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
}
.service_list span {
  color: var(--secondary);
  font-weight: 700;
  margin-left: 12px;
}
.short_contact_info {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.04rem;
}
.latest_articles_list, .news_article_list, .insight_articles, .team_bios_list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0 0 18px 0;
}

/* Special Grids for reviews/apps/startups */
.app_review_cards, .startup_portraits, .use_case_features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.app_review_cards > div, .startup_portraits > div, .use_case_features > div {
  flex: 1 1 210px;
  background: var(--accent);
  padding: 22px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 2px 10px 0 rgba(56,236,247,0.05);
  min-width: 200px;
  transition: box-shadow 0.22s;
}
.app_review_cards > div:hover, .startup_portraits > div:hover, .use_case_features > div:hover {
  box-shadow: 0 6px 24px 0 rgba(34,62,87,0.19);
}

/* Review Table Styling */
.review_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  margin-bottom: 18px;
}
.review_table th {
  background: var(--electric-blue);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 10px;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.review_table td {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 10px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 0 0 10px 10px;
  font-size: 1.02rem;
}
.review_table tr:not(:first-of-type):hover td {
  background: var(--sunny-yellow);
}

/* ==== BUTTONS ==== */
.cta-button, .cookie-accept, .cookie-reject, .cookie-settings, .mobile-menu-close {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 800;
  border: none;
  background: var(--electric-blue);
  color: var(--primary);
  box-shadow: 0 2px 12px 0 rgba(255,107,92,0.10);
  cursor: pointer;
  position: relative;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.2s;
}
.cta-button:hover, .cta-button:focus, .cookie-accept:hover, .cookie-settings:hover {
  background: var(--vibrant-coral);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 22px 0 rgba(255,107,92,0.15);
}
.cookie-reject {
  background: #bbb;
  color: var(--primary);
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: var(--primary);
  color: var(--white);
}

/* Mobile hamburger icon */
.mobile-menu-toggle {
  background: var(--electric-blue);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(56,236,247,0.12);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, transform 0.17s;
  z-index: 105;
}
.mobile-menu-toggle:hover {
  background: var(--vibrant-coral);
  color: var(--white);
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: var(--primary);
  padding: 0 0 0 0;
  box-shadow: 0 4px 18px 0 rgba(56,236,247,0.09);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 100;
  position: relative;
}
header a img {
  height: 54px;
  margin: 16px 0 10px 8px;
  display: inline-block;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0 18px 18px 18px;
}
header nav a {
  color: var(--electric-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 8px;
  border-radius: 3px;
  transition: color 0.18s, background 0.12s;
}
header nav a:hover, header nav a:focus {
  color: var(--white);
  background: var(--secondary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,62,87,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 24px 0 24px;
  z-index: 300;
  transform: translateX(-105vw);
  transition: transform 0.32s cubic-bezier(0.47,1.64,0.41,0.8);
  box-shadow: 0 8px 44px 0 rgba(56,236,247,0.15);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--vibrant-coral);
  color: var(--white);
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(255, 107, 92, 0.10);
  z-index: 320;
  transition: background 0.14s;
}
.mobile-menu-close:hover {
  background: var(--electric-blue);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  color: var(--electric-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.26rem;
  padding: 18px 12px;
  border-radius: 7px;
  margin-bottom: 6px;
  background: none;
  text-align: left;
  transition: color 0.17s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--sunny-yellow);
  background: rgba(33,150,139,0.12);
}

@media (max-width: 1010px) {
  .container { max-width: 98vw; }
  .content-wrapper { padding: 36px 10px; }
  header nav { gap: 15px; padding: 0 9px 12px 9px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .content-wrapper { padding: 24px 6px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}

@media (max-width: 850px) {
  .feature_grid, .app_review_cards, .startup_portraits, .use_case_features {
    flex-direction: column;
    gap: 14px;
  }
  .feature_grid li, .app_review_cards > div, .startup_portraits > div, .use_case_features > div {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 14px;
    padding: 18px 4px;
    margin-bottom: 14px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; }
  .section { padding: 28px 7px; margin-bottom: 28px; }
  .service_list li, .feature_grid li { flex-direction: column; align-items: flex-start; }
  .review_table th, .review_table td { font-size: 1rem; padding: 8px 5px; }
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  header nav { display: flex !important; }
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--electric-blue);
  padding: 36px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 30px;
  margin-bottom: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: var(--electric-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
footer nav a:hover {
  color: var(--sunny-yellow);
  text-decoration: underline;
}
footer p {
  font-size: 0.99rem;
  color: var(--sunny-yellow);
  letter-spacing: 0.02em;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--electric-blue);
  box-shadow: 0 -4px 36px 0 rgba(34,62,87,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 450;
  padding: 18px 8px 26px 8px;
  animation: cookie-slidein 0.6s cubic-bezier(0.54,1.5,0.67,1) 1;
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner .cookie-banner-content {
  width: 100%;
  max-width: 510px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}
.cookie-banner-content p {
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner button {
  min-width: 120px;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,62,87,0.61);
  z-index: 799;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--white);
  border-radius: 22px;
  padding: 38px 28px 28px 28px;
  max-width: 400px;
  width: 98vw;
  box-shadow: 0 8px 48px 0 rgba(185,104,254,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 801;
  opacity: 1;
  animation: modal-popin 0.36s cubic-bezier(0.49,1.74,0.39,0.95) 1;
}
@keyframes modal-popin {
  from { transform: scale(0.97); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  margin: 16px 0 11px 0;
  padding: 0 0 0 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  margin-right: 11px;
  width: 18px; height: 18px;
}
.cookie-modal label {
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 19px;
}
/* Essential cookies always enabled */
.cookie-locked {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.65;
  margin-left: 38px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 17px;
  right: 19px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==== INTERACTIONS & ANIMATIONS ==== */
.cta-button,
.cookie-accept, .cookie-reject, .cookie-settings, .mobile-menu-close {
  will-change: transform, background, color;
}
.card, .testimonial-card, .app_review_cards > div, .startup_portraits > div, .use_case_features > div {
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .app_review_cards > div:hover, .startup_portraits > div:hover, .use_case_features > div:hover {
  box-shadow: 0 8px 32px 0 rgba(56,236,247,0.15);
  transform: translateY(-2px) scale(1.015);
}

/* ==== MISCELLANEOUS ==== */
.map-embed {
  border: 2.5px dashed var(--secondary);
  padding: 18px;
  margin: 20px 0 18px 0;
  color: var(--primary); font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 11px;
  background: var(--accent);
}

/* ========== END OF STYLE.CSS ========== */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}