/* RESET & BASE TYPOGRAPHY */
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #0a1633;
  color: #EFEFEF;
  font-size: 16px;
  line-height: 1.65;
  background-image: linear-gradient(135deg, #0a1633 0%, #113263 100%);
  letter-spacing: 0.02em;
  overscroll-behavior-y: none;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #F6B90B;
  text-decoration: none;
  transition: color 0.20s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #fff196;
  outline: none;
}
::selection {
  background: #F6B90B;
  color: #113263;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  color: #F6B90B;
  font-weight: 600;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #F6B90B;
}
.text-section strong {
  color: #F6B90B;
}

p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #EFEFEF;
  font-size: 1rem;
  margin-bottom: 16px;
}
.text-section p:last-child {
  margin-bottom: 0;
}

/* UTILITY CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* MANDATORY SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #113263 80%, #223d6e 99%);
  border-radius: 24px;
  box-shadow: 0 10px 32px 0 rgba(20,30,70,0.22), 0 1.5px 3px 0 #1132632d;
  margin-top: 24px;
  margin-bottom: 56px;
}
.hero h1 {
  color: #F6B90B;
  text-shadow: 0 6px 24px #123267a2, 0 0 2px #F6B90B80;
}
.hero p {
  color: #EFEFEF;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* FLEX LAYOUTS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 242px;
  flex: 1 1 260px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #EFEFEF;
  color: #113263;
  border-left: 6px solid #F6B90B;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 28px 0 #233f7188, 0 1px 3px #eee4;
}
.testimonial-card p {
  color: #113263;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #113263;
  letter-spacing: 0.02em;
}
.testimonial-card img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
  vertical-align: middle;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD LAYOUTS (FOR DEMO, ADAPTABLE) */
.card {
  background: #141e47;
  border: 2px solid #223d6e;
  border-radius: 16px;
  box-shadow: 0 8px 24px 0 rgba(20,30,70,0.10);
  padding: 24px 20px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), border-color 0.22s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  border-color: #F6B90B;
  box-shadow: 0 12px 32px 0 #113263cc, 0 2px 6px 0 #F6B90B33;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #101b39;
  padding: 0;
  box-shadow: 0 2px 18px 0 #12326722;
  z-index: 102;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 50px;
  max-width: 165px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #EFEFEF;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 10px 5px;
  border-radius: 18px;
  transition: background 0.13s cubic-bezier(.4,0,.2,1), color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #223d6e;
  color: #F6B90B;
}
.main-nav a.cta {
  background: #F6B90B;
  color: #113263;
  font-weight: 600;
  padding: 10px 22px;
  margin-left: 10px;
  border-radius: 22px;
  box-shadow: 0 4px 18px #f6b90b73;
  transition: background 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.24s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #113263;
  color: #F6B90B;
  box-shadow: 0 6px 24px #11326344, 0 2px 8px #F6B90B44;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #F6B90B;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  z-index: 205;
  transition: color 0.21s;
  border-radius: 9px;
  padding: 4px 10px 4px 8px;
  outline: none;
}
.mobile-menu-toggle:focus {
  background: #223d6e;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #101b398f;
  backdrop-filter: blur(4px);
  z-index: 1500;
  transform: translateX(100vw);
  transition: transform 0.37s cubic-bezier(.5,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F6B90B;
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  margin: 20px 32px 9px 0px;
  z-index: 2001;
  padding: 4px 14px 4px 4px;
  border-radius: 50%;
  transition: background 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223d6e88;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding-left: 40px;
  padding-top: 20px;
}
.mobile-nav a {
  color: #EFEFEF;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 13px 0 13px 7px;
  border-radius: 12px;
  transition: background 0.17s cubic-bezier(.4,0,.2,1), color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F6B90B;
  background: #11326327;
}

/* FOOTER */
footer {
  background: #223d6e;
  padding: 0;
}
footer .container {
  padding: 36px 18px 14px 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #F6B90B;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #EFEFEF;
  font-size: 0.99rem;
}
.footer-contact a {
  color: #F6B90B;
}
.social-media {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 8px;
}
.social-media a img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 6px #efefef23);
  transition: filter 0.18s, transform 0.18s;
}
.social-media a:hover img {
  filter: drop-shadow(0 2px 9px #F6B90B);
  transform: scale(1.10);
}
footer p {
  font-size: 0.90rem;
  color: #EFEFEF;
  text-align: left;
}

/* CTA BUTTONS */
.cta, a.cta, button.cta {
  display: inline-block;
  background: #F6B90B;
  color: #113263;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
  font-size: 1.12rem;
  padding: 13px 30px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px #F6B90B33, 0 1.5px 3px #1132631c;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: background 0.15s cubic-bezier(.4,0,.2,1), color 0.13s, transform 0.16s, box-shadow 0.17s;
  text-shadow: 0 1px 3px #F6B90B2c;
}
.cta:hover, .cta:focus {
  background: #113263;
  color: #F6B90B;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px #223d6eb1, 0 2.5px 4px #F6B90B33;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #141e47;
  margin-bottom: 18px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 3px 13px #223d6e55;
}
th, td {
  padding: 12px 11px;
  text-align: left;
  font-size: 1.02em;
}
th {
  color: #F6B90B;
  background: #113263;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
}
td {
  color: #EFEFEF;
  background: #141e47;
}
tr:nth-child(even) td {
  background: #192850;
}
td span {
  background: #F6B90B;
  color: #113263;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 2px 13px;
  border-radius: 11px;
  font-size: 0.98em;
  font-weight: 500;
  box-shadow: 0 1px 3px #f6b90b41;
}

/* LISTS & ICONS */
ul li, .text-section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #F6B90B;
  font-weight: 500;
}
ul li img,
.text-section ul li img {
  width: 27px;
  height: 27px;
}
.text-section ul li {
  color: #F6B90B;
  font-weight: 400;
  font-size: 1rem;
}
.text-section ul li strong {
  color: #F6B90B;
  font-weight: 600;
}
.text-section ul {
  margin-bottom: 20px;
  margin-left: 0;
  padding-left: 0;
}

/* FEATURE ITEMS */
.feature-item {
  background: #223d6e;
  border-left: 5px solid #F6B90B;
  padding: 20px 15px;
  border-radius: 12px;
  color: #EFEFEF;
  margin-bottom: 8px;
}

/* TEAM GRID (ADAPTED) */
.teamgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 13px;
}
.teamgrid > div {
  background: #141e47;
  border-radius: 17px;
  padding: 22px 18px 17px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 260px;
  box-shadow: 0 2px 14px #19285045;
  color: #EFEFEF;
  position: relative;
}
.teamgrid strong {
  color: #F6B90B;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1em;
}
.teamgrid span {
  display: block;
  font-size: 1.01em;
  color: #EFEFEF;
  margin-top: 6px;
}

/* TEXT-IMAGE SECTION */
.text-image-section img {
  max-width: 325px;
  border-radius: 11px;
  box-shadow: 0 2px 12px #223d6e44;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .teamgrid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  section { padding: 27px 8px; }
  .footer .container, .container { padding-left: 4px; padding-right: 4px; }
  .footer-contact { font-size: 0.90rem; }
  .content-wrapper, .content-grid {
    gap: 10px;
  }
  .card-container {
    gap: 13px;
  }
  .teamgrid {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  .teamgrid > div {
    width: 100%;
    min-width: unset;
    flex: 1 1 100%;
    padding: 16px 10px 13px 10px;
  }
  .testimonial-card { padding: 12px; font-size: 0.98em; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 0.99rem; }
  section, .hero { padding: 14px 2px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #113263;
  border-top: 4px solid #F6B90B;
  color: #EFEFEF;
  padding: 19px 9vw 17px 12vw;
  z-index: 1990;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 36px #0a163399;
  font-size: 1.01rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.21s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.5,0,.2,1);
  gap: 22px;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-action {
  display: flex;
  gap: 12px;
}
.cookie-consent-btn {
  background: #F6B90B;
  color: #113263;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  font-size: 1.07rem;
  padding: 8px 18px;
  cursor: pointer;
  margin-right: 6px;
  margin-bottom: 2px;
  box-shadow: 0 2px 9px #F6B90B35, 0 1px 3px #1132631a;
  transition: background 0.13s, color 0.13s, box-shadow 0.17s;
}
.cookie-consent-btn:last-child {
  margin-right: 0;
}
.cookie-consent-btn.reject {
  background: #113263;
  color: #F6B90B;
  border: 1.2px solid #F6B90B;
}
.cookie-consent-btn.settings {
  background: #192850;
  color: #F6B90B;
  border: none;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #fff196;
  color: #113263;
  box-shadow: 0 6px 16px #f6b90b3b;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 7vw 15px 4vw;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-action {
    flex-wrap: wrap;
    gap: 9px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -47%) scale(0.92);
  background: #113263;
  color: #EFEFEF;
  border-radius: 19px;
  min-width: 340px;
  max-width: 95vw;
  z-index: 2050;
  box-shadow: 0 10px 60px #223d6e75;
  padding: 35px 30px 30px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.28s cubic-bezier(.5,0,.2,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  color: #F6B90B;
  font-size: 1.19rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1.09rem;
  cursor: pointer;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px; height: 21px;
  background: #223d6e;
  border-radius: 12px;
  position: relative;
  outline: none;
  margin-right: 6px;
  border: 2px solid #223d6e;
  transition: border 0.15s;
}
.cookie-modal .toggle:checked {
  background: #F6B90B;
  border-color: #F6B90B;
}
.cookie-modal .toggle::before {
  content: '';
  display: block;
  position: absolute;
  top: 1.7px; left: 2.5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #EFEFEF;
  transition: transform 0.19s, background 0.19s;
}
.cookie-modal .toggle:checked::before {
  transform: translateX(16px);
  background: #223d6e;
}
.cookie-modal .cookie-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-action-btn {
  background: #F6B90B;
  color: #113263;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  font-size: 1.04rem;
  padding: 7px 16px;
  cursor: pointer;
  box-shadow: 0 2px 9px #F6B90B33;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal .cookie-action-btn.close {
  background: #223d6e;
  color: #F6B90B;
  border: 1px solid #F6B90B;
}
.cookie-modal .cookie-action-btn:hover, .cookie-modal .cookie-action-btn:focus {
  background: #fff196;
  color: #113263;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 15px 7px 16px 7px;
    min-width: 210px;
  }
  .cookie-modal h3 {
    font-size: 1.08rem;
  }
}

/* ANIMATED MICRO-INTERACTIONS (NEON-LIKE GLOWS) */
.cta:focus, .cookie-consent-btn:focus, .card:focus {
  outline: 2px solid #F6B90B;
  outline-offset: 2px;
  box-shadow: 0 0 6px #F6B90B, 0 0 27px #F6B90B33;
}

/* GENERAL ANIMATION HOVER */
.button-animation, .cta, .cookie-consent-btn, .cookie-modal .cookie-action-btn {
  transition: transform 0.16s cubic-bezier(.46,1.64,.39,.83), box-shadow 0.2s, background 0.15s;
}
.button-animation:hover, .cta:hover, .cookie-consent-btn:hover {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 22px #f6b90b88;
}

/* CONTENT WRAPPER FLEX (COL > ROW ON DESKTOP) */
@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #F6B90B !important;
  outline-offset: 3px;
}

/* OVERRIDE BROWSER AUTOFILL */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #113263 inset;
  -webkit-text-fill-color: #F6B90B;
}

/* Z-INDEX STRUCTURE */
header { z-index: 102; }
.mobile-menu { z-index: 1500; }
.cookie-banner { z-index: 1990; }
.cookie-modal { z-index: 2050; }

/* PREVENT ABSOLUTE POSITIONING ON MAIN CARDS */
.card, .testimonial-card, .teamgrid > div {
  position: relative;
}

/* ADAPTIVE WHITE SPACE AND SPACING SCALE */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid { gap: 24px; }
.content-grid { gap: 20px; justify-content: space-between; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; margin-bottom: 20px; }
.feature-item { gap: 15px; }

/* PREVENT OVERLAPPING - SAFE MARGINS AND GAPS */
section, .card, .teamgrid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* Show overflow for horizontal scroll overlays */
.mobile-menu, .cookie-modal { overflow-y: auto; }

/* HIDE Desktop-only on small screens */
@media (max-width: 1020px) {
  .main-nav { display: none; }
}

/* END OF CSS */
