:root {
  --blue: #1e3a8a;
  /* indigo-800 */
  --blue-600: #2563eb;
  --gray: #111827;
  /* gray-900 */
  --light: #f8fafc;
  --accent: #0ea5e9;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--light);
  background: var(--gray);
}

a {
  color: var(--accent);
  text-decoration: none
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 24, 39, .9);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.nav {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px
}

.nav img {
  height: 40px;
  width: auto;
  border-radius: 6px
}

.nav a {
  font-weight: 600;
  opacity: .9
}

.spacer {
  flex: 1
}

.btn {
  background: var(--blue-600);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: .2s transform, .2s opacity
}

.btn:hover {
  transform: translateY(-2px)
}

/* Banner (infinite horizontal carousel) */
.banner-wrap {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #0b1220, #0f172a);
}

.banner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  will-change: transform;
  animation: scroll 42s linear infinite
}

.banner img {
  height: 320px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  object-fit: cover
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* Duplicate row for seamless loop */
.marquee {
  display: flex;
  gap: 14px
}

section {
  max-width: 1100px;
  margin: auto;
  padding: 56px 16px;
}

h1,
h2 {
  margin: 0 0 12px
}

.lead {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 70ch
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px
}

.card {
  background: #4866de;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 18px;
  color: white
}

.card h3 {
  margin: 0 0 8px
}

ul {
  padding-left: 18px;
}

footer {
  text-align: center;
  padding: 28px;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.tag {
  display: inline-block;
  background: rgba(99, 102, 241, .15);
  border: 1px solid rgba(99, 102, 241, .35);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 8px
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 8px 12px;
  border-radius: 999px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

form {
  display: grid;
  gap: 12px;
  max-width: 620px
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0b1220;
  color: white
}

label {
  font-weight: 600
}

.mini {
  font-size: .85rem;
  opacity: .8
}


/* Section backgrounds */
#services {
  background: #f1f5f9;
  color: #111827;
}

#about {
  background: #e0f2fe;
  color: #0f172a;
}

/* light blue */
#contact {
  background: #f1f5f9;
  color: #0f172a;
}

/* light gray */

/* Social contact buttons */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background: #f1f5f9;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  transition: background 0.2s;
}

.social-links a:hover {
  background: #4866de;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner img {
    height: 200px;
  }

  section {
    padding: 40px 16px;
  }
}

#contactForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 600px;
  margin-top: 24px;
}

#contactForm label {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #4866de;
  color: white;
  font-size: 1rem;
}

.contact-layout {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  min-height: 100vh;         /* makes the container fill the screen height */
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 0;              /* remove top margin so it truly centers */
}

.contact-layout form {
  max-width: 500px;           /* optional: controls form width */
  width: 100%;
}

.limited-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* optional */
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-icons img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  transition: transform 0.2s;
}

.footer-icons img:hover {
  transform: scale(1.1);
}
