/********** Template CSS **********/
:root {
    --primary: #fe8b14;
    --secondary: #f44d81;
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
        font-size: 15px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 63%;
        object-fit: cover;
        margin-top: 9rem;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 30px;
    margin-bottom: 30px;
}

/* Grid */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* Box */
.service-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
}

/* Image */
.service-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Title */
.service-box h3 {
    padding: 15px;
    font-size: 18px;
}

/* View More Button */
.view-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 12px 28px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: 0.3s;
}

.view-btn:hover {
    background: #0056b3;
}
@media(max-width:768px){
    .d1{
        font-size: 8px;
    }
    .display-2 {
        margin-top: 7rem;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
}

.why-choose-us {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature-box {
  
  padding: 25px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-8px);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 18px;
  color: #ffffff;
}

.achievements {
    margin-top: 5rem;
  padding: 80px 20px;
  text-align: center;
  background: white;
  color: #fff;
}
.counter{
    color: white;
}

.achievements h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.achievement-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  width: 260px;
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: 0.4s;
  transform: translateY(50px);
  opacity: 0;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Animation */
.card.show {
  transform: translateY(0);
  opacity: 1;
}

.card h3 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: bold;
}

.card p {
  font-size: 18px;
  color: #f44d81;
}



/* abour clinic page */


.banner {
  height: 60vh;
   background-image: url('img/b.jpeg');
  background-attachment: fixed; /* Key property for fixed background */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents image tiling */
  background-size: cover; 
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-top: 10rem;
}

.overlay h1 {
  font-size: 48px;
}

/* About */
.about {
  padding: 60px 20px;
  text-align: center;
}

/* Services */
.services {
  padding: 60px 20px;
  background: url('../img/bg-icon.png') center/cover no-repeat;
  
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;

}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
}

.service-card i {
  font-size: 35px;
  color: #007bff;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-10px);
}

/* Details */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  padding: 50px;
}

.detail-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mission */
.mission {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 50px;
  flex-wrap: wrap;
}

.mission .box {
  background: linear-gradient(135deg,#4facfe,#00f2fe);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 250px;
  text-align: center;
}

.mission i {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Commitment */
.commitment {
  background: #54aae73d;
  color: #fff;
  padding: 60px;
  text-align: center;
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.commit-grid div {
  background: #222;
  padding: 20px;
  border-radius: 8px;
}


/* new section  */


.section12{
  max-width:1350px;
  margin:50px auto;
}

.card2{
  background:#fff;
  border-radius:15px;
  padding:30px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  transition:0.4s;
}

.card2:hover{
  transform:translateY(-5px);
}

h2{
  text-align:center;
  color:#1e3a8a;
  margin-bottom:25px;
}

.details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:10px;
  background:#f1f5ff;
  transition:0.3s;
}

.item:hover{
  background:#e0ebff;
}

.icon{
  font-size:20px;
  color:#1e90ff;
}

.text strong{
  display:block;
  font-size:14px;
  color:#555;
}

.text span{
  font-size:15px;
  color:#000;
}

@media(max-width:600px){
  .details{
    grid-template-columns:1fr;
  }
}

/* lldkjflkd */

.bg-white1{
    background-color: #f25654;
}
.bg-white2{
    background-color:#75a843 ;
}
.bg-white3{
    background-color:#068bbd ;
}
.b1{
    background-color:#f25654 ;
}
.b2{
    background-color:#75a843 ;
}
.b3{
    background-color:#068bbd ;
}
.b4{
    background-color:#fbcb40 ;
}
.b5{
    background-color:#f25654 ;
}
.b6{
    background-color:#c3b693 ;
}

.expertise-section {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

.expertise-section h2 {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 30px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.expertise-card {
  background: #f0fdf4;
  padding: 20px;
  border-radius: 12px;
  font-size: 15px;
  color: #333;
  border: 1px solid #dcfce7;
  transition: 0.3s;
}

.expertise-card:hover {
  transform: translateY(-5px);
  background: #22c55e;
  color: #fff;
}


.approach-section {
  padding: 60px 20px;
  background: linear-gradient(120deg, #ecfeff, #f0fdf4);
  text-align: center;
}

/* Approach Card */
.approach-card {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.approach-card h2 {
  color: #1e3a8a;
  margin-bottom: 15px;
}

.approach-card p {
  color: #555;
  line-height: 1.7;
}

/* Membership */
.membership-card {
  max-width: 600px;
  margin: auto;
  background: #22c55e;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.membership-card h3 {
  margin-bottom: 10px;
}

/* Appointment */
.appointment-box {
  background: linear-gradient(90deg, #f97316, #ef4444);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}

.appointment-box h2 {
  margin-bottom: 10px;
}

.appointment-box p {
  margin-bottom: 20px;
}

.call-btn {
  display: inline-block;
  background: #fff;
  color: #ef4444;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.call-btn:hover {
  background: #000;
  color: #fff;
}

.open-btn {
  padding: 12px 25px;
  background: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Popup Background */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

/* Popup Box */
.popup-content {
  background: #fff;
  padding: 25px;
  width: 350px;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.8);}
  to {opacity: 1; transform: scale(1);}
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Form */
input, textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit */
.submit-btn {
  background: #25D366;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}


/* aboutus sss */

.about-section {
  padding: 50px 20px;
  text-align: center;
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Cards */
.about-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-card {
  background: #fff;
  width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-8px);
}

/* Image */
.about-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content */
.about-content {
  padding: 20px;
}

.about-content h3 {
  margin: 10px 0;
  font-size: 20px;
}

.about-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Button */
.view-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.view-btn:hover {
  background: #0056b3;
}

/* Responsive */
@media(max-width:768px){
  .about-container {
    flex-direction: column;
    align-items: center;
  }
}



/* test section  */

 

/* Section */
.section1 {
  text-align: center;
  padding: 60px 20px;
}

.section1 h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section1 h2 span {
  color: green;
}

.section1 p {
  color: #666;
  max-width: 600px;
  margin: auto;
}

/* Cards Row */
.row1 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Card */
.card {
  width: 180px;
  height: 284px;
  border-radius: 15px;
  color: #fff;
  padding: 20px;
  position: relative;
  text-align: center;
  transition: 0.3s;
}

/* Circle Icon */
.icon-circle {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 50%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon-circle img {
  width: 100px;
}

/* Divider */
.line {
  width: 40px;
  height: 3px;
  background: #fff;
  margin: 15px auto;
}

/* Text */
.card h4 {
  font-size: 15px;
  line-height: 1.4;
  color:white;
}

/* Colors */
.red { background: #f15a5a; }
.green { background: #6ea84a; }
.blue { background: #1c88a6; }
.purple { background: #7b57c2; }
.orange { background: #f4a300; }
.teal { background: #1ca3a3; }
.pink { background: #f45b93; }

/* Hover */
.card:hover {
  transform: translateY(-10px);
}

/* Responsive */
@media(max-width:768px){
  .row {
    flex-wrap: wrap;
  }
}
/* footer p */
.p1{
  text-align: center;
}
.p1 a{
  color: red;
}