/* styles.css */

/* Existing styles for header, footer, and other components */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');


body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../images/moneyfallingimage.jpg'); /* Path to your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Ensures the background stays fixed when scrolling */
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #006400; /* Dark Green */
    color: white;
    position: relative;
    z-index: 10;
}
.header .logo {
    font-size: 24px;
    font-weight: bold;
}
.header .nav {
    display: flex;
    gap: 20px;
}
.header .nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.header .nav a:hover {
    color: #ddd;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}
@media (max-width: 600px) {
    .header .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #006400; /* Dark Green */
    }
    .header .nav.active {
        display: flex;
    }
    .header .nav a {
        padding: 10px;
        width: 100%;
        text-align: left;
        border-top: 1px solid #444;
    }
    .menu-toggle {
        display: flex;
    }
}
.content {
    flex: 1;
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    margin: 20px; /* Smaller margin to expose more of the background image */
}
.footer {
    background-color: #006400; /* Dark Green */
    color: white;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 10;
}
.footer p {
    margin: 0;
}

/* New styles for the services page */

.section {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    color: black; /* Ensures text is readable */
    padding: 10px;
    border-radius: 5px;
    margin: 20px; /* Smaller margin to expose more of the background image */
}
.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: black; /* Black titles */
    padding: 10px;
    border-radius: 5px;
    background: none; /* No background */
}
.section h3 {
    color: black; /* Black titles */
    padding: 10px;
    border-radius: 5px;
    background: rgba(144, 238, 144, 0.9); /* Light Green background */
}
.boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.box {
    border: 1px solid #ccc;
    padding: 10px;
    width: 150px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    color: #333333; /* Dark Gray */
    margin: 20px; /* Smaller margin to expose more of the background image */
}
.box img {
    width: 100%;
    height: auto;
}
.box p {
    margin: 10px 0 0;
}
.box a {
    text-decoration: none;
    color: #333333; /* Dark Gray */
    display: block;
    transition: transform 0.3s;
}
.box a:hover {
    transform: scale(1.05);
}

.scrollable {
    position: relative;
}
.scroll-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding-bottom: 10px;
}
.scroll-container .box {
    display: inline-block;
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.scroll-btn.left {
    left: 0;
}
.scroll-btn.right {
    right: 0;
}

/* Home Page Titles */
.home-title {
    font-family: 'Pacifico', cursive;
    color: #006400; /* Dark Green */
    margin: 40px 0;
}
/* Sub Topic Page Headings */
.section h2, .section h3 {
    color: black; /* Black titles */
    padding: 10px;
    border-radius: 5px;
    background: rgba(144, 238, 144, 0.9); /* Light Green background */
}

/* Sub Topic Page Content */
.section p {
    background-color: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    color: #333333; /* Dark Gray */
    padding: 20px; /* Increased padding for more spacing */
    border-radius: 5px;
    margin: 20px; /* Increased margin for more spacing */
}
/* Add this to your styles.css file */

/* Home Page Image Section */
.image-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px;
}

.home-image {
    width: 200px; /* Adjust width as needed */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.home-description {
    background-color: rgba(144, 238, 144, 0.8); /* Light green background */
    color: #333333; /* Dark Gray */
    padding: 20px;
    border-radius: 5px;
    width: 50%; /* Half the width of the screen */
    font-size: 30px; /* Increase font size */
    line-height: 1.8;
    text-align: center; /* Center text horizontally */
    display: flex;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    margin: 20px auto; /* Center the box itself */
    flex-direction: column; /* Centers content when multiline */
}



/* Home Page Title */
.home-title {
    margin: 40px 0;
}

/* Home Page Image Section */
.image-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.home-image {
    width: 200px; /* Adjust width as needed */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Home Page Description Section */
.description-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0;
}

.home-description {
    background-color: rgba(144, 238, 144, 0.8); /* Light green background */
    color: #333333; /* Dark Gray */
    padding: 20px;
    border-radius: 5px;
    width: 50%; /* Half the width of the screen */
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

.description-image {
    width: 45%; /* Adjust width as needed */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Add this to your styles.css file */

/* Home Page Title */
.home-title {
    margin: 40px 0;
}

/* Home Page Image Section */
.image-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.home-image {
    width: 200px; /* Adjust width as needed */
    height: 200px; /* Set height to make images square */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Info Section */
.info-section {
    background-color: rgba(144, 238, 144, 0.8); /* Light green background */
    color: #333333; /* Dark Gray */
    padding: 20px;
    text-align: center;
    margin: 40px 0;
}

.info-text {
    font-size: 18px;
    line-height: 1.6;
}

/* Home Page Description Section */
.description-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0;
}

.home-description {
    background-color: rgba(144, 238, 144, 0.8); /* Light green background */
    color: #333333; /* Dark Gray */
    padding: 10px 20px; /* Minimal padding for tight fit */
    border-radius: 5px;
    width: fit-content; /* Adjusts width to fit text content */
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    display: flex;
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
}


.description-image {
    width: 45%; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure the description image is the same height as the description box */
.description-section {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Stretch items to be the same height */
    gap: 20px;
    margin: 40px 0;
}

/* Centered About Us title */
.about-title {
    text-align: center;
    margin: 40px 0; /* Gap between sections */
}

.about-title h2 {
    font-family: 'Pacifico', cursive;
    font-size: 36px; /* Larger title size */
    font-weight: bold;
    color: #000; /* Dark Green */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.main-content p {
    font-size: 18px; /* or adjust to your preference */
    line-height: 1.6;
    margin-bottom: 15px; /* adds spacing between paragraphs */
}
/* Centered Logo Styling */
.logo-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.club-logo {
    width: 350px; /* Adjust size as needed */
    height: 250px; /* Ensure it’s a square image */
    border: none; /* Removes any border */
    box-shadow: none; /* Removes the shadow */
}
