/* ========== CSS RESET & BASE LINE ========== */
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, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #F2F2F2;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* ========== BRAND TYPOGRAPHY & COLOR VARIABLES ========== */
:root {
  --primary: #0B3D91;
  --secondary: #F2F2F2;
  --accent: #FFD700;
  --bright1: #21D9CE;
  --bright2: #FF51A4;
  --bright3: #12A4D9;
  --dark: #1A2332;
  --white: #fff;
  --gray: #e8ebf2;
  --shadow: 0 6px 32px rgba(11,61,145,0.08);
  --radius: 22px;
  --radius-card: 18px;
}

body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.35rem;
}

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
}
strong {
  font-weight: 700;
}
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bright3);
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1;
  top: 1px;
}

@media (max-width: 480px) {
  h1{font-size:2rem;}
  h2{font-size:1.5rem;}
}

/* ========== LAYOUT CONTAINERS & SECTIONS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 26px 10px;
  }
  .container { padding: 0 6px; }
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section{
    flex-direction: column;
    gap:16px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.22s cubic-bezier(0.4,1,0.6,1), box-shadow 0.16s;
  position: relative;
  padding: 26px 20px 22px 20px;
}
.card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 14px 36px rgba(33,217,206, 0.12);
}

/* ========== HEADER & NAV ========== */
header {
  background: var(--white);
  box-shadow: 0 6px 32px rgba(11,61,145,0.07);
  padding-top: 10px;
  position: relative;
  z-index: 1020;
}
header .container {
  min-height: 80px;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
}
header a img {
  max-height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.main-nav a {
  color: var(--primary);
  padding: 10px 6px;
  transition: color 0.18s;
  position: relative;
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--bright1);
  background: var(--gray);
}

header .cta-button {
  margin-left: 18px;
}

@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .main-nav { gap: 18px; }
  header .cta-button { margin-left: 10px; }
}

@media (max-width: 800px) {
  .main-nav { display: none !important; }
  header .cta-button { display: none !important; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 11px;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  z-index: 2022;
  box-shadow: 0 2px 15px rgba(33,217,206,0.10);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--bright1);
  color: var(--white);
  outline: none;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  box-shadow: 0 0 32px rgba(11,61,145,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .37s cubic-bezier(.5,1,.89,1.03), opacity .21s;
  z-index: 3000;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 2px 0;
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--bright2);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  border-radius: 10px;
  padding: 14px 26px;
  width: 80vw;
  text-align: center;
  font-weight: bold;
  transition: background 0.15s, color 0.15s, transform 0.27s;
  margin: 0 auto;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--bright3);
  color: var(--white);
  transform: scale(1.04);
}
@media (max-width: 800px) {
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 801px) {
  .mobile-menu { display: none !important; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--bright1);
  background-image:
        radial-gradient(ellipse at 30% 40%, var(--accent) 0px, transparent 62%),
        radial-gradient(ellipse at 90% 10%, var(--bright2) 0px, transparent 60%);
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
  animation: bg-float 9s linear infinite alternate;
}
@keyframes bg-float {
  0% { background-position: 0% 0%, 70% 0%; }
  100% { background-position: 8% 20%, 100% 40%; }
}
.hero .container {
  align-items: center;
}
.hero h1, .hero p {
  color: var(--dark);
  text-shadow: 0 2px 16px #fff3;
}
.hero .cta-button {
  margin-top: 18px;
}

@media (max-width: 800px) {
  .hero { min-height: 220px; border-radius:0 0 25px 25px; margin-bottom:32px;}
}

/* ========== CALL TO ACTION BUTTON ========== */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(90deg, var(--accent), var(--bright1) 90%);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(255,215,0,0.11);
  padding: 15px 34px;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--bright2) 0%, var(--bright1) 75%);
  color: var(--white);
  box-shadow: 0 12px 38px rgba(33,217,206, 0.17);
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
}
.cta-button:active {
  background: var(--accent);
  color: var(--dark);
}

/* ========== FEATURES & USP FLEX LAYOUTS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px){
  .feature-grid { gap: 18px; }
}
@media (max-width:600px){
  .feature-grid { flex-direction: column; gap: 16px;}
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px 18px 18px 18px;
  min-width: 190px;
  flex: 1 1 210px;
  transition: box-shadow 0.18s, transform 0.23s;
  position: relative;
  margin-bottom: 20px;
  border: 3px solid transparent;
}
.feature-item img {
  width: 54px;
  aspect-ratio:1/1;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 2px #FFD70033);
  animation: icon-pop .95s cubic-bezier(.36,1.61,.41,1.19) infinite alternate;
}
@keyframes icon-pop {
  0% { transform: scale(1) rotate(-5deg); }
  100% { transform: scale(1.12) rotate(4deg); }
}
.feature-item h3 {
  font-size: 1.18rem;
  color: var(--bright2);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 3px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 10px 38px rgba(255,215,0,0.15);
  border: 3px solid var(--accent);
  transform: translateY(-4px) scale(1.014);
}
.feature-item p {
  font-size: 0.98rem;
  color: var(--dark);
  margin-bottom:0;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--secondary);
  border-left: 7px solid var(--bright2);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(11,61,145,0.10);
  color: var(--dark);
  font-size: 1.1rem;
  position: relative;
  overflow: visible;
  min-height: 82px;
}
.testimonial-card p {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--bright1);
  margin-left: 12px;
}
@media (max-width:700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 10px;
  }
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--bright3);
  color: var(--white);
  border-radius: 30px;
  padding: 36px 22px;
  box-shadow: 0 7px 47px rgba(11,61,145,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2.1rem;
  text-shadow: 0 3px 12px #0002;
}
.cta-banner p {
  color: var(--white);
  font-size: 1.09rem;
  margin-bottom: 7px;
}

/* ========== CARDS & PACKAGES (e.g., pricing) ========== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.pricing-package {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 20px 22px 20px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  position: relative;
  border: 2.5px solid var(--bright1);
  min-width: 220px;
  transition: border-color 0.18s, box-shadow 0.25s, transform 0.22s;
}
.pricing-package h3 { color: var(--bright2); font-size: 1.2rem; }
.pricing-package p { font-size: 1.45rem; color: var(--primary); font-weight: 700; margin-bottom: 10px;}
.pricing-package ul {
  margin-top: 10px;
}
.pricing-package li { font-size: 0.97rem; color: var(--dark); }
.pricing-package:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 34px rgba(255,215,0, 0.14);
  transform: translateY(-3px) scale(1.02);
}
@media (max-width:850px) {
  .pricing-table { gap:12px; }
}
@media (max-width:600px){
  .pricing-table{ flex-direction:column; }
}

/* ========== ACCORDION (FAQ) ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-card);
  padding: 20px 16px 15px 18px;
  position: relative;
  transition: box-shadow 0.21s;
  cursor: pointer;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.08rem;
  cursor: pointer;
  margin-bottom: 7px;
}
.faq-item > div {
  font-size: 0.96rem;
  color: var(--dark);
  margin-left: 4px;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 8px 26px rgba(255,81,164,0.13);
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 32px 0 24px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 18px rgba(11,61,145,0.04);
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  color: var(--accent);
  font-family: 'Montserrat',sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  transition: color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--bright1);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.footer-contact img {
  width: 58px;
  margin-right: 14px;
}
.footer-contact p, .footer-contact a {
  color: var(--secondary);
  font-size: 1rem;
}
.footer-contact a:hover {
  color: var(--accent);
}
@media (max-width: 800px) {
  footer .container,
  .footer-contact {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-links {
    gap: 12px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--bright3);
  color: var(--white);
  box-shadow: 0 -2px 18px rgba(11,61,145,0.13);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px 10px 16px 10px;
  gap: 22px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.08rem;
  border-radius: 32px 32px 0 0;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.41s cubic-bezier(.23,1.33,.41,1), opacity .22s;
}
.cookie-banner.show {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: var(--white);
  margin:0;
  padding:0 2px;
  font-size:1.01rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  border-radius: 14px;
  padding: 11px 24px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.17s;
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--primary);
  margin-right: 0;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--bright2);
  color: var(--white);
  transform: scale(1.07);
}
.cookie-btn-reject {
  background: var(--bright2);
  color: var(--white);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.05);
}
.cookie-btn-settings {
  background: var(--white);
  color: var(--bright3);
  border: 2px solid var(--bright3);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--bright1);
  color: var(--white);
  border-color: var(--bright1);
}

/* ========== COOKIE SETTINGS MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width:100vw; height:100vh;
  background:rgba(27,40,70,0.64);
  z-index: 5100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 26px;
  padding: 36px 22px 32px 22px;
  max-width: 97vw;
  min-width: 310px;
  width:360px;
  z-index:9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: modalIn 0.37s cubic-bezier(.5,1.25,.4,1) forwards;
}
@keyframes modalIn {
  0% { transform: translateY(90vh) scale(0.95); opacity:0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--primary);
}
.cookie-modal ul {
  display:flex;
  flex-direction:column;
  gap:14px;
  width:100%;
}
.cookie-modal li {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.05rem;
}
.cookie-modal label {
  flex: 1;
  font-weight: 600;
  color: var(--dark);
}
.cookie-modal input[type="checkbox"]:checked + .switch {
  background: var(--bright1);
}
.switch {
  display:inline-block;
  width:36px; height:20px;
  background:var(--gray);
  border-radius:12px;
  position:relative;
  transition:background 0.18s;
}
.switch:after {
  content:'';
  position:absolute;
  left:3px; top:3px;
  width:14px; height:14px;
  background:var(--white);
  border-radius:50%;
  box-shadow:0 2px 6px #0002;
  transition:transform 0.18s;
}
input[type="checkbox"]:checked + .switch:after {
  transform: translateX(16px);
}
input[type='checkbox'] {
  display:none;
}
.cookie-modal .cookie-actions {
  width:100%;
  justify-content: flex-end;
  display: flex;
  gap: 13px;
}

/* ========== ANIMATIONS ========== */
.card, .feature-item, .testimonial-card, .faq-item, .pricing-package {
  transition: box-shadow 0.18s cubic-bezier(.6,1,.3,1), transform 0.21s, border 0.16s;
}
.cta-banner, .cta-button, .mobile-menu, .mobile-nav a, .footer-links a {
  transition: background 0.17s, color 0.18s, transform 0.18s;
}

/* ========== UTILITY & MISC ========== */
.contact-lead {
  background: var(--bright1);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 16px 14px;
  margin-top: 13px;
  box-shadow: 0 2px 15px rgba(33,217,206,0.10);
}
.contact-lead h3 { color: var(--accent); }
.contact-lead p { color: var(--white); }

::-webkit-scrollbar-thumb { background: var(--accent); }
::-webkit-scrollbar { background: var(--gray); width:10px; }

/* Accessible focus ring */
a:focus, button:focus, .cta-button:focus, input:focus, select:focus {
  outline: 2.5px dashed var(--bright2);
  outline-offset: 2px;
}

/* Ensures all major flex wrap/spacing requirements for cards and sections */
.section, .card, .feature-item, .testimonial-card, .pricing-package, .faq-item {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .pricing-table, .faq-accordion {
  gap: 20px;
  flex-wrap: wrap;
  display: flex;
}

@media (max-width:540px) {
  .section, .cta-banner, .card, .testimonial-card, .feature-item, .pricing-package, .faq-item, .contact-lead {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* ========== END OF STYLE.CSS ========== */
