/* Header */
.header {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-weight: 800;
  color: white;
  text-shadow: 0px 4px 12px rgba(0,0,0,.35);
}

/* Services Grid */
.services-page .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.service-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
}
.service-card p {
    margin-bottom: 10px;
}
.service-card ul {
    margin-left: 18px;
}
.icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #00509E;
}

/* CTA */
.cta-section {
    background: #003366;
    padding: 60px 30px;
    text-align: center;
    color: #fff;
    margin-top: 50px;
}
.cta-btn {
    background: #ffffff;
    color: #003366;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}
.cta-btn:hover {
    background: #66a6ff;
    color: #fff;
}
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .header {
        height: 300px;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    .header-text{
        font-size: 1.1rem;
        line-height: 1.3;
        margin: 0;
        padding: 0 10px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.6)
    }
}

