.nav-links a.active {
    color: #e74c3c; /* Red */
    font-weight: bold;
}
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== BODY ===== */
body {
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #333;
}

/* ===== HEADER / NAVBAR ===== */
header {
    background-color: #0a3d62;
    padding: 15px 30px;
}

header .logo h1 {
    color: #fff;
    font-size: 24px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #f39c12;
    font-weight: bold;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(10, 61, 98,0.7), rgba(10,61,98,0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero .btn {
    padding: 12px 30px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.hero .btn:hover {
    background-color: #e67e22;
}

/* ===== SERVICES PREVIEW / CARDS ===== */
.services-preview, .services-list, .about-doctor, .contact-info, .appointment-form, .clinic-philosophy {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.services-preview h2, .services-list h2, .about-doctor h2, .clinic-philosophy h2, .contact-info h2, .appointment-form h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #0a3d62;
}

.service-cards, .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card, .service-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===== FORMS ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

form input, form textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

form button {
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: #0a3d62;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background-color: #f39c12;
    color: #fff;
}

/* ===== FOOTER ===== */
footer {
    background-color: #0a3d62;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}
/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: #eef5fb;
    padding: 70px 20px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.testimonial:hover {
    transform: translateY(-6px);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 70px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ===== FADE-IN ANIMATION ===== */
section {
    animation: fadeIn 0.9s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.maintenance-banner {
  width: 100%;
  background: #ff0000;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  padding: 10px 5px;
  font-size: 16px;
  letter-spacing: 1px;
  animation: blink-bg 1.2s infinite;
}

/* Blinking effect */
@keyframes blink-bg {
  0% {
    background: #ff0000;
    color: #ffffff;
  }
  50% {
    background: #fff700;
    color: #000000;
  }
  100% {
    background: #ff0000;
    color: #ffffff;
  }
}

/* Mobile optimization */
@media (max-width: 600px) {
  .maintenance-banner {
    font-size: 14px;
    padding: 8px 4px;
  }
}
