/* ==== 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, 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;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  background: #181f26;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(135deg, #162027 0%, #20687B 100%);
  color: #F2F2F2;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #FE8500;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
strong {
  font-weight: 600;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222b36;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 2px 24px 0 rgba(20,120,172,0.32);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #20687B;
  min-width: 280px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px 0 #fe850066;
  border-color: #FE8500;
  transform: translateY(-4px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #162027;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 36px 0 rgba(32,104,123,0.13);
  border-left: 4px solid #FE8500;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 40px 0 #fe850044;
  border-left: 4px solid #20687B;
}
.testimonial-card p{
  color: black;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TYPOGRAPHY ==== */
h1,h2,h3,h4{
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; color:#FE8500; }
h2 { font-size: 2rem; margin-bottom: 14px; color:#fff; }
h3 { font-size: 1.4rem; margin-bottom: 10px; color:#FE8500; }
h4 { font-size: 1.1rem; }

.section h2 { color: #FE8500; }
p, ul, li, span, strong, em {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p {
  color: #f2f2f2;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ==== BUTTONS & CTA ==== */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #FE8500;
  color: #fff;
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.22s cubic-bezier(.4,1.3,.3,1);
  box-shadow: 0 4px 24px 0 #fe850024;
  text-align: center;
  text-decoration: none;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20687B;
  color: #FE8500;
  box-shadow: 0 4px 32px 0 #20687b33;
  transform: translateY(-2px) scale(1.045);
}

/* ==== HEADER & NAV ==== */
header {
  width: 100%;
  background: #181f26;
  box-shadow: 0 2px 14px 0 #20687b1c;
  position: relative;
  z-index: 100;
  padding-top: 12px;
  padding-bottom: 12px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.93;
  position: relative;
  padding: 5px 4px;
  transition: color 0.17s, opacity 0.15s;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: #FE8500;
  opacity: 1;
}
.main-nav a::after {
  content: '';
  display: block;
  margin: 3px auto 0 auto;
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background: #FE8500;
  transition: width 0.2s;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 70%;
}

header .cta-btn {
  margin-left: 12px;
  margin-right: 8px;
  font-size: 1.06rem;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #FE8500;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  z-index: 120;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #181f26;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.4,1.3,.3,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FE8500;
  font-size: 2.2rem;
  position: absolute;
  right: 22px;
  top: 18px;
  cursor: pointer;
  z-index: 999;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 44px;
  align-items: flex-start;
  padding-left: 46px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.14s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FE8500;
  background: #222b36;
}

/* ==== MAIN, SECTION LAYOUTS ==== */
main {
  padding-top: 18px;
  padding-bottom: 38px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container {
  flex-direction: column;
  gap: 16px;
}

/* ==== FOOTER ==== */
footer {
  background: #222b36;
  color: #F2F2F2;
  padding: 46px 0 28px 0;
  box-shadow: 0 -2px 30px 0 #20687b19;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.footer-nav a {
  color: #F2F2F2;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.17s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #FE8500; opacity: 1; }
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 0.98rem;
  opacity: 0.93;
}
.footer-info img {
  height: 40px;
  width: auto;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #181f26;
  color: #fff;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 -3px 32px 0 #20687b2f;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  z-index: 3000;
  animation: slideup 0.55s cubic-bezier(.39,2.16,.57,1.03);
}
@keyframes slideup {
  from {transform: translateY(120px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: #FE8500;
  color: #fff;
  cursor: pointer;
  margin: 0 4px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 14px 0 #fe850031;
}
.cookie-btn.settings {
  background: #20687B;
  color: #fff;
}
.cookie-btn.reject {
  background: #222b36;
  color: #fff;
  border: 1.5px solid #20687B;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #20687B;
  box-shadow: 0 2px 22px 0 #20687b42;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FE8500;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FE8500;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%,-50%);
  background: #222b36;
  color: #fff;
  border-radius: 24px;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 8px 48px 0 #20687ba3;
  z-index: 4000;
  min-width: 310px;
  max-width: 95vw;
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadepop .6s cubic-bezier(.42,1.45,.38,.98);
}
@keyframes fadepop {
  from { opacity: 0; transform: translate(-50%, 10vh) scale(0.85);} 
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: transparent;
  border: none;
  color: #FE8500;
  font-size: 2rem;
  cursor: pointer;
  z-index: 4010;
}
.cookie-modal h3 {
  color: #FE8500;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-toggle {
  margin-left: 18px;
  appearance: none;
  width: 34px;
  height: 20px;
  background: #20687B;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #FE8500;
}
.cookie-toggle:before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s, background 0.2s;
  box-shadow: 0 1px 4px 0 #20687b66;
}
.cookie-toggle:checked:before {
  left: 16px;
  background: #fff7e1;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-category.required {
  color: #8eeffb;
}

/* ==== UTILITIES & ANIMATIONS ==== */
@media (max-width: 1400px) {
  .container { max-width: 99vw; }
}
@media (max-width: 1024px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  section { padding: 34px 6vw; }
  .footer-info { flex-direction: column; gap: 10px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6vw; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; margin-left: 8px; }
  header .cta-btn { display: none; }
  footer .container { flex-direction: column; gap: 18px; }
  .footer-nav { flex-direction: column; gap: 16px; }
  .footer-info { flex-direction: column; gap: 8px; }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .testimonial-card { flex-direction: column; gap: 8px; }
  section { padding: 34px 6vw; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  .cta-btn, .cookie-btn { font-size: 1rem; padding: 8px 18px; }
  .section { padding: 28px 2vw; }
}

/* ==== SELECTED MICRO-INTERACTIONS ==== */
.cta-btn, .cookie-btn, .mobile-nav a, .main-nav a {
  transition: color 0.17s, background 0.18s, box-shadow 0.19s, transform 0.22s cubic-bezier(.4,1.3,.3,1);
}

/* ==== FOCUS STATES FOR ACCESSIBILITY ==== */
button:focus, .cta-btn:focus, .main-nav a:focus, .mobile-nav a:focus, .cookie-btn:focus {
  outline: 2px solid #FE8500;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==== VISUAL HIERARCHY: SECTION SPACING ==== */
.card, .testimonial-card, .section, section {
  margin-bottom: 20px;
}

/* ==== EXTRAS: STAR RATING FOR TESTIMONIALS ==== */
.testimonial-card span {
  color: #FE8500;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ==== BRAND-INSPIRED NEON ACCENTS ==== */
.cta-btn, .cookie-btn, .main-nav a.active, .main-nav a:hover, .main-nav a:focus, .mobile-menu-toggle, .mobile-menu-close {
  text-shadow: 0 0 8px #fe850080, 0 1px 1px #20687b55;
}

/* ==== SLEEK INTERFACE DETAILS ==== */
.card {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  /* add neon border on hover */
}
.card:before {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 20px;
  border: 2.5px solid transparent;
  pointer-events: none;
  transition: border-color 0.18s;
}
.card:hover:before {
  border-color: #FE8500;
}

/* ==== PRONOUNCED VISUAL SPACE ==== */
.section, section, .content-wrapper, .text-section {
  margin-bottom: 20px;
  padding-bottom: 0;
}

/* ==== HINT OF 'FUTURISTIC' (SUBTLE GLOW) ==== */
.cta-btn, .cookie-btn {
  box-shadow: 0 0 10px 2px #fe850046, 0 2px 14px 0 #20687b28;
}
.main-nav a.active, .main-nav a:hover {
  box-shadow: 0 2px 16px 0 #fe850033;
}

/* ==== FORMS (if any in future) ==== */
input, textarea, select {
  background: #1e2831;
  color: #fff;
  border: 1.5px solid #20687B;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FE8500;
  box-shadow: 0 0 10px 0 #fe85006c;
}

/* ==== HIDE/SHOW COMPONENTS (to be used dynamically) ==== */
.hide { display: none!important; }

/* ==== ENSURE NO OVERLAP, FLEXBOX CONSISTENCY ==== */
.card, .testimonial-card, .feature-item, .content-grid, .container, .text-image-section, .footer-info, .footer-nav, .main-nav, .mobile-nav, .card-container {
  min-width: 0;
  min-height: 0;
}

/* ===================== END OF STYLE ===================== */