body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
}

/* Base Navigation Styles */
nav {
    padding: 5px 0;
    width: 100%;
    top: 0;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* Cleaner spacing */
	text-shadow: 2px 2px 4px rgba(50, 50, 50, 0.7); /* Slight shadow for better visibility */
}

.navbar li {
    margin: 0; /* Use gap instead for consistency */
	text-shadow: 2px 2px 4px rgba(50, 50, 50, 0.7); /* Slight shadow for better visibility */
}

.navbar a {
    color: #000; /* Ensure strong contrast for readability */
    text-decoration: none;
    padding: 0px 8px;
    border-radius: 25px; /* Pill-shaped buttons */
    font-size: 1.1em; /* Slightly larger text for better readability */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Add slight weight for emphasis */
    transition: all 0.3s ease; /* Smooth hover transitions */
}

.navbar a:hover {
    background-color: rgba(0, 0, 0, 0.35); /* More prominent hover background */
    color: #00aaff; /* Modern blue tone for hover effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add hover shadow for depth */
}

a {
    color: #005f73;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hamburger-menu {
    display: none; /* Show hamburger menu */
 }
	
.sahaja-logo,
.workforce-logo {
    height: 2.5em; /* Match the height of the navbar text */
    vertical-align: middle; /* Align images to the text */
    margin-right: 10px; /* Add spacing between the images and text */
	margin-left: 10px; /* Add spacing between the images and text */
}

/* Animated Hero Background */
header.hero {
    text-shadow: 2px 2px 4px rgba(50, 50, 50, 0.7); /* Slight shadow for better visibility */
    font-size: 24px; /* Adjust font size based on your design */
    font-weight: bold; /* Optional for emphasis */
    text-align: center;
    padding: 10px 10px;
	height: 20evh;
}

.hero-content h1 {
    font-size: 1.5rem;
    margin: 0;
}

.hero-content p {
    margin-top: 2px;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.cta-button {
    background-color: #008cba;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #006a93;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow sections to wrap */
    gap: 20px;
    padding: 20px;
}

/* Main Content (75%) */
.main-content {
    flex: 3;
    min-width: 60%; /* Ensure a responsive size */
}

/* Sidebar (25%) */
.sidebar {
    flex: 1;
    min-width: 35%; /* Ensure a responsive size */
}

/* Welcome Section */
.welcome {
    padding: 40px;
    background-color: #ffffff;
    text-align: center;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* Why Employee Wellness Matters Section */
.why-wellness-matters {
    padding: 20px;
    background-color: #e0f7fa;
    text-align: center;
    border-radius: 5px;
}

.why-wellness-matters h2 {
    font-size: 1.8em;
    color: #008cba;
    margin-bottom: 15px;
}

.stat-item {
    padding: 15px;
    text-align: left;
    margin-bottom: 15px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 20px;
    background-color: #e0f7fa;
    text-align: center;
    border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.features {
	font-size: 1.8em;
    color: #008cba;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.feature {
	padding: 15px;
    text-align: left;
    margin-bottom: 15px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    /*width: 250px;
    padding: 20px;
    text-align: center;*/
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.sidebar {
    width: 220px;
    background-color: #e0f4f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    font-size: 1.2rem;
    color: #005f73;
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    background-color: #006d77;
    padding: 8px;
    display: block;
    color: white;
    border-radius: 5px;
}

.sidebar ul li a:hover {
    background-color: #004851;
}

.animations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.animation-item {
    background-color: #ffffff;
    color: #008cba;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
    width: 250px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0; /* Start invisible */
    transform: scale(0.8); /* Start slightly smaller */
    animation: fadeInScale 1.5s ease forwards;
}

/* Apply staggered animation delays */
.animation-item:nth-child(1) {
    animation-delay: 0.5s;
}

.animation-item:nth-child(2) {
    animation-delay: 1s;
}

.animation-item:nth-child(3) {
    animation-delay: 1.5s;
}

.animation-item:nth-child(4) {
    animation-delay: 2s;
}

/* Keyframes for fadeInScale animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8); /* Slightly smaller */
    }
    to {
        opacity: 1;
        transform: scale(1); /* Normal size */
    }
}

/* Responsive Animations */
@media (max-width: 768px) {
    .animation-item {
        width: calc(100% - 20px); /* Full-width for small screens */
    }
	
	.feature-card {
        width: calc(45% - 20px); /* Two cards per row */
    }
	
	.content-wrapper {
        flex-direction: column; /* Stack sections vertically */
        gap: 30px;
    }

    .main-content, .sidebar {
        min-width: 100%; /* Full width for each section */
        flex: 1 1 100%; /* Allow flexible resizing */
    }
	
	header.hero {
		text-shadow: 2px 2px 4px rgba(50, 50, 50, 0.7); /* Slight shadow for better visibility */
		font-size: 24px; /* Adjust font size based on your design */
		font-weight: bold; /* Optional for emphasis */
		text-align: center;
		padding: 10px 10px;
		height: 10evh;
	}
	
	.hero-content h1 {
		font-size: 1.5em;
		margin-bottom: 0.5em;
	}

	.hero-content p {
		font-size: 1em;
	}
	
	.navbar {
        display: none; /* Hide by default on smaller screens */
        flex-direction: column; /* Stack links vertically */
        background: rgba(255, 255, 255, 0.95); /* Background for dropdown */
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 10px;
    }

    .navbar.active {
        display: flex; /* Show when active */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
    }
}

@media (max-width: 480px) {
    .feature-card {
        width: calc(100% - 20px); /* Full-width on small screens */
    }
}
