/* General styling for the entire page */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* General container styling */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styling */
header {
    background: url('./images/Flag.jpeg') no-repeat center center, white;
    background-size: cover;
    color: black;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.header-container {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container img {
    margin-right: 20px;
}

.header-container h1 {
    margin: 0;
    flex-grow: 1;
}

.main-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

/* Hover effect for navigation links */
.main-nav li a:hover {
    color: navy;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

/* Social media section styling */
#social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    gap: 40px; /* Space between Facebook and Instagram links */
}

.social-icon {
    font-size: 2em;
    margin-right: 8px;
    color: black;
}

.social-link:hover .social-icon {
    color: navy;
    transform: scale(1.25);
}

/* Footer styling */
footer {
    background: navy;
    color: white;
    text-align: center;
    padding: 10px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Section styling */
.section-container {
    padding: 40px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Form styling */
form input,
form textarea,
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form textarea {
    height: 120px;
}

form button {
    background-color: #0779e4;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #065dc2;
}

.thank-you-message {
    text-align: center;
    margin-top: 50px;
}

/* Join section styling */
#join .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

#join img {
    margin-bottom: 20px;
}

#join h2, #join p {
    max-width: 800px;
    margin: 10 auto;
}

/* About section styling */
#about {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.image-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/* Services section styling */
#services {
    padding: 40px 0;
    background-color: #f8f9fa;
}

#services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: navy;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: navy;
}

.service-card p {
    margin: 10px 0 0;
    color: #555;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .header-container img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .header-container h1 {
        margin-bottom: 10px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1;
        border: 1px solid #ccc;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav.active {
        display: flex;
    }
}
