/* styles.css */

/* General Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #1f2937;
  background: #f3f6fb;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
}

a {
  color: #0f3d91;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: #2563eb;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  width: min(90%, 1100px);
  margin: auto;
  overflow: visible;
}

/* Header */
header {
  background: linear-gradient(135deg, #0f172a, #1d4ed8 60%, #60a5fa);
  color: #ffffff;
  padding: 24px 0 72px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

header h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 12px;
}

header h2 {
  font-size: clamp(1.15rem, 2.8vw, 1.8rem);
  max-width: 780px;
  margin: 0 auto 18px;
  color: #e0ecff;
}

nav ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 24px;
  flex-wrap: wrap;
}

nav ul li {
  margin-right: 0;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

nav a:hover {
  color: #ffffff;
}

/* Main Content */
main {
  padding: 48px 0 60px;
}

section {
  padding: 18px 0;
}

h3 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 16px;
}

p {
  margin-top: 0;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service {
  background: #ffffff;
  padding: 28px;
  text-align: left;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.14);
}

.social-media-links {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-media-links a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.hero {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dbeafe;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: #ffffff;
  color: #0f3d91;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
}

.button-primary:hover {
  color: #0f3d91;
  opacity: 0.92;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.intro-card,
.contact-card,
#about .container {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  padding: 36px;
}

.contact-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-strip span {
  background: #eff6ff;
  color: #1e3a8a;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.section-intro {
  max-width: 700px;
  margin: 0 0 28px;
  color: #475569;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 24px 0 32px;
  margin-top: 24px;
}

footer a {
  color: #dbeafe;
}

address {
  font-style: normal;
  line-height: 1.8;
  color: #334155;
}

@media screen and (max-width: 768px) {
  header {
    padding: 20px 0 48px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    margin-top: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 260px;
  }

  .intro-card,
  .contact-card,
  #about .container,
  .service {
    padding: 24px;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-media-links {
    gap: 12px;
  }

  footer ul {
    flex-direction: column;
    gap: 10px;
  }
}