/* ===============================================================================
   CSS RESET & BASE STYLES
=============================================================================== */
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,
main, 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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #131C2E;
  color: #E0E3E9;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #A5C2D1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 6px #A5C2D1;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
strong, b {
  font-weight: 700;
}
input, button, textarea {
  font-family: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ===============================================================================
   VARIABLES (WITH FALLBACKS)
=============================================================================== */
:root {
  --color-primary: #1A2340;
  --color-secondary: #E0E3E9;
  --color-accent: #A5C2D1;
  --color-bg-gradient: #1A2340;
  --color-bg-alt: #202A48;
  --color-bg-lighter: #252D40;
  --color-bg-neon: #1ED6FF;
  --color-text: #E0E3E9;
  --color-text-dark: #1A2340;
  --color-footer-bg: #181F32;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===============================================================================
   CONTAINER LAYOUTS & FLEXBOX
=============================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.section,
.hero,
.features,
.about,
.services,
.contact,
.testimonials,
.contact-info,
.footer {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ===============================================================================
   TYPOGRAPHY (TECH FUTURISTIC)
=============================================================================== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-shadow: 0 0 16px rgba(30,214,255,0.15);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-shadow: 0 0 12px #26378690;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 500;
}
p, li, .subheadline, .thank-you-message {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 400;
}
strong {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .subheadline {
    font-size: 1.06rem;
  }
  p, li {
    font-size: 1rem;
  }
}

/* ===============================================================================
   HEADER + NAVIGATION (FLEXBOX & FUTURISTIC STYLE)
=============================================================================== */
header {
  background: linear-gradient(90deg, #1A2340 70%, #182040 100%);
  box-shadow: 0 4px 24px 0 rgba(30,214,255,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
}
.logo-link img {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, text-shadow 0.18s;
  position: relative;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-accent);
  background: rgba(165,194,209,0.08);
  text-shadow: 0 0 6px #A5C2D1;
}

.cta.primary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 28px;
  border-radius: 32px;
  color: var(--color-text-dark);
  background: var(--color-accent);
  border: none;
  box-shadow: 0 2px 16px 0 rgba(30,214,255,0.15), 0 0 0 3px rgba(30,214,255,0.08) inset;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.09s;
  text-shadow: none;
  margin-left: 12px;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1ED6FF;
  color: var(--color-text-dark);
  box-shadow: 0 6px 24px 0 #1ED6FF22, 0 2px 24px 0 #A5C2D188;
  transform: translateY(-2px) scale(1.04);
}

/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-accent);
  border: none;
  margin-left: 14px;
}

/* ===============================================================================
   MOBILE NAVIGATION
=============================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 16px 12px 16px 10px;
    gap: 9px;
  }
  .cta.primary {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,32,58,0.98);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  box-shadow: -4px 0 40px #1ED6FF44;
}
.mobile-menu-close {
  margin-top: 24px;
  margin-right: 24px;
  font-size: 2.2rem;
  color: var(--color-accent);
  background: transparent;
  border: none;
  z-index: 2;
  cursor: pointer;
  transition: color 0.18s, text-shadow 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1ED6FF;
  text-shadow: 0 0 6px #1ED6FF;
}
.mobile-nav {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 44px 34px 24px 38px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-size: 1.25rem;
  color: var(--color-secondary);
  padding: 15px 0;
  border-bottom: 1px solid #26378622;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.22s, background 0.18s, text-shadow 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #1ED6FF;
  background: rgba(30,214,255,0.04);
  text-shadow: 0 0 8px #1ED6FF;
}

@media (max-width: 560px) {
  .mobile-nav {
    padding: 32px 14px 8px 16px;
  }
}

/* ===============================================================================
   HERO SECTION (FUTURISTIC)
=============================================================================== */
.hero {
  background: linear-gradient(120deg, #202A48 70%, #1ED6FF13 98%);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 12px 60px #1ED6FF18;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
  padding-top: 38px;
  padding-bottom: 38px;
}

/* ===============================================================================
   FLEX PATTERNS & KEY LAYOUTS
=============================================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  flex: 1 1 224px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #222F46;
  border-radius: 20px;
  padding: 24px 18px 22px 18px;
  gap: 15px;
  box-shadow: 0 0 24px 0 #1ED6FF13;
  margin-bottom: 20px;
  border: 1.5px solid #A5C2D122;
  transition: box-shadow 0.18s, border 0.18s, transform 0.14s;
}
.feature-item:hover {
  border: 1.5px solid #1ED6FF99;
  box-shadow: 0 0 32px 0 #1ED6FF55;
  transform: translateY(-3px) scale(1.025);
}
.feature-item img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px #1ED6FF44);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232B44;
  border-radius: 18px;
  box-shadow: 0 2px 18px #1ED6FF11;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 4px 40px #1ED6FF55;
  transform: translateY(-2px) scale(1.018);
}

/* ===============================================================================
   SERVICE LIST & SERVICE CARDS
=============================================================================== */
.service-list,
.details-list,
.benefit-list,
.certification-list,
.expertise-points,
.team-bio-list,
.milestones {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.service-list span, .service-price {
  color: var(--color-accent);
  font-weight: 600;
  margin-left: 18px;
  font-size: 1.1rem;
}
.service-card {
  background: #1A2340;
  border: 1.2px solid #A5C2D122;
  border-radius: 18px;
  box-shadow: 0 2px 14px #A5C2D122;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.16s, border 0.16s, transform 0.14s;
}
.service-card:hover {
  box-shadow: 0 6px 24px #1ED6FF33;
  border-color: #1ED6FF77;
  transform: scale(1.018);
}

/* ===============================================================================
   USP BLOCKS, FOOTER LAYOUTS, CARDS
=============================================================================== */
.usp-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}
.usp-blocks > div {
  background: #222F46;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: 0 1px 14px #1ED6FF13;
  flex: 1 1 300px;
  border: 1.2px solid #A5C2D122;
}

.feature-icons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-top: 10px;
}
.feature-icons img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 4px #A5C2D122);
}

/* ===============================================================================
   TESTIMONIALS & REVIEWS (HIGH CONTRAST FOR READABILITY)
=============================================================================== */
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  border-radius: 18px;
  padding: 24px 32px 22px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 36px #1ED6FF1A;
  font-size: 1.08rem;
  transition: box-shadow 0.16s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px #A5C2D133;
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card p {
  color: var(--color-text-dark);
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.client-name {
  font-family: var(--font-body);
  color: #5B6B8D;
  font-size: 1rem;
  margin-left: 32px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; gap: 8px; padding: 18px 14px; }
  .client-name { margin-left:0; }
}

/* ===============================================================================
   FOOTER (NEON FROSTY)
=============================================================================== */
footer {
  background: var(--color-footer-bg);
  border-top: 2.5px solid #1ED6FF24;
  box-shadow: 0 -6px 32px #1ED6FF0D;
  padding-top: 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0 20px 0;
}
.footer-brand img {
  height: 50px;
}
.footer-contact p {
  font-size: 1rem;
  color: #A5C2D1;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.footer-contact a {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #A5C2D1;
  font-size: 0.98rem;
  padding: 5px 0;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-shadow: 0 0 7px #1ED6FF;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.footer-social a img {
  height: 30px;
  width: 30px;
  filter: drop-shadow(0 0 8px #1ED6FF22);
  transition: filter 0.18s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: drop-shadow(0 0 16px #1ED6FF);
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    padding: 32px 0 10px 0;
    align-items: flex-start;
  }
}

/* ===============================================================================
   SPECIAL UTILITY CLASSES & COMPONENTS
=============================================================================== */
.privacy-details, .cookie-details, .terms-and-conditions, .gdpr-information {
  background: #232B44;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 2px 10px #1ED6FF0D;
  color: #E0E3E9;
  font-size: 1.07rem;
  margin-top: 18px;
  margin-bottom: 28px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1A2340;
  color: #E0E3E9;
  border-top: 3px solid #1ED6FFee;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  z-index: 1200;
  box-shadow: 0 -6px 44px #1ED6FF35;
  animation: showBanner 0.7s cubic-bezier(.55,0,.54,1);
}
@keyframes showBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  color: #E0E3E9;
  margin: 0 12px 0 0;
}
.cookie-banner .cookie-btn {
  background: #A5C2D1;
  color: #181C2B;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 16px;
  padding: 8px 20px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 0 12px #1ED6FF33;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
}
.cookie-banner .cookie-btn.accept {
  background: #1ED6FF;
  color: #181C2B;
}
.cookie-banner .cookie-btn.reject {
  background: #252D40;
  color: #A5C2D1;
  border: 1.2px solid #A5C2D1;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #1ED6FF;
  border: 1.2px solid #1ED6FF;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #A5C2D1;
  color: #181C2B;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #A5C2D1;
  color: #181C2B;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 8px;
    font-size: 0.95rem;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0;
  width: 100vw; height:100vh;
  background: rgba(13, 20, 35, 0.90);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #222F46;
  color: #E0E3E9;
  border-radius: 18px;
  box-shadow: 0 6px 64px #1ED6FF66;
  padding: 34px 30px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: modalShow 0.3s cubic-bezier(.45,0,.4,1);
}
@keyframes modalShow {
 from { opacity:0; transform: scale(1.13) translateY(44px);} 
 to   { opacity:1; transform: scale(1) translateY(0);}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  color: #A5C2D1;
  font-size: 1rem;
}
.cookie-category input[type=checkbox]:disabled + label {
  color: #90A3B9;
  opacity: .7;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 16px;
  padding: 8px 18px;
  background: #A5C2D1;
  color: #181C2B;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #1ED6FF;
  color: #181C2B;
}

/* ===============================================================================
   RESPONSIVE ADAPTATION (FLEXBOX!)
=============================================================================== */
@media (max-width: 1040px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .usp-blocks, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section, .feature-grid, .usp-blocks, .card-container, .content-grid {
    gap: 14px;
  }
  .feature-item, .service-card {
    padding: 16px 14px;
  }
  .hero, .section, .about, .features, .services, .testimonials, .footer {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .service-list, .testimonial-card, .feature-item, .usp-blocks > div {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero, .section {
    padding: 13px 2px;
  }
}

/* ===============================================================================
   ANIMATIONS + MICRO-INTERACTIONS
=============================================================================== */
.cta.primary, .card, .feature-item, .service-card, .testimonial-card, .cookie-btn, .mobile-menu, .cookie-modal, .footer-social a img {
  transition: all 0.17s cubic-bezier(.45,0,.4,1);
}

/* ===============================================================================
   CUSTOM ELEMENT SPACING & CONSISTENCY
=============================================================================== */
.section, .hero, .about, .features, .services, .testimonials, .contact, .contact-info, .footer {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ===============================================================================
   Z-INDEX SAFETY
=============================================================================== */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { z-index: 1000; }

/* Prevent content overlap for all major containers */
main > section, footer, header { position: relative; }

/* ===============================================================================
   MISC: SELECTION COLOR & SCROLLBAR
=============================================================================== */
::selection { background: #1ED6FF88; color: #1A2340; }
::-webkit-scrollbar { width: 8px; background: #232B44; }
::-webkit-scrollbar-thumb { background: #1ED6FF33; border-radius: 10px; }

/* ===============================================================================
   END
=============================================================================== */
