* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.favicon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

body {
    background: linear-gradient(to bottom, #f0f5f1, #e2e8e4);
    font-family: 'Roboto', sans-serif;
    color: #025d03;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header Section Styles */
header {
    position: sticky;
    top: 0;
    padding: 1em 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: #025d03 3px solid;
    width: 100%;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    margin-top: 5px;
}

header .logo a img {
    border-radius: 50%;
}

header .business-name {
    font-family: sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #025d03;
    margin-left: 1em;
    white-space: nowrap;
}

/* Desktop navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.desktop-nav ul li:not(:last-child)::after {
    content: '|';
    padding: 0 15px;
    color: #025d03;
}

.desktop-nav a {
    text-decoration: none;
    color: #025d03;
    transition: color 0.3s ease;
}

.desktop-nav li a:hover {
    color: #4CAF50;
    text-decoration: none;
}

/* Sub-menu Styling for Desktop */
.desktop-nav li.dropdown {
    position: relative;
}

.desktop-nav li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    min-width: 250px;
    padding-top: 10px;
}

.desktop-nav li .dropdown-menu li {
    padding: 5px 20px;
    white-space: nowrap;
}

/* Horizontal lines between mobile nav items */
.desktop-nav li .dropdown-menu li:not(:last-child)::after {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background-color: #025d03;
    margin: 5px 0;
}

.desktop-nav li .dropdown-menu li a {
    color: #025d03;
    text-decoration: none;
    padding: 0 0 10px;
    display: block;
}

.desktop-nav li .dropdown-menu li a:hover {
    color: #4CAF50;
    text-decoration: none;
}

.desktop-nav li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    background-color: #037406;
}

.mobile-nav ul li {
    padding: 0 0 10px;
    position: relative;
    width: 200px;
}

/* Horizontal lines between mobile nav items */
.mobile-nav ul li:not(:last-child)::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin: 0 auto 0 auto;
}

/* Sub-menu Styling for Mobile */
.mobile-nav .dropdown {
    position: relative;
}

.mobile-nav .dropdown-menu {
    display: none;
    flex-direction: column;
    position: relative;
    width: 100%;
    background-color: rgba(3, 116, 6, 0.8);
    margin-top: 10px;
}

.mobile-nav .dropdown-menu li {
    padding-left: 20px;
}

.mobile-nav .dropdown.active .dropdown-menu {
    display: flex;
}

.mobile-nav ul li.dropdown:after {
    content: '▸';
    font-size: 12px;
    position: absolute;
}

.mobile-nav ul li.dropdown.active:after {
    content: '▾';
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.hamburger-menu span {
    display: block;
    /* width: 25px; */
    height: 3px;
    background: #037406;
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .desktop-nav ul {
        display: none;
        flex-direction: row;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        align-self: center;
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #037406;
        margin: 5px 0;
    }

    .business-name {
        margin-left: 0;
        flex-grow: 1;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(3, 116, 6, 0.8);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        width: 100%;
        padding: 10px;
        animation: ease;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: flex-end;
    }

    .mobile-nav ul li {
        text-align: left;
    }

    .mobile-nav ul li a {
        text-decoration: none;
        color: #fff;
        text-align: left;
    }

    .mobile-nav ul li a:hover {
        color: #f0c040;
    }

    .mobile-nav .dropdown-menu li {
        padding-left: 15px;
    }

    .mobile-nav ul li .dropdown-menu {
        width: 100%;
        white-space: nowrap;
        text-align: left;
    }

    .mobile-nav ul li.dropdown a {
        padding-right: 25px;
    }

    .hamburger-menu.active + .mobile-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-nav ul {
        align-items: center;
    }
}

/* Hero Section Styles */
#hero {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3em 0;
    padding-top: 10em;
    position: relative;
    min-height: 60vh;
}

.hero-home {
    background: url('./images/spiritualhealingriver.png') no-repeat center center/cover;
}

.hero-about {
    background: url('./images/onyuluhero-forest.png') no-repeat center center/cover;
}

.hero-services {
    background: url('./images/sauna.png') no-repeat center center/cover;
}

.hero-science {
    background: url('./images/onyuluhero-wateroxygen.png') no-repeat center center/cover;
}

.hero-products {
    background: url('./images/coconutandoils.png') no-repeat center center/cover;
}

.hero-blog {
    background: url('./images/aromatherapy.png') no-repeat center center/cover;
}

.hero-contact {
    background: url('./images/contactuspen.png') no-repeat center center/cover;
}

#hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    display: flex;
    margin: 0;
    color: #fff;
    font-size: 48px;
    align-items: center;
    justify-content: center;
}

#hero h2 a {
    text-decoration: none;
    color: #f4f4f4;
}

#hero h2 a:hover {
    color: #333;
}

#hero p {
    font-size: 20px;
}

#hero .btn {
    display: inline-block;
    background: #037406;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

#hero .btn:hover {
    background: #4CAF50;
}

/* About Section Styles */
#about {
    background: #fff;
    color: #025d03;
}

#about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#about p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #025d03;
    text-align: left;
}

#about .btn {
    display: inline-block;
    background: #037406;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

#about .btn:hover {
    background: #4CAF50;
}

/* ************ Content Section styles ************ */
.content-section {
    padding: 80px 0;
}

.content-section .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
}

/* science of services section/page */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #025d03;
    margin-bottom: 20px;
}

#blog-post .content-section .container {
    display: flex;
    align-items: left;
    justify-content: space-around;
}

#blog-post .content-section p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: #025d03;
    /* margin-bottom: 20px; */
    text-align: left;
}

.detox-benefits {
    list-style-type: disc;
    /* margin-left: 40px; */
    margin-bottom: 20px;
    align-self: center;
    align-items: left;
}

#blog-post .content-section p + ul {
    font-weight: bold; 
    /* padding: 0 20px; */
}

.detox-benefits {
    padding: 0 40px;
}

.detox-benefits li {
    align-items: left;
    text-align: left;
    font-size: 1.1rem;
    /* padding: 0 20px; */
    margin-bottom: 10px;
}

/* Buttons */
.science-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

#blog-post .cta-button {
    background-color: #025d03;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    /* font-size: 1.1rem; */
    transition: background-color 0.3s;
}

#blog-post .cta-button:hover {
    background-color: #4CAF50;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    #blog-post .cta-button {
        padding: 10px 20px;
        /* font-size: 1rem; */
    }
}

@media (max-width: 480px) {
    #blog-post .content-section {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    #blog-post .cta-button {
        font-size: 0.9rem;
    }
}


/* ***************** Services Styles ****************** */
#featured-services {
    /* background: #fff; */
    color: #025d03;
}

#targeted-detox-programs {
    background: #fff;
    color: #025d03;
    text-align: center;
}

#targeted-detox-programs p {
    margin: 1em auto;
    max-width: 600px;
    font-size: 1em;
    line-height: 1.6;
}

.service-cards {
    display: flex;
    color: #025d03;
    flex-wrap: wrap;
    gap: 1em;
}

.card {
    background: #f4f4f4;
    padding: 1em;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    width: calc(50% - 1em);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex: 1 1 calc(50% - 1em);
    transition: transform 0.3s ease;
}

.alt-section .card {
    background: #fff;
}

.card h3 {
    color: #025d03;
    text-decoration: none;
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.card p {
    color: #025d03;
    font-size: 1em;
    margin: 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles for Service Sections and Cards */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        gap: 0;
    }
    
    .card {
        width: 100%;
        margin-bottom: 1em;
        flex: 1 1 100%;
        box-shadow: none;
    }
}

/* .detox-image img, .science-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
} */
/* **************** Services end ****************** */

/* Why Choose Us Styles */
#why-choose-us {
    background-color: #fff;
    color: #025d03;
    /* padding: 60px 0; */
}

#why-choose-us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#why-choose-us h2 {
    font-family: 'Sans-serif', Arial, sans-serif;
    font-size: 2em;
    color: #025d03;
    text-align: center;
    margin-bottom: 20px;
}

#why-choose-us p {
    /* font-family: 'Arial', sans-serif; */
    font-size: 1.1em;
    line-height: 1.6;
    color: #025d03;
    /* max-width: 800px;
    margin: 0 auto; */
    text-align: left;
}

/* ********* Testimonial Section Styles *********** */
#testimonials {
    background: #f4f4f4;
    color: #025d03;
    padding: 60px 20px;
}

#testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#testimonials .container h2 {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#testimonials .testimonial-card {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
}

#testimonials .client-name {
    margin-top: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    #testimonials .container {
        padding: 0 10px;
    }
    
    #testimonials .testimonial-card {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    #testimonials .testimonial-card {
        padding: 10px;
    }
}
/* ***************** Testimonial end ************** */

/* ***************** CTA Styles ******************* */
.cta-section {
    background: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    color: #025d03;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-image: url('./images/onyulubackgroundlogo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;

}

.cta-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-section .contact-link {
    color: #025d03;
    text-decoration: none;
}

.cta-section .contact-link:hover {
    color: #4CAF50;
}

.cta-section .btn {
    background-color: #037406;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.cta-section .btn:hover {
    background-color: #4CAF50;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 1.8em;
    }
    
    .cta-section p {
        font-size: 1em;
    }
    
    .cta-section .btn {
        font-size: 1em;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .cta-section h2 {
        font-size: 1.5em;
    }
    
    .cta-section p {
        font-size: 0.9em;
    }
    
    .cta-section .btn {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}
/* ****************** CTA end ******************** */

/* ********* Product Section on Home Page ******** */
#featured-products, 
#our-products, 
#carousel,
#products {
    padding: 80px 0;
    /* background-color: #fff; */
}

#featured-products h2, 
#our-products h2, 
#products h2 {
    font-size: 2em;
    color: #025d03;
    text-align: center;
    margin-bottom: 40px;
}

#our-products h3 {
    color: #025d03;
    border-bottom: 2px solid #025d03;
    padding: 0 0 10px;
    margin-bottom: 20px;
    text-align: left;
}

#our-products p {
    max-width: 1000px;
    margin: 0 auto 30px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #025d03;
    text-align: left;
    padding: 0 20px 10px;
    margin-bottom: 40px;
}

#carousel {
    position: relative;
    height: auto;
    padding: 60px 0;
    background-color: #f4f4f4;
}

.carousel-container {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    text-align: center;
    flex: 0 0 100%;
}

/* .carousel-slide img {
    width: 100%;
    height: 70vh;
    border-radius: 8px;
    padding: 20px 0;
    overflow: hidden;
    object-fit: cover;
} */

.carousel-slide img {
    width: 100%;
    height: calc(100vh - 100px);
    border-radius: 8px;
    padding: 40px 0;
    /* overflow: hidden; */
    object-fit: cover;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: #025d03;
}

@media (max-width: 768px) {
    /* .carousel-slide {
        min-width: 220px;
    } */
    .carousel-container {
        width: 100%;
    }

    .carousel-slide img {
        height: 50vh;
        padding: 10px;
    }
}

/* Product Cards */
.product-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1em;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    width: 30%;
    transition: transform 0.3s;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-header {
    margin-bottom: 15px;
}

.product-description {
    flex-grow: 1;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
}

.product-content h3 {
    color: #025d03;
    margin: 0;
}

.product-content p {
    color: #025d03;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price, .shipping {
    text-align: left;
}

.price {
    font-weight: bold;
    color: #025d03;
    margin-bottom: 0;
}

.shipping {
    color: #555;
    font-size: 0.8em;
    margin-bottom: 15px;
}


.product-card .cta-button {
    display: block;
    padding: 10px 20px;
    width: 100%;
    background-color: #037406;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.product-card .cta-button:hover {
    background-color: #4CAF50;
}

.product-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .product-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .product-card {
        width: 100%;
    }

    .product-card img {
        height: auto; /* Adjust height for mobile screens */
    }
}

@media (max-width: 480px) {
    .product-card img {
        height: auto; /* Further adjust height for smaller mobile screens */
    }
}

/* Product Details Section */
#product-details {
    padding: 60px 0;
    background-color: #f8f9fa;
}

#product-details.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#product-details h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #025d03;
}

.product-details h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #025d03;
}

.product-details p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #025d03;
}

.carousel {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.carousel img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.carousel img:hover {
    transform: scale(1.05);
}

.product-info {
    margin-bottom: 40px;
}

.product-info h3 {
    color: #025d03;
    border-bottom: 2px solid #025d03;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.product-info p {
    color: #025d03;
    text-align: left;
    padding: 0 20px;
    margin-bottom: 20px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #025d03;
}

.product-info ul li {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
    margin-bottom: 10px;
    text-align: left;
    padding: 0 20px
}

.product-info ul li::before {
    content: '';
    display: none;
}

.product-info ul li strong {
    font-weight: bold;
    text-align: left;
}

.product-buttons {
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-info ul li {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
    }
}

/* ************* Product Section end ************* */

/* ********** Blog Section on Home Page ********** */
#blog-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

#blog-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #025d03;
}

.blog-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1em;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    width: 30%;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card img {
    width: 100%;
    height: auto;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3 {
    color: #025d03;
    padding-bottom: 10px;
    margin-bottom: 20px;
    flex-shrink: 0;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: left;
    /* border-bottom: 2px solid #025d03; */
}

.blog-content p {
    /* color: #333; */
    /* margin-bottom: 20px; */
    /* padding: 0 20px; */
    /* height: 80px; */
    text-align: left;
    /* overflow: hidden; */
    text-overflow: ellipsis;
}

.blog-card .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #037406;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.blog-card .cta-button:hover {
    background-color: #4CAF50;
}

.blog-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .blog-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .blog-card {
        width: 100%;
    }
}

/* *** Blog List Page styles *** */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-post-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-post-card img {
    width: 100%;
    height: auto;
}

.blog-post-content {
    padding: 1em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.blog-post-content h3 {
    margin: 0 0 0.5em;
    flex-shrink: 0;
}

.blog-post-content p {
    margin: 0 0 1em;
    height: 80px; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.blog-post-content h3 a {
    color: #025d03;
    text-decoration: none;
}

.read-more {
    display: inline-block;
    padding: 0.5em 1em;
    background: #037406;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #4CAF50;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* *************** Blog Styles end **************** */

/* ************** About Page Styles *************** */
/* .about-content { */
#our-mission {
    padding-top: 8em;
}

section {
    padding: 3em 0;
    background: #fff;
}

section .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    margin-bottom: 1em;
    color: #025d03;
    font-size: 36px;
}

section p {
    margin: 0 0 1em;
    line-height: 1.6;
}

.alt-section {
    background: #f4f4f4;
}

.about-content p {
    text-align: left;
}

.about-content .team-members p {
    text-align: center;
}

.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.team-member {
    flex: 1;
    max-width: 30%;
    text-align: center;
    margin-bottom: 2em;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1em;
}

/* ************** About Styles end *************** */

/* ************************************************ */
/* Service Page Specific Styles - Services Sections */
/* ************************************************ */
#our-services-intro {
    padding: 60px 20px;
    background-color: #fff;
}

#our-services-intro .container {
    max-width: 1200px;
    margin: 0 auto;
}

#our-services-intro h2 {
    font-size: 2.5em;
    color: #025d03;
    margin-bottom: 20px;
}

#our-services-intro p {
    font-size: 1.2em;
    color: #025d03;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    #our-services-intro h2 {
        font-size: 2em;
    }

    #our-services-intro p {
        font-size: 1.1em;
    }
}

#colon-hydrotherapy, .services {
    padding: 4em 0;
}
.services {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}
.services .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
}
/* Default layout for services */
.science-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.science-content h3 {
    color: #025d03;
    /* padding: 10px; */
    margin-bottom: 20px;
    flex-shrink: 0;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: left;
    border-bottom: 2px solid #025d03;
}

.science-content p {
    text-align: left;
    text-overflow: ellipsis;
}

.service-text, 
.service-image,
.detox-image,
.detox-text,
.science-text
.science-image {
    flex: 1;
}


.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detox-image img, .science-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    padding: 20px;
}

/* .service-image, */
.service-text {
    max-width: 50%;
    padding: 20px;
}

.service-text h2 {
    margin-top: 0;
}

.service-text p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1em;
}

.science-text {
    margin-bottom: 20px;    
}

.science-text p {
    text-align: left;
    padding: 0 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #037406;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #4CAF50;
}

/* Alternating layout for services */
.services:nth-child(even) .container {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .service-image,
    .service-text {
        max-width: 100%;
    }

    .services:nth-child(even) .container {
        flex-direction: column;
    }
}

/* ************* Detox Programs Detail ************ */
.sub-service {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    color: #025d03;
}

.sub-service.alt-section {
    background: #f4f4f4;
}

.sub-service h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.sub-service p,
.sub-service ul {
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.1em;
}

.sub-service ul {
    list-style: disc inside;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.sub-service ul li {
    margin-bottom: 10px;
}

.sub-service .container {
    align-items: center;
}

.program-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 60px;
}

.program-detail-info {
    width: 80%;
    padding: 0;
}

.program-detail-info h2 {
    margin-bottom: 20px;
}

.program-detail-info p {
    margin-bottom: 40px;
}
/* *************** Service Page End *************** */

/* *************** Contact us page styles ********* */
#contact {
    background: #f4f4f4;
    color: #025d03;
}

.contact-content {
    padding: 6em 0;
}

#contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #025d03;
}

.contact-details {
/* .contact-form { */
    flex: 1;
    min-width: 300px;
}

.contact-details {
    float: left;
    width: 50%;
    padding-right: 20px;
}

.contact-details h2, .contact-details h3 {
    margin-bottom: 20px;
}

.contact-details p, .contact-details a {
    margin-bottom: 10px;
    color: #025d03;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    float: right;
    width: 50%;
    max-width: 550px;
    min-width: 300px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    padding: 10px 20px;
    background: #037406;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background: #4CAF50;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 200px 500px;
    overflow: hidden;
}

/* Popup content box */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    min-width: 300px;
    min-height: 200px;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: transform 0.3s ease-in-out, max-width 0.3s ease-in-out; /* Smooth shrink on resize */;
    transform: translateY(0);
}

#popup-text {
    color: #025d03;
    font-size: 1rem;
}

/* Success and error styles */
.popup-container.success .popup-content {
    border: 2px solid green;
}

.popup-container.error .popup-content {
    border: 2px solid red;
}

/* Buttons styling */
.popup-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}

.popup-buttons .btn {
    padding: 10px 20px;
    background-color: #025d03;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #4CAF50;
}

/* Tablet-Specific Styles */    
@media (max-width: 992px) {
    .popup-container {
        padding: 120px 330px;
    }
    .popup-content {
        max-width: 400px;
        min-width: 300px;
    }

    .popup-buttons .btn {
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    .popup-container {
        padding: 250px 10px;
    }
    .popup-content {
        max-width: 100%;
        min-width: auto;
        padding: 20px 10px;
    }

    .popup-buttons .btn {
        padding: 10px;
        font-size: 0.8rem;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .popup-content {
        max-width: 100%;
        width: 100%;
        padding: 15px;
        margin: 0 5px;
    }

    .popup-buttons .btn {
        padding: 8px;
        font-size: 0.75rem;
    }
}

/* ************ Contact us page end ************* */

/* ************ Footer Sections styles ************ */
footer {
    background: #333;
    color: #fff;
    padding: 2em 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.footer-section {
    flex: 1;
    padding: 0;
}

.footer-section h4 {
    margin-bottom: 0.5em;
    font-size: 1.2em;
}

.footer-section p, .footer-section a {
    margin: 0.2em 0;
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #4CAF50;
    text-decoration: none;
}

.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1em;
}

.social-icons li {
    display: inline-block;
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    transition: fill 0.3s;
}

.social-icons a:hover svg {
    fill: #037406;
}

.footer-section form {
    display: flex;
    flex-direction: column;
}

.footer-section input[type="email"] {
    padding: 0.5em;
    margin-bottom: 0.5em;
    border: none;
    border-radius: 3px;
}

.footer-section button {
    padding: 0.5em;
    background-color: #037406;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.footer-section button:hover {
    background-color: #4CAF50;
}

/* footer bottom styles */
.footer-bottom {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: small;
    margin: 0;
    text-decoration: none;
}

.footer-bottom a {
    margin: 0.2em 0;
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #4CAF50;
    text-decoration: none;
}
/* ************ Footer Section Styles ************ */

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-details,
    .contact-form {
        width: 100%;
        margin: 10px 0;
    }

    .service {
        flex-direction: column;
    }

    .service img {
        width: 100%;
    }
    
    .program-detail-info {
        width: 100%;
    }

    .program-detail-info ul {
        text-align: left;
    }
    
    #contact .container {
        flex-direction: column;
    }
    
    .contact-details, .contact-form {
        margin: 0;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .footer-contact, .footer-social, .footer-newsletter {
        margin: 0;
        margin-bottom: 20px;
    }
    
    .footer-newsletter input {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 576px) {
    header, footer {
        padding: 10px;
    }

    .service-text, .service-image {
        width: 100%;
        padding: 0;
    }

    .service-image {
        margin-top: 10px;
    }
}