/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f5f2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header and navigation */
header {
    background-color: #4a5759;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: auto;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: #f8f5f2;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #f8f5f2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f3d2c1;
}

/* Main content */
main {
    margin-top: 80px;
    flex: 1;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: #4a5759;
    margin-bottom: 2rem;
    text-align: center;
}

/* Page section styles */
.page-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 3rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #4a5759;
}

/* Slider styles */
.slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    background-color: rgba(74, 87, 89, 0.8);
    color: #f8f5f2;
    padding: 2rem;
    border-radius: 10px;
}

.slide-content h2 {
    font-size: 2.5rem;
    color: #f8f5f2;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 87, 89, 0.5);
    color: #f8f5f2;
    font-size: 2rem;
    padding: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(74, 87, 89, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* About section styles */
#about {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 3rem;
}

#about h2 {
    font-size: 3.5rem;
    color: #4a5759;
    margin-bottom: 2rem;
    text-align: center;
}

.about-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.about-item {
    flex: 1;
    text-align: center;
    background-color: #f8f5f2;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.about-item h3 {
    font-size: 1.5rem;
    color: #4a5759;
    margin-bottom: 1rem;
}

.about-item p {
    font-size: 1rem;
    color: #333;
}

/* Services section styles */
#services {
    background-color: #fff;
    border-radius: 10px;
    padding: 3rem;
    margin-top: 3rem;
}

#services h2 {
    color: #4a5759;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background-color: #f8f5f2;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #4a5759;
    margin-bottom: 1rem;
}

.specialized-treatments {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.specialized-treatments li {
    background-color: #f8f5f2;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.cta-text {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #4a5759;
    color: #f8f5f2;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3a4547;
}
/* Update Contact section styles */
#contact .contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#contact .contact-details {
    flex: 1;
    min-width: 250px;
}

#contact .contact-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

#contact .contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive design for contact section */
@media screen and (max-width: 768px) {
    #contact .contact-info {
        flex-direction: column;
    }

    #contact .contact-details,
    #contact .contact-image {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Contact section styles */
#contact {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 3rem;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    color: #4a5759;
    margin-bottom: 1rem;
}

.contact-image {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

.map-container {
    margin-top: 3rem;
}

.map-container h3 {
    font-size: 1.8rem;
    color: #4a5759;
    margin-bottom: 1rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #4a5759;
    color: #f8f5f2;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .slider {
        height: 400px;
    }

    .slide-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    #about, #services, #contact, .page-section {
        padding: 2rem;
    }

    .about-grid {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .map-wrapper {
        padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
    }
}
/* Add these new rules for the Specialized Treatments section */
/* Update Specialized Treatments styles */
.specialized-treatments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    list-style-type: none;
    padding: 0;
}

.specialized-treatments li {
    background-color: #f8f5f2;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Update CTA styles */
.cta-container {
    text-align: center;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #4a5759;
}

/* Update Responsive design */
@media screen and (max-width: 768px) {
    .specialized-treatments {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .specialized-treatments {
        grid-template-columns: 1fr;
    }
}