/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
}

/* Header Styles */
header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
}

header nav ul {
    list-style: none;
    text-align: center;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #1abc9c;
}

/* Hero Section */
#hero {
    background: url('path/to/hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 5rem 1rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Services Section */
#services {
    background: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

#services ul {
    list-style: none;
}

#services ul li {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #555;
}

/* Blog Preview Section */
#blog-preview {
    background: #f1f1f1;
    padding: 3rem 1rem;
    text-align: center;
}

#blog-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

#blog-preview article {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#blog-preview article h3 a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.5rem;
    transition: color 0.3s;
}

#blog-preview article h3 a:hover {
    color: #1abc9c;
}

#blog-preview article p {
    font-size: 1rem;
    color: #666;
}

/* Footer Styles */
footer {
    background-color: #2d6a4f;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-contact,
.footer-social,
.footer-links {
    width: 30%;
    min-width: 250px;
    padding: 10px;
}

.footer-contact h3, .footer-social h3, .footer-links h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-contact ul,
.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-contact ul li,
.footer-links ul li {
    margin: 10px 0;
    font-size: 1.1em;
}

.footer-contact ul li i,
.footer-links ul li a {
    margin-right: 10px;
}

.footer-contact a,
.footer-links a {
    text-decoration: none;
    color: #fff;
}

.footer-contact a:hover,
.footer-links a:hover {
    text-decoration: underline;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    font-size: 1.5em;
    color: #fff;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 1em;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact, .footer-social, .footer-links {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }
}
/* Main container holding both sections */
.main-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for mobile responsiveness */
    gap: 20px; /* Space between columns */
    padding: 20px;
}

/* Sidebar section "What We Offer" */
.what-we-offer {
    margin-top: 30px;
    position: sticky;
    top: 100px;
    width: 250px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.what-we-offer h2 {
    font-size: 1.2rem;
    color: #1abc9c;
    margin-bottom: 10px;
}

.what-we-offer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.what-we-offer ul li {
    margin: 8px 0;
}

.what-we-offer ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.what-we-offer ul li a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

/* Latest Blog Section */
.latest-blog {
    flex-grow: 1; /* Allow this section to take the remaining space */
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.latest-blog h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.latest-blog .blog-post {
    margin-bottom: 20px;
}

.latest-blog .blog-post h3 {
    font-size: 1.1rem;
    color: #1abc9c;
}

.latest-blog .blog-post h3 a {
    text-decoration: none;
    color: #1abc9c;
}

.latest-blog .blog-post h3 a:hover {
    color: #333;
}

.latest-blog .blog-post p {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    /* Stack the sections vertically on mobile */
    .main-container {
        flex-direction: column; /* Stack sections */
        padding: 10px; /* Adjust padding for mobile */
        margin-top: -148px;
    }

    .what-we-offer {
        position: relative; /* Remove sticky positioning on smaller screens */
        width: 100%; /* Full width for mobile */
        margin-bottom: 20px; /* Add spacing between sections */
        margin-top: 75px;
    }

    .latest-blog {
        margin-top: 65px;
        width: 100%; /* Full width for mobile */
    }

    /* Adjust text sizes and margins for better readability */
    .what-we-offer h2, .latest-blog h2 {
        font-size: 1.1rem;
    }

    .what-we-offer ul li a {
        font-size: 1rem;
    }

    .latest-blog .blog-post h3 {
        font-size: 1.05rem;
    }

    .latest-blog .blog-post p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* On smaller screens, reduce text sizes and margins even further */
    .what-we-offer h2, .latest-blog h2 {
        font-size: 1rem;
    }

    .what-we-offer ul li a {
        font-size: 0.9rem;
    }

    .latest-blog .blog-post h3 {
        font-size: 1rem;
    }

    .latest-blog .blog-post p {
        font-size: 0.85rem;
    }
}
/* General Styling */
.latest-blog {
    margin: 30px auto;
    padding: 20px;
    max-width: 1200px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.latest-blog h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.blog-post {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 15px 0;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.blog-post h3 a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

.blog-post h3 a:hover {
    color: #2980b9;
}

.blog-post i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #f39c12;
}

.blog-post p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.read-more {
    text-decoration: none;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.read-more:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .latest-blog {
        padding: 15px;
        margin-top: 65px;
    }

    .latest-blog h2 {
        font-size: 2rem;
    }

    .blog-post {
        margin: 10px 0;
        padding: 10px;
    }

    .blog-post h3 {
        font-size: 1.2rem;
    }

    .blog-post p {
        font-size: 0.9rem;
    }

    .read-more {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}
/* Pagination Styling */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.next-page {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.next-page:hover {
    background-color: #2980b9;
}

.next-page:focus {
    outline: none;
}
/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.3); /* Transparent background */
    backdrop-filter: blur(10px); /* Blurring effect for transparency */
    padding: 15px 30px;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: #415477;
    background: linear-gradient(45deg, #ff6f61, #ff9a8b, #f6c3b6, #a1c4fd, #a8ff78);
    -webkit-background-clip: text;
    background-clip: text;
    animation: colorShift 6s infinite alternate; /* Add color shifting animation */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

@keyframes colorShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Hover Effect for FitLife Text */
.logo-text:hover {
    color: #ff9a8b; /* Change to a solid color when hovered */
    background: none; /* Remove gradient on hover */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add a glowing effect */
}

/* Responsiveness */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
    .logo-img {
        height: 35px;
        width: 35px;
    }
}
/* General styling for the list */
.menu-list {
    list-style-type: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
}

.menu-item {
    margin: 15px 0; /* Space between menu items */
    position: relative; /* For positioning the icon */
}

/* Styling for the links */
.menu-link {
    text-decoration: none; /* Remove underline */
    color: #333; /* Dark color for the text */
    font-size: 18px; /* Set font size */
    padding: 10px 20px; /* Add padding around text */
    display: inline-block; /* Make links behave like buttons */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    border-radius: 10px; /* Rounded corners for links */
    font-weight: 500; /* Medium font weight for the text */
    position: relative; /* Allow positioning of icons */
    background-color: #f0f0f0; /* Light background color for links */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a 3D effect */
}

/* Styling for the icons */
.menu-link i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 22px; /* Icon size */
    transition: transform 0.3s ease; /* Smooth transition for icon scaling */
}

/* Hover effect for links */
.menu-link:hover {
    background-color: #0a1b0b; /* Green background on hover */
    color: white; /* White text color */
    transform: scale(1.05); /* Slightly enlarge the link */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Hover effect for icons */
.menu-link:hover i {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
}

/* Active link (current page or section) */
.menu-link.current {
    font-weight: bold; /* Make the current link bold */
    color: #0f1a0f; /* Change text color for active link */
}

/* Optional: Add a simple underline on hover */
.menu-link:hover {
    text-decoration: underline;
}
