/* 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, menu, 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, 
main, menu, 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;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F7F8;
  color: #272727;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #205F62;
  text-decoration: none;
  transition: color .2s linear;
}
a:hover, a:active {
  color: #EF9649;
}
ul, ol {
  margin-left: 1em;
  padding-left: 1em;
}
button, input[type="button"], input[type="submit"] {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
::-webkit-input-placeholder { color: #9ca5aa; }
::-moz-placeholder { color: #9ca5aa; }
:-ms-input-placeholder { color: #9ca5aa; }
::placeholder { color: #9ca5aa; }

/* === BRAND & COLOR VARIABLES (with fallbacks) === */
:root {
  --primary: #205F62;
  --secondary: #EF9649;
  --accent: #F3F7F8;
  --danger: #f04545;
  --success: #2ecc71;
  --white: #fff;
  --black: #222;
  --electric-blue: #36D0E0;
  --electric-magenta: #FF3B7A;
  --electric-yellow: #FEF25B;
  --border-color: #e3ebee;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  background: var(--accent, #F3F7F8);
  color: var(--black, #222);
}


/**** TYPOGRAPHY ****/
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(32,95,98,0.08);
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--secondary);
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
}
p, li, span {
  font-size: 1rem;
  color: #242F3D;
}
strong {
  color: var(--primary);
}

/**** MAIN STRUCTURE ****/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

/**** FLEXBOX PATTERNS ****/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .content-wrapper {
    gap: 36px;
  }
}

/**** LAYOUTS PER SPEC ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(36,213,224, 0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(32,95,98, 0.13), 0 1.5px 4px rgba(255,59,122,0.10);
  transition: box-shadow .22s;
  min-width: 250px;
  flex: 1 1 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(239,150,73,0.15), 0 2.5px 8px rgba(54,208,224, 0.17);
  z-index: 3;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(32,95,98,0.13);
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(239,150,73,0.14), 0 2.5px 8px rgba(54,208,224, 0.13);
  transform: translateY(-3px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** RESPONSIVE FLEX DIRECTION ****/
@media (max-width: 900px) {
  .feature-grid, .team-list, .pricing-table, .posts-list, .faq-list, .testimonials {
    flex-direction: column !important;
    gap: 24px !important;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .footer-contact, .footer-brand, .footer-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .container {
    padding: 0 12px;
  }
  section {
    padding: 32px 0;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
}

/**** HEADER & NAVIGATION ****/
header {
  background: var(--white);
  box-shadow: 0 12px 36px -18px rgba(32,95,98,0.14);
  position: sticky;
  top: 0; left: 0; width: 100%; z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 28px;
}
.logo img {
  height: 46px;width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--secondary);
}
.btn.btn-primary {
  display: inline-block;
  background: var(--secondary);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: 40px;
  padding: 12px 36px;
  margin-left: 12px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(239,150,73,.12);
  line-height: 1.2;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: var(--primary);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 5px 24px rgba(32,95,98,0.16), 0 2.5px 8px rgba(255,59,122,0.13);
  color: #fff !important;
}

/**** HAMBURGER MOBILE MENU ****/
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  display: none;
  margin-left: 10px;
  z-index: 1201;
  transition: color .18s, transform .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--primary);
  transform: scale(1.16);
}
/* show menu button on small screens */
@media (max-width: 1050px) {
  .main-nav {
    display: none !important;
  }
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,95,98,0.98);
  transform: translateX(100vw);
  transition: transform .32s cubic-bezier(.77,.32,0,1), opacity .16s;
  opacity: 0;
  z-index: 1202;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--secondary);
  background: none;
  border: none;
  margin: 24px 30px 0 0;
  transition: color .18s, transform .18s;
  z-index: 1203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--electric-blue);
  transform: scale(1.16);
}
.mobile-nav {
  margin: 56px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  padding: 0 32px 0 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
  padding-bottom: 3px;
  transition: color .18s, background .14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--electric-yellow);
  background: rgba(243,247,248,0.09);
  border-radius: 3px;
}

/**** HERO/MAIN CTAs ****/
.text-section {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .text-section {
    max-width: 100%;
  }
}

/**** FEATURE/CARD/TEAM/PRICING/POSTS GRIDS ****/
.feature-grid, .team-list, .pricing-table, .posts-list, .faq-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  flex-direction: row;
}
.feature-grid > div, .team-list > div, .pricing-table > div, .posts-list > div, .faq-list > div {
  background: #fff;
  border-radius: 13px;
  padding: 24px 22px;
  flex: 1 1 240px;
  min-width: 235px;
  max-width: 350px;
  box-shadow: 0 2px 10px rgba(54,208,224, 0.10);
  transition: box-shadow .18s, transform .18s;
}
.feature-grid > div:hover, .team-list > div:hover, .pricing-table > div:hover, .posts-list > div:hover {
  box-shadow: 0 8px 26px rgba(255,59,122,0.10), 0 1.5px 4px rgba(239,150,73,0.10);
  transform: translateY(-2px) scale(1.025);
  z-index: 2;
}
@media (max-width: 900px) {
  .feature-grid > div,
  .team-list > div,
  .pricing-table > div,
  .posts-list > div {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 90%;
  }
}

/**** PRICING TABLE HIGHLIGHT ****/
.pricing-table > div:nth-child(2) {
  border: 3px solid var(--secondary);
  box-shadow: 0 6px 32px rgba(239,150,73,0.09);
  transform: scale(1.04);
  position: relative;
  z-index: 2;
}
.pricing-table strong {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}
.pricing-features {
  margin-top: 24px;
}

/**** TESTIMONIALS ****/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  color: #257178;
  font-size: 1.10rem;
  font-weight: 500;
  font-style: italic;
}
.testimonial-card span {
  color: #9CA5AA;
  font-size: 0.98rem;
  font-weight: 700;
  align-self: flex-end;
}

/**** FAQ LISTS ****/
.faq-list > div {
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  background: #fff;
  margin-bottom: 10px;
}

/**** ICONS & BADGES ****/
.trust-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.trust-badges img {
  width: 38px;
  height: 38px;
  display: inline-block;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(54,208,224,.11);
  padding: 7px;
}

/**** FOOTER ****/
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 18px 0;
  box-shadow: 0 -2px 24px rgba(32,95,98,0.03);
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}
.footer-brand span {
  color: #fff;
}
.footer-brand img {
  width: 40px; height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 2vw;
}
.footer-nav a {
  color: #FFFAEE;
  font-weight: 600;
  font-size: 1rem;
  transition: color .18s, border .14s;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
}
.footer-nav a:hover {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.99rem;
  color: #E1EAEA;
}
.footer-contact img {
  width: 14px; height: 14px; margin-right: 6px; vertical-align: middle;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column !important;
    gap: 20px;
  }
}

/**** BUTTONS & INTERACTIVE STATES ****/
.btn, .mobile-menu button, .cookie-banner button, .cookie-modal button {
  outline: none;
  border: none;
}
.btn {
  background: var(--secondary);
  color: #fff;
  border-radius: 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  margin-top: 9px;
  box-shadow: 0 1.5px 6px rgba(255,59,122,0.08);
  transition: background .19s, transform .14s;
  cursor: pointer;
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary);
}
.btn-danger {
  background: var(--danger);
}
.btn-success {
  background: var(--success);
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: var(--black);
  box-shadow: 0 -4px 24px rgba(32,95,98,0.13);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1400;
  gap: 20px;
  border-top: 3px solid var(--secondary);
  animation: slideUp .45s cubic-bezier(.7,.4,.3,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  font-size: 1rem;
  color: var(--primary);
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn {
  min-width: 110px;
  font-size: 0.97rem;
  padding: 8px 14px;
  margin: 0;
}
.cookie-banner .btn-settings {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .btn-settings:hover {
  background: var(--electric-blue);
  color: var(--black);
}

/**** COOKIE PREFERENCES MODAL ****/
.cookie-modal-overlay {
  position: fixed; 
  top: 0; left:0; width: 100vw; height: 100vh;
  background: rgba(32,95,98,0.72);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 48px rgba(32,95,98,0.17);
  min-width: 310px;
  max-width: 94vw;
  padding: 28px 22px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 7px;
  font-size: 1.22rem;
}
.cookie-modal ul {
  list-style: none;
  margin: 0; padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-modal label {
  font-weight: 600;
  font-family: var(--font-body);
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--primary);
  width: 20px; height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .btn-close {
  background: none;
  color: var(--danger);
  font-weight: bold;
  font-size: 1.15rem;
  margin-left: auto;
}
.cookie-modal .btn-close:hover {
  color: var(--primary);
}

/**** MISC SPACING/UTILITY ****/
.mt-32 { margin-top: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-8 { margin-bottom: 8px !important; }

/**** SECTION & CARD STYLING ****/
section {
  box-shadow: 0 6px 30px 0 rgba(239,150,73,0.08);
  border-radius: 20px;
}
@media (max-width: 600px) {
  section {
    padding: 24px 0;
    margin-bottom: 30px;
  }
}

/**** VIBRANT ENERGETIC EFFECTS ****/
.btn-primary {
  background: linear-gradient(90deg, var(--secondary), var(--electric-magenta), var(--electric-yellow));
  background-size: 200% auto;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(255,59,122,0.11);
  transition: background-position .32s, color .22s, box-shadow .18s, transform .15s;
}
.btn-primary:hover, .btn-primary:focus {
  background-position: right center;
  color: #fff !important;
  box-shadow: 0 7px 32px -2px rgba(254,242,91,0.24), 0 4px 10px rgba(239,150,73,0.18);
}
.card,
.feature-grid > div, .team-list > div, .posts-list > div { 
  border: 2.5px solid transparent;
  box-shadow: 0 2px 12px rgba(239,150,73,.06), 0 1.5px 6px rgba(32,95,98,.06);
  background-clip: padding-box;
  position: relative;
}
.card:before, .feature-grid > div:before, .team-list > div:before, .posts-list > div:before {
  content: '';
  position: absolute;
  left: -1.5px; top: -1.5px; right: -1.5px; bottom: -1.5px;
  border-radius: inherit;
  z-index: 0;
  background: linear-gradient(120deg, var(--electric-blue), var(--secondary), var(--electric-magenta), var(--electric-yellow));
  opacity: .11;
  pointer-events: none;
}

/**** LIST ICONS ****/
li {
  margin-bottom: 9px;
  position: relative;
}
li:not(.no-bullet)::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--electric-magenta), var(--electric-blue));
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
ul { list-style: none; }

/**** CONTACT DETAILS ICONS ****/
.contact-details p img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
.office-hours-location {
  margin-top: 23px;
  background: #fcfbfb;
  border-left: 5px solid var(--secondary);
  border-radius: 7px;
  padding: 13px 19px;
  box-shadow: 0 2px 10px rgba(239,150,73,.06);
}

/* Ensure minimum spacing between sections */
section + section { margin-top: 32px; }

/**** FORMS (if needed) ****/
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 7px;
  padding: 9px 14px;
  margin-bottom: 15px;
  width: 100%;
  background: #fff;
  transition: border .16s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(54,208,224,.12);
  outline: none;
}

/**** SCROLLBAR ****/
body::-webkit-scrollbar {
  width: 10px;
  background: #F3F7F8;
}
body::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 15px;
}

/**** ANIMATIONS AND MICRO-INTERACTIONS ****/
.btn, .main-nav a, .mobile-nav a, .card, .feature-grid > div, .testimonials .testimonial-card {
  transition: background .17s, color .14s, box-shadow .19s, transform .16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: scale(1.02) translateY(-3px);
  box-shadow: 0 10px 36px rgba(239,150,73,0.13),0 2.5px 8px rgba(32,95,98,0.11);
}
/* Buttons pressing effect */
button:active, .btn:active {
  transform: scale(0.97);
}

/**** ACCESSIBILITY & TEXT CONTRAST FOR TESTIMONIALS ****/
.testimonial-card,
.testimonial-card p,
.testimonial-card span {
  background: #fff !important;
  color: #222!important;
  font-size: 1.02rem;
}

/**** PRINT (OPTIONAL) ****/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none!important; }
  section, .container { box-shadow: none !important; }
}

/*** END ***/
