/* ====================================== */
/*            CSS RESET + BASE            */
/* ====================================== */
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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #22315a; /* fallback for gradient */
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #f8faff;
  min-height: 100vh;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg,#22315a 0%,#314D89 100%);
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #F29F05;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #fff;
  outline: none;
}
button,
input[type="button"],
input[type="submit"] {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

/* ========================================= */
/*           TYPOGRAPHY & HEADINGS           */
/* ========================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, li, blockquote {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #E6EEF8;
}
blockquote {
  font-style: italic;
  color: #314D89;
  background: #E6EEF8;
  border-left: 4px solid #F29F05;
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: 12px 2px 14px 2px;
}
strong {
  color: #F29F05;
  font-weight: 700;
}
.text-section h3 {
  color: #F29F05;
  font-size: 1rem;
}

/* ======================================= */
/*          GENERAL CONTAINERS             */
/* ======================================= */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HERO/BANNER */
.hero {
  background: linear-gradient(135deg, #23387a 80%, #F29F05 430%);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 36px 0 rgba(35, 56, 122, 0.21);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
  text-shadow: 0 3px 8px rgba(49,77,137,0.23);
}
.hero p {
  color: #E6EEF8;
  max-width: 560px;
  margin-bottom: 20px;
  font-size: 1.125rem;
}

/* ======================================== */
/*                HEADER + NAV              */
/* ======================================== */
header {
  width: 100%;
  padding: 0 20px;
  background: rgba(34,49,90,0.97);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px 0 rgba(27,41,78,0.09);
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #E6EEF8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 10px 8px;
  position: relative;
  text-shadow: 0 1px 8px rgba(49,77,137, 0.07);
  transition: color 0.19s, text-shadow 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F29F05;
  text-shadow: 0 1px 18px #F29F05;
}
.cta.primary {
  margin-left: 30px;
  background: #F29F05;
  color: #23387A;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 1.02rem;
  letter-spacing: 0.015em;
  box-shadow: 0 0 0 #F29F05;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #F29F05;
  box-shadow: 0 4px 22px #F29F05;
}
.cta.secondary {
  background: transparent;
  color: #F29F05;
  border: 2px solid #F29F05;
  border-radius: 28px;
  padding: 11px 22px;
  font-weight: 600;
  margin-top: 18px;
  transition: background 0.18s, color 0.18s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F29F05;
  color: #22315a;
}

/* HAMBURGER MENU (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F29F05;
  margin-left: 18px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(49,77,137,0.20);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #23387a;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.35,.41,1.3);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 6px 0 32px 0 rgba(49,77,137,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #F29F05;
  margin: 32px 0 12px 22px;
  align-self: flex-start;
  background: none;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(49,77,137,0.17);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 20px;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  padding: 12px 2px;
  transition: color 0.14s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F29F05;
  background: rgba(242,159,5,0.06);
}

/* Hide desktop navigation on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================== */
/*             SECTIONS + LAYOUTS             */
/* ========================================== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(100deg, #23387a 90%, #314D89 140%);
  border-radius: 30px 30px 10px 10px;
  box-shadow: 0 6px 24px 0 rgba(49,77,137,0.16);
}
.features ul, .features ol {
  margin-left: 1.2em;
  margin-bottom: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #262e3d;
  color: #F29F05;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(49,77,137,0.13);
  padding: 20px 24px;
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
  border-left: 4px solid #F29F05;
  transition: transform 0.14s, box-shadow 0.19s;
}
.feature-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px #F29F05;
}
.feature-item img {
  height: 36px;
  width: 36px;
  filter: drop-shadow(0 2px 8px rgba(242,159,5,0.13));
}
.feature-item h3 {
  color: #fff;
  font-size: 1.17rem;
}
.feature-item p {
  color: #E6EEF8;
}

/* SERVICES */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #22315a;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(49,77,137,0.09);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 24px 0;
}
.service-card {
  background: #23387a;
  color: #E6EEF8;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(49,77,137,0.14);
  padding: 20px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.14s;
  border-left: 4px solid #F29F05;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.service-card h3 {
  font-size: 1.08rem;
  color: #F29F05;
}
.service-card strong {
  color: #fff;
  font-weight: 600;
}
.service-card:hover {
  box-shadow: 0 4px 18px #F29F05, 0 2px 12px 0 rgba(49,77,137,0.14);
  transform: scale(1.03);
}

/* CARD CONTAINER (general) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23387a;
  color: #F29F05;
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 13px 0 rgba(49,77,137,0.13);
  padding: 24px 18px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 20px #F29F05;
  transform: translateY(-4px);
}

/* CONTENT-GRID/ROW LAYOUT */
.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;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
  background: #E6EEF8;
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 4px 22px 0 rgba(49,77,137,0.13);
}
.testimonials h2 {
  color: #22315a;
  font-size:1.42rem;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(49,77,137,0.09);
  margin-bottom: 20px;
  position: relative;
  border-left: 4px solid #F29F05;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  color: #23387a;
  margin: 0;
  font-size: 1.09rem;
  font-weight: 500;
  line-height: 1.4;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #314D89;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 6px;
}

/* CONTACT SECTION */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
  background: #16203C;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(49,77,137,0.09);
}
.contact .content-wrapper {
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 1.2em;
}
.text-section a {
  color: #F29F05;
  text-decoration: underline;
}
.text-section a:hover, .text-section a:focus {
  color: #fff;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #23387a;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px 0 rgba(49,77,137,0.07);
}
thead tr {
  background: #314D89;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  font-size: 1rem;
}
th {
  color: #F29F05;
  font-family: 'Montserrat', Arial, sans-serif;
}
tbody tr:nth-child(even) {
  background: #22315a;
}
tr:hover {
  background: #F29F05;
  color: #23387A;
}

/* FOOTER */
footer {
  width: 100%;
  background: #1B2643;
  padding: 32px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.footer-menu, .legal-links, .social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-menu a {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.72;
  transition: color 0.15s, opacity 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F29F05;
  opacity: 1;
}
.legal-links {
  color: #E6EEF8;
  font-size: 0.92rem;
}
.social-links img {
  width: 26px;
  height: auto;
}

/* ========================================== */
/*             COOKIE CONSENT BANNER          */
/* ========================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #23387a;
  color: #fff;
  padding: 22px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  box-shadow: 0 -2px 18px 0 rgba(49,77,137,0.16);
  border-radius: 18px 18px 0 0;
  animation: cookiebanner-fadein 0.6s cubic-bezier(.32,1.22,.47,1);
}
@keyframes cookiebanner-fadein {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #E6EEF8;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 22px;
  font-size: 1rem;
  padding: 10px 22px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 8px 0 rgba(49,77,137,0.10);
  transition: background 0.16s, color 0.16s;
  border: none;
}
.cookie-btn.accept {
  background: #F29F05;
  color: #23387A;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD477;
}
.cookie-btn.reject {
  background: #23387A;
  color: #F29F05;
  border: 2px solid #F29F05;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F29F05;
  color: #23387A;
}
.cookie-btn.settings {
  background: transparent;
  color: #F29F05;
  border: 2px solid #F29F05;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #314D89;
  color: #F29F05;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2101;
  top:0; left:0;width:100vw;height:100vh;
  background: rgba(34,49,90,0.93);
  display: flex;
  align-items: center;justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #22315a;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 #22315aCC;
  padding: 36px 32px 24px 32px;
  min-width: 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiemodal-in .33s cubic-bezier(.56,1,.47,1);
}
@keyframes cookiemodal-in {
  from { transform: translateY(40px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #314D89;
  font-size: 1.2rem;
  margin-bottom: 0;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.01rem;
}
.cookie-category .switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-category .switch input[type="checkbox"] {
  opacity: 0;
  width: 0;height: 0;
}
.cookie-category .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E6EEF8;
  border-radius: 22px;
  transition: background 0.11s;
}
.cookie-category .switch input:checked + .slider {
  background: #F29F05;
}
.cookie-category .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 4px #314d8930;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-action-buttons {
  margin-top:12px; display: flex; gap: 18px;
}
.cookie-modal .cookie-btn {
  font-size: 0.97rem;
}
.cookie-modal .cookie-btn.close {
  background: #314D89;
  color: #fff;
}
.cookie-modal .cookie-btn.close:hover, .cookie-modal .cookie-btn.close:focus {
  background: #F29F05;
  color: #22315a;
}

/* ========================================= */
/*        RESPONSIVE BREAKPOINTS             */
/* ========================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
  .feature-grid,.service-list {
    gap:20px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 92vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-list {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .service-card {
    max-width: 100%;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  header {
    height: 58px;
    padding: 0 10px;
  }
  .logo img {
    height: 30px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .hero {
    padding: 38px 0 24px 0;
  }
  .section,
  .features, .services, .contact, .testimonials {
    padding: 22px 7px 16px 7px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .footer .content-wrapper {
    gap: 10px;
  }
  .feature-grid,
  .service-list,
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .about .content-wrapper,
  .team .content-wrapper,
  .cookie-modal {
    padding: 17px 11px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: center;
  }
  .footer-menu, .legal-links, .social-links {
    gap: 8px;
  }
}
@media (max-width: 540px) {
  .container { padding: 0 3px; }
  html { font-size: 15px; }
  .footer { padding: 18px 0 10px 0; }
  .cookie-banner { font-size:0.93rem; padding: 14px 6px 14px 8px; }
}

/* ========================================== */
/*          FUTURISTIC NEON ACCENTS           */
/* ========================================== */
.section, .features, .services, .contact {
  position: relative;
  overflow: visible;
}
.section:before, .features:before, .services:before, .contact:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  left: 14px; top: -12px;
  width: 63px; height: 6px;
  background: #F29F05;
  opacity: 0.16;
  filter: blur(3px);
  border-radius: 3px;
}
.features:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  right: 14px; bottom: -18px;
  width: 44px; height: 6px;
  background: #09a6d4;
  opacity: 0.13;
  filter: blur(2px);
  border-radius: 3px;
}
.cta.primary, .cta.secondary, .service-card, .feature-item {
  box-shadow: 0 0 14px 0 #F29F0570;
}

/* Animated underline for nav links */
.main-nav a {
  position: relative;
}
.main-nav a:after {
  content: "";
  display: block;
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg,#F29F05 20%,#09a6d4 90%);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s, transform 0.18s;
  border-radius:3px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  opacity: 1;
  transform: scaleX(1);
}

/* ANIMATIONS & MICRO-INTERACTION */
.cta.primary, .cta.secondary {
  transition: box-shadow 0.16s, background 0.18s, color 0.13s, transform 0.12s;
}
.cta.primary:active, .cta.secondary:active {
  transform: scale(0.97);
}
.feature-item, .service-card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.13s;
}

/* FOCUS STYLES */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F29F05;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR */
html {
  scrollbar-width: thin;
  scrollbar-color: #314D89 #E6EEF8;
}
::-webkit-scrollbar {
  width: 10px;
  background: #E6EEF8;
}
::-webkit-scrollbar-thumb {
  background: #314D89;
  border-radius: 6px;
}

/* Hide content overflow for modal/mobile-menu */
body.modal-open, body.mobile-menu-open {
  overflow: hidden !important;
}

/* ============ END OF FILE ============ */
