*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(120deg, #e0e7ef 0%, #f0f4f8 100%);
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #004080;
  text-decoration: underline;
}
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
  flex-wrap: wrap;
}
.logo {
  color: #004080;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.logo img {
  height: 60px;
  max-width: 100%;
  vertical-align: middle;
  margin-right: 12px;
  width: auto;
}
nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
nav a {
  color: #004080;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}
nav a:hover,
nav a.active {
  background-color: #f0f4f8;
  color: #003366;
  text-decoration: none;
}
.services-hero {
  background: linear-gradient(120deg, #1e3c72cc 0%, #2a5298cc 50%, #4e4376cc 100%),
    url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: #fff;
  padding: 3.5rem 0 2.5rem 0;
  text-align: center;
  box-shadow: 0 4px 24px rgba(30,41,59,0.07);
  position: relative;
  overflow: hidden;
}
.services-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #004080cc 60%, #0073e6cc 100%);
  z-index: 1;
}
.services-hero > * {
  position: relative;
  z-index: 2;
}
.services-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(30,41,59,0.18);
}
.services-hero p {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.93;
  color: #e0e7ef;
  text-shadow: 0 1px 4px rgba(30,41,59,0.10);
}
.services-list {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.service-row {
  display: flex;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 64, 128, 0.1);
  overflow: hidden;
  align-items: stretch;
  transition: box-shadow 0.3s, transform 0.2s;
  min-height: 260px;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  animation: serviceFadeIn 0.8s forwards;
}
.service-row:nth-child(even) {
  flex-direction: row-reverse;
}
.service-img-col {
  flex: 1.2;
  min-width: 220px;
  max-width: 380px;
  background: #e6eef7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  display: block;
}
.service-info-col {
  flex: 2;
  padding: 2.2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-title {
  color: #004080;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
}
.service-desc {
  color: #333;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}
.service-list-ul {
  margin: 0 0 1.2rem 0;
  padding-left: 1.2rem;
  color: #004080;
  font-size: 1rem;
}
.service-list-ul li {
  margin-bottom: 0.4rem;
}
footer {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  color: #888;
  background: #f0f4f8;
  font-size: 1rem;
  border-top: 1px solid #e0e7ef;
  margin-top: 2rem;
  background-color: #f9fafb;
  color: #374151;
  padding: 4rem 1.5rem 3rem;
  font-size: 1rem;
  text-align: left;
  border-top: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    #e0e7ff 0,
    #e0e7ff 10px,
    #f9fafb 10px,
    #f9fafb 20px
  );
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
footer .footer-section {
  flex: 1 1 280px;
  min-width: 280px;
}
footer h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 0.75rem;
}
footer ul li a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}
footer ul li a:hover,
footer ul li a:focus {
  color: #2563eb;
  text-decoration: underline;
  outline: none;
}
footer .contact-info p {
  margin: 0.5rem 0;
  color: #475569;
  line-height: 1.5;
  font-size: 1rem;
}
.service-animate-1 { animation-delay: 0.1s; }
.service-animate-2 { animation-delay: 0.3s; }
.service-animate-3 { animation-delay: 0.5s; }
.service-animate-4 { animation-delay: 0.7s; }
.service-animate-5 { animation-delay: 0.9s; }
@keyframes serviceFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-8px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
  nav {
    margin-top: 0.5rem;
  }
  .logo img {
    height: 48px;
  }
  .services-hero {
    padding: 2.2rem 0.5rem 1.5rem 0.5rem;
  }
  .service-row,
  .service-row:nth-child(even) {
    flex-direction: column;
    min-height: 0;
  }
  .service-img-col img {
    min-height: 180px;
  }
  .service-info-col {
    padding: 1.2rem 1rem 1.2rem 1rem;
  }
}
@media (max-width: 600px) {
  .logo img {
    height: 36px;
  }
  nav {
    gap: 0.7rem;
  }
  .services-list {
    padding: 0 0.5rem;
  }
  .service-info-col {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: 1rem;
  }
  .logo img {
    height: 28px;
    margin-right: 6px;
  }
  nav a {
    font-size: 0.9rem;
  }
  .service-info-col {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .footer-section {
    min-width: 100%;
  }
}
