/* Define color variables */
:root {
    /* Primary Colors */
    --primary-green: #136634;
    --secondary-green: #064635;
    --light-green: #b3d9b3;
    --test-color: #FFFFC5;

    /* Neutral Colors */
    --background-gray: #f4f4f4;
    --text-dark: #333;
    --text-light: #fff;

    /* Accent Colors */
    --accent-orange: #ff9800;
    --accent-blue: #007BFF;
}

/* Apply Poppins font to the entire site */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-gray);
    color: var(--text-dark);
}

img {
    display: block; /* Prevent inline spacing from affecting layout */
    margin: 0;
    padding: 0;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    font-weight: 700; /* Bold for headings */
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600; /* Semi-bold for subheadings */
    color: var(--primary-green);
    margin-bottom: 1rem;
}

p {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.2rem; /* Increase font size */
    line-height: 1.8; /* Improve readability with more spacing */
    font-weight: 400; /* Regular weight for better visibility */
    color: var(--text-dark); /* Use a clear, darker color */
    margin-bottom: 1.5rem; /* Add more spacing between paragraphs */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow to make text pop */
}

/* Optional: Highlight important paragraphs */
p.highlight {
    font-weight: 600; /* Make it semi-bold */
    color: var(--primary-green); /* Use a more eye-catching color */
    background-color: var(--light-green); /* Add a subtle background */
    padding: 0.5rem; /* Add padding for emphasis */
    border-radius: 5px; /* Slightly rounded corners */
}


/* Animated gradient background */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.body-class {
    background: var(--light-green); /* Replace this with the solid color of your choice */
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation bar */
.nav-bar {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
}

.nav-links li a:hover {
    color: var(--light-green);
}

/* Logo */
.logo img {
    height: 3rem;
}

/* Main content container */
.content-container {
    flex: 1;
}

.container {
    flex: 1;
    padding: 2rem;
    text-align: left;
}

.center-container {
    text-align: center; /* Center-align specific elements like buttons */
}

/* Enroll button styling */
.enroll-button {
    margin: 1rem auto;
    display: inline-block;
    background-color: var(--secondary-green);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.enroll-button:hover {
    background-color: var(--primary-green);
    transform: scale(1.05);
}

.enroll-button:active {
    background-color: #0a2f24;
    transform: scale(0.95);
}

/* Footer */
.footer {
    background-color: var(--background-gray);
    color: var(--text-dark);
    padding: 1rem;
    text-align: center;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--primary-green);
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Banner styling */
.banner {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust as needed */
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Removes any inline spacing from the image */
}

/* Ensure the banner text and button are properly positioned */
.banner-text {
    position: absolute;
    top: 50%; /* Vertically center the text */
    left: 50%; /* Horizontally center the text */
    transform: translate(-50%, -50%);
    color: var(--text-light); /* Light text color for contrast */
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 8px;
}

/* Styling for the enroll button */
.banner-text .enroll-button {
    margin-top: 1.5rem; /* Increase spacing above the button */
    background-color: var(--primary-green); /* Matches your site's color scheme */
    color: var(--text-light);
    padding: 1rem 2rem; /* Increased padding for a bigger button */
    border-radius: 12px; /* Larger border radius for a smoother look */
    font-size: 1.25rem; /* Increased font size for better visibility */
    font-weight: bold; /* Bolder text to emphasize the button */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and active transitions */
    display: inline-block; /* Ensures proper button behavior */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for emphasis */
    cursor: pointer; /* Indicates interactivity */
}

/* Add hover and active states for interactivity */
.banner-text .enroll-button:hover {
    background-color: var(--secondary-green); /* Slightly darker or contrasting green */
    transform: scale(1.1); /* More pronounced hover animation */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.banner-text .enroll-button:active {
    background-color: #0a2f24; /* Pressed state color */
    transform: scale(0.95); /* Press-in effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for pressed state */
}/* General styling for the button */
.enroll-button {
    background-color: var(--primary-green); /* Matches your site's color scheme */
    color: var(--text-light);
    padding: 1rem 2rem; /* Increased padding for a bigger button */
    border-radius: 12px; /* Larger border radius for a smoother look */
    font-size: 1.25rem; /* Increased font size for better visibility */
    font-weight: bold; /* Bolder text to emphasize the button */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and active transitions */
    display: inline-block; /* Ensures proper button behavior */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for emphasis */
    cursor: pointer; /* Indicates interactivity */
    text-align: center; /* Center the text within the button */
}

/* Add hover and active states for interactivity */
.enroll-button:hover {
    background-color: var(--secondary-green); /* Slightly darker or contrasting green */
    transform: scale(1.1); /* More pronounced hover animation */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.enroll-button:active {
    background-color: #0a2f24; /* Pressed state color */
    transform: scale(0.95); /* Press-in effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for pressed state */
}

/* Optional: Use spacing utilities to adjust position */
.margin-top {
    margin-top: 1.5rem;
}

.margin-bottom {
    margin-bottom: 1.5rem;
}


.card {
    background-color: var(--text-light); /* White background */
    max-width: 32rem; /* Maximum width */
    width: 100%; /* Full width on smaller screens */
    padding: 2.5rem;
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center-align content */
}

.flex {
    display: flex;
}

.items-center {
    align-items: center; /* Vertically center */
}

.justify-center {
    justify-content: center; /* Horizontally center */
}

.min-h-screen {
    min-height: 100vh; /* Ensures full-screen height */
}

/* Ensure all input fields are consistent */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    display: block;
    width: 100%; /* Ensures full width of the container */
    padding: 0.5rem;
    border: 1px solid var(--background-gray);
    border-radius: 0.375rem; /* Matches rounded edges */
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--text-light);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Add focus state for better user feedback */
input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(19, 102, 52, 0.2); /* Green focus ring */
}

.error-message {
    color: red; /* Makes the text red */
    font-size: 0.875rem; /* Smaller font size */
    font-weight: 600; /* Semi-bold for emphasis */
    margin-top: 0.5rem; /* Adds some spacing above the error */
}

.curriculum {
    padding: 2rem;
    background-color: var(--light-gray); /* Light background for contrast */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 600px;
    margin: 2rem auto; /* Center the section */
    font-family: Arial, sans-serif; /* Clean font */
}

.curriculum h2 {
    text-align: center; /* Center-align the title */
    font-size: 1.8rem; /* Larger font size for emphasis */
    color: var(--primary-green); /* Accent color for the title */
    margin-bottom: 1rem;
}

.lesson-topics {
    list-style-type: disc; /* Bullet points */
    margin: 0;
    padding: 0 1.5rem; /* Add padding for the bullets */
    color: var(--text-dark); /* Match text color */
    font-size: 1.3rem; /* Increased font size for all list items */
}

.lesson-topics li {
    margin-bottom: 0.75rem; /* Space between each item */
    line-height: 1.6; /* Better line spacing */
}
