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;
    padding: 20px;
}

/* Main Content (75%) */
.main-content {
    flex: 3;
    padding-right: 20px;
}

/* Animations Section */
.calculators-section {
    text-align: center;
    padding: 20px;
}

.calculators-section h2 {
    font-size: 2em;
    color: #008cba;
    margin-bottom: 20px;
}

/* Animations Container */
.animations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Animated Calculator Cards */
.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;
    width: calc(30% - 20px); /* Three items per row on medium screens */
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.5s ease forwards;
}

/* Delays for Animations */
.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; }
.animation-item:nth-child(5) { animation-delay: 2.5s; }
.animation-item:nth-child(6) { animation-delay: 3s; }
.animation-item:nth-child(7) { animation-delay: 3.5s; }
.animation-item:nth-child(8) { animation-delay: 4s; }
.animation-item:nth-child(9) { animation-delay: 4.5s; }
.animation-item:nth-child(10) { animation-delay: 5s; }
.animation-item:nth-child(11) { animation-delay: 5.5s; }
.animation-item:nth-child(12) { animation-delay: 6s; }
.animation-item:nth-child(13) { animation-delay: 6.5s; }

/* Fade-in and Scale Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Responsive Animations */
@media (max-width: 768px) {
    .animation-item {
        width: calc(45% - 20px); /* Full-width for small screens */
    }
	
	.content-wrapper {
        flex-direction: column; /* Stack sections vertically */
        gap: 30px;
    }

    .main-content {
        min-width: 100%; /* Full width for each section */
        flex: 1 1 100%; /* Allow flexible resizing */
    }
	
	/* 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 */
    }
}
	
	.hero-content h1 {
		font-size: 0.9em;
		margin-bottom: 0.5em;
	}

	.hero-content p {
		font-size: 0.75em;
	}
	
	.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 */
    }
	
	.animation-item {
        width: calc(45% - 20px); /* Two items per row */
    }
}

@media (max-width: 480px) {
	.animation-item {
        width: calc(100% - 20px); /* Full-width for small screens */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    
}

@media (max-width: 480px) {
    
}