* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.3rem;
}

a {
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.button {
    color: white;
    width: fit-content;
    background-color: #40A8E1;
    padding: 12px 15px;
    border-radius: 10px;
}

.button:hover {
    color: #40A8E1;
    background-color: transparent;
    border: 3px solid #40A8E1;
    padding: 9px 12px;
    border-radius: 10px;
}

.underline {
    height: 3px;
    border-radius: 5px;
    width: 70px;
    background-color: #40A8E1;
}

.title{
    margin-block: 20px;
}

/* navbar */
.navbar-nav li a {
    font-weight: bold;
}


.carousel-caption a {
    text-decoration: none;
}


/* index page */
.hero-section img {
    width: 100%;
    max-height: 850px;
    filter: brightness(30%);
    position: relative;
    text-align: center;
    color: white;
}

.hero-section h1 {
    color: white;
    text-align: center;
}

.hero-section p {
    color: white;
    text-align: center;
}

.centered {
    position: absolute;
    top: 80%;
    left: 40%;
    transform: translate(-30%, -50%);
}

.about-section-home {
    margin-block: 20px;
}

.about-section-home p{
    margin-block: 30px;
    padding-top: 30px;
    line-height: 40px;
    text-align: justify;
}

.about-section-home a {
    text-decoration: none;
}

.about-section-home img{
    width: 100%; 
    height: auto;
    border-radius: 50px;
}

.services-section {
    background-color: #94ceed89;
    margin-block: 20px;
    padding: 20px;
}

.home-newsletter{
    padding: 30px;
    background-color: #59C3C3;
}

.newletter-section p {
    text-align: center;
    color: #52489C;
}

.newletter-section a {
    text-decoration: none;
}

.newletter-btn{
    padding: 10px 20px;
    color: skyblue;
    border-radius: 10px;
    background-color: #062e45;
    width: fit-content;
    font-weight: bold;
}

.newletter-btn:hover{
    padding: 7px 17px;
    color: #062e45;
    background-color: transparent;
    border: 3px solid #062e45;
    font-weight: bold;
    border-radius: 10px;
}

.subscribe {
    margin-block: 20px;
}

.dentist-section a{
    text-decoration: none;
}

.cards {
    display: flex;
    text-align: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.card {
    width: 400px;
    max-height: 500px;
    margin: 16px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
}


/* -------------------- */
/* footer */

footer {
    background-color: #062e45;
    padding-block: 20px;
}

footer p {
    color: white;
    text-align: center;
    font-size: 1.2rem;
}

footer p:hover {
    color: #40A8E1;
}

footer h5 {
    color: white;
}

footer a {
    text-decoration: none;
    font-size: 1rem;
}

.footer ul li{
    list-style: none;
    font-size: 1.2rem;
}

.hours {
    color: white;
}

/* -------------------- */
/* contact page */
.map-section {
    margin-block: 20px;
}

.address-section {
    /* text-align: center; */
    color: white;
    width: fit-content;
    background-color: #40A8E1;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 20px;
}

.address-section p {
    font-size: 1.1rem;
}

.address-section a {
    text-decoration: none;
}

.contct-details {
    margin-block: 30px;
}

.contact-form {
    padding: 10px 30px;
    margin: 10px;
}

.contact-form form {
    margin-block: 30px;
}

.contact-form a{
    text-decoration: none;
}

textarea {
    opacity: 50%;
    max-width: 100%;
    padding: 10px;
}

.submit-btn {
    max-width: 300px;
    color: white;
    background-color: #40A8E1;
    padding: 12px 15px;
    border-radius: 10px;
}

/* -------------------- */
/* subscribe page */

.newletter-section h2 {
    color: #062e45;
}


.newletter-section input {
    padding: 5px 10px;
    border-radius: 10px;
    opacity: 50%;
}

/* -------------------- */
/* team page */
.team-page .image img{
    width: 300px;
    height: auto;
    /* padding: 20px; */
    border: 2px solid #062e45;
    border-radius: 30px;
    /* align-items: center; */
}

.team-page h2{
    font-weight: bold;
}
.team-page .designation{
    font-weight: bold;
}

.team-page .dr-info{
    margin-top: 30px;
    padding: 20px;
    
}
/* -------------------- */
/* about page */
.about-section .desc{
    padding-block: 30px;
}
.about-section .desc p{
    text-align: justify;
    padding: 10px;
}

.about-section img{
    max-width: 400px;
}

.why-us-section{
    margin-block: 30px;
}
/* -------------------- */
/* testimonial page */
.carousel-item .card{
   width: 700px;
    height: auto;
}

.card-body{
    background-color: #40A8E1;
    border-radius: 20px;
}

.card-body p{
    color: white;
    padding-inline: 30px;
    text-align: justify;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    height: 100px;
    width: 100px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    background-size: 100%, 100%;
}

.client{
    color: white;
    display: flex;
    padding-inline: 130px;
}

.client img{
    max-width: 80px;
    height: auto;
    border-radius: 50%;
    align-items: center;
}
/* -------------------- */
/* services page */
.service-card{
    padding: 30px 20px;
    border-radius: 30px;
    background-color: #50bdf865;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.service-card a{
    text-decoration: none;
}

.service-card p{
    text-align: justify;
}

.service-card:hover{
    padding: 30px 20px;
    border-radius: 30px;
    background-color: #50bdf865;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
/* -------------------- */
/* -------------------- */
/* -------------------- */

/* -------------------- */  
/* Responsive CSS */
@media screen and (max-width: 767px) {

    .hero-section h1 {
        font-size: 1rem;
    }

    .hero-section p {
        font-size: 0.5rem;
    }

    .hero-section a {
        text-decoration: none;
        font-size: 0.5rem;
        cursor: pointer;
    }

    .button {
        color: white;
        width: fit-content;
        background-color: #40A8E1;
        padding: 8px 11px;
        border-radius: 10px;
    }
    
    .button:hover {
        color: #40A8E1;
        background-color: transparent;
        border: 3px solid #40A8E1;
        padding: 5px 8px;
        border-radius: 10px;
    }

    .carousel-item .card-body {
        max-width: 500px;
        height: auto;
    }
}