/* --- CSS RESET & NORMALIZE --- */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; }
html,body { margin: 0; padding: 0; }
body { min-height: 100vh; background: #F3F6FA; color: #1b2838; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; border: 0; }
ul,ol { margin: 0; padding: 0 0 0 1.5em; }
li { margin-bottom: 8px; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 16px 0; font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; } 
h1 { font-size: 2.5rem; color: #234B82; letter-spacing: -2px; }
h2 { font-size: 2rem; color: #E9B13D; letter-spacing: -1px; }
h3 { font-size: 1.25rem; color: #234B82; font-weight: 700; }
h4,h5,h6 { color: #234B82; font-weight: 700; }
p { margin: 0 0 18px 0; }
a { color: #234B82; text-decoration: none; transition: color 0.2s; }
a:hover, .main-nav a:focus, .footer-nav a:focus { color: #E9B13D; }
strong { font-weight: 700; }

/* --- ROOT VARIABLES (BRAND COLORS) --- */
:root {
  --primary: #234B82;
  --secondary: #F3F6FA;
  --accent: #E9B13D;
  --electric1: #2EDCFF; /* Electric blue */
  --electric2: #FF23A0; /* Neon pink */
  --electric3: #46FF62; /* Neon green */
  --danger: #EA3263; /* Funky pink/red for errors */
  --gray: #606c80;
  --shadow: 0 4px 18px 0 rgba(35,75,130,0.13);
}

@media (max-width:768px) {
  h1 { font-size: 2rem; letter-spacing: -1px; }
  h2 { font-size: 1.5rem; }
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
}

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

.card-container, .feature-grid, .service-list, .blog-teasers, .testimonial-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-item, .blog-post, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}

@media (max-width: 900px) {
  .container { max-width: 100%; }
  .content-wrapper { max-width: 100%; }
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .flex-row { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
  .feature-grid, .service-list, .blog-teasers, .testimonial-list, .content-grid { flex-direction: column; gap: 20px; }
}

/* ---------- HEADER / NAVIGATION ---------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(35,75,130,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo img { height: 48px; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  color: #234B82;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 4px;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FF23A0;
  border-color: #E9B13D;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: linear-gradient(84deg, var(--accent) 65%, var(--electric1) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-shadow: 0 1px 2px rgba(35,75,130,.09);
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  letter-spacing: 1px;
  margin-left: 12px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(92deg, var(--electric2) 55%, var(--accent) 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 20px 0 rgba(35,75,130,0.18);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: var(--electric1);
  color: #234B82;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 13px;
  z-index: 200;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(46,220,255,0.18);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric2);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 78vw;
  max-width: 365px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 40px 0 rgba(35,75,130,0.17);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.8,.1,.43,1.12);
  z-index: 2400;
  padding: 32px 24px 24px 24px;
  opacity: 0.98;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2rem;
  border: none;
  background: transparent;
  align-self: flex-end;
  color: #FF23A0;
  cursor: pointer;
  margin-bottom: 18px;
  margin-right: -15px;
  z-index: 2500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #234B82;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1.5px solid #E9B13D;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FF23A0;
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}

/* ---------- HERO / SECTIONS ---------- */
.hero-section {
  padding: 60px 0 50px 0;
  text-align: center;
  background: #fff;
  border-radius: 36px 36px 24px 24px;
  box-shadow: 0 7px 26px 0 rgba(35,75,130,0.10);
  margin-top: 24px;
  margin-bottom: 48px;
}
.hero-section h1 {
  color: var(--electric2);
  font-size: 2.5rem;
}
.hero-section p {
  font-size: 1.23rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #234B82;
  margin-bottom: 32px;
}

@media (max-width:900px) {
  .hero-section { padding: 40px 10px 30px 10px; }
  .hero-section h1 { font-size: 2rem; }
}

/* ---------- CARDS ---------- */
.feature-grid > div, .service-item, .blog-post, .testimonial-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px 26px 24px 26px;
  flex: 1 1 260px;
  min-width: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
  border-left: 6px solid var(--accent);
}
.feature-grid > div:hover, .service-item:hover, .blog-post:hover, .testimonial-card:hover {
  box-shadow: 0 10px 48px 0 rgba(18,170,225,0.12);
  transform: translateY(-4px) scale(1.025);
  border-left: 6px solid var(--electric2);
}

.feature-grid > div img { height: 38px; margin-bottom: 14px; }
.feature-grid > div h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #234B82;
  letter-spacing: -.5px;
}

.service-list {
  gap: 24px;
  flex-wrap: wrap;
}
.service-item {
  border-left: 6px solid var(--electric1);
  margin-bottom: 20px;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
}
.service-item h3, .service-item h2 { font-size: 1.15rem; font-family: 'Montserrat', Arial, sans-serif; }
.service-item .pricing, .service-item strong {
  color: var(--electric2);
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 4px;
}

.blog-teasers {
  gap: 24px;
}
.blog-post {
  padding: 22px 20px 20px 20px;
  border-left: 6px solid var(--electric3);
  min-height: 160px;
}
.blog-post h3 {
  color: var(--electric3);
  margin-bottom: 13px;
}
.blog-post a {
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
  color: #FF23A0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.blog-post a:hover { color: var(--electric1); text-decoration: underline; }

.card-container { gap: 24px; }
.card { background: #fff; border-radius: 17px; box-shadow: var(--shadow); margin-bottom: 20px; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-list { display: flex; flex-wrap: wrap; gap: 24px; }
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(35,75,130,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 30px 22px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 410px;
  border-left: 6px solid var(--electric1);
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card:hover {
  border-left: 6px solid var(--electric2);
  box-shadow: 0 6px 44px 0 rgba(255,35,160,0.10);
}
.testimonial-card p {
  margin: 0 0 12px 0;
  font-size: 1.08rem;
  color: #1b2838;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-details {
  color: #234B82;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 6px;
}

/* Ensure readable text on testimonials */
.testimonial-card, .testimonial-card p, .testimonial-details {
  background: #fff;
  color: #234B82;
}

/* ---------- BARS & USP ---------- */
.usp-bar, .trust-bar, .cta-bar {
  margin-top: 32px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 24px;
  background: linear-gradient(81deg, var(--electric1) 20%, var(--electric3) 90%);
  color: #fff;
  border-radius: 18px;
  font-weight: bold;
  font-size: 1.07rem;
  box-shadow: 0 2px 16px 0 rgba(46,220,255,0.09);
  letter-spacing: .12em;
  align-items: center;
  justify-content: start;
}
.trust-bar { background: linear-gradient(81deg, #fff 10%, var(--primary) 95%); color: #234B82; border-left: 5px solid var(--accent); }
.cta-bar { background: var(--electric2); color: #fff; border-left: 6px solid var(--accent); }
.usp-bar span, .trust-bar span { margin: 1px 10px 1px 0; }

/* ---------- TEXT & LIST SECTIONS ---------- */
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 36px 32px 26px 32px;
  margin-bottom: 24px;
  margin-top: 16px;
}
.text-section ul {
  margin-top: 0;
  margin-bottom: 16px;
}
.text-section li {
  font-size: 1.05rem;
}

.team-overview {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.team-overview > div {
  background: var(--secondary);
  border-left: 5px solid var(--electric1);
  border-radius: 12px;
  padding: 16px 24px;
  font-weight: 600;
  min-width: 190px;
}
@media (max-width:768px){
  .text-section {padding: 20px 10px;}
  .team-overview{flex-direction:column;gap:12px;}
}

/* Newsletter signup (blog) */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--electric1);
  color: #fff;
  padding: 18px 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  margin: 12px 0 18px 0;
}
.newsletter-signup em {
  color: #234B82;
  font-style: normal;
}

/* ---------- FOOTER ---------- */
footer {
  background: #234B82;
  color: #fff;
  padding: 34px 0 14px 0;
  margin-top: 70px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer-brand img{height:40px;}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-nav a:hover,.footer-nav a:focus{color:var(--accent);}
.footer-contact {
  gap: 12px;
  font-size: 1rem;
  align-items: flex-start;
}
.footer-contact a {
  color: var(--electric1);
  font-weight: 700;
}
.footer-contact img {
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
@media(max-width:700px){
  .footer-brand{flex-direction:column;align-items:flex-start;gap:10px;}
  .footer-nav,.footer-contact{flex-direction:column;align-items:flex-start;gap:9px;}
}

/* ---------- CONTACT DETAILS LIST ---------- */
.contact-details {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.contact-details a { font-weight: bold; color: var(--electric1);}
.contact-details a:hover{color:var(--electric2);}
.contact-map {
  background: var(--electric1);
  color: #fff;
  padding: 15px 14px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-map img { height: 20px; margin-right: 10px; }

/* ---------- GENERAL ELEMENTS ---------- */
button, .cta-button {
  cursor: pointer;
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.19s, box-shadow 0.18s, color 0.18s;
}
button:active, .cta-button:active {
  transform: translateY(1px) scale(0.96);
}

/* Form controls (if any in future) */
input[type="text"],input[type="email"],textarea,select{
  font-family:'Roboto',Arial,sans-serif;
  font-size:1rem;
  border:1.5px solid #d3deef;
  border-radius:11px;
  padding:10px 15px;
  margin-bottom:16px;
  outline:none;
  background:#fff;
  color:#234B82;
  transition:border .18s;
}
input:focus,textarea:focus,select:focus{
  border:1.5px solid var(--electric1);
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #234B82;
  color: #fff;
  z-index: 50000;
  box-shadow: 0 -4px 24px 0 rgba(35,75,130,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 30px 24px 20px;
  font-size: 1rem;
  min-height: 80px;
  transition: transform 0.3s cubic-bezier(.7,.3,.3,1.1);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner__text { flex: 1; }
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 21px;
  border-radius: 27px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--electric1);
  transition: background 0.18s, color 0.18s, transform 0.16s;
  box-shadow: 0 1px 7px 0 rgba(46,220,255,0.13);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--electric2);
}
.cookie-btn.reject {
  background: var(--danger);
}
.cookie-btn.reject:hover {
  background: #A21844;
}
.cookie-btn.settings {
  background: #fff;
  color: #234B82;
  border: 2px solid var(--electric1);
}
.cookie-btn.settings:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 12px 20px 10px;
    font-size: 0.96rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,75,130,.32);
  z-index: 51000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 80px 0 rgba(35,75,130,0.19);
  padding: 34px 36px 28px 32px;
  max-width: 410px;
  width: 90vw;
  z-index: 52000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideUp 0.28s cubic-bezier(.77,.09,.39,1.18);
}
@keyframes slideUp {
  from { transform:translateY(90px) scale(.93); opacity:0; }
  to { transform:translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #234B82;
}
.cookie-modal .cookie-cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 21px;
  background: #d3deef;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--electric1);
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  height: 16px;
  width: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(35,75,130,0.11);
  transition: left 0.17s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]::after {
  left: 19px;
}
.cookie-cat span { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.05rem; font-weight: 600; color: #234B82;}
.cookie-modal .essential { color: #aaa; font-style: italic; }
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  background: none;
  color: #FF23A0;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 12px;
}
@media(max-width:450px){.cookie-modal{padding:18px 6px 14px 8px;}}

/* ------ MICRO INTERACTIONS ------ */
a, button, .cta-button, .cookie-btn {
  transition: background .16s, color .14s, border .16s, box-shadow .13s, transform .16s;
}

/* ---------- UTILITY ---------- */
.gap-xs { gap: 6px; }
.gap-s { gap: 10px; }
.gap-m { gap: 16px; }
.gap-lg { gap: 32px; }
.text-center { text-align: center; }
.rounded-lg { border-radius: 24px; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width:430px){
  .footer-brand img{height:34px;}
  .logo img{height:34px;}
}

/* --- MINIMUM GAPS BETWEEN ALL CARDS/SECTIONS --- */
section, .text-section, .card, .service-item, .feature-grid > div, .blog-post, .testimonial-card {
  margin-bottom: 24px;
}
section:last-child, .text-section:last-child { margin-bottom: 0; }

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