/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-image: url('images/map.svg'); /* Use your image path here */
    background-size: cover;
    background-attachment: fixed; /* Makes the background scroll with the text */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

/* Header Styling */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #002244; /* Same dark blue as the footer */
    padding: 10px 0;
}

header .logo img {
    max-width: 150px;
    display: block;
    padding-left: 20px; /* Add padding to the left of the logo */
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px; /* Add padding to the right of the buttons */
}

nav li {
    margin-left: 30px;
}

.container {
    display: flex;
    justify-content: space-between; /* Align logo and menu items */
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

nav a {
    text-decoration: none;
    color: #FFD700; /* Gold accent */
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    color: #ffffff;
    padding: 80px 0; /* Reduced height */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    text-align: center; /* Center text inside */
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 34, 68, 0.6); /* Dark overlay */
}

.hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 20px;
    font-weight: 400;
}

/* Main Content */
main {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background for content */
}

main .container {
    display: block; /* Remove any flex layout for vertical alignment */
    padding-left: 15px; /* Small left padding */
}

main h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #002244;
    font-weight: 600;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
    padding-bottom: 5px;
}

main p, main ul {
    margin-bottom: 20px;
    font-size: 16px;
}

.objectives {
    margin-bottom: 40px; /* Adjust the value as needed */
}

.objectives ul {
    list-style-type: none; /* Remove the default black bullet points */
    margin-bottom: 20px;
    font-size: 16px;
}

.objectives ul li {
    margin-left: 0;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.objectives ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 24px;
    line-height: 20px;
}

/* Membership section styling */
.membership ul {
    list-style: none;
}

.membership ul li {
    margin-left: 0;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.membership ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 24px;
    line-height: 20px;
}



/* Additional Styles */
/* Links */
a {
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

.btn {
    display: inline-block;
    background-color: #FFD700;
    color: #002244;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e6b800;
}

html {
    scroll-behavior: smooth;
}

nav a, .btn {
    transition: color 0.3s, background-color 0.3s;
}

/* Footer Styling */
footer {
    background: #002244;
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
    display: block; /* Ensures no flex overrides */
}

footer .container {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    justify-content: center; /* Center elements vertically */
    align-items: center; /* Center elements horizontally */
}

footer p {
    font-size: 14px;
    margin-bottom: 10px; /* Ensure spacing between elements */
}

footer a {
    color: #FFD700; /* Gold accent color for the link */
    text-decoration: none;
}

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

/* Remove margin from the last footer paragraph (copyright) */
footer p:last-of-type {
    margin-bottom: 0;
}

/* About Us Page Styles */
/* About Us Page Styles */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.member {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
}

/* Styles for the member info section */
.member-info {
    display: flex;
    flex-direction: column;
}

/* Styles for the member name */
.member-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #002244;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 5px;
}

/* Yellow underline for all members */
.member-info h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Styles for the founding member text */
.founding-member {
    font-size: 14px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 5px;
    order: -1; /* This moves the founding member text above the name */
}

/* Adjust spacing for the name when founding member text is present */
.founding-member + h2 {
    margin-top: 5px;
}

/* Remove any extra space for non-founding members */
.member-info h2:not(:has(+ .founding-member)) {
    margin-bottom: 10px;
}

.member-info p {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    /* Reduce hero text size */
    .hero-text h1 {
        font-size: 30px; /* Reduced from 40px */
    }

    .hero-text p {
        font-size: 18px; /* Reduced from 25px */
    }

    /* Decrease the padding for buttons and logo */
    header .logo img {
        max-width: 180px; /* Reduce the logo size a bit */
    }

    header {
        padding: 15px 0; /* Reduce header padding */
    }

    nav a, .btn {
        font-size: 18px; /* Reduce button text size */
        padding: 12px 20px; /* Reduce button padding */
    }

    nav li {
        margin-left: 0;
        margin-bottom: 10px; /* Reduce margin between buttons */
    }
}

@media (max-width: 480px) {
    /* Further reduce font size for very narrow screens */
    .hero-text h1 {
        font-size: 26px; /* Slightly smaller for very narrow screens */
    }

    .hero-text p {
        font-size: 16px;
    }

    nav a, .btn {
        font-size: 16px;
        padding: 10px 18px; /* Adjust button padding for smaller screens */
    }

    header .logo img {
        max-width: 150px; /* Slightly smaller logo for narrow screens */
    }
}

/* Dark mode styles 
@media (prefers-color-scheme: dark) {
    body {
        background-color: #333;
        color: #f5f5f5;
    }
    
    header {
        background-color: #111;
    }
    
    nav a {
        color: #FFD700; 
    }

    main {
        background-color: #444; 
    }

    footer {
        background-color: #111;
        color: #f5f5f5;
    }
}

 Dark mode styles */