/*The hero section css starts here*/


        .hero-container {
            min-height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 5%;
            background: linear-gradient(155deg, #85bdde 0%, #fff 100%);
            position: relative;
            overflow: hidden;
        }

        /* Heartbeat Background */
        .heartbeat-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.15;
            pointer-events: none;
            overflow: hidden;
        }

        .ecg-wave {
            position: absolute;
            width: 300%;
            height: 100%;
            top: 0;
            left: 0;
            animation: slideHeartbeat 12s linear infinite;
        }

        .ecg-path {
            stroke: #1c6dd0;
            stroke-width: 2.5;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            filter: 
                drop-shadow(0 0 3px rgba(28, 109, 208, 0.6))
                drop-shadow(0 0 6px rgba(28, 109, 208, 0.4));
            animation: heartbeatPulse 1.2s infinite;
        }

        @keyframes slideHeartbeat {
            0% { transform: translateX(0); }
            100% { transform: translateX(-66.666%); }
        }

        @keyframes heartbeatPulse {
            0%, 100% {
                stroke-width: 2.5;
                opacity: 0.8;
            }
            50% {
                stroke-width: 3.5;
                opacity: 1;
            }
        }

        /* Background Elements */
        .background-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 1;
        }

        .element {
            position: absolute;
            border-radius: 50%;
            background: rgba(133, 189, 222, 0.1);
            animation: floatElement 20s infinite linear;
        }

        .element:nth-child(1) {
            width: 300px;
            height: 300px;
            top: -150px;
            left: -150px;
        }

        .element:nth-child(2) {
            width: 200px;
            height: 200px;
            bottom: -100px;
            right: 10%;
            background: rgba(10, 87, 141, 0.08);
            animation-delay: -5s;
        }

        @keyframes floatElement { 
            0%,100% { transform: translate(0,0) rotate(0deg); } 
            25% { transform: translate(20px,-20px) rotate(90deg); } 
            50% { transform: translate(0,-40px) rotate(180deg); } 
            75% { transform: translate(-20px,-20px) rotate(270deg); } 
        }


        .hero-content {
            flex: 1;
            max-width: 600px;
            z-index: 2;
            opacity: 0;
            animation: fadeInLeft 1s forwards 0.5s;
            position: relative;
            min-height: 380px; /* Increased to accommodate all content */
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

       
        .hero-title {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 25px;
            color: #0a578d;
            position: relative;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .welcome-message {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 5px;
            opacity: 0;
            animation: 
                fadeInUp 0.8s forwards 1s,
                fadeOutUp 0.8s forwards 3s;
        }

      
        .welcome-line {
            font-size: 3.5rem;
            color: #0f2b46;
            font-weight: 600;
            line-height: 1;
            opacity: 0;
            transform: translateY(20px);
            animation: slideUpSimple 0.6s ease-out forwards 1.2s;
        }

        
        .pharmacy-name {
            font-size: 3.5rem;
            color: #CB2C31;
            font-weight: 700;
            line-height: 1;
            opacity: 0;
            transform: translateY(20px);
            animation: slideUpSimple 0.6s ease-out forwards 1.5s;
        }

        /* Main Title Container */
        .main-title {
            font-size: 3.5rem;
            color: #0a578d;
            opacity: 0;
            animation: fadeInUp 0.8s forwards 4s;
            line-height: 1.2;
            margin-top: 0;
        }

        .main-title .highlight {
            color: #cb2c31;
            position: relative;
            display: inline-block;
            animation: titleHighlight 2s ease-in-out infinite 5s;
        }

        /* SIMPLE ANIMATIONS */
        @keyframes slideUpSimple {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeOutUp {
            from { 
                opacity: 1;
                transform: translateY(0);
            }
            to { 
                opacity: 0;
                transform: translateY(-20px);
                visibility: hidden;
            }
        }

        @keyframes fadeInUp { 
            from { 
                opacity: 0; 
                transform: translateY(20px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        @keyframes titleHighlight {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        @keyframes fadeInLeft { 
            from { opacity: 0; transform: translateX(-50px); } 
            to { opacity: 1; transform: translateX(0); } 
        }

        /* Hero Description */
        .hero-description {
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 40px;
            line-height: 1.6;
            opacity: 0;
            animation: fadeInUp 0.8s forwards 4.5s;
            position: relative;
            z-index: 1;
        }

       
        .cta-buttons {
            display: flex;
            gap: 20px;
            opacity: 0;
            animation: fadeInUp 0.8s forwards 4.8s;
            position: relative;
            z-index: 1;
        }

        .btn {
            padding: 16px 32px;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid #cb2c31;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
            background: none;
        }

       
        .btn-refill {
            background: #cb2c31;
            color: white;
            border: 2px solid #cb2c31;
        }

        .btn-refill::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }

        .btn-refill:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-refill:hover {
            color: #cb2c31;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(203, 44, 49, 0.2);
        }

        /* Ripple Animation for Explore Button */
        .btn-explore {
            background: white;
            color: #cb2c31;
            border: 2px solid #85BDDE;
        }

        .btn-explore::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: #85BDDE;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }

        .btn-explore:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-explore:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(133, 189, 222, 0.2);
        }

        /* Video Section */
        .video-section {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 2;
            opacity: 0;
            animation: fadeInRight 1s forwards 0.5s;
        }

        @keyframes fadeInRight { 
            from { opacity: 0; transform: translateX(50px); } 
            to { opacity: 1; transform: translateX(0); } 
        }

        .video-container {
            width: 100%;
            max-width: 600px;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(133, 189, 222, 0.3);
            position: relative;
            transition: all 0.5s ease;
            background: #000;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        .video-container.shape-1 {
            clip-path: polygon(
                0 15%, 
                15% 0, 
                85% 0, 
                100% 15%, 
                100% 85%, 
                85% 100%, 
                15% 100%, 
                0 85%
            );
            animation: shape1Float 4s ease-in-out infinite;
        }

        @keyframes shape1Float {
            0%, 100% {
                transform: translateY(0);
                box-shadow: 0 20px 50px rgba(133, 189, 222, 0.3);
            }
            50% {
                transform: translateY(-10px);
                box-shadow: 0 25px 60px rgba(133, 189, 222, 0.4);
            }
        }

        .video-container.shape-2 {
            clip-path: polygon(
                5% 0,
                95% 0,
                100% 25%,
                100% 75%,
                95% 100%,
                5% 100%,
                0 75%,
                0 25%
            );
            animation: shape2Pulse 4s ease-in-out infinite;
        }

        @keyframes shape2Pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 20px 50px rgba(133, 189, 222, 0.3);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 25px 60px rgba(133, 189, 222, 0.4);
            }
        }

        .video-container:hover {
            transform: scale(1.05) !important;
            box-shadow: 0 30px 70px rgba(133, 189, 222, 0.5) !important;
            animation-play-state: paused !important;
        }

        .local-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            cursor: pointer;
        }

        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10;
        }

        .video-container:hover .video-controls {
            opacity: 1;
        }

        .control-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .progress-container {
            flex: 1;
            height: 5px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
        }

        .progress-bar {
            height: 100%;
            background: #cb2c31;
            width: 0%;
            transition: width 0.1s linear;
        }

        .shape-toggle-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            z-index: 20;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .video-container:hover .shape-toggle-btn {
            opacity: 1;
        }

        .shape-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1) rotate(90deg);
        }

        .floating-pills {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 1;
        }

        .pill {
            position: absolute;
            width: 60px;
            height: 30px;
            border-radius: 30px;
            background: linear-gradient(90deg, #85bdde, #CB2C31);
            box-shadow: 0 5px 15px rgba(133, 189, 222, 0.5);
            opacity: 0.8;
            animation: floatPill 25s infinite linear;
        }

        @keyframes floatPill { 
            0% { transform: translate(0,0) rotate(0deg); } 
            25% { transform: translate(20px,-30px) rotate(90deg); } 
            50% { transform: translate(0,-60px) rotate(180deg); } 
            75% { transform: translate(-20px,-30px) rotate(270deg); } 
            100% { transform: translate(0,0) rotate(360deg); } 
        }

        .pill:nth-child(1) { top: 12%; right: 25%; animation-delay: -5s; }
        .pill:nth-child(2) { bottom: 15%; left: 15%; animation-delay: -10s; background: linear-gradient(90deg, #85bdde, #4adeff); }
        .pill:nth-child(3) { bottom: 20%; right: 15%; animation-delay: -15s; }
        .pill:nth-child(4) { top: 40%; right: 50%; animation-delay: -20s; }
        .pill:nth-child(5) { top: 25%; left: 30%; animation-delay: -25s; background: linear-gradient(90deg, #CB2C31, #85bdde); }
        .pill:nth-child(6) { bottom: 30%; left: 60%; animation-delay: -30s; }

        .fullscreen-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .fullscreen-modal.active {
            display: flex;
        }

        .fullscreen-video {
            width: 90%;
            height: 90%;
            max-width: 1200px;
            object-fit: contain;
        }

        .close-fullscreen {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 2rem;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .close-fullscreen:hover {
            background: rgba(203, 44, 49, 0.8);
            transform: scale(1.1);
        }

        /* MOBILE RESPONSIVE STYLES */
        @media (max-width: 1200px) {
            .hero-container {
                padding: 100px 5% 40px;
                flex-direction: column;
                text-align: center;
            }
            
            .hero-content {
                max-width: 100%;
                margin-bottom: 30px;
                min-height: 320px;
            }
            
            .video-section {
                max-width: 100%;
                margin-bottom: 30px;
            }
            
            .video-container {
                max-width: 700px;
                height: 350px;
            }
            
            .cta-buttons {
                justify-content: center;
                gap: 20px;
                display: flex;
            }
            
            .hero-title {
                font-size: 2.8rem;
                min-height: 120px;
            }
            
            .welcome-line {
                font-size: 2.8rem;
            }
            
            .pharmacy-name {
                font-size: 2.8rem;
            }
            
            .main-title {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 768px) {
            .hero-container {
                min-height: auto;
                height: auto;
                padding: 100px 3% 25px;
            }
            
            .hero-content {
                min-height: 280px;
                justify-content: flex-start;
            }
            
           
            .cta-buttons {
                display: grid !important;
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                width: 100%;
                max-width: 400px;
                margin: 0 auto 30px;
            }
            
            .btn {
                width: 100% !important;
                min-width: 0 !important;
                max-width: 100% !important;
                padding: 14px 20px;
                font-size: 0.95rem;
                white-space: nowrap;
                display: flex !important;
            }
            
            .hero-title {
                font-size: 2rem;
                margin-bottom: 15px;
                min-height: 100px;
            }
            
            .welcome-line {
                font-size: 2rem;
            }
            
            .pharmacy-name {
                font-size: 2rem;
            }
            
            .main-title {
                font-size: 2rem;
            }
            
            .hero-description {
                font-size: 0.95rem;
                margin-bottom: 30px;
                line-height: 1.5;
            }
            
            .video-container {
                height: 250px;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .element:nth-child(1) {
                width: 200px;
                height: 200px;
                top: -100px;
                left: -100px;
            }
            
            .element:nth-child(2) {
                width: 150px;
                height: 150px;
                bottom: -75px;
            }
            
            .video-controls {
                opacity: 1 !important;
                padding: 10px;
                background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            }
            
            .control-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .shape-toggle-btn {
                opacity: 1 !important;
                background: rgba(255, 255, 255, 0.3);
                top: 10px;
                right: 10px;
            }
            
           
            .btn-refill:hover::before,
            .btn-explore:hover::before {
                width: 200px;
                height: 200px;
            }
        }

        @media (max-width: 480px) {
            .hero-container {
                padding: 90px 3% 20px;
            }
            
            .hero-content {
                min-height: 240px;
            }
            
            .hero-title {
                font-size: 1.6rem;
                min-height: 90px;
            }
            
            .welcome-line {
                font-size: 1.6rem;
            }
            
            .pharmacy-name {
                font-size: 1.6rem;
            }
            
            .main-title {
                font-size: 1.6rem;
            }
            
            .hero-description {
                font-size: 0.9rem;
                margin-bottom: 25px;
            }
            
            .video-container {
                height: 200px;
            }
            
            .cta-buttons {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                max-width: 360px;
            }
            
            .btn {
                padding: 12px 15px;
                font-size: 0.85rem;
            }
            
            .btn i {
                font-size: 0.9em;
            }
            
            .fullscreen-video {
                width: 100%;
                height: auto;
                max-height: 70vh;
            }
            
            .close-fullscreen {
                top: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 360px) {
            .cta-buttons {
                grid-template-columns: 1fr;
                max-width: 280px;
                gap: 10px;
            }
            
            .btn {
                width: 100% !important;
                padding: 12px 15px;
            }
            
            .video-container {
                height: 180px;
            }
            
            .hero-title {
                font-size: 1.4rem;
                min-height: 80px;
            }
            
            .welcome-line {
                font-size: 1.4rem;
            }
            
            .pharmacy-name {
                font-size: 1.4rem;
            }
            
            .main-title {
                font-size: 1.4rem;
            }
        }

        @media (min-width: 769px) and (max-width: 1200px) {
            .cta-buttons {
                display: flex !important;
                flex-direction: row;
                justify-content: center;
                gap: 20px;
            }
            
            .btn {
                min-width: 180px;
            }
        }
     
        .btn span {
            position: relative;
            z-index: 2;
        }
        
        
/*The hero section css ends here*/




  
  /*Our Pathner Section Start*/
  

.my-partners-section-scroll {
  max-width: 2000px;
  width: 100%;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
}

.my-section-header-scroll {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.my-section-title-scroll {
  font-weight: 600;
  font-size: 2rem;
  color: #183039;
  letter-spacing: -0.5px;
  white-space: nowrap;
  margin-right: 60px;
  font-family: 'Poppins', sans-serif;
}

.my-partners-container-scroll {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.my-partners-track-scroll {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: my-scrollLeftToRight 30s linear infinite;
  width: max-content;
}

.my-partner-item-scroll {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.my-partner-logo-scroll {
 width: 110px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.85;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-partner-logo-scroll img {
   width: 85%;       
  height: 85%;
  object-fit: contain;
}

.my-partner-name-scroll {
  margin-left: 20px;
  font-weight: 500;
  font-size: 1.1rem;
  color: #8b9ca0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.my-partner-item-scroll:hover .my-partner-logo-scroll {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.my-partner-item-scroll:hover .my-partner-name-scroll {
  color: #183039;
}

/* Animation */
@keyframes my-scrollLeftToRight {
  0% {
    transform: translateX(calc(-100% / 2));
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause on hover */
.my-partners-track-scroll:hover {
  animation-play-state: paused;
}

/* Mobile */
@media (max-width: 768px) {
  .my-section-header-scroll {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .my-section-title-scroll {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .my-partners-track-scroll {
    gap: 40px;
  }

  .my-partner-item-scroll {
    flex-direction: column;
    text-align: center;
  }

  .my-partner-name-scroll {
    margin-left: 0;
    margin-top: 15px;
  }
}

  /*<!--Our Pathner Section End-->*/
  
  
  
  /*the css of services section starts here*/

/* Pharmacy Services Section */
.pharmacy-services-section {
    padding: 70px 20px;
}

.pharmacy-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pharmacy-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pharmacy-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 35px 30px;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pharmacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.pharmacy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #CB2C31, #86BBE0);
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.7s ease;
    z-index: 0;
}

.pharmacy-card:hover::before {
    clip-path: circle(150% at 100% 0%);
}

.pharmacy-card * {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease 0.2s;
}

.pharmacy-card:hover .pharmacy-icon-container {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.pharmacy-card:hover h2,
.pharmacy-card:hover p,
.pharmacy-card:hover .pharmacy-inline-link {
    color: white;
}

.pharmacy-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    flex-grow: 1;
    align-items: center; 
}

.pharmacy-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    background-color: rgba(134, 187, 224, 0.2);
    color: #86BBE0;
    transition: all 0.4s ease;
}

.pharmacy-card h2 {
    font-size: 28px;
    color: #0f2b46;
    margin-bottom: 15px;
    font-weight: 600;
    width: 100%; 
}

.pharmacy-card p {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
    flex-grow: 1;
    width: 100%; 
}

.pharmacy-inline-link {
    color: #CB2C31;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pharmacy-inline-link:hover {
    color: #a82327;
    text-decoration: underline;
}

.pharmacy-card-button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    margin-top: auto;
    width: 150px;
    background-color: #86BBE0;
    color: white;
    border: 2px solid #86BBE0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    align-self: center;
}

/* Button animation similar to btn-refill */
.pharmacy-card-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.pharmacy-card-button:hover::before {
    width: 300px;
    height: 300px;
}

.pharmacy-card-button:hover {
    color: #86BBE0;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 187, 224, 0.3);
}

/* Hover state adjustments for cards */
.pharmacy-card:hover .pharmacy-card-button {
    background-color: white;
    color: #86BBE0;
}

.pharmacy-card:hover .pharmacy-card-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #86BBE0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pharmacy-services-container {
        max-width: 1000px;
    }
    
    .pharmacy-cards-container {
        gap: 25px;
    }
    
    .pharmacy-card {
        max-width: 320px;
        padding: 30px 25px;
    }
    
    .pharmacy-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .pharmacy-cards-container {
        gap: 20px;
    }
    
    .pharmacy-card {
        max-width: 300px;
        padding: 25px 20px;
    }
    
    .pharmacy-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .pharmacy-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .pharmacy-card {
        max-width: 500px;
        width: 100%;
        padding: 30px;
        min-height: auto;
    }
    
    .pharmacy-icon-container {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .pharmacy-card h2 {
        font-size: 24px;
    }
    
    .pharmacy-card p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .pharmacy-services-section {
        padding: 30px 15px;
    }
    
    .pharmacy-card {
        padding: 25px 20px;
    }
    
    .pharmacy-card h2 {
        font-size: 22px;
    }
    
    .pharmacy-card p {
        font-size: 15px;
    }
    
    .pharmacy-icon-container {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .pharmacy-card-button {
        padding: 9px 20px;
        font-size: 15px;
        width: 140px;
    }
}

@media (max-width: 450px) {
    .pharmacy-services-section {
        padding: 70px 20px;
    }
    
    .pharmacy-card {
        padding: 20px 15px;
    }
    
    .pharmacy-card h2 {
        font-size: 22px;
    }
    
    .pharmacy-card p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .pharmacy-icon-container {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .pharmacy-card-button {
        padding: 8px 18px;
        font-size: 15px;
        width: 130px;
    }
}

/*the css of services section ends here*/
    
/*the css of about section starts here */

.pharmacy-about-section {
    color: #334155;
    line-height: 1.6;
    padding: 70px 20px 140px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.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;
    padding: 0px 7px 0px 7px;
}

.badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0f2b46; 
    font-family: 'Poppins', sans-serif;
    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-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #0f2b46; 
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: #85BDDE; /* Already #85BDDE */
    margin-bottom: 30px;
    border-radius: 2px;
}

.content-text {
    font-size: 16px;
    color: #475569;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 20px;
}

.image-wrapper {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(203, 44, 49, 0.08); /* Added red tint to shadow */
    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(203, 44, 49, 0.1); 
    backdrop-filter: blur(5px);
    z-index: 2;
    white-space: nowrap;
    width: fit-content;
}

.badge-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #CB2C31; 
    font-size: 16px;
    letter-spacing: 0.3px;
}

@media (max-width: 1200px) {
    .pharmacy-about-section {
        padding: 70px 20px;
    }
    
    .about-container {
        gap: 50px;
        max-width: 1000px;
    }
    
    .content-column {
        padding: 35px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .pharmacy-image {
        min-height: 450px;
    }
}

@media (max-width: 992px) {
    .pharmacy-about-section {
        padding: 60px 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }
    
    .content-column {
        padding: 30px;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .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: 5px;
    }
    
    .content-column {
        padding: 25px 20px;
        text-align: left;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .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: 16px;
    }
    
    .accent-line {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .badge {
        font-size: 16px;
        padding: 5px 14px;
        margin-bottom: 10px; 
    }
    
    .section-title {
        font-size: 26px;
        margin-top: 0;
        margin-bottom: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .pharmacy-about-section {
        padding: 40px 15px;
    }
    
    .content-column {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 10px;
        white-space: normal;
        line-height: 1.1;
    }
    
    .badge {
        font-size: 16px;
        padding: 4px 12px;
        margin-bottom: 8px; 
    }
    
    .accent-line {
        width: 60px;
        height: 3px;
        margin-bottom: 20px;
    }
    
    .content-text {
        font-size: 16px;
    }
    
    .pharmacy-image {
        min-height: 280px;
    }
    
    .image-wrapper {
        border-radius: 16px;
    }
    
    .image-badge {
        bottom: 15px;
        right: 15px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 8px;
    }
    
    .badge {
        font-size: 16px;
        padding: 3px 10px;
        margin-bottom: 6px;
        min-width: auto;
        width: auto;
        display: inline-block;
    }
    
    .content-text {
        font-size: 15px;
    }
    
    .pharmacy-image {
        min-height: 250px;
    }
    
    .accent-line {
        margin-bottom: 15px;
    }
    
    .image-badge {
        padding: 6px 12px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .pharmacy-about-section {
        padding: 0px 12px 100px 12px;
    }
    
    .content-column {
        padding: 15px 12px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 6px;
        white-space: normal;
        line-height: 1.1;
    }
    
    .badge {
        font-size: 16px;
        padding: 3px 8px;
        margin-bottom: 4px;
    }
    
    .accent-line {
        width: 50px;
        margin-bottom: 12px;
    }
    
    .content-text {
        font-size: 15px;
    }
    
    .pharmacy-image {
        min-height: 220px;
    }
    
    .image-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 15px;
    }
    
    .badge-text {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .section-title {
        font-size: 22px;
        letter-spacing: -0.2px;
        white-space: normal;
    }
    
    .badge {
        font-size: 16px;
        padding: 2px 6px;
        margin-bottom: 3px;
        display: inline-block;
        width: auto;
    }
    
    .pharmacy-image {
        min-height: 200px;
    }
    
    .image-badge {
        padding: 5px 8px;
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .section-title {
        font-size: 22px;
    }
    
    .badge {
        font-size: 16px;
        padding: 2px 5px;
        margin-bottom: 2px; 
    }
    
    .pharmacy-image {
        min-height: 180px;
        
    }
    
    .image-badge {
        padding: 4px 6px;
        font-size: 15px;
    }
}

/*the css of about section ends here */ 
         
         
         
         
        /*this css of main Services starts here */

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 140px 20px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center; 
}

.services-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f2b46; 
    margin-bottom: 20px;
}

.services-subheading {
    font-size: 22px;
    font-weight: 500;
    color: #CB2C31; /* Changed from #1a3a5f to #CB2C31 */
    margin-bottom: 30px;
    position: relative;
    padding-left: 12px;
}

.services-subheading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #85BDDE; /* Kept as #85BDDE */
    border-radius: 2px;
}

.services-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    max-width: 500px;
}

.services-cards {
    flex: 1.2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #ffffff;
    border: 1.5px solid #85BDDE; 
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 5px 15px rgba(133, 189, 222, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-bg-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(203, 44, 49, 0.03); 
    line-height: 1;
    user-select: none;
}

.card-icon {
    font-size: 32px;
    color: #85BDDE; 
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f2b46; 
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #CB2C31; /* Changed from #0f2b46 to #CB2C31 */
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 6px;
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #CB2C31; /* Added red color for icon */
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(203, 44, 49, 0.15); /* Changed to red shadow */
    border-color: #CB2C31; /* Changed from #0f2b46 to #CB2C31 */
    background-color: #fff8f8; /* Changed to light red background */
    transform: translateY(-5px);
}

.service-card:hover .card-icon {
    color: #CB2C31; /* Changed from #0f2b46 to #CB2C31 */
    transform: scale(1.1);
}

.service-card:hover .read-more {
    color: #a52226; /* Darker red shade on hover */
}

.service-card:hover .read-more i {
    transform: translateX(4px);
    color: #a52226; /* Darker red for icon on hover */
}

@media (max-width: 992px) {
    .services-container {
        flex-direction: column;
        gap: 40px;
    }

    .services-content {
        padding-right: 0;
        text-align: center;
        align-items: center; 
    }

    .services-subheading::before {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        top: -10px;
    }

    .services-description {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .services-heading {
        font-size: 32px;
    }
    
    .services-subheading {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .services-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-right: 20px;
    }

    .services-section {
        padding: 60px 20px 100px 20px;
    }

    .services-heading {
        font-size: 32px;
    }
    
    .services-subheading {
        font-size: 20px;
    }

    .service-card {
        padding: 24px 20px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-heading {
        font-size: 26px;
    }

    .services-subheading {
        font-size: 18px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 15px;
    }
    
    .read-more {
        font-size: 15px;
    }

    .card-bg-number {
        font-size: 70px;
        right: 12px;
    }
}

/*The css of main services ends here */


/*the css of trusted company banner starts here */


        .rdp-pharmacy-section {
            width: 100%;
            padding: 30px 20px;
            position: relative;
            overflow: hidden;
            margin: 0 auto;
            background: linear-gradient(135deg, #f8fbff 0%, #e8f2fa 100%);
        }
        
        .rdp-section-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .rdp-section-title {
            color: #0f2b46;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 8px;
            animation: rdpFadeInDown 1s ease-out;
        }
        
        .rdp-section-subtitle {
            color: #1a365d;
            font-size: 1.3rem;
            font-weight: 500;
            margin-bottom: 8px;
            animation: rdpFadeInUp 1s ease-out 0.3s both;
        }
        
        .rdp-title-line {
            height: 4px;
            width: 80px;
            background: linear-gradient(to right, #CB2C31, #85BDDE);
            margin: 0 auto;
            animation: rdpExpandWidth 1s ease-out 0.6s both;
        }
        
        @keyframes rdpFadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes rdpFadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes rdpExpandWidth {
            from {
                width: 0;
            }
            to {
                width: 80px;
            }
        }
        
        .rdp-content-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 25px;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .rdp-connection-line {
            position: absolute;
            height: 3px;
            background: linear-gradient(to right, #CB2C31, #85BDDE, #CB2C31);
            top: 60%;
            transform: translateY(-50%);
            z-index: 0;
            opacity: 0.7;
            animation: rdpPulseLine 2s infinite;
        }
        
        .rdp-line-left {
            left: 25%;
            width: 22%;
            animation-delay: 0s;
        }
        
        .rdp-line-right {
            right: 25%;
            width: 22%;
            animation-delay: 1s;
        }
        
        @keyframes rdpPulseLine {
            0%, 100% {
                opacity: 0.3;
                box-shadow: 0 0 5px rgba(203, 44, 49, 0.3);
            }
            50% {
                opacity: 0.8;
                box-shadow: 0 0 15px rgba(133, 189, 222, 0.5);
            }
        }
        
        .rdp-moving-dots {
            position: absolute;
            width: 100%;
            height: 10px;
            top: 60%; 
            transform: translateY(-50%);
            z-index: 0;
            pointer-events: none;
        }
        
        .rdp-dot {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #85BDDE;
            border-radius: 50%;
            animation: rdpMoveDot 3s linear infinite;
            box-shadow: 0 0 8px rgba(133, 189, 222, 0.8);
        }
        
        .rdp-dot:nth-child(1) {
            left: 25%;
            animation-delay: 0s;
        }
        
        .rdp-dot:nth-child(2) {
            left: 25%;
            animation-delay: 1s;
            background: #CB2C31;
        }
        
        .rdp-dot:nth-child(3) {
            left: 25%;
            animation-delay: 2s;
            background: #85BDDE;
        }
        
        @keyframes rdpMoveDot {
            0% {
                left: 25%;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                left: 53%;
                opacity: 0;
            }
        }
        
        .rdp-pharmacy-image {
            flex: 1;
            border-radius: 8px;
            overflow: hidden;
            height: 200px;
            position: relative;
            transition: all 0.3s ease;
            animation: rdpFadeInLeft 1s ease-out 0.2s both;
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 400px;
        }
        
        .rdp-pharmacy-image:last-child {
            animation: rdpFadeInRight 1s ease-out 0.3s both;
        }
        
        @keyframes rdpFadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes rdpFadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .rdp-pharmacy-image img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            position: relative;
            top: 0;
        }
        
        .rdp-trust-center {
            flex: 0.7;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation: rdpZoomIn 1s ease-out 0.3s both;
            position: relative;
            z-index: 2;
        }
        
        @keyframes rdpZoomIn {
            from {
                opacity: 0;
                transform: scale(0.5);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .rdp-trust-icon-container {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #85BDDE, #a8d4f0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            animation: rdpPulseIcon 3s infinite;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        @keyframes rdpPulseIcon {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(133, 189, 222, 0.5);
            }
            50% {
                box-shadow: 0 0 0 15px rgba(133, 189, 222, 0);
            }
        }
        
        .rdp-trust-icon-container:hover {
            transform: scale(1.1) rotate(15deg);
            animation: none;
            box-shadow: 0 0 0 10px rgba(133, 189, 222, 0.3);
            background: linear-gradient(135deg, #85BDDE, #CB2C31);
        }
        
        .rdp-trust-icon {
            color: white;
            font-size: 40px;
            transition: transform 0.3s ease;
        }
        
        .rdp-trust-icon-container:hover .rdp-trust-icon {
            transform: scale(1.2);
        }
        
        .rdp-ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transform: scale(0);
            animation: rdpRippleEffect 0.6s linear;
        }
        
        @keyframes rdpRippleEffect {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
        
        @media (max-width: 1024px) {
            .rdp-pharmacy-section {
                padding: 25px 15px;
            }
            
            .rdp-section-header {
                margin-bottom: 25px;
            }
            
            .rdp-section-title {
                font-size: 2rem;
            }
            
            .rdp-section-subtitle {
                font-size: 1.2rem;
            }
            
            .rdp-content-wrapper {
                gap: 20px;
            }
            
            .rdp-pharmacy-image {
                height: 180px;
            }
            
            .rdp-trust-icon-container {
                width: 90px;
                height: 90px;
            }
            
            .rdp-trust-icon {
                font-size: 36px;
            }
        }
        
        @media (max-width: 768px) {
            .rdp-pharmacy-section {
                padding: 20px 15px;
            }
            
            .rdp-section-header {
                margin-bottom: 20px;
            }
            
            .rdp-section-title {
                font-size: 1.8rem;
            }
            
            .rdp-section-subtitle {
                font-size: 1.1rem;
            }
            
            .rdp-content-wrapper {
                gap: 15px;
            }
            
            .rdp-pharmacy-image {
                height: 150px;
            }
            
            .rdp-trust-icon-container {
                width: 80px;
                height: 80px;
            }
            
            .rdp-trust-icon {
                font-size: 32px;
            }
            
            .rdp-connection-line {
                display: none;
            }
            
            .rdp-moving-dots {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .rdp-pharmacy-section {
                padding: 15px 10px;
            }
            
            .rdp-section-header {
                margin-bottom: 15px;
            }
            
            .rdp-section-title {
                font-size: 1.5rem;
            }
            
            .rdp-section-subtitle {
                font-size: 1rem;
            }
            
            .rdp-title-line {
                width: 60px;
                height: 3px;
            }
            
            .rdp-content-wrapper {
                gap: 10px;
            }
            
            .rdp-pharmacy-image {
                height: 120px;
            }
            
            .rdp-trust-icon-container {
                width: 60px;
                height: 60px;
            }
            
            .rdp-trust-icon {
                font-size: 25px;
            }
        }
        
        @media (max-width: 360px) {
            .rdp-pharmacy-section {
                padding: 12px 8px;
            }
            
            .rdp-content-wrapper {
                gap: 8px;
            }
            
            .rdp-pharmacy-image {
                height: 100px;
            }
            
            .rdp-trust-icon-container {
                width: 50px;
                height: 50px;
            }
            
            .rdp-trust-icon {
                font-size: 20px;
            }
        }
        
/*the css of trusted company banner ends here */


/*reviews section css starts here*/
.reviews-rd-section {
    padding: 85px 0;
}

.reviews-rd-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    min-height: 600px;
    margin: 0 auto;
}

.reviews-rd-image-section {
    flex: 0.8; 
    position: relative;
    min-height: 350px;
    background: linear-gradient(135deg, #0f2b46 0%, #1a3a5f 100%);
    margin-bottom: 20px; 
    margin-top: 20px; 
    margin-left: 20px; 
    margin-right: 10px; 
    border-radius: 10px; 
}

.reviews-rd-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    mix-blend-mode: luminosity;
    border-radius: 18px; 
}

.reviews-rd-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 43, 70, 0.1) 0%, rgba(15, 43, 70, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px; 
    border-radius: 20px; 
}

.reviews-rd-main-title {
    color: white;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px; 
}

.reviews-rd-title-highlight {
    color: #85BDDE;
    display: block;
    font-size: 16px; 
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 15px; 
    position: relative;
    padding-left: 18px;
}

.reviews-rd-title-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background: #85BDDE;
    transform: translateY(-50%);
}

.reviews-rd-testimonials-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.reviews-rd-carousel {
    position: relative;
    flex: 1;
}

.reviews-rd-slide {
    display: none;
    grid-template-columns: 1fr;
    gap: 24px;
    height: 100%;
}

.reviews-rd-slide.reviews-rd-active {
    display: grid;
}

.reviews-rd-card {
    background: #e7eef4;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 0;
    box-shadow: 
        0 8px 32px rgba(133, 189, 222, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    position: relative;
    overflow: hidden;
}

.reviews-rd-card:last-child {
    margin-bottom: 0;
}

/* Removed left border as requested */

.reviews-rd-stars-container {
    margin-bottom: 20px;
}

.reviews-rd-stars {
    color: #1C6DD0;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.reviews-rd-text {
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
    position: relative;
    padding-left: 45px;
    padding-right: 40px;
    text-align: left;
}

.reviews-rd-quote-left {
    position: absolute;
    left: 15px;
    top: -10px;
    color: rgba(133, 189, 222, 0.3);
    font-size: 28px;
    transform: none;
}

.reviews-rd-quote-right {
    position: absolute;
    right: 15px;
    bottom: -15px;
    color: rgba(133, 189, 222, 0.3);
    font-size: 28px;
    transform: none;
}

.reviews-rd-author-info {
    display: flex;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(133, 189, 222, 0.15);
}

.reviews-rd-author-name {
    color: #0f2b46;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.reviews-rd-author-name::before {
    content: '—';
    margin-right: 8px;
    color: #85BDDE;
    font-weight: 800;
}


.reviews-rd-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(133, 189, 222, 0.2);
}

.reviews-rd-navigation {
    display: flex;
    gap: 15px;
}

.reviews-rd-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #85BDDE;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(133, 189, 222, 0.3);
}

.reviews-rd-btn:hover:not(:disabled) {
    background: #CB2C31;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(203, 44, 49, 0.3);
}

.reviews-rd-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #85BDDE;
}

.reviews-rd-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(133, 189, 222, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reviews-rd-container {
        max-width: 1000px;
        min-height: 550px;
    }
    
    .reviews-rd-image-section {
        min-height: 550px;
        flex: 0.8; 
    }
    
    .reviews-rd-main-title {
        font-size: 32px;
    }
    
    .reviews-rd-testimonials-section {
        padding: 50px;
    }
    
    .reviews-rd-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .reviews-rd-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .reviews-rd-image-section {
        min-height: 350px; 
        flex: none;
        height: 350px; 
        margin: 15px 15px 20px 15px;
        flex: none; 
    }
    
    .reviews-rd-image-overlay {
        padding: 30px; 
    }
    
    .reviews-rd-main-title {
        font-size: 32px; 
        text-align: center;
    }
    
    .reviews-rd-title-highlight {
        text-align: center;
        padding-left: 0;
        font-size: 16px; 
    }
    
    .reviews-rd-title-highlight::before {
        display: none;
    }
    
    .reviews-rd-testimonials-section {
        padding: 35px; 
    }
    
    .reviews-rd-text {
        padding-left: 40px;
        font-size: 16px;
    }
    
    .reviews-rd-controls {
        margin-top: 30px;
        padding-top: 15px;
    }
    
    .reviews-rd-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .reviews-rd-container {
        border-radius: 20px;
    }
    
    .reviews-rd-image-section {
        min-height: 300px;
        height: 300px; 
        margin: 12px 12px 18px 12px; 
    }
    
    .reviews-rd-image-overlay {
        padding: 25px; 
    }
    
    .reviews-rd-main-title {
        font-size: 32px; 
    }
    
    .reviews-rd-testimonials-section {
        padding: 25px; 
    }
    
    .reviews-rd-card {
        padding: 25px;
    }
    
    .reviews-rd-text {
        font-size: 16px;
        padding-left: 38px;
        padding-right: 35px;
    }
    
    .reviews-rd-controls {
        margin-top: 25px;
        padding-top: 12px;
    }
    
    .reviews-rd-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .reviews-rd-navigation {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .reviews-rd-image-section {
        min-height: 250px; 
        height: 250px; 
        margin: 10px 10px 15px 10px; 
    }
    
    .reviews-rd-image-overlay {
        padding: 20px;
    }
    
    .reviews-rd-main-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .reviews-rd-title-highlight {
        font-size: 16px; 
        margin-top: 12px;
    }
    
    .reviews-rd-testimonials-section {
        padding: 20px; 
    }
    
    .reviews-rd-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .reviews-rd-text {
        font-size: 15px;
        padding-left: 35px;
        padding-right: 30px;
    }
    
    .reviews-rd-quote-left,
    .reviews-rd-quote-right {
        font-size: 24px;
    }
    
    .reviews-rd-stars {
        font-size: 1.2rem;
    }
    
    .reviews-rd-author-name {
        font-size: 15px;
    }
    
    .reviews-rd-controls {
        margin-top: 20px;
        padding-top: 10px;
        justify-content: center;
    }
    
    .reviews-rd-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .reviews-rd-section {
        padding: 70px 13px 70px 13px;
    }
    
    .reviews-rd-container {
        border-radius: 16px;
    }
    
    .reviews-rd-image-section {
        min-height: 220px;
        height: 220px; 
        margin: 8px 8px 12px 8px; 
    }
    
    .reviews-rd-image-overlay {
        padding: 15px; 
    }
    
    .reviews-rd-main-title {
        font-size: 22px; 
    }
    
    .reviews-rd-title-highlight {
        font-size: 16px; 
        letter-spacing: 2px;
    }
    
    .reviews-rd-testimonials-section {
        padding: 6px; 
    }
    
    .reviews-rd-card {
        padding: 18px;
    }
    
    .reviews-rd-text {
        font-size: 15px;
        padding-left: 30px;
        padding-right: 25px;
        margin-bottom: 20px;
    }
    
    .reviews-rd-quote-left {
        left: 8px;
        top: -8px;
        font-size: 20px;
    }
    
    .reviews-rd-quote-right {
        right: 10px;
        bottom: -12px;
        font-size: 20px;
    }
    
    .reviews-rd-controls {
        margin-top: 15px;
        padding-top: 8px;
    }
    
    .reviews-rd-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}
/*reviews section css ends here*/
        
        
   /*this is the css of learn about us starts here*/
    
    
      .rd-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            margin-top: 90px !important;
        } 
       
        .rd-featured-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        
      
        .rd-featured-section {
            background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../assets/images/banner-image1.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 100px;
        }
        
        @media (max-width: 767px) {
  .rd-featured-section {
    margin-bottom: 70px;
  }
}
        
        .rd-featured-content-wrapper {
            display: flex;
            min-height: 300px;
        }
        
        .rd-featured-text {
            flex: 1;
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .rd-featured-text h2 {
            font-size: 28px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            color: #CB2C31;
        }
        
        .rd-featured-text p {
            font-size: 16px;
            color: #475569;
            margin-bottom: 30px;
            max-width: 500px;
        }
        
        .rd-cta-button {
            display: inline-block;
            background-color: #CB2C31;
            color: white;
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 16px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            align-self: flex-start;
            position: relative;
            overflow: hidden;
            z-index: 1;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            white-space: nowrap;
            border: 2px solid #CB2C31;
            vertical-align: middle;
            backface-visibility: hidden;
            transform: translateZ(0);
        }
        
        .rd-cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }
        
        .rd-cta-button:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .rd-cta-button:hover {
            color: #CB2C31;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(203, 44, 49, 0.2);
        }
        
        .rd-featured-visual {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }
        
        .rd-visual-container {
            width: 250px;
            height: 250px;
            background-color: white;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 3px solid #85BDDE;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .rd-pharmacy-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Cards Section */
        .rd-cards-section {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-bottom: 100px;
        }
        
        .rd-content-card {
            border-radius: 18px;
            padding: 40px 35px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 260px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            overflow: hidden;
        }
        
        /* Color overlay for cards using ::before */
        .rd-content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }
        
        /* Health News Card with #85BDDE overlay */
        .rd-content-card:nth-child(1)::before {
            background: linear-gradient(rgba(133, 189, 222, 0.85), rgba(133, 189, 222, 0.9));
        }
        
        /* Services Card with #CB2C31 overlay */
        .rd-content-card:nth-child(2)::before {
            background: linear-gradient(rgba(203, 44, 49, 0.85), rgba(203, 44, 49, 0.9));
        }
        
        /* Card content should be above the overlay */
        .rd-content-card > div,
        .rd-content-card .rd-card-link {
            position: relative;
            z-index: 2;
        }
        
        .rd-content-card h3 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
        }
        
        .rd-content-card p {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 20px;
        }
        
        .rd-card-link {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            display: inline-flex;
            align-items: center;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            padding: 10px 20px;
            border-radius: 10px;
            border: 2px solid white;
            align-self: flex-start;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            white-space: nowrap;
            background-color: transparent;
        }
        
        .rd-card-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }
        
        .rd-card-link:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .rd-card-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
        }
        
        /* Health News card link hover */
        .rd-content-card:nth-child(1) .rd-card-link:hover {
            color: #85BDDE;
        }
        
        /* Services card link hover */
        .rd-content-card:nth-child(2) .rd-card-link:hover {
            color: #CB2C31;
        }
        
        /* Responsive Design */
        /* Large Desktop */
        @media (max-width: 1200px) {
            .rd-container {
                max-width: 100%;
                padding: 35px 30px;
            }
            
            .rd-featured-text h2 {
                font-size: 28px;
            }
            
            .rd-content-card {
                padding: 35px 30px;
            }
            
            .rd-content-card h3 {
                font-size: 28px;
            }
        }
        
        @media (max-width: 992px) {
            .rd-featured-content-wrapper {
                flex-direction: column;
                min-height: auto;
            }
            
            .rd-featured-text {
                padding: 40px 35px 30px;
            }
            
            .rd-featured-visual {
                padding: 0 35px 40px;
            }
            
            .rd-visual-container {
                width: 220px;
                height: 220px;
            }
            
            .rd-featured-text h2 {
                font-size: 28px;
            }
            
            .rd-cards-section {
                gap: 25px;
            }
            
            .rd-content-card h3 {
                font-size: 28px;
            }
        }
        
        /* Tablet Portrait */
        @media (max-width: 768px) {
            .rd-container {
                padding: 30px 25px;
            }
            
            .rd-cards-section {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            
            .rd-featured-text h2 {
                font-size: 24px;
            }
            
            .rd-featured-text {
                padding: 35px 30px 25px;
            }
            
            .rd-featured-visual {
                padding: 0 30px 35px;
            }
            
            .rd-content-card {
                padding: 35px 30px;
                min-height: 240px;
            }
            
            .rd-content-card h3 {
                font-size: 24px;
            }
            
            .rd-cta-button {
                padding: 14px 28px;
                font-size: 16px;
                align-self: stretch;
                text-align: center;
                max-width: 250px;
                margin: 0 auto;
                display: block;
            }
            
            .rd-card-link {
                padding: 10px 18px;
                font-size: 16px;
                align-self: stretch;
                text-align: center;
                max-width: 200px;
                margin: 0 auto;
                display: block;
            }
        }
        
        /* Mobile Landscape */
        @media (max-width: 576px) {
            .rd-container {
                padding: 25px 20px;
            }
            
            .rd-featured-text {
                padding: 30px 25px 20px;
            }
            
            .rd-featured-text h2 {
                font-size: 22px;
                margin-bottom: 15px;
            }
            
            .rd-featured-text p {
                font-size: 16px;
                margin-bottom: 25px;
            }
            
            .rd-cta-button {
                padding: 14px 24px;
                font-size: 16px;
                align-self: stretch;
                text-align: center;
                max-width: 220px;
                margin: 0 auto;
                display: block;
            }
            
            .rd-featured-visual {
                padding: 0 25px 30px;
            }
            
            .rd-visual-container {
                width: 200px;
                height: 200px;
            }
            
            .rd-content-card {
                padding: 30px 25px;
                min-height: 220px;
            }
            
            .rd-content-card h3 {
                font-size: 22px;
                margin-bottom: 12px;
            }
            
            .rd-content-card p {
                font-size: 16px;
                margin-bottom: 15px;
            }
            
            .rd-card-link {
                padding: 10px 16px;
                font-size: 16px;
                align-self: stretch;
                text-align: center;
                max-width: 180px;
                margin: 0 auto;
                display: block;
            }
        }
        
        /* Small Mobile */
        @media (max-width: 400px) {
            .rd-container {
                padding: 20px 15px;
            }
            
            .rd-featured-content {
                gap: 30px;
            }
            
            .rd-featured-text {
                padding: 25px 20px 15px;
            }
            
            .rd-featured-text h2 {
                font-size: 22px;
            }
            
            .rd-featured-text p {
                font-size: 16px;
                margin-bottom: 20px;
            }
            
            .rd-cta-button {
                padding: 12px 20px;
                font-size: 16px;
                max-width: 200px;
            }
            
            .rd-featured-visual {
                padding: 0 20px 25px;
            }
            
            .rd-visual-container {
                width: 180px;
                height: 180px;
            }
            
            .rd-content-card {
                padding: 25px 20px;
                min-height: 200px;
            }
            
            .rd-content-card h3 {
                font-size: 22px;
            }
            
            .rd-content-card p {
                font-size: 16px;
            }
            
            .rd-card-link {
                padding: 9px 15px;
                font-size: 16px;
                max-width: 170px;
            }
        }
        
    /*this is the css of learn about us ends here*/
    
    
    /*the css  of contact us banner starts here*/
    
    
    .rd-pharmacy-section {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* background */
.rd-background-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rd-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-overlay {
    position: absolute;
    inset: 0;
    background-color: #85BDDE;
    opacity: 0.9;
    z-index: 2;
}

/* floating icons */
.rd-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.rd-medical-icon {
    position: absolute;
    color: #CB2C31;
    font-size: 1.8rem;
    opacity: 0;
    animation: rd-floatUp 15s linear infinite;
}

.rd-medical-icon:nth-child(1){left:5%;animation-delay:0s}
.rd-medical-icon:nth-child(2){left:15%;animation-delay:2s}
.rd-medical-icon:nth-child(3){left:25%;animation-delay:4s}
.rd-medical-icon:nth-child(4){left:35%;animation-delay:6s}
.rd-medical-icon:nth-child(5){left:45%;animation-delay:8s}
.rd-medical-icon:nth-child(6){left:55%;animation-delay:10s}
.rd-medical-icon:nth-child(7){left:65%;animation-delay:12s}
.rd-medical-icon:nth-child(8){left:75%;animation-delay:14s}
.rd-medical-icon:nth-child(9){left:85%;animation-delay:1s}
.rd-medical-icon:nth-child(10){left:95%;animation-delay:3s}

@keyframes rd-floatUp {
    0% {transform: translateY(400px); opacity:0;}
    10% {opacity:0.35;}
    90% {opacity:0.35;}
    100% {transform: translateY(-120px); opacity:0;}
}

/* content */
.rd-content-container {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 80px; /* equal space top & bottom handled by flex */
    color: #fff;
}

.rd-text-content {
    max-width: 600px;
    animation: rd-slideInLeft 0.8s ease-out;
}

.rd-text-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.rd-text-content p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 500px;
}

.rd-button-container {
    animation: rd-slideInRight 0.8s ease-out 0.3s both;
}

/* button — transparent by default */
.rd-contact-btn {
    background: transparent;
    color: #CB2C31;
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #CB2C31;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1);
    box-shadow: 0 8px 20px rgba(203,44,49,0.25);
}

.rd-contact-btn::before {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    background:#CB2C31;
    border-radius:50%;
    transform:translate(-50%,-50%);
    transition: width 0.6s, height 0.6s;
    z-index:-1;
}

.rd-contact-btn:hover::before {
    width:400px;
    height:400px;
}

.rd-contact-btn:hover {
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(203,44,49,0.4);
}

.rd-contact-btn i {
    margin-right:8px;
}

/* animations */
@keyframes rd-slideInLeft {
    from {opacity:0; transform:translateX(-30px);}
    to {opacity:1; transform:translateX(0);}
}

@keyframes rd-slideInRight {
    from {opacity:0; transform:translateX(30px);}
    to {opacity:1; transform:translateX(0);}
}

@media (max-width: 1400px) {
    .rd-content-container {
        padding: 0 70px;
    }
}

@media (max-width: 1280px) {
    .rd-text-content h2 {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    .rd-content-container {
        padding: 0 60px;
    }

    .rd-contact-btn {
        padding: 16px 40px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .rd-text-content h2 {
        font-size: 32px;
    }

    .rd-text-content p {
        font-size: 16px;
    }

    .rd-medical-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .rd-content-container {
        padding: 0 50px;
    }

    .rd-text-content {
        max-width: 520px;
    }
    
    .rd-text-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .rd-pharmacy-section {
        height: auto;
        padding: 60px 0;
    }

    .rd-content-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
        padding: 0 35px;
    }

    .rd-text-content {
        max-width: 100%;
    }

    .rd-text-content h2 {
        font-size: 32px;
    }

    .rd-button-container {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .rd-text-content h2 {
        font-size: 26px;
    }

    .rd-contact-btn {
        width: 100%;
        max-width: 320px;
    }

    .rd-medical-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .rd-content-container {
        padding: 0 25px;
    }

    .rd-text-content p {
        font-size: 16px;
    }
    
    .rd-text-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .rd-text-content h2 {
        font-size: 26px;
    }

    .rd-contact-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .rd-medical-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .rd-text-content h2 {
        font-size: 22px;
    }

    .rd-text-content p {
        font-size: 15px;
    }

    .rd-contact-btn {
        width: 100%;
        padding: 13px 24px;
        font-size: 16px;
    }
}

     
    /*the css  of contact us banner ends here*/
    
    
    
  /*   Over The Counter Section Starts here*/
 
#RD-over-the-counter {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.RD-header-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    text-align: center;
}

.RD-main-title {
    color:#0F2B46;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.RD-main-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #85BDDE, #CB2C31);
    margin: 15px auto 0;
    border-radius: 2px;
}

.RD-description {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.RD-main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 60px;
}

.RD-main {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.RD-carousel-box {
    position: relative;
    height: 360px;
    overflow: hidden;
    width: 100%;
}

.RD-track {
    display: flex;
    height: 100%;
    align-items: center;
    transition: transform 0.8s ease;
    will-change: transform;
}

.RD-item {
    width: 25%;
    height: 320px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.RD-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.RD-item:hover img {
    transform: scale(1.05);
}

.RD-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(203, 44, 49, 0.95) 100%);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-radius: 8px;
}

.RD-item:hover .RD-overlay {
    opacity: 1;
    transform: translateY(0);
}

.RD-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
}

.RD-arrow {
    width: 50px;
    height: 50px;
    background: #85BDDE;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.RD-arrow:hover {
    background: #CB2C31;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.RD-prev-arrow {
    left: 0;
}

.RD-next-arrow {
    right: 0;
}

.RD-indicators {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.RD-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.RD-indicator.active {
    background-color: #CB2C31;
    transform: scale(1.3);
}

.RD-indicator:hover {
    background-color: #85BDDE;
}

@media (max-width: 1200px) {
    .RD-main-container {
        padding: 0 50px;
    }
    
    .RD-carousel-box {
        height: 340px;
    }
    
    .RD-item {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .RD-main-container {
        padding: 0 40px;
    }
    
    .RD-carousel-box {
        height: 320px;
    }
    
    .RD-item {
        height: 280px;
        margin: 0 8px;
    }
}

@media (max-width: 992px) {
    .RD-main-title {
        font-size: 2.2rem;
    }
    
    .RD-description {
        font-size: 1.1rem;
    }
    
    .RD-item {
        height: 260px;
        margin: 0 6px;
    }
    
    .RD-overlay h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    #RD-over-the-counter {
        padding: 60px 0;
    }
    
    .RD-header-container {
        margin-bottom: 40px;
    }
    
    .RD-main-title {
        font-size: 2rem;
    }
    
    .RD-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .RD-main-container {
        padding: 0 40px;
    }
    
    .RD-carousel-box {
        height: 320px;
    }
    
    .RD-item {
        height: 280px;
        margin: 0 4px;
    }
    
    .RD-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to bottom, transparent 30%, rgba(203, 44, 49, 0.9) 100%);
    }
    
    .RD-overlay h3 {
        font-size: 1.1rem;
        padding-bottom: 10px;
    }
    
    .RD-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .RD-main-title {
        font-size: 1.8rem;
    }
    
    .RD-description {
        font-size: 0.95rem;
    }
    
    .RD-main-container {
        padding: 0 35px;
    }
    
    .RD-carousel-box {
        height: 300px;
    }
    
    .RD-item {
        height: 260px;
    }
    
    .RD-overlay h3 {
        font-size: 1rem;
        padding: 15px 10px 8px;
    }
}

@media (max-width: 576px) {
    .RD-header-container {
        padding: 0 15px;
    }
    
    .RD-main-title {
        font-size: 1.7rem;
    }
    
    .RD-description {
        font-size: 0.9rem;
    }
    
    .RD-main-container {
        padding: 0 30px;
    }
    
    .RD-carousel-box {
        height: 280px;
    }
    
    .RD-item {
        height: 240px;
        margin: 0 2px;
    }
    
    .RD-overlay {
        padding: 15px 10px;
    }
    
    .RD-overlay h3 {
        font-size: 0.95rem;
    }
    
    .RD-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #RD-over-the-counter {
        padding: 50px 0;
    }
    
    .RD-main-title {
        font-size: 1.6rem;
    }
    
    .RD-description {
        font-size: 0.85rem;
    }
    
    .RD-main-container {
        padding: 0 25px;
    }
    
    .RD-carousel-box {
        height: 260px;
    }
    
    .RD-item {
        height: 220px;
    }
    
    .RD-overlay h3 {
        font-size: 0.9rem;
        padding: 12px 8px 6px;
    }
    
    .RD-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .RD-main-title {
        font-size: 1.5rem;
    }
    
    .RD-description {
        font-size: 0.8rem;
    }
    
    .RD-main-container {
        padding: 0 20px;
    }
    
    .RD-carousel-box {
        height: 240px;
    }
    
    .RD-item {
        height: 200px;
    }
    
    .RD-overlay h3 {
        font-size: 0.85rem;
        padding: 10px 6px 5px;
    }
}

  /*-Over The Counter Section ends here*/
    
    
    
    
    /*faq section css starts here */
     
   .faq-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .faq-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .faq-header h1 {
            font-size: 2.8rem;
            font-weight: 700;
            background: linear-gradient(90deg, #064569 0%, #01101a 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .faq-header p {
            font-size: 1.1rem;
            color: #666;
            max-width: 500px;
            margin: 0 auto 30px;
            line-height: 1.6;
        }

        .header-icon {
            font-size: 2.5rem;
            color: #CB2C31;
            margin-bottom: 15px;
            display: inline-block;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
        }

        .action-btn {
            padding: 14px 28px;
            border: none;
            border-radius: 50px;
            background: #f0f8ff;
            color: #333;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(133, 189, 222, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        .action-btn:hover {
            background: linear-gradient(90deg, #85BDDE 0%, #5da8da 100%);
            color: white;
            box-shadow: 0 6px 15px rgba(133, 189, 222, 0.3);
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #eef7ff;
            opacity: 0;
            transform: translateY(30px);
        }

        .faq-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-question {
            padding: 22px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .faq-question:hover {
            background-color: #f8fbff;
        }

        .question-text {
            display: flex;
            align-items: center;
            gap: 16px;
            font-weight: 600;
            font-size: 1.08rem;
            color: #333;
        }

        .question-icon {
            color: #CB2C31;
            font-size: 1.3rem;
            width: 30px;
            text-align: center;
        }

        .toggle-icon {
            color: #888;
            font-size: 1.2rem;
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .faq-answer {
            padding: 0 28px;
            max-height: 0;
            overflow: hidden;
            color: #555;
            line-height: 1.7;
            transition: all 0.5s ease;
            border-top: 1px solid transparent;
        }

        .faq-item.active .faq-answer {
            padding: 0 28px 24px;
            max-height: 300px;
            border-top-color: #eef7ff;
        }

        .faq-item.active .toggle-icon {
            transform: rotate(180deg);
            color: #85BDDE;
        }

        @media (max-width: 768px) {
            .faq-container {
                max-width: 100%;
                padding: 25px 15px;
            }
            .faq-header h1 {
                font-size: 2rem;
            }
            .faq-header p {
                font-size: 1rem;
                padding: 0 15px;
            }
            .action-buttons {
                flex-wrap: wrap;
                justify-content: center;
                padding-bottom: 10px;
                margin-left: 0;
                margin-right: 0;
                padding-left: 0;
                padding-right: 0;
            }
            .action-btn {
                flex-shrink: 0;
                width: auto;
                max-width: none;
                justify-content: center;
            }
            .faq-question {
                padding: 18px 20px;
            }
            .question-text {
                font-size: 1rem;
                gap: 12px;
            }
            .question-icon {
                font-size: 1.1rem;
                width: 24px;
            }
            .faq-answer {
                padding: 0 20px;
            }
            .faq-item.active .faq-answer {
                padding: 0 20px 18px;
            }
        }

        @media (max-width: 640px) {
            .faq-container {
                padding: 20px 10px;
            }
            .faq-header h1 {
                font-size: 1.8rem;
                margin-bottom: 10px;
            }
            .header-icon {
                font-size: 2rem;
            }
            .action-buttons {
                gap: 15px;
            }
            .action-btn {
                padding: 12px 20px;
                font-size: 0.95rem;
            }
            .faq-list {
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            .faq-header h1 {
                font-size: 1.5rem;
            }
            .header-icon {
                font-size: 1.8rem;
                margin-bottom: 10px;
            }
            .action-buttons {
                margin-bottom: 30px;
            }
            .action-btn {
                padding: 10px 18px;
                font-size: 0.9rem;
            }
            .question-text {
                gap: 10px;
            }
            .toggle-icon {
                font-size: 1rem;
            }
        }

        @media (max-width: 360px) {
            .faq-header h1 {
                font-size: 1.4rem;
            }
            .faq-header p {
                font-size: 0.9rem;
            }
            .action-btn {
                padding: 9px 16px;
                font-size: 0.85rem;
            }
            .faq-question {
                padding: 14px 16px;
            }
            .question-text {
                font-size: 0.9rem;
            }
            .faq-answer {
                font-size: 0.9rem;
                line-height: 1.6;
            }
        }
     
         /*faq section css ends here */
        