/* General Reset */

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}



.full-width {
    width: 100%; /* Ensure full-width sections don't cause overflow */
    overflow-x: hidden;
}

body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #004f91;
    color: #fff;
    padding: 1em 0;
}

header h1 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5em;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #004f91;
    background-color: #fff;
    padding: 0.3em 0.5em;
    border-radius: 5px;
    
}

nav ul li a:active {
    background-color: #003662;
    color: #fff;
}

/* Hero Section */
#hero {
    background: #ffffff; /* Set background to white */
    text-align: center;
    padding: 4em 1em;
}

#hero h2 {
    font-size: 3rem;
    color: #2a5d84; /* Better readable blue */
    font-weight: bold;
}

#hero p {
    font-size: 1.5rem;
    color: #4a4a4a; /* Neutral dark gray for contrast */
}

#hero .btn {
    background: linear-gradient(to right, #004f91, #007acc);
    color: #fff;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    margin: 20px auto; /* Center align within the section */
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
}

#hero .btn:hover {
    background: linear-gradient(to right, #003662, #005f99);
    
}

/* How We Help Section */
#how-we-help {
    background: linear-gradient(to right, #e8f4fc, #ffffff);
    padding: 2em 0; /* Keep some padding for content spacing */
    width: 100vw; /* Full width of the viewport */
    margin: 0; /* Remove any margin to ensure it spans edge-to-edge */
    box-sizing: border-box; /* Ensure padding doesn't exceed width */
}

#how-we-help h2 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 2rem;
    color: #004f91;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    justify-content: center;
}

.card {
    background: #ffffff;
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 10px; /* Rounded corners */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.card h3 {
    color: #004f91;
    margin-bottom: 0.5em;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* FAQ Section */
#faq {
    padding: 2em 1em;
    text-align: center;
    background: #fff;
}

#faq h2 {
    margin-bottom: 0.5em;
    color: #004f91;
}

#faq p {
    margin-bottom: 1em;
    color: #555;
}

#faq .btn {
    background: linear-gradient(to right, #004f91, #007acc);
    color: #fff;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

#faq .btn:hover {
    background: linear-gradient(to right, #003662, #005f99);
    
}

/* Footer */
footer {
    background: #003662;
    color: #fff;
    padding: 2em 1em;
}
.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}

footer h3 {
    margin-bottom: 0.5em;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin: 0.5em 0;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #e8f4fc;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

footer .social-links a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-links a:hover {
    color: #e8f4fc;
    
}
html {
    scroll-behavior: smooth;
}
.footer-address a {
    color: inherit; /* Match the parent text color */
    text-decoration: none; /* Remove underline by default */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-address a:hover {
    text-decoration: underline; /* Add underline on hover */
    color: #e8f4fc; /* Optional: lighter color on hover */
}
