/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #181A23;
  color: #F4F4F9;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f9fafb;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.275rem; margin-bottom: 10px; }
p,ul,ol { margin-top: 0; margin-bottom: 16px; }
ul,ol { padding-left: 24px; }
a {
  color: #48B678;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #60FFCA; }
strong { font-weight: 700; }

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #21263C;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(34,54,83,0.15);
  padding: 32px 24px;
  flex: 1 1 280px;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  border: 1.5px solid #233A57;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 36px 0 #48B67833, 0 2px 12px 0 #49acff44;
  border-color: #48B678;
  transform: translateY(-4px) scale(1.003);
}
.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;
  background: #F4F4F9;
  color: #223653;
  border-radius: 15px;
  box-shadow: 0 4px 18px 0 #48B67819;
  margin-bottom: 24px;
  padding: 20px 32px;
  position: relative;
  font-size: 1.08rem;
  min-width: 250px;
  max-width: 520px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #1a2250;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: .88;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER / NAVIGATION --- */
header {
  padding: 0;
  background: #1D2538;
  box-shadow: 0 2px 8px 0 #22365311;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #F4F4F9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background .18s, color .20s;
  position: relative;
}
.main-nav .cta-btn {
  background: linear-gradient(90deg, #48B678 0%, #49acff 100%);
  background-color: #48B678;
  color: #181A23;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 #48B67833;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background .18s, color .20s, box-shadow .25s;
  margin-left: 12px;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: linear-gradient(90deg, #49acff 0%, #48B678 100%);
  box-shadow: 0 3px 24px 0 #49acff60;
  color: #fff;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #223653;
  color: #48B678;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #48B678;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1201;
  transition: color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #49acff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #181A23ee;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .32s cubic-bezier(.93,0,.44,1.34), opacity .22s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.3rem;
  color: #F4F4F9;
  cursor: pointer;
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 1202;
}
.mobile-nav {
  margin-top: 108px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.20rem;
  color: #F4F4F9;
  padding: 14px 0;
  text-transform: uppercase;
  border-radius: 6px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #223653;
  color: #48B678;
}
@media (max-width: 1080px) {
  .container { max-width: 1000px; }
}
@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  .main-nav a { font-size: .98rem; }
}
@media (max-width: 850px) {
  .logo img { height: 40px; }
  .main-nav a { padding: 7px 7px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO / TOP SECTIONS --- */
.hero {
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 46px;
  padding-bottom: 40px;
  background: linear-gradient(125deg, #223653 0%, #2A8BF2 100%);
  box-shadow: 0 4px 24px #1d1d1daa;
  border-radius: 0 0 40px 40px;
  position: relative;
  margin-bottom: 60px;
}
.hero .container,
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 800;
  text-shadow: 0 6px 28px #22365340;
}
.hero p {
  color: #F4F4F9;
  font-size: 1.15rem;
  opacity: 0.98;
}
.hero .cta-btn {
  margin-top: 10px;
}

/* --- FEATURES + CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #21263C;
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 2px 16px #22365333;
  flex: 1 1 260px;
  min-width: 230px;
  min-height: 180px;
  margin-bottom: 20px;
  border: 1.5px solid #293b61;
  text-align: left;
  transition: box-shadow 0.25s, border-color .25s, transform 0.3s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px #48B67844, 0 3px 18px #22365322;
  border-color: #48B678;
  transform: translateY(-4px) scale(1.01);
}
.feature-grid img {
  width: 44px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px #49acff55);
}

/* --- BUTTONS & CTA --- */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #48B678 0%, #49acff 100%);
  color: #181A23;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px 0 #48B67833;
  cursor: pointer;
  transition: background 0.24s, color 0.18s, box-shadow .24s, transform .17s;
  text-transform: uppercase;
  margin-top: 0;
}
.cta-btn:hover, .cta-btn:focus {
  color: #fff;
  background: linear-gradient(90deg, #49acff 0%, #48B678 100%);
  box-shadow: 0 6px 36px 0 #49acff60, 0 2px 8px 0 #22365321;
  transform: scale(1.024) translateY(-2px);
}

/* --- TABLE, ABOUT, SERVICES, FAQ --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 24px 0;
  background: #21263C;
  border-radius: 14px;
  font-size: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px #22365322;
}
thead {
  background: #2A4475;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
td, th {
  padding: 14px 12px;
  border-bottom: 1px solid #233A57;
  text-align: left;
}
td:last-child, th:last-child {
  text-align: right;
}
tr:last-child td { border-bottom: none; }
table tr:hover td {
  background: #233A5733;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; width: 100%; }
  thead { display: none; }
  tr { margin-bottom: 25px; border-radius: 10px; }
  td { text-align: left; padding: 12px 10px; border-bottom: none; }
}

/* --- CONTACT + INFO --- */
.contact-info,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 1.08rem;
  align-items: center;
  margin-bottom: 18px;
}
.contact-info > div,
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #21263C;
  color: #F4F4F9;
  padding: 8px 16px;
  border-radius: 7px;
  min-width: 180px;
}
.contact-info img,
.contact-details img {
  width: 22px;
  height: 22px;
}

.text-section {
  margin-top: 24px;
  background: #21263C;
  border-radius: 10px;
  padding: 20px 18px;
}
.text-section span { color: #F4F4F9; }

.contact-ticker {
  background: linear-gradient(90deg,#293b61 0%,#223653 100%);
  padding-top: 13px;
  padding-bottom: 13px;
  border-radius: 8px;
  margin-bottom: 0px;
}

/* --- FOOTER ---- */
footer {
  background: #223653;
  color: #F4F4F9;
  width: 100%;
  padding: 44px 0 24px 0;
  margin-top: 60px;
  border-radius: 46px 46px 0 0;
  box-shadow: 0 -4px 24px #1a225055;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  width: 52px;
  height: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 1rem;
  color: #F4F4F9;
  letter-spacing: .04em;
  opacity: .88;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #48B678;
  color: #223653;
  opacity: 1;
}
.footer-contact {
  color: #F4F4F9cc;
  font-size: 1em;
  text-align: center;
  margin-bottom: 10px;
}
footer p {
  font-size: .98em;
  color: #bbbbcc;
  margin-bottom: 0;
  opacity: 0.7;
  text-align: center;
}

/* --- GENERAL SECTION STYLES -- */
section {
  margin-bottom: 60px;
  padding: 40px 0; /* to be consistent */
}

/* --- RESPONSIVE FLEX DIRECTION --- */
@media (max-width: 768px) {
  .feature-grid, .content-grid,
  .card-container, .contact-info,
  .contact-details,.text-image-section,
  .footer-nav {
    flex-direction: column!important;
    gap: 20px!important;
    align-items: stretch!important;
  }
  .section, section,
  .hero, footer {
    border-radius: 0!important;
    padding-left: 8px;
    padding-right: 8px;
  }
  .logo img { height: 34px; }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.2rem; }
  .hero .container, .hero .content-wrapper {
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    padding-left: 0; padding-right: 0;
  }
  .testimonial-card { max-width: 98vw; min-width: 0; padding: 18px 12px; }
  .card, .feature-grid > div { min-width: 0; width: 100%; padding: 20px 12px; }
}
@media (max-width: 520px) {
  .container { padding: 0 5px; }
  .card, .feature-grid > div {
    padding: 14px 6px;
    font-size: .95rem;
  }
  .testimonial-card { font-size: .98rem; padding: 13px 7px; }
  .cta-btn { font-size: .93rem; padding: 10px 14px; }
}

/* --- MICRO-INTERACTIONS and NEON ACCENTS --- */
.card, .feature-grid > div, .cta-btn, .main-nav .cta-btn, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.19s, color 0.14s, background 0.16s, transform 0.18s;
}
.card:hover, .feature-grid>div:hover, .main-nav .cta-btn:hover, .cta-btn:hover {
  filter: drop-shadow(0 0 8px #60FFCA55) drop-shadow(0 0 18px #48B67844);
}

/* Neon-like accent underline for h2 */
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg,#48B678,#49acff);
  border-radius: 2px;
  margin-top: 8px;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1300;
  background: #21263C;
  padding: 26px 24px 22px 24px;
  box-shadow: 0 -6px 32px #49acff55;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: bottom .35s, opacity .24s;
  opacity: 1;
}
#cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -160px;
}
#cookie-consent-banner .cookie-text {
  color: #F4F4F9;
  font-size: 1rem;
  flex: 1 1 0%;
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  background: #48B678;
  color: #223653;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0;
  transition: background .18s, color .15s, box-shadow .22s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #49acff;
  color: #F4F4F9;
  box-shadow: 0 2px 12px #49acff55;
}
.cookie-btn.secondary {
  background: transparent;
  color: #48B678;
  border: 1.5px solid #48B678;
}
.cookie-btn.secondary:hover {
  background: #21263C;
  color: #49acff;
  border-color: #49acff;
}

/* COOKIE SETTINGS MODAL */
#cookie-settings-modal {
  display: none;
  position: fixed;
  z-index: 1330;
  top: 0;left: 0;right:0;bottom:0;
  background: #181A23ee;
  justify-content: center;
  align-items: center;
}
#cookie-settings-modal.active {
  display: flex;
  animation: fadeIn .36s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #222744;
  border-radius: 20px;
  box-shadow: 0 8px 48px #49acff55;
  color: #F4F4F9;
  width: 96%;
  max-width: 380px;
  padding: 34px 28px 25px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-content h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  color: #F4F4F9;
}
.cookie-category input[type=checkbox] {
  accent-color: #48B678;
  width: 18px;
  height: 18px;
}
.cookie-category .essential-mark {
  color: #48B678;
  font-size: .95em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding-left: 5px;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #F4F4F9;
  font-size: 1.7rem;
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  z-index: 1;
  opacity: .7;
  transition: opacity .18s;
}
.cookie-modal-close:hover {
  opacity: 1;
}

@media (max-width: 520px) {
  #cookie-consent-banner { flex-direction: column; gap: 14px; align-items: flex-start; padding: 17px 8px 16px 8px; }
  #cookie-consent-banner .cookie-buttons { gap: 12px; }
}

/* --- SCROLLBARS FOR FUTURISTIC TOUCH --- */
body, .cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #48B678 #181A23;
}
body::-webkit-scrollbar {
  width: 9px;
}
body::-webkit-scrollbar-thumb {
  background: #48B678cc;
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: #181A23;
}

/* --- MISC --- */
::-moz-selection {
  background: #49acff;
  color: #fff;
}
::selection {
  background: #49acff;
  color: #fff;
}

hr {
  border: none;
  border-bottom: 1.5px solid #223653;
  margin: 32px 0;
}

/* --- TYPOGRAPHY HIERARCHY --- */
@media (min-width: 600px) {
  h1 { font-size: 2.5rem; margin-bottom: 24px; }
  h2 { font-size: 2rem; margin-bottom: 18px; }
  h3 { font-size: 1.275rem; }
}
@media (min-width: 1000px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.18rem; }
  h3 { font-size: 1.35rem; }
}

/* --- OVERWRITES FOR SPECIAL SECTIONS --- */
/* For thanks.php center content */
main .content-wrapper > div[style*="text-align:center"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 8px 32px 8px;
}
main .content-wrapper > div[style*="text-align:center"] img {
  margin: 18px 0 7px 0;
  filter: drop-shadow(0 0 16px #48B67855);
}

/* Hide default outline for mouse, show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px solid #48B678;
  outline-offset: 1.5px;
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.gap-20 { gap: 20px!important; }
.rounded { border-radius: 14px!important; }
.bg-accent { background: #F4F4F9!important; color: #223653!important; }
.text-primary { color: #48B678!important; }

/* --- MEDIA QUERIES FINE-TUNING --- */
@media (max-width: 520px) {
  h1, h2, h3 { word-break: break-word; }
}

/* END OF CSS */
