/* ===== 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, 
main, 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #141927;
  color: #F7F7FB;
  line-height: 1.6;
  font-size: 16px;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
a {
  color: #ECAC24;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ECAC24;
  text-shadow: 0 0 8px #ECAC24;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== CSS VARIABLES - WITH FALLBACKS ===== */
:root {
  --color-primary: #224479;
  --color-primary-dark: #1b3456;
  --color-secondary: #F7F7FB;
  --color-bg: #141927;
  --color-accent: #ECAC24;
  --color-accent-bright: #ffd74d;
  --color-card: #1E2537;
  --color-card-light: #2C3550;
  --color-card-contrast: #fff;
  --color-border: #29497e;
  --color-text-main: #F7F7FB;
  --color-text-dark: #141927;
  --color-success: #36d399;
  --color-danger: #fc5470;
  --transition: 0.3s cubic-bezier(.42,0,.58,1);
  --radius: 16px;
  --shadow-glow: 0 0 12px 0 #22447955, 0 2px 32px 0 #0A0D1877;
  --shadow-card: 0 1.5px 6px 0 #13356844;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  text-shadow: 0 0 14px #ECAC2477;
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
  line-height: 1.12;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
}
p, ul, ol, li, .subtitle, blockquote {
  font-size: 1rem;
  color: var(--color-text-main);
}
.subtitle {
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--color-accent-bright);
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
  color: var(--color-accent);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.text-section {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .text-section {
    padding: 16px 10px;
  }
}

/* ===== SECTIONS & SPACING ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 28px 22px;
  background: var(--color-card-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 7px 38px 0 #22447933, 0 0 16px 1px #ECAC2440;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .content-grid {
    flex-direction: column;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px #ECAC2428, var(--shadow-card);
  min-width: 250px;
  margin-bottom: 20px;
  max-width: 370px;
  transition: box-shadow 0.3s;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1.05rem;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HERO (Landing) ===== */
.hero {
  background: linear-gradient(110deg, #224479 60%, #141927 100%);
  background-color: #224479; /* fallback */
  min-height: 280px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ECAC2499;
  padding: 40px 0 28px 0;
  margin-bottom: 36px;
  box-shadow: 0 2px 44px 0 #2244792c inset;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  margin-bottom: 0;
  gap: 10px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 160px;
    padding: 18px 0 16px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
}

/* ===== NAVIGATION & HEADER ===== */
header {
  background: rgba(20,25,39,0.96);
  padding: 0;
  box-shadow: 0 2px 24px 0 #22447922;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-display);
}
nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  position: relative;
  padding: 6px 4px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover {
  color: var(--color-accent);
  background: rgba(236,172,36,0.09);
}
.button.primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 26px;
  margin-left: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 24px #ECAC2425;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 24px #22447950, 0 0 12px #ECAC242a;
}
.button {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 30px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 9px 22px;
  margin-top: 10px;
  box-shadow: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.button:hover, .button:focus {
  background: var(--color-accent);
  color: var(--color-text-dark);
  box-shadow: 0 2px 20px 0 #ECAC2428;
}

@media (max-width: 992px) {
  nav {
    gap: 10px;
  }
  header .container {
    padding: 10px 8px;
  }
}

/* ===== BURGER MENU (Mobile) ===== */
.mobile-menu-toggle {
  display: none;
  color: var(--color-accent);
  background: transparent;
  border: none;
  font-size: 2.1rem;
  padding: 8px 12px;
  margin-left: 14px;
  border-radius: 7px;
  transition: background var(--transition);
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(236,172,36,0.14);
}
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===== MOBILE MENU (SLIDE-IN) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20,25,39,0.96);
  backdrop-filter: blur(6px);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.45,1.45,.6,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-accent);
  font-size: 2.2rem;
  background: transparent;
  border: none;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(236,172,36,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 5px;
  margin: 30px 0 0 28px;
}
.mobile-nav a {
  color: var(--color-accent);
  background: none;
  font-size: 1.15rem;
  padding: 12px 0 10px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid #29497e33;
  border-radius: 0;
  letter-spacing: 0.01em;
  width: 220px;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-primary);
  background: rgba(236,172,36,0.09);
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== FEATURE / SERVICE CARDS & GRID ===== */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
}
.feature-grid > div, .service-card {
  background: var(--color-card-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 7px 38px 0 #22447944, 0 0 12px #ECAC2440;
}
.feature-grid img, .service-card img {
  height: 46px;
  width: 46px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px #ECAC2466);
}

@media (max-width: 900px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===== CTA TEXT ===== */
.cta-text {
  margin: 15px 0 0 0;
  font-size: 1.09rem;
  color: #f7f7fbee;
  font-style: italic;
}

/* ===== LISTS ===== */
ul, ol {
  color: var(--color-text-main);
  margin-bottom: 18px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  padding-left: 2px;
}

/* ===== FOOTER ===== */
footer {
  background: #1B2240;
  color: var(--color-secondary);
  padding: 35px 0 24px 0;
  margin-top: 56px;
  box-shadow: 0 -1px 25px 0 #22447940 inset;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-logo img {
  height: 44px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
footer nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-display);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  background: rgba(236,172,36,0.17);
  color: var(--color-primary);
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--color-secondary);
  line-height: 1.7;
}
.footer-contact a {
  color: var(--color-accent);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===== ========== COOKIE CONSENT BANNER ========== ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(21,27,42,0.98);
  color: var(--color-secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  box-shadow: 0 -3px 36px #22447933, 0 0 20px #ECAC2440;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s;
  gap: 20px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  font-size: 1.03rem;
  color: var(--color-secondary);
  flex: 1 1 300px;
  margin-right: 18px;
  line-height: 1.55;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  min-width: 100px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 10px #2244791a;
  cursor: pointer;
  font-size: 1.01rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-right: 0;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-success);
  color: var(--color-text-dark);
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #1be7bf;
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-danger);
  color: var(--color-secondary);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #f94466;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: var(--color-text-dark);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 9px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,25,39,0.82);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #232a3f;
  border-radius: var(--radius);
  padding: 35px 28px 24px 28px;
  min-width: 270px;
  max-width: 98vw;
  box-shadow: 0 6px 48px #22447944, 0 0 12px #ECAC2440;
  color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieFadeUp 0.42s cubic-bezier(.42,0,.58,1);
  z-index: 19000;
}
@keyframes cookieFadeUp {
  from { transform: translateY(40px) scale(0.97); opacity: 0.5; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 18px;
  color: var(--color-accent);
  background: none;
  border: none;
  font-size: 1.9rem;
  padding: 2px 12px;
  border-radius: 7px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: rgba(236,172,36,0.14);
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-option .always-on {
  color: #8dd0db;
  font-size: 0.96rem;
  margin-left: 6px;
  font-weight: 600;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions .button {
  min-width: 85px;
  font-size: 1.01rem;
}

/* ===== ANIMATIONS ===== */
.button, .button.primary, .card, .feature-grid > div, .service-card, .testimonial-card, .mobile-menu, .cookie-banner .cookie-btn {
  transition: box-shadow 0.18s, transform 0.19s, background 0.19s, color 0.2s;
}

/* ===== SCROLLBAR STYLING ===== */
html::-webkit-scrollbar, body::-webkit-scrollbar {
  width: 8px;
  background: #181e2b;
}
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
  background: #22447999;
  border-radius: 4px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.27rem; }
  .feature-grid, .service-list { flex-direction: column; gap: 16px; }
  .section { padding: 30px 6px; }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .container { padding: 0 3px; }
  .content-wrapper { gap: 14px; }
  .text-section, .card { padding: 11px 6px; }
  .footer-contact { font-size: 0.89rem; }
}

/* ===== MISC ===== */
hr {
  border: none;
  border-top: 1px solid #29497e60;
  margin: 22px 0 17px 0;
}
::-webkit-input-placeholder { color: #b1c2e3; }
::-moz-placeholder { color: #b1c2e3; }
:-ms-input-placeholder { color: #b1c2e3; }
::placeholder { color: #b1c2e3; }

/* ===== ACCESSIBILITY & FOCUS ===== */
a:focus, button:focus, .button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.space-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.mr-2 { margin-right: 16px; }
.ml-2 { margin-left: 16px; }

/**********************************************
  ==== TECH FUTURISTIC DECORATIVE EFFECTS ====
**********************************************/
.card, .feature-grid > div, .service-card, .testimonial-card {
  border: 1.6px solid #22447940;
  box-shadow: 0 4px 28px #22447922, 0 2px 12px #14192720;
  position: relative;
}
.card:before, .feature-grid > div:before, .service-card:before, .testimonial-card:before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: 0 0 16px 0 #ECAC2455, 0 0 4px 0 #1B224044;
  opacity: 0.85;
  z-index: 0;
  transition: box-shadow 0.18s;
}
.card:hover:before, .feature-grid > div:hover:before, .service-card:hover:before, .testimonial-card:hover:before {
  box-shadow: 0 0 20px 0 #ECAC24bb, 0 0 19px 0 #22447988;
  opacity: 1;
}

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