:root {
    --primary-color: #d63384;
    /* Pink */
    --primary-light: #f8d7da;
    --primary-dark: #a61e4d;
    --secondary-color: #6f42c1;
    /* Purple accent */
    --text-dark: #333;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: 80px;
    /* Offset for fixed navbar */
}

/* Home page specific fix */
/* Home page specific fix */
body.home-page main {
    padding-top: 0;
}

@media (max-width: 991px) {
    body.home-page main {
        padding-top: 80px;
        /* Restore padding on mobile to avoid cutting off top */
    }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-schedule {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.4);
}

/* Heros / Carousel */
#heroCarousel .carousel-item {
    height: 600px;
    min-height: 400px;
    background-color: #333;
    /* Fallback */
}

#heroCarousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    /* filter: brightness(0.7); Removed as per user request */
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    width: 60%;
    left: 10%;
    right: auto;
    padding-bottom: 0;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s;
}

.carousel-caption p {
    font-size: 1.2rem;
    animation: fadeInUp 1s;
}

/* Section Generals */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-bg-light {
    background-color: var(--bg-light);
}

/* Intro & Form */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.appointment-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    /* margin-top: -50px; Optional overlap if desired */
}

/* Highlights */
.highlight-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.highlight-item:hover {
    transform: translateY(-10px);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: rgba(214, 51, 132, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* Services */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
}

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

.service-img {
    height: 200px;
    object-fit: cover;
}

.service-body {
    padding: 25px;
    text-align: center;
}

.service-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

/* Team */
.team-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.team-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-light);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    margin: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Footer */
footer {
    background: #212529;
    color: #adb5bd;
    padding-top: 60px;
    margin-top: auto;
    /* Push footer to bottom */
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

/* Nav Social Icons */
.nav-social-icon {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-social-icon:hover {
    color: var(--primary-dark);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: 500px;
        /* Increased height for better mobile display */
    }

    .carousel-caption {
        width: 90%;
        /* Wider on mobile */
        left: 5%;
        text-align: center;
        /* Center text on mobile */
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.4);
    border: none;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: white;
}

.back-to-top i {
    font-size: 1.5rem;
}