*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Global Styles */
body {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    margin-top: 80px;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    height: auto;
}

h1, h3 {
    text-align: center;
}


section.testimonial, h2{
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 35px
}

section.testimonial, p{
    font-size: 15px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 20px;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #93ffb0;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.21);
    box-sizing: border-box;
}

header .logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    margin-right: 70px; /* Ensures 70px gap from the right edge */
}

nav ul {
    display: flex;
    gap: 20px; /* Adds spacing between navigation items */
    list-style: none; /* Removes bullet points */
    margin: 0;
    padding: 0;
}

/* Show menu when the .responsive class is added */
nav ul.responsive {
    display: flex;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

nav ul li a.active {
    color: #5cb85c;
    font-weight: bold;
    border-bottom: 4px solid #5cb85c;
}

/* Hamburger Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 15px;
    right: 20px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: black;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    transform-origin: 5% 50%;
    position: relative;
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    transform-origin: 5% 50%;
    position: relative;
    bottom: 8px;
}

.hamburger.active + nav ul.responsive {
    display: flex;
}

/* Hero Section */
.hero {
    background: url('..\healthylifestyle.jpg') no-repeat center center/cover;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Responsive Hero Section */
.hero h1 {
    font-size: 2rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Container Section */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px); /* Width for 3 cards per row, adjusting for gap */
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    margin-top: 0;
    color: #333;
}

.testimonials .testimonial {
    margin-top: 20px;
    font-size: 18px;
}



/* Container for the form with background */
.form-container {
    background-image: url(../Resourceses/Images/home/formbackground.jpg);
    width: 100%;
    max-width: 1000px; /* Adjust based on your design */
    margin: 0 auto; /* Center the container horizontally */
    position: relative;
    aspect-ratio: 18 / 9; /* Maintains the 18:9 ratio */
    background-image: url('/mnt/data/image.png'); /* Path to your uploaded image */
    background-size: cover; /* Ensures the image covers the container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    display: flex;
    align-items: center; /* Centers the form vertically */
    justify-content: center; /* Centers the form horizontally */
    border-radius: 20px; /* Optional rounded corners */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* contact page */
.contact-us {
    padding: 50px 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.contact-info p, .details p, .contact-form form input, 
.contact-form form textarea, .contact-form form button {
    margin-bottom: 15px;
    color: #555;
}

.contact-info .details p {
    margin-bottom: 10px;
    font-size: 14px;
}

.social-links a {
    margin-right: 10px;
}

.social-midia{
    width: 30px;
    height: 30px;
    border-radius: 5px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.social-midia img:hover {
    transform: scale(1.1);
}


/* client-experience  */
/* General Styles (Desktop and Larger Screens) */
.client-experience {
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
}

.client-experience h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #355e3b;
}

.client-experience h2 span {
    color: #2a4d2f;
    text-decoration: underline;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    direction: rtl;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f5f5f5;
}

.slide img {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.content {
    width: 55%;
    text-align: left;
}

.content h3 {
    font-size: 20px;
    color: #355e3b;
    margin-bottom: 10px;
}

.content p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.content .client-name {
    font-weight: bold;
    color: #2a4d2f;
}

/* Appointment form */
body section.appointment{
    background-color: #274830;
    background-size: 100%;
    background-position: center;
}

h2.appointment {
    text-align: center;
    color: #355e3b;
    font-size: 24px;
    margin-bottom: 20px;
}


form {
    background-image: url(../Resourceses/Images/home/nutritionfood.jpg); 
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    background-blend-mode: multiply; 
    backdrop-filter: blur(5px); 
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.225);
    width: 100%;
    max-width: 600px;
    max-height: 70%;
    transform: translate(40%, -2%);
    color: #fff; 
}

form h4{
    color: #333;
    font-size: 15px;
}

form div.gender-group{
    color: #333;
    font-size: 15px;
}

form input[type="text"], 
form input[type="tel"], 
form input[type="email"], 
form textarea {
    width: calc(95%);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    font-size: 14px;
}

form input[type="text"]:focus, 
form input[type="tel"]:focus, 
form input[type="email"]:focus, 
form textarea:focus {
    border-color: #355e3b;
    outline: none;
}

form textarea {
    width: 95%;
    resize: none;
}

form button {
    width: 98.5%;
    padding: 10px;
    background-color: #355e3b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

form button:hover {
    background-color: #2a4d2f;
}

.gender-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.gender-group label {
    font-size: 14px;
    color: #555;
}

/* footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
}

.connect-section p {
    margin: 5px 0;
    font-size: 14px;
    text-align: left;
    line-height: 1;
}

.connect-section a {
    color: #fff;
    text-align: right;
}

.footer-section .social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-section .social-links img {
    width: 30px; /* Adjust size of icons */
    height: 30px; /* Maintain consistent dimensions */
    border-radius: 5px; /* Optional styling */
}

footer p {
    font-size: 12px;
    margin-top: 10px;
    color: #fffbfb;
}

.footer-section p {
    font-style: bold;
    text-align: left;
    margin-left: 307px;
}

.footer-section p strong {
    font-weight: bold;
}

.footer-section p a {
    text-decoration: none; /* Removes underline */
    color: white; /* Makes text white */
}

.footer-container h3 {
    color: #77aa33;
}

.follow{
    margin-right: 200px;
}

.social-links {
    margin-right: 200px;
}


/* Media Queries */
@media (max-width: 768px) {
    .sticky-header {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    nav {
        margin-right: 20px; /* Reduce right margin for smaller screens */
    }

    nav ul {
        display: none;
    }

    nav ul.responsive {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        background-color: #93ffb0;
    }

    .logo img {
        height: 40px;
    }

    .container {
        flex-direction: column;
        gap: 15px;
    }

    .card {
        width: calc(100% - 15px); /* Full width on smaller screens */
    }

    .hero {
        background: url('../Resourceses/Images/home/healthylifestyle.jpg') no-repeat center center/cover;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
        padding: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 20px;
    }

    /* client exp */
    .carousel-track {
        flex-direction: column;
        direction: ltr; /* Left-to-right for mobile for better reading */
    }

    .slide {
        flex-direction: column;
        padding: 20px 10px;
    }

    .slide img {
        width: 100%;
        margin-bottom: 15px;
    }

    .content {
        width: 100%;
        text-align: center;
    }

    .content h3 {
        font-size: 18px;
    }

    .content p {
        font-size: 12px;
        line-height: 1.4;
    }

    .content .client-name {
        font-size: 14px;
    }

    .client-experience h2 {
        font-size: 22px;
    }


    /* Adjust form styling */
    form {
        transform: translate(0, 0); /* Center the form */
        padding: 15px;
        width: 90%; /* Adjust form width */
        max-width: 100%; /* Ensure it doesn't exceed the screen */
        margin: 0 auto; /* Center horizontally */
        box-shadow: none; /* Remove shadow for simplicity on smaller screens */
    }

    form input[type="text"], 
    form input[type="tel"], 
    form input[type="email"], 
    form textarea {
        width: 100%; /* Full width for inputs */
    }

    form button {
        width: 100%; /* Full width for button */
    }

    .gender-group {
        flex-direction: row; /* Keep gender options side-by-side */
        gap: 10px; /* Add spacing between options */
        align-items: center; /* Align buttons vertically */
    }

    /* Adjust h2 in the form */
    h2.appointment {
        font-size: 20px; /* Smaller font size for mobile */
    }

    /* Footer styling */
    footer {
        text-align: center; /* Center-align footer text */
        padding: 15px; /* Reduce padding */
    }

    .footer-container {
        flex-direction: column; /* Stack sections vertically */
        align-items: center;
    }
    
    .footer-section p {
        font-style: bold;
        text-align: center;
        margin-left: 0;
    }

    .footer-section {
        margin: 10px 0; /* Add spacing between sections */
        text-align: center; /* Center-align sections */
    }
    
    .follow {
        text-align: center;
        margin-right: 0;
    }
    
    .social-links {
    margin-right: 0;
    }

    .footer-section .social-links {
        justify-content: center; /* Center-align social links */
    }

    .footer-section .social-links img {
        width: 25px; /* Smaller icons for mobile */
        height: 25px;
    }
}

..why {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  h1 {
    font-size: 1.6rem;
    margin: 0;
  }
  
  h1 .highlight {
    color: #77aa33;
    font-weight: bold;
  }
  
  h2 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
  }
  
  .underline {
    width: 100px;
    height: 3px;
    background: #77aa33;
    margin: 10px auto;
    border: none;
  }
  
  p {
    color: #555;
    line-height: 1.6;
    margin: 10px 0;
  }
  
  ul.services-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px auto;
  }
  
  ul.services-list li {
    color: #77aa33;
    margin: 10px 0;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
  }
  
  ul.services-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #77aa33;
  }
  
  .buttons {
    margin-top: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Ensures it uses the parent color or your specified color */
  }

  .btn a {
    text-decoration: none; 
    color: inherit;
  }
  
  .btn.primary {
    background-color: #77aa33;
    color: #fff;
    margin-right: 10px;
  }
  
  .btn.secondary {
    background-color: #fff;
    color: #77aa33;
    border: 2px solid #77aa33;
  }
  
  .btn:hover {
    opacity: 0.9;
  }