/* =================================== */
/* HOME PAGE STYLES */
/* =================================== */

/* ----------------------------------- */
/* Hero Section */
/* ----------------------------------- */
.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
  color: #333;
  overflow: hidden;
}
:root {
  --primary-blue: #1f6fd6; /* adjust to your brand blue */
  --pink: #ff4081;
  --text-dark: #111;
}

.relative-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Background image with overlay tint */
  background-image:
  linear-gradient(rgba(32, 74, 135, 0.6), rgba(32, 74, 135, 0.6)),
  url("https://images.unsplash.com/photo-1563198797-31e0a0dc15c0?fit=max&q=80&w=1600");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}


/* Ensure .hero-bg is positioned to contain the overlay */
.hero-bg {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 238, 238, 0.856); /* semi-transparent black overlay */
  z-index: 1;
}



/* Content sits above overlay */
.hero-content {
  position: absolute;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

/* Heading styles */
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #3b82f6; /* primary blue */
  margin-bottom: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  
}

/* Paragraph styles */
.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #111;
}

/* Button group layout */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Base button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Primary button */
.btn-primary {
  background-color: #ec4899;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #db3b87;
}

/* Outline button */
.btn-outline {
  background-color:white;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.btn-outline:hover {
  background-color: #3b82f6;
  color: white;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ----------------------------------- */
/* Sections (White & Colored) */
/* ----------------------------------- */
.section-white {
    background-color: #fff;
    padding: 4rem 1.5rem;
}

.section-colored {
    padding: 4rem 1.5rem;
    color: #fff;
}

.text-white {
    color: #fff;
}

.text-center {
    text-align: center;
}

/* ----------------------------------- */
/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Responsive grids */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ----------------------------------- */
/* Feature Cards */
.feature-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.icon-circle {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ----------------------------------- */
/* Statistics */
.stat {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-pink);
}

/* =============================== */
/* Testimonials Section            */
/* =============================== */

.section-testimonials {
  background-color: #f3f4f6;
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-testimonials h2 {
  color: #3b82f6;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-testimonials .subtitle {
  color: #4b5563;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Testimonial Card */
.testimonial-card {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
}

.stars {
  color: #ec4899;
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  display: block;
  color: #111;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-date {
  color: #9ca3af;
  font-size: 0.875rem;
}


/* =============================== */
/* Why Choose Us Section           */
/* =============================== */

.section-why {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

/* --- Left Column Styles --- */

.why-heading {
  color: #3b82f6;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.why-number {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #ec4899;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.why-text h4 {
  color: #3b82f6;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.why-text p {
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  font-size: 1rem;
}

/* --- Right Column Styles (Blue Box) --- */

.info-cards-container {
  background-color: #eff6ff;
  padding: 2.5rem;
  border-radius: 1rem;
  height: 100%;
}

.info-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-card h4 {
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.info-card p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}


/* =============================== */
/* Emergency / CTA Section         */
/* =============================== */

.section-emergency {
  background-color: #ec4899;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.section-emergency h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-emergency p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Button Group */
.emergency-btn-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-outline-light-pink {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-light-pink:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-filled-light {
  background-color: #fff;
  color: #ec4899;
  border: 2px solid #fff;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-filled-light:hover {
  background-color: #f0f0f0;
}

/* =============================== */
/* Blog Section                    */
/* =============================== */

.section-blog {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-blog h2 {
  color: #3b82f6;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-blog .subtitle {
  color: #4b5563;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Blog Card */
.blog-card {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-bottom: 1px solid #e5e7eb;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Padding */
.blog-content {
  padding: 1.5rem;
}

.blog-content .date {
  font-size: 0.875rem;
  color: #ec4899;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content h4 {
  color: #3b82f6;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-content .excerpt {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.blog-content .read-more {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
}

.blog-content .read-more:hover {
  text-decoration: underline;
}

/* =============================== */
/* Healthcare Feature Highlights   */
/* =============================== */

.healthcare-features {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

.healthcare-features .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .healthcare-features .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.healthcare-features .feature-card {
  background-color: transparent;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.healthcare-features .feature-card:hover {
  transform: translateY(-5px);
}

.healthcare-features .icon-circle {
  background-color: #3b82f6;
  color: #fff;
  font-size: 1.75rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.healthcare-features h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.healthcare-features p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* =============================== */
/* CALL TO ACTION (CTA) SECTION    */
/* =============================== */

.cta-section {
  background-color: #3b82f6;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  width: 100%;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-section p {
  max-width: 600px;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}
/* =============================== */
/* STATISTICS SECTION              */
/* =============================== */

.stats-container {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

/* Pink Number */
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ec4899;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Blue Uppercase Label */
.stat-label {
  color: #3b82f6;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Description */
.stat-desc {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.5;
}
