/* ================= 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background-color: #101726;
  color: #F6F8FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E2AF30;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff6d6;
  text-shadow: 0 0 8px #E2AF30, 0 0 2px #fff;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.15;
  color: #E2AF30;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, .summary-text, .team-highlight, .confirmation {
  color: #F6F8FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
}
strong {
  color: #E2AF30;
  font-weight: 700;
}

/* ================== LAYOUT & SECTIONS ================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #132143;
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(23, 64, 120, 0.20);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ================== NAVIGATION & HEADER ================== */
header {
  width: 100%;
  background: #101726;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 0;
}
.main-nav img {
  margin-right: 12px;
  height: 38px;
  filter: drop-shadow(0 0 8px #17407888);
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  color: #F6F8FA;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #174078;
  color: #E2AF30;
  text-shadow: 0 0 8px #E2AF30CC, 0 0 2px #fff;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 100;
  background: transparent;
  color: #E2AF30;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E2AF30;
}

/* ----- Mobile Menu Overlay ----- */
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #101726ee;
  z-index: 999;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  box-shadow: 0 0 40px 16px #17407850;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: menu-slide-in 0.38s cubic-bezier(.65,.05,.36,1);
}
@keyframes menu-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  background: transparent;
  color: #E2AF30;
  border: none;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 20px 28px 8px 0;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #E2AF30;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  padding: 32px 32px 16px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  background: transparent;
  color: #fff;
  padding: 12px 8px 12px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.19s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #174078;
  color: #E2AF30;
  text-shadow: 0 0 8px #E2AF30A0;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =================== HERO & CTA =================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E2AF30;
  color: #174078;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-top: 8px;
  box-shadow: 0 2px 18px 0 #17407855, 0 0 0 0 #fff;
  cursor: pointer;
  transition: background 0.20s, color 0.20s, box-shadow 0.18s, filter 0.15s;
  text-shadow: 0 1px 2px #fff9;
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #FFD875;
  color: #101726;
  box-shadow: 0 0 0 4px #E2AF3060, 0 8px 32px -10px #17407870;
  filter: brightness(1.06);
}

.cta-banner {
  background: #174078;
  border-radius: 13px;
  box-shadow: 0 1px 18px #E2AF3099;
  color: #fff;
  align-items: center;
  text-align: center;
  padding: 32px 10px;
  margin-top: 20px;
  gap: 16px;
}
.cta-banner h3 {
  color: #E2AF30;
  font-size: 1.8rem;
}

/* ================== SERVICE CARDS & FEATURE LIST ================== */
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.service-card {
  background: #14244a;
  border-radius: 16px;
  box-shadow: 0 2px 18px #17407840, 0 0 0 2px #183B7704;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 320px;
  padding: 26px 22px 16px 22px;
  margin-bottom: 20px;
  position: relative;
  gap: 14px;
  transition: box-shadow 0.23s, transform 0.21s;
  border: 1px solid #183B7733;
}
.service-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 1.1rem;
  color: #E2AF30;
}
.service-card p {
  color: #F6F8FA;
}
.service-price {
  margin-top: 12px;
  color: #E2AF30;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.service-card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 0 36px 6px #E2AF3099, 0 2px 19px #17407833;
  border-color: #E2AF3065;
  z-index: 3;
}
.service-card:focus-within {
  box-shadow: 0 0 22px 0 #FFD875AA, 0 2px 18px #17407833;
  border-color: #FFD87598;
}

@media (max-width: 900px) {
  .service-cards, .service-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* ================== TESTIMONIALS & CASE STUDY ================== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  color: #183B77;
  border-radius: 14px;
  box-shadow: 0 2px 19px #17407838;
  padding: 20px;
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card p {
  color: #1B2940;
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #174078;
}
.testimonial-card .client-rating {
  color: #FFD600;
  font-size: 1.2em;
  margin-top: 2px;
  text-shadow: 0 1px 2px #E2AF3080;
}
.testimonial-card:hover {
  box-shadow: 0 0 32px 3px #E2AF3085, 0 2px 34px #17407840;
  transform: translateY(-4px) scale(1.022);
  z-index: 2;
}
.case-study-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.case-study-card {
  background-color: #14244a;
  color: #F6F8FA;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 18px #17407840;
  width: 335px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid #193B6844;
  transition: box-shadow 0.17s, border-color 0.16s;
}
.case-study-card h3 {
  font-size: 1.1rem;
  color: #FFD875;
}
.case-study-card ul {
  padding-left: 16px;
  list-style: disc;
}
.case-study-card li strong {
  color: #E2AF30;
}
.case-study-card:hover {
  border-color: #FFD87588;
  box-shadow: 0 0 30px #FFD87533;
}
@media (max-width: 950px) {
  .case-study-cards { flex-direction: column; }
}

/* ================== CARDS, GRID, LISTS ================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #14244a;
  border-radius: 14px;
  box-shadow: 0 2px 19px #17407822;
  padding: 24px 16px;
  color: #F6F8FA;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, border 0.15s;
}
.card:hover {
  box-shadow: 0 2px 32px #E2AF3070;
}
.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: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ================== FAQ ================== */
.faq-entries,
.faq-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.faq-item {
  background: #132143;
  border-radius: 11px;
  box-shadow: 0 2px 18px #17407820;
  color: #fff;
  padding: 20px 18px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
}
.faq-item h3 {
  color: #ffd875;
  font-size: 1.1rem;
}
.faq-item p {
  color: #F6F8FA;
  padding-top: 5px;
}

/* ================== LISTS & UTILITIES ================== */
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
.guide-list, .tools, .featured-posts, .post-list, .benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.team-highlight ul, .team-section ul, .team-values ul, .certifications ul {
  list-style: disc;
  margin-left: 18px;
  margin-bottom: 0;  
}

/* ================== NEWSLETTER & CONFIRMATION ================== */
.confirmation {
  margin: 24px auto 0 auto;
  max-width: 460px;
  background: #14244a;
  color: #F6F8FA;
  text-align: center;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 16px #17407825;
  font-size: 1.1rem;
}

/* ================== FOOTER ================== */
footer {
  width: 100%;
  background: #132143;
  padding: 36px 0 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #E2AF30;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover { color: #FFD875; }
.legal {
  color: #567199;
  font-size: 0.98rem;
  margin-top: 10px;
}

/* ================== CONTACT DETAILS ================== */
.contact-details, .location-map {
  background: #14244a;
  border-radius: 10px;
  padding: 18px 14px;
  margin-bottom: 16px;
  color: #F6F8FA;
  box-shadow: 0 2px 14px #17407820;
}
.location-map {
  background: #183B77;
  color: #FFD875;
  text-align: center;
  font-weight: bold;
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #14244a;
  color: #fff;
  box-shadow: 0 -3px 24px #17407840;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 16px;
  z-index: 2005;
  transition: transform 0.22s;
}
.cookie-banner--hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0.6;
}
.cookie-banner .cookie-text {
  flex: 1 1 280px;
  font-size: 1rem;
  color: #F6F8FA;
  margin-right: 12px;
  max-width: 510px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 21px;
  cursor: pointer;
  font-weight: 600;
  background: #E2AF30;
  color: #132143;
  transition: background 0.19s, color 0.17s, box-shadow 0.18s;
  margin-right: 2px;
  box-shadow: 0 1px 9px #17407835;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD875;
  color: #183B77;
}
.cookie-btn.cookie-settings {
  background: #174078;
  color: #FFD875;
  border: 1.5px solid #FFD87599;
}
.cookie-btn.cookie-settings:hover {
  background: #FFD875;
  color: #174078;
}

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; gap: 12px; }
  .cookie-banner .cookie-actions { justify-content: flex-start; }
}

/* ================== COOKIE MODAL ================== */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top:0; left:0; width: 100vw; height: 100vh;
  z-index: 2500;
  background: rgba(23, 64, 120, 0.75);
}
.cookie-modal-backdrop.open { display: block; }
.cookie-modal {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 2505;
  top: 50%; left: 50%;
  transform: translate(-50%,-45%);
  min-width: 330px;
  max-width: 98vw;
  background: #14244a;
  color: #F6F8FA;
  border-radius: 14px;
  box-shadow: 0 10px 32px 4px #17407860;
  padding: 38px 28px 26px 28px;
  transition: box-shadow 0.18s, opacity 0.19s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: fade-in-modal 0.3s;
}
@keyframes fade-in-modal {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to   { opacity: 1; transform: translate(-50%, -45%); }
}
.cookie-modal h3 {
  color: #FFD875;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"],
.cookie-modal input[type="radio"] {
  accent-color: #E2AF30;
  width: 21px;
  height: 21px;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
}
.cookie-modal .cookie-btn {
  flex: 1 1 120px;
}
.cookie-modal .cookie-note {
  font-size: 0.93rem;
  color: #FFD875;
  margin-bottom: 17px;
  margin-top: 6px;
}

/* ================== RESPONSIVE: MOBILE FIRST ================== */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding-left: 6px; padding-right: 6px; }
  .section { padding: 26px 4px; }
  .service-card, .testimonial-card, .case-study-card, .faq-item {
    min-width: unset; max-width: unset; width: 100%;
  }
  .card, .content-wrapper { padding: 14px 5px; }
}

/* ================== SPACING/CONSISTENCY (MANDATORY) ================== */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
  position: relative !important;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px !important;
  justify-content: space-between !important;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px !important;
  flex-wrap: wrap !important;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 15px !important;
}

/* Ensuring all cards/sections have min 20px between them and no overlaps */
.card, .service-card, .testimonial-card, .case-study-card, .faq-item {
  margin-bottom: 20px !important;
}
.section:last-child { margin-bottom: 0; }

/* =========== Neomorphism/NEON ACCENTS ============== */
.section,
.service-card,
.card,
.case-study-card,
.faq-item {
  box-shadow: 0 2px 32px #13214385, 0 0 0 3px #17407813, 0 0 12px 2px #E2AF3026;
  position: relative;
}
.section:before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 7px 0 #E2AF30AA, 0 0 22px 7px #17407818;
  opacity: 0.1;
}

.service-card:hover::after,
.case-study-card:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 32px 12px #E2AF3020, 0 0 13px #FFD87575;
  opacity: 0.45;
  z-index: 2;
}

/* =============== Misc Enhancements =============== */
::-webkit-scrollbar {
  width: 11px;
  background: #14244a;
}
::-webkit-scrollbar-thumb {
  border-radius: 12px;
  background: #174078;
}
::-webkit-scrollbar-thumb:hover {
  background: #E2AF30;
}

/* ================= MODERN FOCUS RING ACCESSIBILITY =============== */
:focus {
  outline: 2px solid #E2AF30;
  outline-offset: 1.5px;
  z-index: 6;
}

@media (max-width: 600px) {
  .container { max-width: 99vw; }
  footer {
    padding: 12px 0 6px;
  }
}
