:root {
    --primary: #1795a4;
    --dark: #112d32;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

.topbar {
    color: #000;
    font-size: 14px;
    padding: 6px 0;
}

.topbar p {
    color: #000;
}

.topbar i {
    background-color: #1795a4;
    padding: 5px;
    border-radius: 5px;
    color: #ffffff;
}

.topbar p a {
    color: #000;
}

.sticky-navbar {
    position: sticky;
    top: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    animation: fadeDown 0.6s ease-in-out;
    transition: background-color 0.4s ease;
}

a {
    text-decoration: none;
}

.btn-theme {
    background-color: #1795a4;
    color: #fff;
}

footer .logo {
    width: 250px;
}

.social-media i {
    color: #0bbad3;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
}


.testi-vedio {
    overflow-x: auto;
    display: flex;
    width: 90%;
    scroll-behavior: smooth;
    margin: auto;
}

/* hide the scrollbar and retain it's functionality */
.testi-vedio::-webkit-scrollbar {
    display: none;
}

.testi-vedio .box {
    height: fit-content;
    width: auto;
    background: #f7f9fa;
    flex-shrink: 0;
    margin-right: 4px;
}

.testi-vedio .box video {
    height: auto;
    width: 250px;
    flex-shrink: 0;
    margin-right: 4px;
}


/* Next & previous buttons */
.testi-vedio .prev,
.testi-vedio .next {
    cursor: pointer;
    position: absolute;
    width: auto;
    padding: 20px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    margin-top: 200px;
}

/* Position the "next button" to the right */
.testi-vedio .next {
    right: 5%;
    border-radius: 3px 0 0 3px;
    margin-right: 5.5px;
}


.testi-vedio .prev:hover,
.testi-vedio .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .nav-link {
    color: #112d32;
    position: relative;
    margin-left: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .navbar-brand .logo {
    width: 275px;
    height: 50px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #1795a4;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #1795a4;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(255 255 255 / 65%), rgb(23 149 164 / 39%));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 8%;
}

.hero-content h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0;
    color: #000;
}

.hero-content .btn {
    margin-right: 15px;
    padding: 10px 25px;
    font-size: 16px;
}



.btn-outline-light {
    border: 2px solid #fff;
    color: #000;
}

.call-button {
    position: fixed;
    bottom: 15px;
    left: 10px;
}

.call-button i {
    background-color: #008cc8;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 1px -1px 3px 2px #e9f7ec
}

.whastaap-button {
    position: fixed;
    bottom: 75px;
    left: 10px;
}

.whastaap-button i {
    background-color: #009c10;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 1px -1px 3px 2px #e9f7ec;

}

ul li {
    list-style-type: none;
}

#button {
    display: inline-block;
    background-color: #008cc8;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button i {
    color: #fff;
    line-height: 40px;
}

#button:hover {
    cursor: pointer;
    background-color: #333;
}

#button:active {
    background-color: #555;
}

#button.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 5%;
        text-align: center;
    }
}

.about-derma-section {
    width: 100%;
    min-height: 100vh;
    background-color: #f9fcfc;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.section-subtitle {
    font-weight: bold;
    color: #008cc8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    color: #112d32;
    margin-bottom: 30px;
}

.section-title span {
    color: #1795a4;
}

.section-text {
    font-size: 16px;
    color: #444;
}

.footer-banner {
    background-color: #112d32;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 20px 20px 0px 0px;
}

.footer-banner h1 {
    color: #fff;
}

.edu {
    height: 150px;
    align-items: center;
}

.btn-learn {
    display: inline-block;
    background-color: #1795a4;
    color: white;
    padding: 12px 30px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
    margin-top: 15px;
}

.btn-learn:hover {
    background-color: #54b0c4;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-img-wrapper {
    background-color: rgb(31 183 248 / 7%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-img {
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05) rotate(1deg);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .section-subtitle,
    .section-text,
    .btn-learn {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .about-img-wrapper {
        margin-top: 40px;
    }
}

.services-section {
    background-color: #f9fcfc;
}

.section-subtitle {
    color: #1795a4;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e1e1e;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-card .icon-img img {
    width: fit-content;
    height: 100px;
    object-fit: cover;

}

.service-card .icon-img {
    margin-top: 15px;
    text-align: center;
}

.service-content {
    padding: 20px;
}

.service-content h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
    color: #1d1d1d;
}

.service-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.service-content a {
    color: #1c9c8c;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.service-content a i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.service-content a:hover i {
    transform: translateX(5px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.appointment-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

.appointment-section {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9fcfc;
}

.image-box,
.form-box {
    min-height: 500px;
    height: 100%;
    border-radius: 20px;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.form-control {
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0dcaf0;
    box-shadow: 0 0 0 0.15rem rgba(13, 202, 240, 0.3);
}

textarea.form-control {
    resize: none;
}

.btn-info {
    background-color: #0dcaf0;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-info:hover {
    background-color: #0bbad3;
    transform: translateY(-2px);
}

.image-box img {
    transition: transform 0.5s ease;
}

.image-box:hover img {
    transform: scale(1.05);
}

@media (max-width: 767px) {

    .image-box,
    .form-box {
        min-height: auto;
    }
}

.ad-banner-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.ad-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(31 183 248 / 29%);
    z-index: 1;
}

.ad-banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    line-height: 1.3;
}

.ad-banner-section .btn-info {
    background-color: #0dcaf0;
    border: none;
    transition: 0.3s ease;
}

.ad-banner-section .btn-info:hover {
    background-color: #0bbad3;
    transform: translateY(-2px);
}

.blog-section-custom {
    background-color: #f9fcfc;
    font-family: 'Segoe UI', sans-serif;
}

.blog-heading {
    font-family: 'Playfair Display', serif;
    color: #333;
}

.featured-blog {
    height: 100%;
    max-height: 420px;
}

.featured-blog img {
    height: 100%;
    object-fit: cover;
    filter: brightness(75%);
    transition: 0.3s ease;
}

.featured-blog:hover img {
    filter: brightness(65%);
    transform: scale(1.02);
}

.featured-blog-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.blog-mini {
    transition: 0.3s ease;
}

.blog-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-page {
    background-color: #f9fcfc;
    font-family: 'Segoe UI', sans-serif;
}

.testimonial-heading {
    font-family: 'Playfair Display', serif;
    color: #222;
}

.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 20px;
    border-left: 3px solid #0dcaf0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-color: #0dcaf0;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left .testimonial-bubble {
    margin-left: 30px;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    position: relative;
}

.timeline-item.right .testimonial-bubble {
    margin-left: 30px;
    background: #e9f8fb;
    border-radius: 20px;
    padding: 25px;
}

.testimonial-bubble {
    transition: all 0.3s ease;
}

.testimonial-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0dcaf0;
}

.site-footer {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--dark);
    font-size: 16px;
    letter-spacing: 0.3px;
    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-logo {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
}

.site-footer h6 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.newsletter-form input[type="email"] {
    border-radius: 35px;
    border: none;
    padding: 14px 22px;
    background: #ffffff11;
    color: white;
    font-size: 16px;
    backdrop-filter: blur(4px);
    transition: box-shadow 0.3s;
    width: 100%;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.btn-glow {
    border-radius: 35px;
    background-color: var(--primary);
    border: none;
    padding: 12px 18px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px var(--primary);
}

.btn-glow:hover {
    background-color: #50b1c5;
    box-shadow: 0 0 25px var(--primary);
}

.site-footer .text-white-50 {
    font-size: 14px;
    margin-top: 40px;
    padding-top: 20px;
}