/* Emerald Gale Media – Vibrant Energetic CSS Theme – style.css */

/* ==== 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, 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;
  box-sizing: border-box;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  background: #F0F6F6;
}
body {
  min-height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  color: #16425B;
  background: #F0F6F6;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #10A37F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #16425B;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
ul, ol {
  list-style-position: inside;
}

/* ==== Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #16425B;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: #10A37F;
}
blockquote {
  border-left: 5px solid #10A37F;
  background: #E7FAF5;
  margin-left: 0;
  margin-right: 0;
  padding: 16px 20px;
  font-style: italic;
  color: #16425B;
  margin-bottom: 24px;
}
em, i {
  color: #10A37F;
}

p {
  margin-bottom: 18px;
  color: #16425B;
  font-size: 1rem;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}

/* ==== Container, Layout & Section Spacing ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(22, 66, 91, 0.08);
}

@media (max-width: 900px) {
  .section {
    padding: 32px 12px;
  }
}

/* ==== Header, Navigation & CTA ==== */
header {
  width: 100%;
  background: #16425B;
  color: #fff;
  position: relative;
  z-index: 102;
  box-shadow: 0 4px 24px rgba(22, 66, 91, 0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 32px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 6px 2px;
}
header nav a:not(.cta-primary):after {
  content: '';
  display: block;
  height: 2px;
  background: transparent;
  transition: background 0.25s, width 0.25s;
  width: 0;
  border-radius: 1px;
  margin-top: 1px;
}
header nav a:not(.cta-primary):hover:after,
header nav a:not(.cta-primary):focus:after {
  background: #10A37F;
  width: 100%;
}
.cta-primary {
  background: #10A37F;
  color: #fff !important;
  border-radius: 24px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(16,163,127,0.13);
  transition: background 0.19s, color 0.17s, box-shadow 0.2s;
  margin-left: 14px;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #16425B;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(16,163,127,0.19);
}

header img {
  height: 38px;
  max-width: 170px;
  vertical-align: middle;
}


/* ==== Mobile Burger Menu ==== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #10A37F;
    color: #fff;
    font-size: 2rem;
    border-radius: 9px;
    height: 46px;
    width: 46px;
    line-height: 1;
    outline: none;
    border: none;
    margin-left: 12px;
    transition: background 0.16s;
    z-index: 105;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #16425B;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  background: #16425B;
  width: 100vw;
  height: 100vh;
  z-index: 11111;
  padding: 24px 28px 24px 28px;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 20px 48px 0 rgba(22,66,91,0.18);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #10A37F;
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  padding: 4px 16px;
  align-self: flex-end;
  margin-bottom: 22px;
  transition: background 0.18s;
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #0D2B3A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 8px 0 8px 2px;
  border-radius: 8px;
  transition: background 0.15s, color 0.14s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #10A37F;
  color: #fff;
}

@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== General Flex Patterns and Spacing ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(16, 163, 127, 0.07), 0 6px 32px rgba(22, 66, 91, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 30px;
  min-width: 270px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 44px rgba(16, 163, 127, 0.17), 0 12px 44px rgba(22, 66, 91, 0.14);
  transform: translateY(-3px) scale(1.017);
  z-index: 1;
}
.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 {
  background: #fafcff;
  color: #16425B;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 18px rgba(16,163,127,0.09);
  border-left: 8px solid #10A37F;
  font-size: 1.05rem;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card strong {
  color: #16425B;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(16,163,127,0.22);
  border-left: 8px solid #16425B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== Feature/Article/Event Grids ==== */
.feature-grid, .article-list, .event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.feature-grid > div, .article-list > article, .event-grid > div {
  background: #E7FAF5;
  border-radius: 15px;
  padding: 24px 18px 24px 18px;
  min-width: 230px;
  flex: 1 1 250px;
  box-shadow: 0 2px 10px rgba(22, 66, 91, 0.09);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.17s, background 0.19s, transform 0.14s;
  position: relative;
}
.feature-grid > div:hover, .article-list > article:hover, .event-grid > div:hover {
  background: #10A37F;
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(22, 66, 91, 0.18);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid > div img,
.article-list > article img,
.event-grid > div img {
  width: 44px;
  height: 44px;
}
.feature-grid > div h3,
.article-list > article h3,
.event-grid > div h3 {
  color: #16425B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.feature-grid > div:hover h3,
.article-list > article:hover h3,
.event-grid > div:hover h3 {
  color: #fff;
}
.feature-grid > div p,
.article-list > article p,
.event-grid > div p {
  margin-bottom: 2px;
  color: #16425B;
}
.feature-grid > div:hover p,
.article-list > article:hover p,
.event-grid > div:hover p {
  color: #fff;
}

/* ==== Taglines, Highlights, Pills ==== */
.tagline-highlight {
  background: #10A37F;
  color: #fff;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: 0.03em;
  margin-bottom: 11px;
  box-shadow: 0 2px 8px rgba(16, 163, 127, 0.06);
}
.topics-filter span,
.filter-by-topic span {
  background: #16425B;
  color: #fff;
  border-radius: 11px;
  padding: 5px 13px;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  margin: 0 3px;
}
.filter-by-topic, .topics-filter {
  margin: 12px 0 17px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #10A37F;
  font-weight: 700;
}

/* ==== Team Cards / Bios ==== */
.team-bio {
  background: #fff;
  border-radius: 15px;
  padding: 22px 18px 16px 18px;
  box-shadow: 0 2px 12px rgba(16, 163, 127, 0.08);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.18s;
}
.team-bio:hover {
  box-shadow: 0 8px 28px 0 rgba(22, 66, 91, 0.13);
}

/* ==== Forms ==== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
form label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #16425B;
  margin-bottom: 4px;
}
form input[type="text"],
form input[type="email"],
form textarea {
  border: 2px solid #E1EFF6;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #16425B;
  background: #F0F6F6;
  transition: border 0.17s;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border: 2px solid #10A37F;
  outline: none;
}
form textarea {
  min-height: 120px;
  resize: vertical;
}
form button,
form input[type="submit"] {
  background: #10A37F;
  color: #fff;
  padding: 12px 30px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 2px 14px 0 rgba(16,163,127,0.16);
  margin-top: 6px;
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.18s;
}
form button:hover, form button:focus,
form input[type="submit"]:hover, form input[type="submit"]:focus {
  background: #0D2B3A;
  box-shadow: 0 6px 21px rgba(22, 66, 91, 0.18);
}

input[type="checkbox"], input[type="radio"] {
  accent-color: #10A37F;
  vertical-align: middle;
}

/* ==== Footer ==== */
footer {
  background: #16425B;
  color: #fff;
  padding: 38px 0 0 0;
}
footer .container {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 35px;
  border-radius: 0 0 18px 18px;
}
footer img {
  height: 39px;
  max-width: 160px;
  margin-bottom: 12px;
  filter: brightness(190%);
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 7px;
}
footer nav a {
  color: #10A37F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 2px;
  font-size: 0.99rem;
  transition: color 0.17s;
}
footer nav a:hover {
  color: #fff;
}
footer .contact-info {
  font-size: 0.98rem;
  color: #E7FAF5;
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
footer .contact-info img {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 5px;
  filter: brightness(165%);
}

/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #16425B;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(22,66,91,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 24px 14px 24px 14px;
  z-index: 22222;
  font-size: 1.07rem;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(.81,0,.19,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #10A37F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 13px 0 rgba(16,163,127,0.15);
  transition: background 0.16s; 
  margin-right: 3px;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #16425B;
  border: 2px solid #10A37F;
  font-weight: 800;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #0D2B3A;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #10A37F;
  color: #fff;
}

/* ==== Cookie Preferences Modal ==== */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,66,91,0.57);
  align-items: center;
  justify-content: center;
  z-index: 22333;
  transition: background 0.22s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 10px 60px 0 rgba(22,66,91,0.34);
  padding: 30px 34px 26px 34px;
  min-width: 328px;
  max-width: 97vw;
  color: #16425B;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-fade-in 0.37s cubic-bezier(.76,0,.18,1);
}
@keyframes modal-fade-in {
  from {transform: translateY(80px) scale(0.97); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h3 {
  color: #16425B;
  margin-bottom: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px 13px 2px;
  font-size: 1.02rem;
  border-bottom: 1px solid #E7FAF5;
}
.cookie-preference-row:last-child {
  border-bottom: none;
}
.cookie-preference-row label {
  font-weight: 500;
  color: #16425B;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: #10A37F;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  height: 33px;
  width: 33px;
  line-height: 1.3;
  text-align: center;
  transition: background 0.14s;
  outline: none;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #0D2B3A;
}

/* ==== Responsive Layout ==== */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid, .article-list, .event-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .section {
    margin-bottom: 28px;
    padding: 25px 3px;
    border-radius: 13px;
  }
  .footer .container, footer .container {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-container, .feature-grid, .article-list, .event-grid, .content-grid {
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 530px) {
  body, .container, main {
    font-size: 15px;
  }
  .card, .feature-grid > div, .article-list > article, .event-grid > div {
    min-width: 96vw;
    padding: 16px 5px;
  }
  .cookie-modal {
    padding: 12px 8px 16px 8px;
    min-width: 175px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    gap: 12px;
    font-size: 1rem;
  }
}

/* ==== Micro-interactions & Animations ==== */
a,
button, .cta-primary,
form button, .cookie-banner button, .cookie-modal-close {
  transition: background 0.19s, color 0.17s, box-shadow 0.18s, transform 0.14s;
}
.card:active, .feature-grid > div:active, .article-list > article:active {
  transform: scale(0.98) translateY(1px);
}

/* ==== Utilities ==== */
.latest-updates {
  font-size: 0.99rem;
  color: #10A37F;
  margin-top: 12px;
}
.value-proposition {
  font-size: 0.97rem;
  color: #16425B;
  opacity: .67;
  margin-top: 5px;
}

/****** Helper classes for flex layouts (if used in HTML) *****/
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.gap-20 { gap: 20px; }

/* ==== Accessibility ==== */
:focus {
  outline: 2px solid #10A37F;
  outline-offset: 3px;
}

/* ==== Hide visually, for accessibility (screen readers) ==== */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==== END OF THEME ==== */
