/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #264653;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2A9D8F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A261;
  outline: none;
}
ul, ol {
  margin: 20px 0 20px 24px;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #264653;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.375rem; /* 38px */
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.875rem; /* 30px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 12px;
}
p {
  font-size: 1.0625rem; /* 17px */
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX UTILITIES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(38,70,83,0.10);
  padding: 28px 24px;
  transition: transform 0.18s cubic-bezier(.6,1.2,.4,1), box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.025) rotate(-1.5deg);
  box-shadow: 0 8px 32px 0 rgba(244,162,97,0.19), 0 2px 6px 0 #2a9d8f22;
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(244,162,97,0.17);
  margin-bottom: 20px;
  color: #264653;
  font-size: 1.0625rem;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card strong {
  margin-top: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A9D8F;
  font-size: 1rem;
}
.testimonial-card:hover {
  transform: scale(1.03) rotate(1.2deg);
  box-shadow: 0 6px 28px rgba(244,162,97,0.25);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  background: #2A9D8F;
  color: #fff;
  border-radius: 0 0 40px 40px;
  margin-bottom: 48px;
  overflow: hidden;
  box-shadow: 0 6px 36px 0 rgba(38,70,83,0.11);
  animation: heroPop 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes heroPop {
  0% {opacity: 0; transform: scale(1.07) translateY(-40px);}
  60%{opacity: 1; transform: scale(1.01) translateY(5px);}
  100%{opacity: 1; transform: scale(1) translateY(0);}
}
.hero h1, .hero h2, .hero p {
  color: #000;
}
.hero .cta-btn {
  box-shadow: 0 4px 16px 0 rgba(244,162,97,0.17);
}

/* NAVIGATION STYLES */
header {
  background: #264653;
  position: relative;
  z-index: 40;
  box-shadow: 0 3px 18px 0 #2646530d;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #F4A261;
  color: #264653;
}
.cta-btn {
  background: #F4A261;
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 12px 34px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, color 0.15s, transform 0.11s;
  box-shadow: 0 2px 6px 0 #2A9D8F1a;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2A9D8F;
  color: #fff;
  box-shadow: 0 8px 18px 0 rgba(38,70,83,0.10);
  transform: scale(1.06) rotate(-1deg);
}

button, .cta-btn, .mobile-menu-toggle {
  outline: none;
}

/* MOBILE NAV/HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #F4A261;
  border: none;
  border-radius: 12px;
  padding: 8px 10px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #26465317;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2A9D8F;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,1.2,.4,1);
  padding: 0;
  pointer-events: none;
  opacity: 0.995;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 7px 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 4px 16px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F4A261;
  color: #264653;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 8px 20px 20px 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 0;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: background 0.13s, color 0.13s;
  position: relative;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4A261;
  color: #264653;
}

@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  header nav {
    gap: 8px;
  }
}
@media (max-width: 840px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 28px 28px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid, .service-grid, .team-profiles {
    flex-direction: column;
    gap: 24px;
    display: flex;
  }
}

/* GRID STYLES USING FLEX ONLY */
.feature-grid,
.service-grid,
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature, .service, .team-profiles .text-section {
  flex: 1 1 225px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(42,157,143,0.08), 0 0.5px 2px 0 #f4a26129;
  padding: 24px 18px 18px 18px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.feature:hover, .service:hover, .team-profiles .text-section:hover {
  box-shadow: 0 8px 30px 0 #f4a26127, 0 2px 6px 0 #2a9d8f29;
  transform: translateY(-6px) scale(1.025) rotate(-1.2deg);
}
.feature img, .service img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px #2A9D8F14);
  animation: iconJiggle 2.6s cubic-bezier(.67,0,0,1.14) infinite;
}
@keyframes iconJiggle {
  0%,100%{transform: translateY(0);}
  10%{transform: translateY(-3px) scale(0.96);}
  20%{transform: translateY(0);}
  23%{transform: scale(1.10) rotate(-2deg);}
  28%{transform: scale(1) rotate(0deg);}
  35%{transform: scale(1.12) rotate(2.2deg);}
 40%{transform: scale(1) rotate(0);}
}
.feature h3, .service h3 {
  color: #2A9D8F;
}

.team-profiles .text-section {
  box-shadow: 0 2px 8px 0 #2a9d8f1a;
  border-radius: 16px;
  background: #f5fefc;
  padding: 20px 16px;
  margin-bottom: 12px;
}

/* GENERAL TEXT SECTION */
.text-section {
  margin-bottom: 20px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px #F4A26119);
}
.contact-details p {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  color: #264653;
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: #fafffd;
  border-radius: 34px;
  box-shadow: 0 4px 18px 0 #2A9D8F0a;
  padding: 44px 0 20px 0;
  margin-bottom: 52px;
  transition: box-shadow 0.16s;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}

/* CARDS/SECTION SHADOW & SPACING ENFORCEMENT */
.section, .feature, .service, .team-profiles .text-section, .testimonial-card,
.card {
  margin-bottom: 20px;
}
.card, .feature, .service {
  min-width: 220px;
}

/* LISTS WITH ICONS */
ul li img, ol li img {
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -2px;
  filter: drop-shadow(0 1px 2px #2A9D8F15);
}

/* FOOTER */
footer {
  background: #264653;
  color: #fff;
  padding: 35px 0 28px 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 18px 0 #F4A26113;
  margin-top: 38px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer img {
  max-height: 52px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  color: #F4A261;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer .text-section {
  margin: 0;
  color: #fff;
  opacity: 0.9;
}
footer .text-section p {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer {
    padding: 28px 0 19px 0;
    border-radius: 16px 16px 0 0;
  }
}

/* BUTTONS */
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.11s;
}
button:focus {
  outline: 2px solid #F4A261;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #264653;
  border-top: 2px solid #F4A261;
  box-shadow: 0 -2px 24px 0 #2646530a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px 16px 28px 16px;
  gap: 20px;
  animation: bannerIn 0.5s cubic-bezier(.67,0,0,1.14);
}
@keyframes bannerIn {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #264653;
  margin-bottom: 4px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 20px;
  margin: 0 3px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #2A9D8F;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #264653;
  color: #F4A261;
}
.cookie-banner .reject {
  background: #F4A261;
  color: #264653;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #264653;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #2A9D8F;
  border: 1.7px solid #2A9D8F;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #2A9D8F;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #264653ee;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal__content {
  background: #fff;
  border-radius: 20px;
  max-width: 420px;
  width: 90vw;
  color: #264653;
  font-size: 1rem;
  box-shadow: 0 8px 34px 0 #2A9D8F26;
  padding: 34px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #264653;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F4A26122;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-category.essential {
  color: #2A9D8F;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 18px;
  background: #2A9D8F20;
  position: relative;
  margin-left: 13px;
  transition: background 0.13s;
  cursor: pointer;
  border: none;
}
.cookie-toggle.enabled {
  background: #2A9D8F;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.14s, background 0.16s;
}
.cookie-toggle.enabled:before {
  background: #F4A261;
  left: 20px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal__actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 18px;
  padding: 9px 23px;
}

@media (max-width: 600px) {
  .cookie-modal__content {
    padding: 21px 7px 17px 12px;
    font-size: 0.97rem;
  }
}

/* ANIMATED DECORATIVE ELEMENTS */
.section::before, .section::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.section::before {
  left: -28px;
  top: -20px;
  width: 56px;
  height: 56px;
  background: #F4A26122;
  border-radius: 50%;
  animation: floatL 5s ease-in-out infinite alternate;
}
@keyframes floatL {
  from {transform: translateY(0) scale(0.97);}
  to {transform: translateY(12px) scale(1.06) rotate(-7deg);}
}
.section::after {
  right: -22px;
  bottom: -15px;
  width: 38px;
  height: 38px;
  background: #2A9D8F22;
  border-radius: 50%;
  animation: floatR 3.7s cubic-bezier(.67,0,0,1.14) infinite alternate;
}
@keyframes floatR {
  from {transform: scale(0.90);}
  to {transform: scale(1.14) rotate(13deg);}
}

/* SPACING ADJUSTMENTS ENFORCEMENT */
.feature, .service, .team-profiles .text-section {
  margin-right: 0;
  margin-bottom: 20px;
}
.feature:last-child, .service:last-child, .team-profiles .text-section:last-child {
  margin-bottom: 0;
}

/* TYPOGRAPHY SCALES FOR PLAYFUL FEEL */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem;}
  h2 { font-size: 1.15rem;}
  .hero h1, .hero h2 {font-size: 1.5rem;}
  .feat-title, .service-title {font-size: 1.09rem;}
  p, ul li, ol li {font-size: 0.99rem;}
}

/* PLAYFUL DYNAMIC: COLORS, FONT, ANIMATION */
body, .container {
  background: #fff;
}
.feature, .service {
  background: #f1fefb;
  border: 2px solid #f4a26119;
}
.feature h3, .service h3 {
  color: #2A9D8F;
  font-family: 'Montserrat', Arial, sans-serif;
}

.section h2, .card h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  background: none;
  margin-top: 0;
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}
.section h2::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 22px;
  background: #F4A261;
  border-radius: 11px;
  margin-right: 12px;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .section h2::before { height: 16px; }
}

/* ANIMATIONS FOR BUTTONS */
.cta-btn {
  animation: bounceInBtn 0.85s cubic-bezier(0.26,0.6,0.57,1.36);
}
@keyframes bounceInBtn {
  0% { opacity: 0; transform: scale(0.75); }
  70% { opacity: 1; transform: scale(1.12);}
  85% {transform: scale(0.92);}
  100% { opacity: 1; transform: scale(1); }
}

/* FORMS (SHARED/CONTACT) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 2px solid #2A9D8F;
  border-radius: 11px;
  margin-bottom: 20px;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4A261;
  outline: none;
}

/* PRINT & SELECTION */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {display: none !important;}
  .container {max-width: 100vw;}
}
::selection {
  background: #F4A261;
  color: #fff;
}

/* CUSTOM SCROLLBAR FOR FUN */
body::-webkit-scrollbar {
  width: 12px;
  background: #f5fefc;
}
body::-webkit-scrollbar-thumb {
  background: #2A9D8F;
  border-radius: 30px;
}

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

/* END OF CSS */
