
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 .text-red {
  color: #cb2c31;
  font-size: 48px !important;
}

/* Mobile */
@media (max-width: 767px) {
  .hero-content h1 .text-red {
    font-size: 32px !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content h1 .text-red {
    font-size: 38px !important;
  }
}

.hero-content h1 .text-white {
  color: #ffffff;
  font-size: 48px;
}


/* Mobile */
@media (max-width: 767px) {
  .hero-content h1 .text-white {
    font-size: 32px !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content h1 .text-white {
    font-size: 38px !important;
  }
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 10px;
  color: #FFF;
} 

.hero-breadcrumb {
  font-size: 18px;
  opacity: 0.9;
  color: #fff !important;
}

.hero-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-hero {
    height: 480px !important;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }
}


    /*the css of about section starts here */
    
    
    
       .pharmacy-about-section {
         
            color: #334155;
            line-height: 1.6;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 70vh;
            padding: 100px 20px;
        }


        .about-container {
            max-width: 1200px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .content-column {
            padding: 40px;
        }

        .image-column {
            height: 100%;
            position: relative;
        }

        .badge {
            display: inline-block;
            background-color: #e0f2fe;
            color: #0f2b46;
            font-size: 16px;
            font-weight: 600;
            padding: 6px 16px;
            border-radius: 20px;
            margin-bottom: 16px; 
            letter-spacing: 0.3px;
            white-space: nowrap;
            width: fit-content;
            max-width: 100%;
        }

        .section-title {
            
            font-size: 36px;
            font-weight: 600;
            color: #0f2b46;
            margin-top: 0;
            margin-bottom: 20px;
            line-height: 1.3;
            text-align: left;
        }
        
        /* Mobile */
        @media (max-width: 767px) {
            .section-title {
                font-size: 28px;
                
            }
            
        }
        /* Tablet */
        @media (min-width: 768px) and (max-width: 1024px) {
            .section-title {
                font-size: 30px;
                
            }
        }
            

        .accent-line {
            width: 80px;
            height: 4px;
            background-color: #85BDDE;
            margin-bottom: 30px;
            border-radius: 2px;
        }

        .content-text {
            
            margin-bottom: 20px;
            color: #000;;
        }

        .content-text p {
            margin-bottom: 20px;
            font-size: 16px;
        }

        .image-wrapper {
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            position: relative;
        }

        .pharmacy-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            min-height: 500px;
        }

        .image-badge {
            position: absolute;
            bottom: 30px;
            right: 30px;
            background-color: rgba(255, 255, 255, 0.95);
            padding: 12px 24px;
            border-radius: 16px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(5px);
            z-index: 2;
            white-space: nowrap;
            width: fit-content;
        }

        .badge-text {
         
            font-weight: 600;
            color: #1e40af;
            font-size: 15px;
            letter-spacing: 0.3px;
        }

        @media (max-width: 1200px) {
            .pharmacy-about-section {
                padding: 100px 20px;
              min-height: 0vh;

            }
            
            .about-container {
                gap: 50px;
                max-width: 1000px;
            }
            
            .content-column {
                padding: 5px;
            }
            
            .pharmacy-image {
                min-height: 450px;
            }
        }

        @media (max-width: 992px) {
            .pharmacy-about-section {
                padding: 160px 20px;
                min-height: 0vh;

            }
            
            .about-container {
                grid-template-columns: 1fr;
                gap: 40px;
                max-width: 800px;
            }
            
            .content-column {
                padding: 30px;
                text-align: center;
            }
            
            .image-wrapper {
                max-width: 600px;
                margin: 0 auto;
            }
            
            .pharmacy-image {
                min-height: 380px;
            }
            
            .accent-line {
                margin-left: auto;
                margin-right: auto;
            }
            
            .badge {
                margin-left: auto;
                margin-right: auto;
                margin-bottom: 14px;
            }
        }

        @media (max-width: 768px) {
            .pharmacy-about-section {
                padding: 50px 20px;
            }
            
            .about-container {
                gap: 3px;
            }
            
            .content-column {
                text-align: left;
                padding: 2px 13px 2px 13px;
            }
            
            
            
            .badge {
                margin-bottom: 12px;
                margin-left: 0; 
            }
            
            .content-text {
                font-size: 16px;
            }
            
            .pharmacy-image {
                min-height: 320px;
            }
            
            .image-badge {
                bottom: 20px;
                right: 20px;
                padding: 10px 20px;
            }
            
            .badge-text {
                font-size: 14px;
            }
            
            .accent-line {
                margin-left: 0;
            }
        }

        @media (max-width: 640px) {
            .badge {
                font-size: 14px;
                padding: 5px 14px;
                margin-bottom: 10px; 
            }
            
        }

        @media (max-width: 576px) {
            .pharmacy-about-section {
                padding: 40px 15px;
            }
            
            .badge {
                font-size: 14px;
                padding: 4px 12px;
                margin-bottom: 8px; 
            }
            
            .accent-line {
                width: 60px;
                height: 3px;
                margin-bottom: 20px;
            }
            
            .content-text {
                font-size: 15px;
            }
            
            .pharmacy-image {
                min-height: 280px;
            }
            
            .image-wrapper {
                border-radius: 16px;
            }
            
            .image-badge {
                bottom: 15px;
                right: 15px;
                padding: 8px 16px;
            }
        }

        @media (max-width: 480px) {
            
            .badge {
                font-size: 14px;
                padding: 3px 10px;
                margin-bottom: 6px;
                min-width: auto;
                width: auto;
                display: inline-block;
            }
            
            .content-text {
                font-size: 14px;
            }
            
            .pharmacy-image {
                min-height: 250px;
            }
            
            .accent-line {
                margin-bottom: 15px;
            }
            
            .image-badge {
                padding: 6px 12px;
                font-size: 13px;
            }
        }

        @media (max-width: 400px) {
            .pharmacy-about-section {
                padding: 60px 13px;
            }
            
            
            .badge {
                font-size: 14px;
                padding: 3px 8px;
                margin-bottom: 4px;
            }
            
            .accent-line {
                width: 50px;
                margin-bottom: 12px;
            }
            
            .content-text {
                font-size: 14px;
            }
            
            .pharmacy-image {
                min-height: 220px;
            }
            
            .image-badge {
                bottom: 10px;
                right: 10px;
                padding: 6px 10px;
                font-size: 12px;
            }
            
            .badge-text {
                font-size: 12px;
            }
        }

        @media (max-width: 360px) {
            
            .badge {
                font-size: 14px;
                padding: 2px 6px;
                margin-bottom: 3px;
                display: inline-block;
                width: auto;
            }
            
            .pharmacy-image {
                min-height: 200px;
            }
            
            .image-badge {
                padding: 5px 8px;
                font-size: 11px;
            }
        }

        @media (max-width: 320px) {
           
            .badge {
                font-size: 14px;
                padding: 2px 5px;
                margin-bottom: 2px; 
            }
            
            .pharmacy-image {
                min-height: 180px;
            }
            
            .image-badge {
                padding: 4px 6px;
                font-size: 10px;
            }
        }
        
        
         /*the css of about section ends here */  

         /* What we offer section*/

         
   h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #0f2b46;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  /* Mobile */
  @media (max-width: 767px) {
      h2 {
          font-size: 28px;
          
      }
      
  }
  /* Tablet */
  @media (min-width: 768px) and (max-width: 1024px) {
      h2 {
          font-size: 30px;
          
      }
      
  }

  .card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop default: 3 cards */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
  }

  .card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid #cb2c31;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }

  .card h3 {
     color: #0f2b46;
    margin-bottom: 15px;
    font-size: 22px;
  }

  .card p {
     line-height: 1.6;
    color: #000;
  }

  /* Tablet: 2 cards per row */
  @media (max-width: 992px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Mobile: 1 card per row */
  @media (max-width: 600px) {
    .card-container {
      grid-template-columns: 1fr;
      padding: 1px 13px 1px 13px;
    }
  }

  /* FAQ Section */
  .container {
  max-width: 1200px;
  margin: 1vw auto;
  padding: 1px 20px 100px 20px;
}
/* Mobile */
@media (max-width: 767px) {
    .container {
    padding: 1px 13px 60px 13px;
  }
}

.container h2 {
  font-family: 'Poppins', sans-serif;
    font-size: 36px !important;
    font-weight: 600;
    color: #0f2b46;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
}
/* Mobile */
@media (max-width: 767px) {
    .container h2 {
    font-size: 28px !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .container h2 {
    font-size: 30px !important;
  }
}



.search-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}
.search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 400px;
}
.search-box input {
  width: 100%;
  padding: 12px 40px;
  border-radius: 8px;
  border: 2px solid #982125;
  outline: none;
  transition: 0.3s;

}
.search-box input:focus {
  box-shadow: 0 0 8px #982125;
}
.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #982125;
}
.category-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.category-filter button {
  background: #85bdde;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.category-filter button.active,
.category-filter button:hover {
  background: #982125;
}
.actions {
  text-align: center;
  margin: 25px 0;

}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}
.faq-item:hover {
  transform: translateY(-5px);
}
.faq-question {
  background: #f3f3f3;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #142a38;
  font-size: 18px;
}
.faq-question i {
  color: #982125;
  transition: transform 0.3s;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s;
  line-height: 1.6;
  color: #555;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px 25px;
}
.fa-circle-question:before, .fa-question-circle:before{
    color: #982125;
}


.actions button {
  background: #85bdde;
  color: #fff;
  border: none;
  padding: 12px 22px;
  margin: 0 6px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Expand All */
#expandAll {
  background: #982125;
}

#expandAll:hover {
  background: #7a1a1d;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(152,33,37,0.35);
}

/* Collapse All */
#collapseAll {
  background: #85bdde;
  color: #142a38;
}

#collapseAll:hover {
  background: #6aaed6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(133,189,222,0.4);
}

/* Mobile friendly */
@media (max-width: 600px) {
  .actions button {
    width: 100%;
    margin: 8px 0;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.7s ease forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .faq-grid { 
	grid-template-columns: 1fr; 
	
}
	}
	@media (max-width: 780px) {
  .category-filter {
    display: none !important;
  }
}
