* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8faff;
  overflow-x: hidden;
}
header {
  background: linear-gradient(rgba(0, 60, 120, 0.7), rgba(0, 60, 120, 0.7)),
              url("#") center/cover no-repeat;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
  animation: fadeIn 1s ease-in;
}
header h1 {
  font-size: 3rem;
  font-weight: 600;
}
header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
nav {
  background: #004080;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 40px;
}
.logo span {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover {
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
}
section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}
h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #004080;
  font-size: 2rem;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #0066cc;
  margin: 0.5rem auto;
  border-radius: 2px;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: slideUp 1s ease forwards;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card img {
  width: 60px;
  margin-bottom: 1rem;
}
/* Specialties Section */
/* Specialties Section - Dark Theme */
#specialties {
  background: #2c3e50; /* darker professional blue-grey */
  padding: 80px 20px;
}

#specialties .section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
  color: #fff; /* white for contrast */
}

#specialties .section-title p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #ddd; /* lighter grey */
  font-size: 1.1rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.specialty {
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.specialty:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Icons */
.specialty i {
  margin-bottom: 15px;
  font-size: 3rem;
  color: #0077b6; /* healthcare blue accent */
  transition: transform 0.3s ease, color 0.3s ease;
}

.specialty:hover i {
  transform: scale(1.2);
  color: #00b4d8; /* brighter hover accent */
}

.specialty h3 {
  margin: 14px 0;
  font-size: 1.3rem;
  color: #222;
}

.specialty p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Contact Form Styling with Icons */
/* --- Contact Form (aligned + attractive) --- */
#contact form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  max-width: 640px;
  margin: auto;
}

#contact .form-group {
  display: grid;
  grid-template-columns: 36px 1fr;   /* icon | input */
  align-items: center;
  gap: 10px;
  border: 1px solid #cfd8ea;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  margin-bottom: 1rem;
}

#contact .form-group:focus-within {
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0,102,204,.08);
  transform: translateY(-1px);
}

#contact .form-icon {
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}

#contact .form-group:focus-within .form-icon {
  transform: translateY(-1px) scale(1.05);
}

#contact .form-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

#contact .form-group input,
#contact .form-group textarea {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #1f2b3d;
  padding: .6rem 0;            /* no left padding needed (grid handles spacing) */
}

#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
  color: #7b8aaa;
}

#contact .textarea-group {
  align-items: flex-start;      /* icon aligns to first text line */
}

#contact .textarea-group .form-icon {
  margin-top: .4rem;            /* nudge down to match text baseline */
}

#contact .form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Button polish */
#contact button {
  background: linear-gradient(180deg, #0a74da, #0066cc);
  color: #fff;
  border: none;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
}

#contact button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,102,204,.2);
}

#contact button:active {
  transform: translateY(0);
  box-shadow: none;
  filter: brightness(.98);
}


/* Right Column (Info) */
.contact-info {
  padding: 2rem;
  background: linear-gradient(180deg, #f8fbff, #f1f5fa);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 4px solid #0066cc;  /* ✅ Blue border added */
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.contact-info i {
  font-size: 1.3rem;
  color: #0066cc;
  min-width: 22px;
  margin-top: 4px;
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-form {
    border-right: none;
    border-bottom: 2px solid #e6eaf0;
  }
}

footer {
  text-align: center;
  background: #004080;
  color: #fff;
  padding: 1rem;
  margin-top: 2rem;
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Intro Section Styling */
#intro {
  background: linear-gradient(135deg, #0066cc, #004999);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 1.2s ease;
width: 100%;
}

.intro-content {
  max-width: 800px;
  margin: auto;
}

#intro h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

#intro p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
  display: inline-block;
  background: #ffcc00;
  color: #1f2b3d;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}

.cta-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Highlights Section */
#highlights {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #f9fbff;
  padding: 3rem 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.highlight {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.highlight img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.highlight h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1f2b3d;
}

.highlight p {
  font-size: 0.9rem;
  color: #6c7a92;
  line-height: 1.4;
}
/* About Us Section */
#about {
  padding: 4rem 2rem;
  background: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2rem;
  color: #1f2b3d;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  color: #6c7a92;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-image {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}


/* Quick Stats Section */
#stats {
  background: #f4f8ff;
  padding: 3rem 2rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.stat {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  width: 230px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.stat h3 {
  font-size: 1.6rem;
  color: #1f2b3d;
  margin-bottom: 0.25rem;
}

.stat p {
  font-size: 0.9rem;
  color: #6c7a92;
}
.stat small {
  display: block;
  font-size: 0.85rem;
  color: #4a5b73;
  margin-top: 0.75rem;
  line-height: 1.4;
}
/* Contact Section */
#contact {
  background: #f5f5f5;
  padding: 80px 60px;
}

#contact .section-title h2 {
  text-align: center;
  margin-bottom: 10px;
}

#contact .section-title p {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left form */
.contact-form form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.input-group {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 10px;
}

.input-group i {
  margin-right: 10px;
  color: #0077b6;
}

.input-group input,
.input-group textarea {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
}

.input-group textarea {
  height: 100px;
  resize: none;
}

.btn {
  background: #0077b6;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #00b4d8;
}

/* Right info */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: #0077b6;
  margin-right: 15px;
}

.info-item p {
  margin: 0;
  color: #333;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* Carousel Section */
#carousel {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.carousel-container {
  position: relative;
}

.carousel-slide {
  display: none;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 450px;              /* ✅ consistent height for all slides */
  object-fit: cover;          /* ✅ crops edges but keeps aspect ratio */
  display: block;
  border-radius: 16px;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 15px 20px;
  border-radius: 10px;
}

.carousel-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.4 }
  to { opacity: 1 }
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 2rem;
  border-radius: 50%;
  transition: background 0.5s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}
/* --- FAQ Section --- */
#faqs {
  padding: 80px 40px;
  background: #f5f7fb;
}

#faqs .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

#faqs h2 {
  font-size: 2rem;
  color: #0066cc;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform .2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1f2b3d;
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-question i {
  color: #0066cc;
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;   /* enough space for text */
  padding: 1rem 1.2rem;
}

.faq-item.active .faq-question i.fa-chevron-down {
  transform: rotate(180deg);
}
