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

body {
    font-family: "Bitter", serif;
}

.header {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    background: #fff;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #ffffff;
    width: 100px;
    height: 100px;
    margin-left: 70px;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #130a0a;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.nav a:hover {
    background-color: #457697;
    border-radius: 5px;
    color: #fff;
}

.nav a.active {
    background-color: #457697;
    color: #ffffff;
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}


/* General padding and typography */
.intro, .three-columns, .two-columns, .buttons, .carousel, .contact-section {
    padding: 2rem;
}

.intro h1, .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: "Bitter", serif;
    color: #457697;
}

.intro p {
    line-height: 1.6;
    margin-bottom: 5%;
}

.container {
    max-width: 800px; 
    margin: 0 auto; 
    text-align: center; 
    padding: 20px; 
}

/* Two-column section styling */
.two-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.two-columns div {
    flex: 1 1 45%; /* Each column takes up about 45% of the width for a balanced two-column layout */
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

.two-columns img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.two-columns p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Three-column section styling */
.three-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.three-columns div {
    flex: 1 1 30%; /* Each column takes up about 30% of the width for three-column layout */
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.three-columns img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.three-columns p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .two-columns div, .three-columns div {
        flex: 1 1 100%; /* Stack columns in mobile view */
    }
}

  /* Responsive Styling */
  @media (max-width: 992px) {
    .three-columns div {
      flex: 1 1 45%; /* Each column takes about 45% on medium screens */
    }
  }
  
  @media (max-width: 768px) {
    .three-columns {
      flex-direction: column;
      align-items: center;
    }
  
    .three-columns div {
      width: 100%; /* Each column takes full width on small screens */
      margin-bottom: 20px;
    }
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Layout for membership options */
.membership-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Text and Button Styling */
.text-container h2 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.text-container p {
    margin: 5px 0;
    font-size: 1rem;
}

.button-container button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-container button:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .membership-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-container {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .text-container h2 {
        font-size: 1.25rem;
    }

    .text-container p,
    .button-container button {
        font-size: 0.9rem;
    }
}
/* General styling */
.text-container {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 10px auto;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    width: 80%; /* Balanced width for larger screens */
    max-width: 800px;
}

.button-container button {
    width: 100%;
    padding: 10px 20px;
    background-color: #457697;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background-color: #375a7e;
}

/* Membership Form Styling */
.membership-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%; /* Larger width for desktop views */
    max-width: 400px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1000;
}

.membership-form h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.membership-form label {
    display: block;
    margin-top: 15px;
}

.membership-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #457697;
    border-radius: 5px;
}

.membership-form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #457697;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%; 
    font-size: 1.2rem;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.membership-form button:hover {
    background-color: #365a6d;
    transform: scale(1.05);
}

.membership-form button:active {
    background-color: #2d4c5c;
    transform: scale(1);
}


@media (max-width: 1200px) {
    .text-container {
        width: 85%; 
    }
}

@media (max-width: 992px) {
    .text-container {
        width: 90%; 
    }
    .membership-form {
        width: 60%; 
    }
}

@media (max-width: 768px) {
    .text-container {
        width: 95%; 
    }
    .membership-form {
        width: 80%; 
    }
}

@media (max-width: 576px) {
    .membership-form {
        width: 95%; 
    }
}

.text-container:hover {
    transform: scale(1.05); 
}

h2 {
    color: #457697;
    margin-bottom: 5%; 
}

p {
    line-height: 1.6;
    margin: 0.5rem 0; 
}

.button-container {
    margin: 10px 0; 
}

button {
    padding: 10px 20px; 
    border: none; 
    background-color: #457697; 
    color: white; 
    cursor: pointer; 
    margin-bottom: 5%;
    font-size: 1.2rem;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

button:hover {
    background-color: #365a6d;
    transform: scale(1.05);
}

button:active {
    background-color: #2d4c5c;
    transform: scale(1);
}
.contact-section {
    display: flex;
    width: 80%;
    padding-left: 30px;
    align-items: center;
    margin: 0 auto;
}

.contact-info h1 {
    color: #457697;
}

.welcome-image {
    margin-top: 40px;
    margin-left: 20px;
    background: #ddd;
    height: 400px;
    border-radius: 20px;
}

.contact-info button {
    border-radius: 20px;
    background-color: #457697;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.welcome-section {
    margin-top: 40px;
    align-items: center;
}

.welcome-section h1 {
    color: #457697;
    text-align: center;
    font-size: 40px;
    font-family: "Bitter", serif;
}

/* General styles for the contact section */
.contact-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }
  
  .contact-info {
    max-width: 50%; /* Limit width for better readability */
  }
  
  .contact-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .contact-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .contact-info a {
    text-decoration: none;
  }
  
  .contact-info button {
    border-radius: 20px;
    background-color: #457697;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
  }
  
  .welcome-image {
    width: 40%; 
    object-fit: cover;
  }
  
 
  @media (max-width: 768px) {
    .contact-section {
      flex-direction: column;
      align-items: center; 
      text-align: center; 
    }
  
    .contact-info {
      max-width: 100%; 
      margin-bottom: 20px; 
    }
  
    .welcome-image {
      width: 80%; 
      margin-top: 20px; 
    }
  
    .contact-info h1 {
      font-size: 1.8rem;
    }
  
    .contact-info p {
      font-size: 1rem;
    }
  
    .contact-info button {
      font-size: 1.2rem;
      padding: 12px 25px;
    }
  }
  

.footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #333;
    color: #fff;
    margin-top: 5%;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer {
    padding: 20px;
    background-color: #457697;
    color: white;
    text-align: center;
}

.footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 150%;
}

.social-links a {
    margin-left: 10px;
}

.social-links i {
    font-size: 30px;
    margin-right: 10px;
}

.social-links p{
    font-size: 10px;
}

  @media (max-width: 768px) {
    .hamburger {
        display: flex;
        cursor: pointer;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 100vw;
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        text-align: center;
        color: #130a0a;
        padding: 15px;
    }

    .close-btn {
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        cursor: pointer;
        font-size: 40px;
        color: #333;
        background-color: #fff;
        border: none;
        outline: none;
    }

    .grid-container {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 10px;
    }
}

@media (min-width: 769px) {
    .close-btn {
        display: none;
    }
}
