html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  font-size: 1.05rem;
  line-height: 1.7;
  padding-top: 5.5rem;
}

@media (max-width: 767.98px) {
  body {
    padding-top: 5rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
}

.page-header {
  background: linear-gradient(90deg, #0d6efd 60%, #003366 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem 0;
}

.hero-section {
  background: linear-gradient(90deg, #0d6efd 60%, #003366 100%);
  color: #fff;
  padding: 3.5rem 0 4rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.25rem;
}

.service-card,
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .card-body i,
.service-card .card-body h5 {
  flex-shrink: 0;
}

.service-card .card-body p {
  flex-grow: 1;
  min-height: 150px;
}

.card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.12);
}

.trade-card-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.trade-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.btn,
.btn-primary,
.btn-outline-light {
  border-radius: 2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff !important;
}

.btn-primary:hover,
.btn-outline-light:hover {
  background-color: #003366;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.footer {
  background: #0b1320;
  color: #cbd5e1;
  padding: 2.5rem 0 1rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer small {
  display: block;
}

.footer .footer-links small {
  display: inline-block;
  margin-left: 1.25rem;
}

.footer .footer-links small:first-child {
  margin-left: 0;
}

@media (max-width: 575.98px) {
  .footer a {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .footer .footer-links {
    text-align: center;
  }

  .footer .footer-links small {
    display: block;
    margin: 0 0 0.5rem 0;
  }
}

.required::after {
  content: ' *';
  color: #dc3545;
  font-weight: 600;
}

section,
.section {
  margin-bottom: 3rem;
}

.cta-card {
  background: linear-gradient(120deg, #0d6efd 0%, #003366 100%);
  color: #fff;
}

.cta-card .btn-outline-light {
  border-color: #fff;
}

.cta-card .btn-outline-light:hover {
  background: #fff;
  color: #003366 !important;
}

.team-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  margin-bottom: 1.25rem;
}

.team-card {
  border-radius: 1.25rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card .card-body {
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.team-card .role {
  color: #0d6efd;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.team-card .bio {
  flex-grow: 1;
}

.team-card .contact-link {
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
}

.team-card .contact-link:hover {
  color: #003366;
  text-decoration: underline;
}

.legal-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
