/* --------------------- CSS RESET & NORMALIZER --------------------- */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #151C26;
  color: #E9F3FB;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #A7C7E7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B705;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
button, input[type='button'], input[type='submit'], .cta-primary, .cta-secondary {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(.57,.25,.42,1.03);
}
button {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

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

/* --------------------- COLOR VARIABLES --------------------- */
:root {
  --primary: #1F2937;
  --secondary: #A7C7E7;
  --accent: #F2B705;
  --text-main: #E9F3FB;
  --text-dark: #151C26;
  --elevated-bg: #222B38;
  --neon: #F2B705;
  --neon-blue: #3FE0FC;
  --shadow: 0 4px 28px 0 rgba(30, 45, 90, 0.15);
  --card-border: #293348;
  --testimonial-bg-light: #F9FAFB;
  --testimonial-text-dark: #151C26;
}

/* --------------------- GENERAL LAYOUT --------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --------------------- TYPOGRAPHY --------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #F2B705;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.05;
}
h2 {
  font-size: 2rem;
  margin-top: 8px;
}
h3 {
  font-size: 1.5rem;
}
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}
p, ul, ol, li, blockquote {
  color: var(--text-main);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 8px;
}
strong { font-weight: 700; color: var(--accent);}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--neon);
  padding-left: 18px;
  color: var(--text-dark);
  background: var(--testimonial-bg-light);
  margin-bottom: 0;
}

/* --------------------- HEADER & NAVIGATION --------------------- */
header {
  background: linear-gradient(90deg, #1F2937 80%, #232e41 100%);
  box-shadow: 0 2px 10px rgba(20,32,60,0.13);
  position:relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.main-nav > a {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.08rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .18s, box-shadow .18s, color .18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--elevated-bg);
  color: var(--accent);
}
.main-nav a.cta-primary {
  margin-left: 24px;
  background: var(--accent);
  color: var(--primary);
  padding: 7px 22px;
  font-size: 1.1rem;
  border-radius: 28px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 18px 0 rgba(242,183,5,0.05);
  border: none;
  font-weight: 700;
  text-shadow: 0 1px 0 #fff7e3;
  outline: none;
  transition: background .17s, color .17s, box-shadow .2s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--neon-blue);
  color: var(--primary);
  box-shadow: 0 4px 24px 0 var(--neon);
}

/* Logo */
.main-nav img {
  height: 38px;
  margin-right: 16px;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neon);
  color: var(--primary);
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 18px rgba(250,220,66,0.23);
  width: 44px;
  height: 44px;
  border: none;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.16s;
  outline: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--neon-blue);
  color: var(--primary);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 350px;
  height: 100vh;
  background: #232f48;
  box-shadow: -8px 0 38px 0 rgba(30,50,85,0.17);
  z-index: 3000;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(.63,.11,.32,.93);
  display: flex;
  flex-direction: column;
  padding: 0 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 0 12px 0;
  font-size: 2rem;
  color: var(--accent);
  background: transparent;
  align-self: flex-end;
  cursor: pointer;
  border: none;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.18rem;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  padding: 10px 6px 10px 0;
  border-bottom: 1px solid #2d3b50;
  transition: color 0.14s, background .15s;
  border-radius: 5px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: #181e29;
}

/* Hide main nav on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 992px) {
  .mobile-menu { display: none; }
}

/* Ensure no overlapping headers */
.header, header .container {
  z-index: 10;
}

/* --------------------- MAIN CONTENT SECTION PATTERNS --------------------- */
.feature-grid, .usp-grid, .service-list, .project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid li, .usp-grid li, .service-list li, .project-cards > div {
  display: flex;
  align-items: center;
  background: var(--elevated-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px 16px;
  color: var(--secondary);
  font-size: 1.025rem;
  min-width: 200px;
  flex: 1 1 210px;
  gap: 16px;
  box-shadow: 0 2px 12px 0 rgba(28,41,61,0.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .21s, border .2s;
}
.feature-grid li img, .usp-grid li img, .service-list li img, .project-cards > div img {
  width: 36px; height: 36px; filter: drop-shadow(0 0 4px #fff3d5);
  margin-right: 6px;
}
.feature-grid li:hover, .usp-grid li:hover, .service-list li:hover, .project-cards > div:hover {
  border: 1.8px solid var(--neon-blue);
  box-shadow: 0 6px 28px 0 rgba(63,224,252,0.12);
}

.district-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.district-overview span {
  background: #1F2937;
  color: var(--neon-blue);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.stats span {
  background: #18223a;
  color: var(--accent);
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 1.06rem;
}

.partner-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.partner-row span img {
  height: 40px;
  border-radius: 8px;
  background: #222b38;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.timeline ul li {
  color: #A7C7E7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* Responsive adjustments for grids */
@media (max-width: 860px) {
  .feature-grid, .usp-grid, .service-list, .stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* --------------------- CALL TO ACTION BUTTONS --------------------- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 11px 26px;
  border-radius: 30px;
  border: none;
  outline: none;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 14px 0 rgba(43,85,158, 0.13);
  transition: background .17s, color .19s, box-shadow .19s;
  text-align: center;
  text-transform: uppercase;
}
.cta-primary {
  background: var(--neon);
  color: var(--text-dark);
  text-shadow: 0 1px 0 #fff6d7;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--neon-blue);
  color: var(--primary);
  box-shadow: 0 4px 22px var(--accent), 0 1.5px 18px #93e7fd;
}
.cta-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-shadow: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 18px 0 rgba(242,183,5,0.12);
}

/* --------------------- CARDS, TESTIMONIALS, HEROES --------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  background: var(--elevated-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--card-border);
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow .22s, border .15s;
  position: relative;
  padding: 24px 20px;
}
.card:hover {
  box-shadow: 0 6px 28px 0 var(--neon);
  border: 1.5px solid var(--accent);
}

.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;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg-light);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(63,224,252,0.06);
  border: 1.3px solid #f6eaca;
}
.testimonial-card blockquote {
  color: var(--testimonial-text-dark);
  font-size: 1.18rem;
  border-left: 4px solid var(--neon);
  background: transparent;
}
.testimonial-card p {
  margin-left: 18px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0;
}
@media (max-width: 500px) {
  .testimonial-card { flex-direction: column; gap: 12px;}
  .testimonial-card p { margin-left: 0; }
}

/* Feature list, service list, usp grid patterns from above apply */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--elevated-bg);
  border-radius: 12px;
  padding: 18px 14px;
  margin-bottom: 18px;
  border: 1.1px solid var(--neon-blue);
}
.feature-item strong {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
}

/* --------------------- FOOTER --------------------- */
footer {
  background: linear-gradient(92deg, #232e41 80%, #1F2937 100%);
  color: var(--secondary);
  padding: 0 0 26px 0;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding: 37px 0 12px 0;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-top nav a {
  color: var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  padding: 4px 8px;
  transition: color .15s, background .16s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: var(--accent);
  background: #141b23;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.96rem;
  border-top: 1.5px solid #2a3544;
  padding: 17px 0 0 0;
  margin-top: 16px;
}
.contact-info, .footer-social, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-social a, .social-links a {
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  transition: background .13s, box-shadow .13s;
  margin-right: 7px;
}
.footer-social a:hover, .social-links a:hover {
  background: var(--neon-blue);
  box-shadow: 0 2px 12px rgba(63,224,252,0.12);
}
.footer-social img, .social-links img {
  width: 23px;
  height: 23px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  background: transparent;
}
.contact-info img {
  height: 22px; width: 22px;
  opacity: 0.72;
}

@media (max-width: 900px) {
  .footer-top, .footer-bottom, .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}


/* --------------------- RESPONSIVE - GENERAL --------------------- */
@media (max-width: 820px) {
  .container { max-width: 99vw; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 9px; }
  .section { padding: 28px 8px; margin-bottom: 36px; }
  .feature-grid li, .usp-grid li, .service-list li, .project-cards > div, .card {
    min-width: 160px;
    padding: 13px 8px;
    font-size: 0.99rem;
  }
}


/* --------------------- COOKIE CONSENT BANNER --------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #151C26;
  color: var(--secondary);
  padding: 22px 20px 24px 20px;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 32px 0 #11182778;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2999;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .37s, transform .37s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-text {
  font-size: 1rem;
  max-width: 430px;
  flex: 2 2 320px;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  padding: 7px 19px;
  border-radius: 24px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  font-weight: 500;
  background: var(--accent);
  color: var(--text-dark);
  margin-right: 6px;
  cursor: pointer;
  box-shadow: 0 1px 8px #2727262a;
  transition: background .15s, color .14s, box-shadow .16s;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-btn.settings {
  background: var(--neon-blue);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 12px 0 rgba(63,224,252,0.09);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 17px 7px 21px 7px;
  }
}

/* --------------------- COOKIE PREFERENCE MODAL --------------------- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,30,42, 0.7);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .28s;
  opacity: 1;
}
.cookie-modal.hide {
  display: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #222B38;
  color: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 4px 32px #0008;
  padding: 38px 25px 31px 25px;
  width: 92vw;
  max-width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-content h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 13px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  background: #141b23;
  padding: 14px 12px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--secondary);
  font-size: 1.02rem;
}
.cookie-category .toggle {
  margin-left: auto;
  position: relative;
}
.toggle-switch {
  width: 36px;
  height: 22px;
  background: var(--card-border);
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background .16s;
  box-shadow: 0 1px 3px #1821312a;
}
.toggle-switch[data-checked="true"] {
  background: var(--neon-blue);
}
.toggle-knob {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px; left: 3px;
  transition: left .18s;
}
.toggle-switch[data-checked="true"] .toggle-knob {
  left: 15px;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: var(--accent);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--neon-blue);
}


/* --------------------- MICRO-INTERACTIONS & ANIMATIONS --------------------- */
.card, .feature-grid li, .usp-grid li, .service-list li {
  transition: box-shadow .21s, border .2s, background .2s;
}
.cta-primary, .cta-secondary, .cookie-btn {
  transition: background .17s, color .17s, box-shadow .18s;
}
.main-nav > a, .footer-top nav a, .mobile-nav a {
  transition: color .14s, background .13s;
}
.mobile-menu {
  transition: transform 0.38s cubic-bezier(.63,.11,.32,.93);
}
.cookie-consent-banner, .cookie-modal {
  transition: opacity .38s cubic-bezier(.75,.22,.54,1);
}

/* --------------------- VISUAL ACCENTS (NEON EFFECTS) --------------------- */
h1, h2, .cta-primary, .main-nav a.cta-primary {
  text-shadow: 0 2px 14px #f5e0a07d, 0 1px 1px #fff8, 0 0px 1px #F2B705;
}
@media (max-width: 800px) {
  .footer-top nav, .footer-bottom, .contact-info { gap: 8px;}
}

/* --------------------- SELECTION & SCROLL --------------------- */
::selection {
  background: var(--neon);
  color: var(--primary);
}
::-webkit-scrollbar { width: 9px; background: #24314b; }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --------------------- ERRORS, WARNINGS --------------------- */
.error, .error-msg {
  color: #DB3030;
  background: #23221b;
  padding: 7px 14px;
  border-radius: 7px;
  font-weight: 500;
  margin: 7px 0;
  font-size: 0.98rem;
}
.warning, .warn-msg {
  color: #f39c08;
  background: #242210;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 0.98rem;
}

/* --------------------- MISC RESPONSIVENESS --------------------- */
@media (max-width: 500px) {
  .footer-top, .footer-bottom, .contact-info { padding-left: 0;}
}
