/* General Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

nav{
    display: flex;
    justify-content: space-around;
    padding: 20px 20px 7px 20px;
    align-items: center;
    gap: 10px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color:  #0056b3;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out; 
    z-index: 1000; 
   
    
}



/* When the Navbar is Hidden (on Scroll Down) */
#navbar.hidden {
    top: -70px; /* Adjust to the height of your navbar */
}

nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    list-style: none;
    
}
nav ul li{
    position: relative;

}
nav ul li a::before{
    content: "";
    position: absolute;
    width: 0px;
    height: 3px;
    top: 20px;
    background-color: #ff6b6b;
    transition: width .8s ease-in-out;

}
nav ul li a:hover::before{
    width: 100%;
}
/* Active link styling */
nav ul li a.active::before {
    width: 50%;
    background: linear-gradient(90deg, #31df1a, rgb(195, 248, 104));

}
nav ul a{
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}
nav .logo img{
    width: 30%;
    cursor: pointer;
}

nav ul a:hover {
    background: linear-gradient(90deg, #828181, rgb(7, 247, 247));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease;
}


.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.menu-icon, .close-icon {
    display: none;
}

.close-icon {
    color: var(--Red);
}


.header .btn {
    background: green;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}
.header .btn:hover{
    background-color: #150101;
}
.logo img{
width:100px;

height: 60px;

}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--Green, #28a745);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--Rose500, #218838);
}


.logo{
    display: flex;
    gap: 5px;
    align-items: center;
}
.logo h1{
    line-height: .8em;
}

/* Hero Section */
.hero {
    background: url('images/woman_pos.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    height: 50vh;
    padding: 4rem 1rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background: #0056b3;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
}

/* About Section */
.about {
    padding: 2rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    color: #555;
}

/* Services Section */
.services {
    padding: 2rem 0;
    background: #f4f4f4;
}

.services h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}


.service-item {
    flex: 1 1 30%;
    background-color: var(--Rose100, #f5f5f5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.service-icon {
    color: var(--Green, #28a745);
    margin-bottom: 10px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Facilities Section */
.facilities {
    padding: 2rem 0;
}

.facilities h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section
.testimonials {
    padding: 2rem 0;
    background: #f4f4f4;
    text-align: center;
}

.testimonials blockquote {
    font-style: italic;
    color: #555;
    margin: 1rem auto;
    max-width: 600px;
    line-height: 1.8;
}

.testimonials footer {
    font-weight: bold;
    margin-top: 0.5rem;
} */

/* Contact Section */
.contact {
    padding: 2rem 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    width: 100%;
    background: #0056b3;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}
/* Testimonials Section Styling */
.testimonials {
    padding: 50px 0;
    background-color: #f8f8f8;
    overflow: hidden; /* Hide overflow for the scrolling effect */
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

.testimonial-carousel {
    display: flex;
    animation: scrollLeft 15s linear infinite; /* Continuous scrolling animation */
}

.testimonial-slide {
    flex: 0 0 auto;
    min-width: 300px;
    margin-right: 30px; /* Space between slides */
    opacity: 1;
}

blockquote {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.testimonials footer {
    margin-top: 10px;
    font-style: italic;
}

.pricing {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    margin-bottom: 10px;
    color: var(--Red);
}

.pricing-card .price {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-card ul li {
    margin: 10px 0;
}


/* Define continuous scrolling animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Move the slides to the left */
    }
}




/* Footer */
/* .footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
} */

.footer {
    background-color: var(--Rose900, #1e1e1e);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--Green, #28a745);
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    
}



/* Initial state of the sections (hidden with opacity 0) */
.section {
    opacity: 0;
    transform: translateY(20px); /* Slightly offset to make the animation smoother */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-top: 25px;
}

/* When the section becomes visible */
.section.visible {
    opacity: 1;
    transform: translateY(0); /* Bring back to the original position */
}

.section:nth-child(1) {
    transition-delay: 0.2s;
}
.section:nth-child(2) {
    transition-delay: 0.4s;
}
.section:nth-child(3) {
    transition-delay: 0.6s;
}
.section:nth-child(4) {
    transition-delay: 0.8s;
}
.section:nth-child(5) {
    transition-delay: 1s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.visible {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Extra small devices (portrait phones, up to 480px) */

@media screen and (max-width:480px){
    .menu-toggle {
        display: block;
    }

    .menu-icon {
        display: block;
    }

    .close-icon {
        display: none;
    }
    nav, nav ul{
        display: block;
        margin: 10px;
    }
    nav, nav ul li a{
        line-height: 2em;
    }

    .nav-links {
        display: none;
        flex-direction: column;
       
        text-align: left;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }
    
}
