/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F7FBFE;
  color: #232C3D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2970FF;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover,
a:focus {
  color: #FF7E47;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #18203F;
  line-height: 1.2;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  letter-spacing: -1px;
  text-shadow: 2px 4px #FBFF12, 0 2px 6px #FFD16655;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  color: #1B263B;
}
p {
  margin-bottom: 14px;
}
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 32px;
  border: none;
  padding: 12px 32px;
  margin-top: 10px;
  color: #fff;
  background: #2970FF;
  box-shadow: 2px 4px 16px #2970FF27;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.18s;
}
button:focus, .cta-primary:focus {
  outline: 2px solid #FFD166;
  outline-offset: 2px;
}
button:hover, .cta-primary:hover {
  background: #FF7E47;
  color: #fff;
  box-shadow: 2px 8px 24px #FF7E4727;
  transform: translateY(-2px) scale(1.05) rotate(-2deg);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- MAIN NAVIGATION --- */
header {
  width: 100%;
  background: #1B263B;
  box-shadow: 0 3px 18px #1B263B0C;
  position: sticky;
  top: 0;
  z-index: 37;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 18px 0 16px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 16px;
  transition: background 0.2s, letter-spacing 0.12s, color 0.16s;
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav a.cta-primary {
  background: #FFD166;
  color: #1B263B;
  margin-left: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px #FFD16644;
  padding: 10px 24px;
}
.main-nav a:hover:not(.cta-primary),
.main-nav a:focus:not(.cta-primary) {
  background: #415A77;
  color: #FFD166;
  letter-spacing: 1px;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: #FF7E47;
  color: #fff;
}
.main-nav img {
  margin-right: 18px;
  height: 40px;
  width: auto;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  background: #FF7E47;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  z-index: 101;
  transition: background 0.2s, transform 0.1s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD166;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #131b2aEA;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(0.7,0,0.2,1);
  z-index: 199;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 18px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFD166;
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 10px 22px 16px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: #FF7E47;
  outline: 2px solid #FF7E47;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 7px;
  border-radius: 10px;
  width: 100%;
  transition: background 0.18s, color 0.15s, font-size 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFD166;
  color: #232C3D;
  font-size: 1.25rem;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(90deg, #FFD166 15%, #F3F3F3 90%);
  padding: 64px 0 56px 0;
  overflow: hidden;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #1B263B;
  margin-bottom: 12px;
  word-break: break-word;
  text-shadow: 2px 4px #FFFDD0, 0 2px 12px #FFD16677;
}
.hero-section p {
  color: #415A77;
  font-size: 1.15rem;
  font-weight: 500;
}

/* --- FEATURES & GRID (UL) --- */
.features-section {
  background: #F3F3F3;
  border-radius: 28px;
  box-shadow: 0 3px 28px #415A7708;
  margin: 38px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 20px;
}
.feature-grid li {
  background: #fff;
  border-radius: 20px;
  flex: 1 1 190px;
  min-width: 210px;
  max-width: 270px;
  box-shadow: 0 6px 36px #FFD16625, 0 1px 2px #232C3D0D;
  padding: 28px 18px 18px 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.22s;
  overflow: hidden;
}
.feature-grid li img {
  width: 46px;
  margin-bottom: 10px;
  filter: drop-shadow(1px 2px 0 #FFD16660);
  animation: bounceIn 0.7s cubic-bezier(.14,1.14,.38,.98) backwards;
}
.feature-grid li h3 {
  color: #FF7E47;
  font-size: 1.15rem;
  margin: 10px 0 6px 0;
  font-weight: 900;
}
.feature-grid li p {
  color: #232C3D;
  font-size: 1rem;
  text-align: center;
}
.feature-grid li:hover {
  transform: translateY(-8px) scale(1.04) rotate(-0.5deg);
  box-shadow: 0 12px 40px #FFD16633, 0 2px 8px #2970FF0D;
  z-index: 3;
}
@media (max-width: 1024px) {
  .feature-grid {
    gap: 16px;
    justify-content: flex-start;
  }
  .feature-grid li {
    max-width: 100%;
    flex: 1 1 90%;
  }
}
@media (max-width: 680px) {
  .feature-grid {
    gap: 12px;
    flex-direction: column;
  }
}

/* --- SERVICES SECTION --- */
.services-section {
  background: #FFFBEE;
  border-radius: 24px;
  margin: 36px 0;
  box-shadow: 0 3px 28px #FFDD6660;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.service-list li {
  background: #fff;
  border-radius: 22px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 330px;
  box-shadow: 0 8px 30px #FF7E4715;
  padding: 30px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  margin-right: 8px;
  transition: box-shadow 0.17s, transform 0.13s;
  position: relative;
}
.service-list li h3 {
  color: #2970FF;
  font-weight: 900;
  font-size: 1.14rem;
}
.service-list li p {
  color: #232C3D;
  margin: 10px 0 10px 0;
  font-size: 1rem;
}
.service-list li span {
  color: #FF7E47;
  font-weight: 700;
  margin-top: 6px;
}
.service-list li:hover {
  box-shadow: 0 10px 38px #FFD16649, 0 0px 4px #2970FF0A;
  transform: translateY(-6px) scale(1.03) rotate(1deg);
  z-index: 2;
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 10px;
  }
  .service-list li {
    max-width: 100%;
    flex: 1 1 92%;
    margin-right: 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: #FFF3E7;
  border-radius: 22px;
  box-shadow: 0 3px 32px #FFD16617;
  margin-bottom: 60px;
}
.testimonials-section .content-wrapper {
  gap: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  color: #232C3D;
  padding: 24px 22px;
  border-radius: 18px;
  box-shadow: 0 7px 32px #415A7713, 0 1px 2px #FF7E4709;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:before {
  content: '\201C';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3rem;
  color: #FF7E47;
  position: absolute;
  left: 12px;
  top: 10px;
  opacity: 0.10;
  pointer-events: none;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #1B263B;
}
.testimonial-card span {
  color: #415A77;
  font-size: 0.98rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 14px 36px #FFD16619, 0 5px 14px #2970FF0E;
  transform: translateY(-4px) scale(1.015) rotate(-0.5deg);
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 18px 12px;
    gap: 8px;
  }
}

/* --- CONTACT DETAILS --- */
.contact-section .contact-details, .contact-details-section .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.contact-section .text-section, .contact-details-section .text-section {
  flex: 2 1 330px;
  gap: 10px;
}
@media (max-width: 900px) {
  .contact-section .contact-details, .contact-details-section .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact-section .contact-details .cta-primary {
    margin-top: 8px;
  }
}
.contact-section .cta-primary {
  align-self: flex-start;
}
.contact-section img, .contact-details-section img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: bottom;
}
.contact-details p, .contact-details-section li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #232C3D;
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.contact-details-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-left: 0;
  list-style: none;
  padding-left: 0;
}

/* --- OTHER SECTIONS & PAGE TEXT --- */
.text-section ul {
  padding-left: 20px;
}
.text-section ul li {
  margin-bottom: 6px;
  font-size: 1rem;
}
.text-section strong {
  font-weight: 900;
  color: #2970FF;
}
/* --- FOOTER --- */
footer {
  background: #1B263B;
  color: #fff;
  padding: 30px 0 22px 0;
  margin-top: 60px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 32px #FFD16622;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFD166;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 12px;
  background: #232C3D22;
  border-radius: 8px;
  transition: background 0.1s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FF7E47;
  background: #FFD16633;
}
.footer-branding {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
}
.footer-branding img {
  height: 32px;
  margin-right: 5px;
}
.footer-branding span {
  font-size: 0.97rem;
  color: #F3F3F3;
  font-family: 'Open Sans', Arial, sans-serif;
}
@media (max-width: 600px) {
  footer {
    padding: 22px 0 16px 0;
    border-radius: 0;
  }
  .footer-branding {
    flex-direction: column;
    gap: 6px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #FFD166;
  color: #232C3D;
  box-shadow: 0 -4px 16px #2970FF33;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 18px 8px;
  z-index: 5000;
  font-size: 1rem;
  animation: bannerDrop 0.7s cubic-bezier(.5,.1,.44,1.4);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  background: #2970FF;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
  margin-right: 4px;
  font-size: 1rem;
}
.cookie-banner button:last-child {
  background: #fff;
  color: #2970FF;
  border: 1.5px solid #2970FF;
}
.cookie-banner button:hover {
  background: #FF7E47;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
}
.cookie-banner button:last-child:hover {
  background: #FFD166;
  color: #FF7E47;
  border-color: #FF7E47;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 4px 18px 4px;
    gap: 16px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-banner button {
    width: 100%;
    min-width: 140px;
  }
}

@keyframes bannerDrop {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #131B2AEE;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 24px 28px 24px;
  border-radius: 28px;
  box-shadow: 0 8px 38px #FFD1663A;
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalPop 0.44s cubic-bezier(.13,.76,.28,.95);
  position: relative;
}
.cookie-modal-content h2 {
  color: #2970FF;
  font-size: 1.2rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 22px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FF7E47;
  width: 18px;
  height: 18px;
  transition: accent-color 0.12s;
  margin-right: 2px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232C3D;
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-modal-actions button {
  background: #2970FF;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 9px 24px;
  font-size: 1rem;
  box-shadow: 0 2px 8px #2970FF13;
  margin: 0;
  transition: background 0.19s, color 0.14s, transform 0.14s;
}
.cookie-modal-actions button:last-child {
  background: #fff;
  color: #2970FF;
  border: 1.5px solid #2970FF;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #FF7E47;
  color: #fff;
}
.cookie-modal-actions button:last-child:hover {
  background: #FFD166;
  color: #FF7E47;
  border-color: #FF7E47;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  font-size: 1.35rem;
  background: none;
  border: none;
  color: #FF7E47;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 8px;
}
.cookie-modal-close:focus {
  outline: 2px solid #FFD166;
}
@keyframes cookieModalPop {
  0% { transform: scale(0.7) translateY(100px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
  .cookie-modal-content { padding: 22px 10px 18px 10px; min-width: 90vw; }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
@keyframes bounceIn {
  0% { transform: translateY(20px) scale(0.7); opacity: 0; }
  80% { transform: translateY(-2px) scale(1.04); opacity: 1; }
  100% { transform: translateY(0) scale(1.0); }
}

/* --- CUSTOM UI DECORATIVE BUBBLES (fun) --- */
.hero-section:after {
  content: '';
  display: block;
  position: absolute;
  right: -90px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: #FF7E4740;
  border-radius: 60% 40% 60% 40%/60% 50% 50% 50%;
  z-index: 0;
  filter: blur(4px);
  animation: floatY 6s infinite alternate;
  pointer-events: none;
}
@keyframes floatY {
  0% { top: -60px; }
  100% { top: 10px; }
}
.hero-section, .hero-section .container, .hero-section .content-wrapper {
  position: relative;
  z-index: 1;
}

/* --- TYPOGRAPHY, SPACING & SCALE --- */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.05rem; }
}

.section, .features-section, .testimonials-section, .services-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px #FFD1661A;
  padding: 24px 16px;
  transition: box-shadow 0.17s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 10px 32px #415A7717;
  transform: translateY(-4px) scale(1.02);
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 680px) {
  .section, .features-section, .testimonials-section, .services-section {
    padding: 20px 5px;
    margin-bottom: 36px;
  }
  .container { padding: 0 6px; }
  .testimonial-card, .card {
    padding: 10px 6px;
    font-size: 0.97rem;
  }
}

/* --- SCROLLBAR STYLE (for playful dynamic look) --- */
::-webkit-scrollbar {
  width: 9px;
  background: #FFD16611;
}
::-webkit-scrollbar-thumb {
  background: #FFD16666;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF7E4766;
}

/* --- FOCUS VISIBLE --- */
:focus-visible {
  outline: 2.5px solid #FFD166;
  outline-offset: 2px;
}

/* --- UTILS --- */
.hide { display: none !important; }
.flex { display: flex !important; }

/* --- END --- */