/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Update to styles.css */

/* Updated styles.css */

header {
    background-color: white;
    color: #333;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center; /* Vertically centers items */
    justify-content: space-between; /* Spaces out items within the header */
}

header .logo {
    max-width: 500px; /* Adjusted width for the logo */
    height: auto;
    flex-shrink: 0; /* Prevent the logo from shrinking */
}

header .logo img {
    width: 100%;
    height: auto;
}

nav {
    display: flex; /* Use flexbox for the navigation items */
    align-items: center; /* Center items vertically */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Display items in a row */
    align-items: center; /* Aligns buttons with the center of the logo */
    gap: 20px; /* Space between buttons */
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px; /* Padding for a better button appearance */
    display: inline-block; /* Ensures padding affects button height */
    line-height: 1.5; /* Ensures vertical alignment */
}

.login-button {
    background-color: #007BFF; /* Blue background color for the login button */
    color: white; /* White text color */
    border-radius: 5px; /* Rounded corners */
    font-weight: normal; /* Normal font weight for the button */
    transition: background-color 0.3s ease; /* Smooth color transition on hover */
}

.login-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}
section {
    padding: 40px 0;
    text-align: center;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

section#home {
    background-color: #e6f2ff;
}

section#about, section#services, section#resources, section#contact {
    background-color: white;
    margin-bottom: 10px;
    border-radius: 5px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea, form button {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

footer {
    background-color: #0066cc;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Existing styles, like header styles, would be above */

/* Welcome Section Styles */
/* Welcome Section Styles */
.welcome-section {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding: 100px 20px;
    background: url('image1.png') no-repeat center center/cover;
    color: #1A237E;
    height: 100vh; /* Full screen height */
}

.welcome-content {
    max-width: 600px;
    text-align: left; /* Left align the text */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: white background for readability */
    padding: 20px;
    border-radius: 10px;
}

.welcome-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.welcome-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1A237E;
}

.welcome-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}


.welcome-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Any additional styles would go below */

/* Section for Mutual Fund Business Opportunity */
.business-opportunity {
    text-align: center;
    padding: 50px 20px;
    background-color: #F4F4F9;
}

.business-opportunity h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1A237E;
    margin-bottom: 40px;
}

.business-boxes {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.business-box {
    text-align: center;
    width: 18%;
    margin-bottom: 20px;
}

.business-box img {
    width: 250px;  /* Increased the size by 4 times */
    height: 250px;
    margin-bottom: 15px;
}

.business-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #1A237E;
    font-weight: bold;
    text-transform: uppercase;
}

/* Enhanced styles for the About Our Firm and About Us sections */

/* General section styling */
#about, #services {
    background-color: white;
    margin-bottom: 20px;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Heading styling */
#about h2, #services h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1A237E;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Paragraph styling for About Our Firm and About Us */
#about p, #services p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Additional styling for About Us list */
#services ul {
    list-style-type: none;
    padding-left: 0;
}

#services ul p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

/* Link hover effect for better interaction */
a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Existing styles... */

@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack the logo and nav */
        align-items: flex-start; /* Align items to the start */
    }

    nav ul {
        flex-direction: column; /* Stack navigation items */
        align-items: flex-start; /* Align to the left */
        width: 100%; /* Full width for mobile */
    }

    nav ul li {
        margin: 5px 0; /* Spacing between links */
    }

    .welcome-section {
        padding: 60px 10px; /* Reduced padding */
        height: auto; /* Allow section to resize */
    }

    .welcome-content {
        max-width: 90%; /* Full width for mobile */
    }

    .business-boxes {
        flex-direction: column; /* Stack boxes vertically */
        align-items: center; /* Center items */
    }

    .business-box {
        width: 80%; /* Take up more width */
        margin-bottom: 20px; /* Spacing between boxes */
    }

    .business-box img {
        width: 80%; /* Responsive image size */
        height: auto; /* Maintain aspect ratio */
    }

    .container {
        width: 90%; /* Full width for mobile */
    }

    form {
        width: 100%; /* Full width for form */
        max-width: none; /* Remove max width */
    }

    form input, form textarea, form button {
        width: 100%; /* Full width for inputs */
    }

    footer {
        padding: 20px 10px; /* Adjust footer padding */
    }
}

/* Additional mobile styles for smaller devices */
@media (max-width: 480px) {
    .welcome-content h1 {
        font-size: 2rem; /* Adjust heading size */
    }

    .welcome-content h2 {
        font-size: 1.5rem; /* Adjust subheading size */
    }

    .welcome-content p {
        font-size: 1rem; /* Adjust paragraph size */
    }

    .business-opportunity h2 {
        font-size: 2rem; /* Adjust section heading size */
    }

    .business-box {
        width: 90%; /* Take up most of the screen */
    }
}


