:root {
    --primary: #6ac6d9;
    --dark: #112d32;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.topbar {
    background-color: #0f3d3e;
    color: white;
    font-size: 14px;
    padding: 6px 0;
}

.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;
}

@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 .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #6ac6d9;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #6ac6d9;
}

.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: rgba(10, 20, 30, 0.4);
}

.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: #fff;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0;
    color: #eaeaea;
}

.hero-content .btn {
    margin-right: 15px;
    padding: 10px 25px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
}

.btn-outline-light {
    border: 2px solid #fff;
}

@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: #c08f45;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: #112d32;
    margin-bottom: 30px;
}

.section-title span {
    color: #6ac6d9;
}

.section-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
}

.btn-learn {
    display: inline-block;
    background-color: #6ac6d9;
    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: #fff1d6;
    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: #c89f63;
    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-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: rgba(0, 0, 0, 0.6);
    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;
}