/* 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, 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F5F1;
  color: #223063;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a { 
  color: #223063; 
  text-decoration: none; 
  transition: color .2s; 
}
a:hover, a:focus { color: #5CBB8A; }
img { max-width: 100%; display: block; border-radius: 12px; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #223063;
  letter-spacing: 0.2px;
}

h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

p, li, blockquote, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #223063;
}

.subheadline {
  font-size: 1.25rem;
  color: #5CBB8A;
  margin-bottom: 22px;
  font-weight: 500;
}

/* CONTAINER & SPACING */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

/* FLEXBOX LAYOUTS (NO GRID, NO COLUMNS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(92,187,138,0.09);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px rgba(92,187,138,.16);
  transform: translateY(-2px) scale(1.02);
}
.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: 28px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,48,99,0.10);
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow .2s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #223063;
}
.testimonial-meta {
  font-size: 0.995rem;
  color: #5CBB8A;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX DIRECTION RESPONSIVENESS */
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
  .testimonials .testimonial-slider {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 24px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
  }
}

/* HEADER / NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,48,99,0.07);
  border-radius: 0 0 24px 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 8px 12px;
  border-radius: 9px;
  color: #223063;
  font-weight: 500;
  transition: background .15s, color .15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F5F1;
  color: #5CBB8A;
}
.cta-primary {
  background: #5CBB8A;
  color: #fff !important;
  border-radius: 12px;
  padding: 10px 24px;
  font-weight: bold;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(34,48,99,0.10);
  border: none;
  transition: background .18s, box-shadow .2s, color .18s;
  margin-left: 14px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #223063;
  color: #fff !important;
  box-shadow: 0 3px 20px rgba(34,48,99,0.18);
}
.cta-secondary {
  background: #fff;
  color: #223063;
  border-radius: 11px;
  border: 2px solid #5CBB8A;
  padding: 10px 22px;
  font-weight: bold;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.04rem;
  margin-top: 12px;
  transition: background .15s, color .15s, border-color .18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #5CBB8A;
  color: #fff;
  border-color: #223063;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #5CBB8A;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .15s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #223063;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #fff;
  box-shadow: 0 2px 24px rgba(34,48,99,0.17);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #223063;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  align-self: flex-start;
  margin: 12px 0 12px 20px ;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F5F5F1;
  color: #5CBB8A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 34px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 16px 0 8px 0;
  color: #223063;
  font-family: 'Montserrat', Arial, sans-serif;
  width: 100%;
  border-radius: 9px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F5F1;
  color: #5CBB8A;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* HERO SECTIONS */
.hero, .hero-pricing, .hero-community, .hero-contact, .hero-events, .hero-service {
  background: linear-gradient(120deg, #F5F5F1 60%, #5CBB8A 100%);
  border-radius: 24px;
  margin-bottom: 50px;
  padding: 56px 0 54px 0;
}
.hero h1, .hero-pricing h1, .hero-community h1, .hero-contact h1, .hero-events h1, .hero-service h1 {
  color: #223063;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero .subheadline, .hero-pricing .subheadline, .hero-community .subheadline, .hero-contact .subheadline, .hero-service .subheadline {
  color: #5CBB8A;
}

/* FEATURE GRIDS */
.feature-grid, .service-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid li, .service-list li, .team-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(92,187,138,0.07);
  padding: 26px 22px 20px 22px;
  flex: 1 1 230px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.feature-grid li img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
}
.feature-grid li:hover, .feature-grid li:focus,
.service-list li:hover, .service-list li:focus,
.team-list li:hover, .team-list li:focus {
  box-shadow: 0 6px 24px rgba(92,187,138,.16);
  transform: translateY(-2px) scale(1.016);
}

/* TESTIMONIALS */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  align-items: stretch;
}
.testimonial-card {
  width: 100%; max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,48,99,0.10);
  padding: 28px 24px;
  color: #223063;
  transition: box-shadow .2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(34,48,99,0.18);
}
@media (max-width: 900px) {
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ABOUT / TEAM */
.timeline, .mission-statement, .core-values, .community-focus, .plan-features, .icon-list, .benefit-grid, .member-spotlights, .collaboration-opportunities, .privacy-policy, .gdpr-section, .cookies-policy-section, .terms-section, .thank-you-section, .location-map-placeholder, .faq-section {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,48,99,0.06);
  margin-bottom: 30px;
}
blockquote.founder-quote {
  margin: 30px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: #5CBB8A;
  border-left: 4px solid #5CBB8A;
  padding-left: 18px;
  background: #F5F5F1;
  border-radius: 8px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* TABLE STYLING */
.pricing-table-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,48,99,0.06);
  margin-bottom: 60px;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
  color: #223063;
}
.pricing-table th {
  background: #F5F5F1;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223063;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FAQ LIST */
.faq-list li {
  margin-bottom: 26px;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 45px 0 20px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 18px rgba(34,48,99,0.13);
  margin-top: 60px;
}
.footer-nav,
.legal-nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
  align-items: center;
}
.footer-nav a,
.legal-nav a {
  color: #223063;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
}
.footer-nav a:hover, .legal-nav a:hover, .footer-nav a:focus, .legal-nav a:focus {
  color: #5CBB8A;
  text-decoration: underline;
}
.footer-copy {
  color: #999;
  font-size: 0.98rem;
  text-align: left;
}
.social-links a img {
  width: 33px;
  height: 33px;
  border-radius: 7px;
  transition: box-shadow .14s;
}
.social-links a:hover img {
  box-shadow: 0 2px 10px rgba(92,187,138,0.18);
}

/* UTILITY CLASSES */
.text-section {
  margin-bottom: 32px;
}
.text-section p, .text-section li {
  font-size: 1.06rem;
  color: #223063;
  margin-bottom: 12px;
}
.text-section h2, .text-section h3 {
  color: #223063;
}

/* RESPONSIVE SPACING */
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .section { margin-bottom: 36px; padding: 32px 10px; }
}
@media (max-width: 600px) {
  header, footer {
    border-radius: 0;
    box-shadow: none;
  }
  .hero, .hero-pricing, .hero-community, .hero-contact, .hero-events, .hero-service {
    padding: 36px 0 26px 0;
    border-radius: 10px;
  }
  .timeline, .mission-statement, .core-values, .community-focus, .plan-features, .icon-list, .benefit-grid, .member-spotlights, .collaboration-opportunities, .privacy-policy, .gdpr-section, .cookies-policy-section, .terms-section, .thank-you-section {
    border-radius: 8px;
    padding: 18px 7px;
  }
}

/* FORM ELEMENTS */
input, textarea, select {
  background: #F5F5F1;
  padding: 10px 14px;
  border-radius: 9px;
  margin-bottom: 10px;
  border: 1.5px solid #E7EFEA;
  box-shadow: 0 1px 5px rgba(92,187,138,0.05);
  font-size: 1rem;
  transition: border .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #5CBB8A;
  box-shadow: 0 2px 10px rgba(92,187,138,.12);
}

/* ANIMATIONS & TRANSITIONS */
button, .cta-primary, .cta-secondary, .card, .feature-grid li, .main-nav a, .mobile-nav a, .testimonial-card, .card-container, .event-list li {
  transition: all .18s cubic-bezier(.54, .05, .34, .99);
}

/* EVENT LISTS, LISTS */
.event-list, .benefits-list, .networking-events-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.event-list li, .benefits-list li, .networking-events-list li, .faq-list li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(92,187,138,0.09);
  padding: 20px 18px;
  color: #223063;
}

/* CONTACT ICONS */
.contact-details img, .contact-details-section img, .location-map-placeholder img {
  vertical-align: middle;
  margin-right: 8px;
  width: 24px;
  height: 24px;
}
.contact-details a.cta-secondary {
  margin-top: 20px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #223063;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 500;
  padding: 22px 18px 22px 18px;
  box-shadow: 0 -2px 18px rgba(34,48,99,0.17);
  font-size: 0.98rem;
  border-radius: 20px 20px 0 0;
  flex-wrap: wrap;
}
.cookie-banner p {margin: 0; color: #fff;}
.cookie-banner .cookie-btns {
  display: flex; gap: 16px; margin-left: 20px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  padding: 8px 20px;
  cursor: pointer;
  background: #fff;
  color: #223063;
  font-weight: 600;
  border: none;
  margin: 0 2px;
  transition: background .17s, color .17s;
}
.cookie-banner .accept {
  background: #5CBB8A;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #41B371;
}
.cookie-banner .reject {
  background: #fff;
  color: #223063;
  border: 1.5px solid #5CBB8A;
}
.cookie-banner .reject:hover {
  background: #fff7e4;
}
.cookie-banner .settings {
  background: #223063;
  color: #fff;
  border: 1.5px solid #5CBB8A;
}
.cookie-banner .settings:hover {
  background: #5CBB8A;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 18px; border-radius: 8px 8px 0 0; }
  .cookie-banner .cookie-btns { margin-left: 0; gap: 8px; }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,48,99,0.23);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #223063;
  border-radius: 16px;
  box-shadow: 0 2px 36px rgba(34,48,99,0.21);
  padding: 40px 32px 24px 32px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 84vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  color: #5CBB8A;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  background: none;
  color: #223063;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  cursor: pointer;
  transition: background .14s, color .17s;
}
.cookie-modal-content .close-modal:hover {
  background: #F5F5F1;
  color: #5CBB8A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-categories label {
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 12px;
}
.cookie-categories input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: #5CBB8A;
  margin-right: 7px;
  border-radius: 5px;
}
.cookie-modal-content .save-btn {
  margin-top: 18px;
  background: #5CBB8A;
  color: #fff;
  border-radius: 10px;
  padding: 9px 25px;
  font-weight: bold;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.cookie-modal-content .save-btn:hover { background: #223063; }

/* MODALS AND ANIMATIONS */
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 22px 9px 14px 9px;
    min-width: 0;
  }
}

/* SELECTION COLOR */
::selection {
  background: #5CBB8A;
  color: #fff;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F5F1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #5CBB8A;
  border-radius: 10px;
}

/* CARD SPACING ENFORCEMENT */
.card + .card,
.text-section + .text-section,
.timeline + .mission-statement,
.mission-statement + .founder-quote,
.feature-grid li + li,
.service-list li + li,
.team-list li + li,
.testimonial-card + .testimonial-card,
.event-list li + li,
.benefits-list li + li,
.faq-list li + li,
.networking-events-list li + li {
  margin-top: 20px;
}

/* ENSURE MINIMUM SPACING */
.section > *,
.section .card-container > * {
  margin-bottom: 20px;
}

/***************
  ADAPTIVE DESIGN – FINE-TUNE MOBILE
**************/
@media (max-width: 420px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.1rem; }
  .footer-copy { font-size: 0.91rem; }
  .cta-primary, .cta-secondary, .cookie-banner button {
    font-size: 0.95rem;
    padding: 8px 10px;
  }
}
