*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --dark: #000;
    --light: #fff;
    --primary: rgba(15, 146, 15, 0.753);
    --secondary: rgba(37, 11, 153, 0.637);
    --button: linear-gradient(90deg, rgba(4, 202, 4, 0.61), rgba(53, 22, 194, 0.616));
    --icon:  linear-gradient(to left,rgba(0, 128, 0, 0.692),rgba(6, 58, 156, 0.87));
}

html {
  scroll-behavior: smooth;       /* smooth scroll */
  scroll-padding-top: 80px;      /* adjust to your navbar height */
}

body,h1,p{
    color: var(--dark);
}

.section-heading h4 {
    font-size: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.section-heading h4::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--button);
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 2px;
    overflow: hidden;
}



p{
    font-size: 16px !important;
}

section{
    padding: 2rem 0;
}

.navbar{
    background-color: var(--light);
}

/* navbar css */
.navbar .navbar-brand img {
    width: 80%;
    height: auto;
}

.navbar.scrolled {
  background: var(--light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar.scrolled .navbar-nav .dropdown-menu {
  top: 125%;
}

/* Navbar link text */
.navbar .nav-link {
    color: #000000 !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

/* Navbar link hover */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #0865a3 !important; /* Bootstrap warning yellow */
}



/* Hero Section Css */

.hero{
    padding-top: 10rem;
}

.hero-main{
    vertical-align: center;
}

.hero .hero-container h1{
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero .hero-container p{
    color: var(--primary);
    font-weight: 600;
}

.hero .hero-para h4{
    font-weight: 700;
}

.hero .hero-image img {
    border-radius: 20px;
    max-width: 70%;
}

.hero .second-hero{
    margin-top: 5rem;
}

/* .hero-main a{
    background-color: var(--button);
} */

.btn-primary{
    color: #fff !important;
    position: relative;
    z-index: 0;
    background: var(--icon) !important;
    border: 1px solid #ffffff47;
    padding: 10px 15px !important;
    letter-spacing: 1px;
}
/* Service Section Css */

.Service .service-item{
    border: 1px solid rgba(128, 128, 128, 0.288);
    border-radius: 8px;
    padding: 15px;
    background: var(--light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

/* .Service .service-item:hover{
    box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
        background: linear-gradient(to left, #0271f0a2, #c8e3e9);
        border-left: 1px solid rgba(0, 0, 255, 0.308);;

} */


.Service .service-item .service-icon{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background: var(--icon);
     display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 10px;
      text-align: center;
      margin-right: 20px;
      margin-bottom: 20px;
}

.Service .service-item .service-icon i{
    font-size: 30px;
}

.Service .service-item .service-title h3{
    font-size: 20px;
    font-weight: 700;
    
}

.Service .appointment{
    background-color: rgba(196, 192, 192, 0.226);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.Service .appointment button{
    background-color: var(--button);
    color: #fff;
    width: 50%;
}

.Service .Service-heading{
    font-weight: 700;
    font-size: 30px;
}


/* About Section Start */



/* About Section End */

/* Post Section Start */

.post .post-heading-h1{
    text-transform: uppercase;
    font-weight: 600;
}

.post .post-heading-h3{
    font-weight: 600;
}

.post-card{
    border: 1px solid rgba(128, 128, 128, 0.288);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.post-card:hover{
    box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.post-icon{
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--icon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 22px;
    margin-right: 15px;
    padding: 10px;
}

.post-icon i{
    font-size: 30px;
}

.post-title{
    font-size: 22px;
    margin-bottom: 3px;
    font-weight: 600;
}

.post-date{
    font-size: 0.85rem;
    color: gray;  
}

.post-text{
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}

/* Testimonial css */

.testimonial .testimonial-header{
    background-color: rgba(190, 184, 184, 0.137);
    padding: 40px 40px 0 40px;
    border-radius: 20px 20px 0 0;
}

.testimonial .testimonial-header .testimonial-title h2{
    text-transform: uppercase;
    font-weight: 700;
}

.testimonial .testimonial-header .testimonial-title h4{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}



.testimonial .testimonial-image img{
    height: 200px;
    width: 200px;
    border-radius: 10px;
    margin-bottom: -20px;
}

 .testimonial-card {
      border: none;
      border-radius: 15px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease-in-out;
    }
    .testimonial-card:hover {
      transform: translateY(-5px);
    }
    .testimonial-card img {
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      height: 220px;
      object-fit: cover;
    }

    .testimonial-slider h3{
        text-transform: uppercase;
        font-weight: 700;
    }
    .testimonial-para {
      font-size: 16px;
      color: #666;
      margin-bottom: 8px;
    }
    .client-name {
      font-size: 18px;
      font-weight: 600;
      color: #222;
    }

    .swiper-button-next,
.swiper-button-prev {
  position: static;       /* remove absolute positioning */
  margin-top: 20px;       /* add spacing */
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #333;
}

/* align them horizontally centered */
.swiper-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Campaign-section start */

.Campaign-section{
    background-color: rgba(233, 233, 218, 0.507);
    padding: 4rem 0;
}


.compaign-title{
    text-align: center;
}

.compaign-title h4{
    text-transform: uppercase;
    font-weight: 700;
}

.compaign-title h1{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    width: 80%;
    margin: auto;
}

/* contact Section */


    .contact-heading{
        font-weight: 700;
    font-size: 30px;
    }

    .contact-form{
        border: 1px solid rgba(128, 128, 128, 0.288);
    }
    .contact-card {
      background: var(--light);
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 15px;
      text-align: center;
      transition: transform 0.2s;
      margin-top: 30px;
      min-height: 150px;
    }

    .contact-image img{
        border-radius: 10px;
    }
    .contact-card:hover {
      transform: translateY(-5px);
    }
    .contact-card i {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 10px;
    }
    .btn-info{
        background: var(--icon) !important;
    }

    /* footer Section */

     .footer-bg {
    background: url('../image/footer-bg.avif') no-repeat center center/cover;
    position: relative;
}

/* Optional: dark overlay for readability */
.footer-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.288);   
    z-index: 0;
}

.footer-bg .container {
    position: relative;
    z-index: 1; /* keeps text above overlay */
}

.footer-icon{
    height: 30px;
    width: 30px;
     background: var(--icon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
}

.footer-icon i{
    text-align: center;
}

    .copyright{
        background-color: rgba(128, 128, 128, 0.301);
    }
/* Responsive Css */

@media (max-width : 320px) {
    .hero{
        padding-top: 7rem;
    }

    .testimonial .testimonial-header{
        padding: 10px 10px 0 10px;
        border-radius: 8px 8px 0 0;
    }

    .testimonial .testimonial-image img{
        height: 100px;
        width: 100px;
        margin-bottom: -150px ;
    }

    
}

@media (max-width : 375px) {
    .testimonial .testimonial-header{
        padding: 20px;
        border-radius: 8px 8px 0 0;
    }
    .testimonial .testimonial-image img{
        height: 100px;
        width: 100px;
        margin-bottom: -100px ;
    }

}
@media (min-width: 376px) and (max-width : 425px) {
 .testimonial .testimonial-image img{
       height: 100px;
       width: 100px;
        margin-bottom: -100px ;
    }

    .testimonial .testimonial-header{
        padding: 25px ;
        border-radius: 8px 8px 0 0;
    }

}

@media (max-width : 576px) {
    section{
        padding: 1rem 0;
    }

    
     .hero{
        padding-top: 7rem;
    }

    .hero .hero-container h1{
        font-size: 40px;
    }

    .post-icon{
        width: 40px;
        height: 40px;
        border-radius: 3px;
    }
    .post-icon i{
        font-size: 15px;
    }

    .post-title{
        font-size: 16px;
    }

    

 

    .testimonial .testimonial-header .testimonial-title h2{
        font-size: 16px;
    }

    .testimonial .testimonial-header .testimonial-title h4{
        font-size: 12px;
    }

    

    .compaign-title h4{
        padding-top: 20px;
    }
.compaign-title h1{
        font-size: 40px;
    }
    
}

@media (max-width : 767px) {
    .hero .hero-container h1{
        font-size: 40px;
    }
    .hero-image {
    padding-top: 20px;
}
    .contact-form{
        margin-top: 1rem;
    }

    .compaign-title{
        margin-top: 20px;
    }

    .compaign-title h1{
        font-size: 40px;
    }

        .compaign-img {
        margin: auto;
        width: 60%;
    }
    .contact-card {
        margin-top: 20px;
    }
    
    .navbar .nav-link {
    color: #000000 !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
}
}

@media (max-width : 991px) {

    .compaign-title h1{
        font-size: 40px;
    }
    
.hero .hero-container h1{
    font-size: 40px;
}

.contact-form lebel{
    font-size: 14px;
}

.hero .hero-image img {
    max-width: 100%;
}

.form-label {
    margin-bottom: 0 !important;
}

.form-control {
  
    padding: .175rem .55rem !important;
}
}