/* Hero Section */
.text-style{
    text-align: justify;

}
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

/* Same Size for Video and Image */
.video-container iframe,
.image-container {
    width: 100%;
    height: 500px; /* Set the same height for both */
    border-radius: 10px;
    object-fit: cover; /* Ensures proper scaling for images */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.video-container {
    position: relative;
    height: 500px; /* Matches the height of the image */
}




/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-container iframe,
    .image-container {
        height: 300px; /* Reduced height for smaller devices */
    }


}


  /*  */
  .button-color{
    background-color: #7bcc70;
}
.button-color:hover{
    background-color: #2c6592;
}

/* avatar */
 .avatar-image {

  transition: transform 0.3s;
}

.avatar-image:hover {
  transform: scale(1.1);
}
.avatar-container:hover .avatar-image {
  transform: rotate(360deg);
}
/* service */
.section-title h3:after {
position: absolute;
content: "";
display: block;
height: 2px;
width: 70px;
background: #333;
margin: 0 auto;
left: 0;
right: 0;
bottom: -6px;
}
.section-title h3 {
color: #333;
font-size: 35px;
margin: 0;
text-transform: capitalize;
position: relative;
padding: 0 0 20px;
}
.section-title span {
color: var(--main-color-one);
}
.section-title {
margin-bottom: 0px !important;
}
.section-title span.line {
height: 10px;
width: 10px;
background: #333;
display: block;
margin: 0 auto;
border-radius: 30px;
}
.section-title span {
color: var(--main-color-one);
}
.section-padding {
padding: 30px 0;
position: relative;
float: left;
width: 100%;
}

/* staff member */






/* Team Slider General Styling */
.team-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    flex-wrap: nowrap; /* Avoid wrapping unless on smaller screens */
}

.single-doctor {
    position: relative;
    border-radius: 10px;
    text-align: center;
    height: 50vh; /* Dynamic height based on viewport */
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.single-doctor:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.single-doctor img {
    width: 100%;
    height: 78%; /* 60% of the container */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Doctor Info Section as Button */
.single-doctor-info {
    padding: 5px;
    /* background-color: #fff; */
    flex: 1; /* Dynamically adjusts height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-btn {
    background-color: #7bcc70;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.doctor-btn span {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

.doctor-btn:hover {
    background-color: #0056b3;
}

/* Doctor Mask Styling */
.single-doctor-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.single-doctor:hover .single-doctor-mask {
    opacity: 1;
    visibility: visible;
}

.single-doctor-mask-inner {
    text-align: center;
    padding: 20px;
}

.single-doctor-mask h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.single-doctor-mask p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ddd;
}

.single-doctor-mask ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-doctor-mask ul li {
    margin-bottom: 10px;
}

.single-doctor-mask ul li a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #7bcc70;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.single-doctor-mask ul li a:hover {
    background-color: #0056b3;
}

/* Owl Carousel Styling */
.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.owl-theme .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-theme .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 5px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.4s ease;
}

.owl-theme .owl-dots .owl-dot.active {
    background-color: #7bcc70;
}

/* Responsive Styling */
@media (max-width: 1200px) {
    .single-doctor {
        height: 45vh; /* Adjust height for medium screens */
    }

    .single-doctor img {
        height: 100%; /* Maintain proportional scaling */
    }

    .single-doctor-info {
        height: auto;
    }
}

@media (max-width: 768px) {
    .team-slider {
        flex-wrap: wrap; /* Allow wrapping */
        gap: 15px; /* Adjust gap */
    }

    .single-doctor {
        width: 100%; /* Full width */
        height: 60vh; /* Adjust height for small screens */
        margin-bottom: 20px;
    }

    .single-doctor img {
        height: 100%; /* Maintain proportional scaling */
    }
}

@media (max-width: 576px) {
    .single-doctor {
        height: 100%; /* Further reduce height for extra small screens */
    }

    .single-doctor img {
        height: 100%; /* Maintain proportional scaling */
    }
}







/* end staff css */
/* form */
/* General Form Styling */
#contact .appointment-form {
background: #ffffff;
border-top: 7px solid #034ea2;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
padding: 30px;
}

#contact .form-control {
border-radius: 5px;
border: 1px solid #ddd;
padding: 10px 15px;
}

#contact .btn-primary {
background-color: #034ea2;
border: none;
padding: 10px 15px;
transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact .btn-primary:hover {
background-color: #7bcc70;
transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
#contact .form-group {
margin-bottom: 15px;
}

#contact .form-control {
padding: 10px;
}

#contact .btn-primary {
width: 100%;
}
}


/* WHAT SAY PAITENT */
/* Base Styles */
.single-testimonial {
display: flex;
align-items: center;
margin-bottom: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-testimonial:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
background: none;
padding-left: 5px;
border-radius: 10px;


}

.single-testimonial-img {
flex-shrink: 0;
margin-right: 20px;
}

.single-testimonial-text-wrap {
flex-grow: 1;
background: #f1f2f4;
border-radius: 10px;
padding: 30px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.single-testimonial-text-wrap:hover {
background-color: #7bcc70;
color: #fff;
}

.custom-img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 50%;
border: 3px solid #007bff;
transition: transform 0.3s ease;
}

.custom-img:hover {
transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
.single-testimonial {
    flex-direction: column;
    text-align: center;
}

.single-testimonial-img {
    margin-right: 0;
    margin-bottom: 15px;
}

.single-testimonial-text-wrap {
    padding: 15px;
}
}

@media (max-width: 767px) {
.single-testimonial {
    margin-bottom: 30px;
}

.single-testimonial-img {
    width: 100px;
    height: 100px;
}
}
/* Section Padding */
.section-padding {
padding: 30px 0 !important;
}

/* Card Styles */
/* Card Styles */
/* Card Styles */
.card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    max-height: 100%; /* Ensure proper scaling on smaller devices */
}

.card-img {
    flex: 1; /* Ensures equal proportion of the image */
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-mg {
    width: 100%;
    height: 100%; /* Allow image to fully stretch inside the container */
    object-fit: cover; /* Keeps aspect ratio intact while filling the space */
    border-radius: 0;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* Button */
.card-content .btn {
    background-color: var(--main-color-one);
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-content .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .card {
        flex-direction: column; /* Ensure proper stacking for smaller screens */
    }
    .card-img {
        height: 200px; /* Adjust height for better display on mobile */
    }
}


/* footer section */
/* Footer section */
.footer-section-title h5 {
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    line-height: 2; /* Ensures consistent spacing for title */
}

.footer-social ul {
    display: flex; /* Ensures the list items are inline */
    padding: 0;
    margin: 0;
    line-height: 2; /* Adds space between list items */
}

.footer-social ul li {
    margin-right: 10px; /* Adds spacing between icons */
    line-height: 2; /* Ensures proper spacing for each item */
}

.footer-social ul li a {
    color: #333; /* Default icon color */
    font-size: 24px; /* Adjust size of icons */
    text-decoration: none;
    line-height: 2; /* Aligns icons with text for consistency */
}

.footer-social ul li a:hover {
    color: #007bff; /* Change color on hover */
}

.footer-widget h5 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 2; /* Adds spacing for heading text */
}
.footer-widget ul.quick-link-list li a {
    color: #ccc;
}
footer .copyright {
    background: #222;
    padding: 20px 0;
}
.contact-button:hover {
    background-color: #003785;
    color: #fff;
    transition: all 0.3s ease;
  }

  .copyright-bg{
    background-color: #222222;
  }
.lnr {
    font-family: Linearicons-Free;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon{
    font-size: large;
}
.single-flick-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa; /* Light background color for better contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slight shadow for design */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.single-flick-post img {
    width: 100%; /* Ensure the image takes full width */
    border-radius: 8px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.single-flick-post:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.single-flick-post img:hover {
    transform: scale(1.1); /* Zoom effect on image hover */
}

.single-flick-post a {
    display: block;
    width: 100%;
}

.flick-post .col-lg-4, .flick-post .col-md-4, .flick-post .col-sm-4 {
    padding: 10px; /* Ensure consistent padding between the columns */
}

/* Footer Top PNG */
/* .single-doc-promo {
    padding: 50px 0;
    float: left;
    width: 100%;
}
.bg-theme {
    background-color: #034ea2 !important;
}
.single-doc-promo-box-img {
    bottom: -50px;
}
.single-doc-promo-box {
    border: 2px solid #fff;
    padding: 30px;
    display: flex;
    align-items: center;
}
.single-doc-promo-btn {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    position: relative;
    background: #fff;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.single-doc-promo-btn {
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 31px;
    border-radius: 30px;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.section-padding {
    padding: 100px 0;
    position: relative;
    float: left;
    width: 100%;
} */

/* General Styles */
.contact-section {
    background-color: var(--main-color-one);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 16px;
    flex-wrap: wrap; /* Ensures items wrap on smaller screens */
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap; /* Allows flex items to wrap on smaller screens */
}
.video-container {
    position: relative;
    display: inline-block;
}

#customVideo {
    width: 100%;
    border-radius: 8px; /* Adjust based on your style */
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #008000bf;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 13px 25px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    height: 80px;
    width: 80px;
}

.custom-play-button:hover {
    opacity: 1;
}

#contact .btn-primary {
    background-color: #7bcc70;
    border: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#contact .appointment-form {
    background: #ffffff;
    border-top: 7px solid #7bcc70;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}
.doctor-image img {
    width: 350px;
    height: 350px;
    border-radius: 8px;
    bottom: -50px;
}

.contact-info {
    padding: 20px;
    border: 2px solid #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 0;
    color: white;
    line-height: 1.6;

}

.contact-info h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: white;
}

.phone-number {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.phone-icon {
    margin-right: 10px;
}

.contact-button {
    background-color: #fff;
    color: #003785;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
}

/* Responsive Styles */

/* For smaller screens (max-width: 768px) */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack the items vertically */
        align-items: center;
        text-align: center; /* Center the text */
    }

    .doctor-image img {
        width: 200px; /* Adjust the image size on smaller screens */
    }

    .contact-info {
        max-width: 100%; /* Allow contact info to take full width on smaller screens */
        padding: 8px;
    }

    .contact-info h2 {
        font-size: 1.rem; /* Reduce the font size for smaller screens */
    }

    .contact-info p {
        font-size: 1rem; /* Reduce the font size for smaller screens */
    }

    .contact-button {
        padding: 8px 16px; /* Adjust button padding on smaller screens */
        font-size: 0.9rem; /* Reduce font size for buttons */
    }
}

/* For extra small screens (max-width: 480px) */
@media (max-width: 480px) {
    .doctor-image img {
        width: 150px; /* Further reduce image size on very small screens */
    }

    .contact-info h2 {
        font-size: 1rem; /* Further reduce font size for heading */
    }

    .contact-info p {
        font-size: 0.9rem; /* Further reduce font size for paragraph */
    }

    .contact-button {
        padding: 6px 12px; /* Adjust button padding for smaller screens */
        font-size: 0.8rem; /* Reduce font size further */
    }
}
