body {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    font-family: "Playfair Display", Sans-Serif !important;
    color: #343a40;
}

/*Header Section CSS Start*/

/* Navbar styling */

.dental-clinic-navbar {
    background-color: transparent;
    box-shadow: none;
    z-index: 2;
    position: relative;
}

.dental-clinic-navbar .nav-inner {
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-nav {
    display: flex;
    gap: 40px;
}

.navbar-nav .nav-link {
    color: #000;
    font-weight: 500;
    font-family: "Poppins", Sans-Serif;
}

.navbar-nav .nav-item.active .nav-link {
    color: #b68c5a;
    font-family: "Poppins", Sans-Serif;
} 

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    height: 3px;
    width: 30px;
    margin: 4px 0;
    background-color: #b68c5a;
    display: block;
}

/*Header Section CSS End*/

/*Hero Section CSS Start*/

#hero-section {
    background-image: url('../img/banner-2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 200px 60px 150px 80px;
}

.hero-sub-title {
    font-family: "Poppins", Sans-Serif;
    color: #b68c5a;
    position: relative;
    margin-top: -0.4em;
    padding-top: 0;
    letter-spacing: normal;
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 500;
    display: block;
}

.hero-title {
    font-size: 50px;
    color: #fff;
    text-align: center;
}

.hero-description {
    font-family: "Poppins", Sans-Serif;
    margin: 0 0 18px 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.75;
    text-align: center;
}

/*Hero Section CSS End*/

/*Search Section CSS Start*/

#search h2 {
    font-weight: 700;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.search-btn {
    position: relative;
    /*z-index: 2;*/
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: #b68c5a;
    color: #fff;
    font-family: "Poppins", Sans-Serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 42px;
    min-width: 170px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.search-btn:hover {
    background: #011c1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.search-btn::before {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 0%;
    background-color: #314e52;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.search-btn::after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    width: 0%;
    right: 0;
    background-color: #314e52;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.search-btn:hover::before {
    width: 51%;
    border-radius: 0;
}

.search-btn:hover::after {
    width: 50%;
    border-radius: 0;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 8px;
    height: calc(2.05em + .75rem + 2px);
    font-size: 15px;
    border: 1px solid #ccc;
    font-family: "Poppins", Sans-Serif;
    transition: border 0.3s ease;
}

.form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.25);
}

.card {
    border: none;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.card-body h5 {
    color: #b68c5a;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-body p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #555;
    font-family: "Poppins", Sans-Serif;
}

.card-body a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-body a:hover {
    color: #b68c5a;
}

.card-body a i:hover {
    color: #b68c5a;
}

.fab {
    color: #6c757d;
    transition: color 0.3s ease;
    margin-right: 10px !important;
    font-size: 20px;
}

.fab:hover {
    color: #2575fc;
}

.form-row {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .form-row .col-md-4,
    .form-row .col-md-3 {
              margin-bottom: 15px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .card-body h5 {
        font-size: 18px;
    }
}

/* Additional polish for input autofill */
input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}

/*Search Section CSS End*/

/*About Us Section CSS Start*/

#about-us {
    position: relative;
    margin-top: 50px;
    overflow: hidden; /* prevents scrollbars */
    z-index: 1;
    padding: 50px 0 50px 0;
}

#about-us::before {
    content: '';
    position: absolute;
    top: -32px;
    right: 0;
    width: 20%; /* Adjust size as needed */
    height: 100%;
    background-image: url('../img/about1-right-bottom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    animation: bgFloat 8s ease-in-out infinite;
    z-index: -1; /* So it stays behind content */
}

@keyframes bgFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px); /* Moves down */
    }
    100% {
        transform: translateY(0px); /* Moves back up */
    }
}

#about-img::before {
    content: "";
    position: absolute;
    height: 85%;
    width: 21%;
    left: 40px;
    top: 20px;
    border: 1px solid #314e52;
    border-radius: 90px 0 100px 100px;
    z-index: -1;
}

#about-img-1 {
    border-radius: 90px 0 80px 80px;
}

#about-img-2 {
    border-radius: 60px 60px 60px 0;
}

#about-img-3 {
    border-radius: 0px 60px 60px 60px;
}

.about-sub-title {
    font-family: "Poppins", Sans-Serif;
    color: #b68c5a;
    position: relative;
    margin-top: -0.4em;
    padding-top: 0;
    letter-spacing: normal;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
    display: block;
}

.about-title {
    font-size: 45px;
    line-height: 1.185;
    font-weight: 700;
    text-align: left;
}

.about-description {
    font-family: "Poppins", Sans-Serif;
    margin: 0 0 18px 0;
    color: #868686;
    line-height: 1.75;
}

.checklist ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.checklist li {
    font-size: 16px;
    font-family: "Poppins", Sans-Serif;
    color: #011c1a;
    display: flex;
    gap: 10px;
    /*padding-bottom: 4px;*/
    align-items: center;
}

.about-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: #b68c5a;
    color: #fff;
    font-family: "Poppins", Sans-Serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 21px 42px;
    min-width: 170px;
    border-radius: 30px;
    transition: .5s;
    text-decoration: none;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.about-btn:hover {
    background: #011c1a;
    color: #fff;
}

.about-btn::before {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 0%;
    background-color: #314e52;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.about-btn::after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    width: 0%;
    right: 0;
    background-color: #314e52;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.about-btn:hover::before {
    width: 51%;
    border-radius: 0;
}

.about-btn:hover::after {
    width: 50%;
    border-radius: 0;
}

.checklist li:not(:last-child) {
    margin-bottom: 15px;
}

.btn-wrapper {
    margin-top: 40px;
}

/*About Us Section CSS End*/

/*How It Works Section CSS Start*/

#work {
    margin-top: 100px;
}

.sub-content {
    font-family: "Poppins", Sans-Serif;
    color: #b68c5a;
    position: relative;
    margin-top: -0.4em;
    padding-top: 0;
    letter-spacing: normal;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
    display: block;
}

.work_card {
    padding: 15px;
}

#fa_icon {
    font-size: 50px;
    background: #b68c5a;
    padding: 45px;
    border-radius: 70px;
    color: #fff;
    margin-bottom: 15px;
}

.works_title {
    font-size: 45px;
    line-height: 1.185;
    font-weight: 700;
    text-align: center;
}

.card_title {
    font-weight: 600;
}

.card_para {
    font-family: "Poppins", Sans-Serif;
    margin-top: 15px;
}

/*How It Works Section CSS End*/

/*Pricing Plan CSS Start*/

#pricing {
    background-color: #011C1A;
    background-image: url(../img/pricing-plan-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 100px;
    padding-bottom: 80px;
}

.title-area {
    margin-bottom: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.sub-title {
    font-family: "Poppins", Sans-Serif;
    color: #b68c5a;
    margin-bottom: 20px;
    position: relative;
    margin-top: -0.4em;
    padding-top: 0;
    letter-spacing: normal;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
    display: block;
}

.sec-title {
    margin-top: -0.2em;
    text-transform: capitalize;
    margin-bottom: 20px;
    font-size: 54px;
    color: #fff;
}

.price-card {
    background-color: #fff;
    padding: 40px 34px 27px;
    border-radius: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
    transition: 0.4s;
    border-bottom: 6px solid #b68c5a;
}

.price-card:hover {
    background-color: #314e52;
    transform: translateY(-3px);
}

.price-card:hover .th-btn {
    background: #b68c5a;
}

.price-card:hover .price-card_title {
    color: #fff;
}

.price-card:hover .box-text {
    color: #fff;
}

.price-card:hover .price-card_price {
    color: #fff;
}

.price-card:hover span {
    color: #fff;
}

.price-card:hover .priceList,
.price-card:hover .priceList li,
.price-card:hover .priceList i {
    color: #fff;
}

.price-card_title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    margin-top: -0.35em;
    transition: 0.4s;
    color: #000;
    font-family: "Playfair Display", Sans-Serif;
}

.price-card .box-text {
    font-family: "Poppins", Sans-Serif;
    transition: 0.4s;
    margin: 0 0 10px 0;
    color: #b68c5a;
    line-height: 1.75;
    font-size: 15px;
}

.price-card_price {
    font-size: 54px;
    line-height: 1;
    color: #b68c5a;
    margin-bottom: 38px;
    transition: 0.4s;
}

.price-card_price sup {
    font-size: 25px;
    margin-right: 7px;
}

.price-card_price .duration {
    font-size: 16px;
    color: #011c1a;
    font-weight: 600;
    margin-left: 0px;
    transition: 0.4s;
}

.price-card .th-btn {
    background: #314e52;
    text-decoration: none;
}

.price-features {
    color: #b68c5a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Poppins", Sans-Serif;
}

.divider {
    border-top: 1px dotted #ababab;
    padding: 15px 0 15px 0;
}

.priceList ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.priceList li {
    font-size: 15px;
    font-family: "Poppins", Sans-Serif;
    color: #011c1a;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.th-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: #b68c5a;
    color: #fff;
    font-family: "Poppins", Sans-Serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 21px 42px;
    min-width: 170px;
    border-radius: 30px;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.th-btn:hover {
    color: #314e52;
    font-weight: 600;
}

.th-btn:before {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 0%;
    background-color: #fff;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.th-btn:hover::before {
    width: 51%;
    border-radius: 0;
}

.th-btn:hover::after {
    width: 50%;
    border-radius: 0;
}

/*Pricing Plan CSS End*/

/*Contact Us Section CSS Start*/

#contact-us {
    margin-top: 100px;
}

#contact-form {
    background: #F5F5F5;
    padding: 40px;
    border-radius: 24px;
}

.contact-form {
    border-radius: 16px;
    background-color: #314e52;
    padding: 40px;
    text-align: center;
}

.contact-area {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: "Playfair Display", Sans-Serif;
    color: #b68c5a;
    margin-bottom: 10px;
    position: relative;
    margin-top: -0.4em;
    padding-top: 0;
    letter-spacing: normal;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
    display: block;
}

.contact-area h4 {
    font-size: 36px;
    line-height: 1.27;
    margin-bottom: 25px;
    color: #fff;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-control-wrap {
    position: relative;
}

.form-control-2 {
    height: 50px;
    padding: 0 25px 0 25px;
    padding-right: 45px;
    border: 1px solid #E0E0E0;
    color: #868686;
    border-radius: 27px;
    font-size: 14px;
    width: 100%;
    font-family: "Poppins", Sans-Serif;
    transition: 0.4s ease-in-out;
    background-color: #fff;
}

.form-control-3 {
    height: 180px;
    padding: 13px 25px 0 25px;
    padding-right: 45px;
    border: 1px solid #E0E0E0;
    color: #868686;
    border-radius: 27px;
    font-size: 14px;
    width: 100%;
    font-family: "Poppins", Sans-Serif;
    transition: 0.4s ease-in-out;
    background-color: #fff;
}

.form-group > i {
    display: inline-block;
    position: absolute;
    right: 40px;
    top: 19px;
    font-size: 14px;
    color: #b68c5a;
}

.fa-user:before {
    content: "\f007";
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-phone-alt:before {
    content: "\f879";
}

.fa-pencil:before {
    content: "\f303";
}

.shape-mockup-wrap {
    z-index: 2;
    position: relative;
}

.bg-theme {
    background-color: #b68c5a;
}

.th-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: #b68c5a;
    color: #fff;
    font-family: "Poppins", Sans-Serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 21px 42px;
    min-width: 170px;
    border-radius: 30px;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.th-btn:before {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 0%;
    background-color: #fff;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.th-btn i {
    font-size: 0.95em;
    margin-left: 6px;
}

.th-btn:after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    width: 0%;
    right: 0;
    background-color: #fff;
    z-index: -1;
    transition: all 0.4s ease-out;
}

.info-box {
    display: flex;
    max-width: 270px;
    margin-bottom: 28px;
}

.info-box_icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    line-height: 50px;
    font-size: 19px;
    background: #314e52;
    color: #fff;
    border-radius: 30px;
    text-align: center;
    margin-right: 15px;
    border: 0;
}

.contact-from-1-wrap .info-box .info-contnt {
    margin-top: -0.35em;
}

.contact-from-1-wrap .info-box .info-contnt .footer-info-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: #b68c5a;
}

.info-box_text {
    font-family: "Poppins", Sans-Serif;
    display: block;
    color: #868686;
    margin-top: -0.3em;
    margin-bottom: -0.45em;
    align-self: center;
    font-size: 15px;
}

.info-contnt a {
    box-shadow: none;
    text-decoration: none;
}

.info-box_link {
    display: inline-block;
    color: #868686;
}

.info-box_link:hover {
    color: #b68c5a;
}

.contact-img {
    margin-top: 96px;
    border-radius: 24px;
}

.contact-img img {
    border-radius: 24px;
    width: 100%;
}

.contact_1-man {
    bottom: 49px;
    right: -6px;
    z-index: 2;
    width: 413px;
}

.shape-mockup {
    position: absolute;
    /*z-index: -1;*/
    pointer-events: none;
}

/*Contact Us Section CSS End*/

/* Footer start */

#footer-background {
    background-color: #011C1A;
    padding: 100px 50px 50px 50px;
}

.footer-description {
    line-height: 1.8;
    font-weight: normal;
    margin-bottom: 0;
    color: #ADB1BC;
    margin-top: 30px;
    font-family: "Poppins", Sans-Serif;
}

#margin-left {
    padding-left: 70px;
}

.footer-widget {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.quick-links {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.quick-links li {
    list-style-type: none;
    margin-bottom: 18px;
}

.quick-links li a {
    color: #ADB1BC;
    transition: .5s;
    text-decoration: none;
    font-family: "Poppins", Sans-Serif;
}

.quick-links li a:hover {
    color: #b68c5a;
}

#contact-info {
    color: #ADB1BC;
}

.footer-contact {
    color: #C4DCF3;
    transition: .5s;
    text-decoration: none;
    font-family: "Poppins", Sans-Serif;
}

.footer-contact:hover {
    color: #b68c5a;
}

.copyright-area {
    background-color: #314e52;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 0px;
    width: 100%;
}

.copyright-area p {
    font-family: "Poppins", Sans-Serif;
    color: #fff;
}

.copyright-area p a:hover {
    color: #b68c5a;
}

.note {
    color: #b68c5a;
    margin-top: 40px;
    font-family: "Poppins", Sans-Serif;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icons a i {
    color: #ADB1BC;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icons a i:hover {
    color: #b68c5a !important;
    transform: scale(1.2);
}

/* Footer end */

/* Offcanvas adjustments */
@media (min-width: 1200px) {
    .offcanvas {
        display: none !important;
    }
}

@media only screen and (max-width: 820px) {
    #hero-section {
        padding: 100px 60px 100px 60px;
    }
    
    #about-img::before {
        height: 49%;
        width: 39%;
        top: 33px;
    }
    
    .about-sub-title {
        margin-top: 40px;
    }
    
    #about-us::before {
        width: 30%;
    }
    
    .sec-title {
        font-size: 45px;
    }
    
    .contact-img {
        margin-top: 80px;
    }
    
    .contact_1-man {
        bottom: 0;
    }
    
    #margin-left {
        padding-left: 10px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    #footer-background {
        margin-top: 145px;
        padding: 100px 35px 50px 35px;
    }

    #margin-left {
        margin-top: 40px;
    }

    #social-icons {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .dental-clinic-navbar {
        padding: 20px 0px 0 0px !important;
    }

    .navbar-nav {
        gap: 15px;
    }
    
    #hero-section {
        padding: 100px 40px 100px 40px;
    }
    
    #about-img::before {
        width: 76%;
        height: 34%;
    }
    
    #about-img-2 {
        margin-top: 25px;
    }
    
    .about-sub-title {
        margin-top: 40px;
    }
    
    .about-title {
        font-size: 40px;
    }
    
    #about-us::before {
        width: 33%;
    }
    
    .works_title {
        font-size: 28px;
    }
    
    .sec-title {
        font-size: 32px;
    }
    
    #contact-form {
        padding: 0px;
    }
    
    .contact_1-man {
        width: 190px;
        bottom: 0;
        right: 4px;
    }
    
    #footer-background {
        margin-top: 50px;
    }
    
    .contact-sub-heading {
        margin-top: 20px;
    }
}