/* General Body Styles */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    margin-right: 10px;
    border-radius: 50%;
}
.logo .a {
    
    color: #0070f3;
}
.logo .b {
    color: #1F3C58;
}

.navLinks {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navLinks a, .navLinks li {
    color: #1F3C58;
    font-size: large;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.menuButton {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    position: relative;
    min-height: 80vh;
    display: grid; /* Use Grid for layering */
    place-items: center; /* Center content horizontally and vertically */
    text-align: center;
    /* background-blend-mode removed to allow the ::before overlay to work correctly */
    color: white; /* Changed to white for better readability */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

/* The overlay */
.hero::before {
    content: '';
    /* Position the overlay in the same grid cell as the content */
    grid-area: 1 / 1 / 2 / 2;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust the opacity (0.4) to make it darker or lighter */
}

/* The content container */
.hero-content {
    /* Position the content in the same grid cell, on top of the overlay */
    grid-area: 1 / 1 / 2 / 2;
    position: relative; /* Needed for stacking context within the grid cell */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.joinButton {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background-color: #0070f3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.joinButton:hover {
    background-color: #005bb5;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.card {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .image {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightboxContent {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightboxContent img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.closeButton {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menuButton {
        display: block;
        color: #721c24;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color:#1F3C58;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .navLinks.showMenu {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features {
        flex-direction: column;
    }
    .navLinks a, .navLinks li {
    color: white;
    font-size: large;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
}
}

/* Contact Form Section */
.contact-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.contact-container {
    max-width: 700px;
    max-height: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-container p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box; /* Important for padding and width */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .joinButton {
    width: auto;
    padding: 1rem 2.5rem;
}

.contact-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.contact-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.footer {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.footer .socialMedia {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer .socialMedia .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  text-decoration: none;
}

.footer .socialMedia .icon i {
  font-size: 20px;
  color: #fff;
  transition: 0.3s ease;
}

.footer .socialMedia .icon:hover {
  background: #fff;
}

.footer .socialMedia .icon:hover i {
  color: #111;
}

.footer .copyright {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

/* ----------------------
   RESPONSIVENESS
------------------------- */

@media (max-width: 600px) {
  .footer {
    padding: 30px 10px;
  }

  .footer .socialMedia {
    gap: 15px;
  }

  .footer .socialMedia .icon {
    width: 40px;
    height: 40px;
  }

  .footer .socialMedia .icon i {
    font-size: 18px;
  }

  .footer .copyright {
    font-size: 13px;
  }
}
/* Info Boxes Section */
.info-boxes {
    display: flex;
    justify-content: space-around;
    padding: 4rem 2rem;
    background-color: #faf7f7;
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-box {
    flex-basis: 300px;
    padding: 2rem;
}

.info-box i {
    color: #333;
    margin-bottom: 1rem;
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 1rem;
    color: #666;
}
