/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

.whatsapp-button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #25D366;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-family: sans-serif;
            font-weight: bold;
        }
        
    #read-more-btn {
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#read-more-btn:hover {
    background-color: #0056b3;
}
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #0a8f9e;
  border-bottom: 1px solid #e9ecef;
  font-family: sans-serif;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  gap: 20px;
}


.side-by-side-container {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  align-items: center;
  gap: 2rem; /* Adds space between the content and image boxes */
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.content-box,
.image-box {
  flex: 1; /* Both items take up equal space */
  min-width: 300px; /* Prevents items from getting too small before wrapping */
}

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Softens the corners of the image */
}

/* On screens smaller than 768px, change the order of the items */
@media (max-width: 768px) {
  .side-by-side-container {
    flex-direction: column; /* Stack the items vertically */
  }

  .content-box {
    order: 1; /* Text comes after the image */
  }

  .image-box {
    order: 0; /* Image comes first */
  }
}

.contact-item {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-item i {
  margin-right: 5px;
}

.contact-item:hover {
  color: #007bff;
}

.social-media a {
  color: #fff;
  font-size: 18px;
  margin-left: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #007bff;
}

@media (max-width: 600px) {
  .main-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  /*header section*/
  .contact-info {
    flex-direction: column;
    gap: 5px;
  }
}
/* Header and Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 1rem 2rem;
    color: white;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700; /* Gold */
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default for larger screens */
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsive Navigation (for smaller screens) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        background-color: #10a8b3;
        text-align: center;
        padding: 1rem 0;
        z-index: 1001; 
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }
}

.image-column {
    width:100%;
    height:auto;
}
/* Slideshow Container */
.slideshow{
    width="100%";
    height: auto;
}


.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  object-fit: cover;
}

/* Navigation */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background:#0C5CA7;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.3em 0.6em;
  cursor: pointer;
}
.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.dots {
  position: Relative;
  bottom: 80px;
  width: 100%;
  text-align: center;
}
.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background: #fff;
}

/* Body Content (Three Columns) */
.body-content {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    justify-content: space-around;
    padding: 20px;
    gap: 20px; /* Space between columns */
}

.column {
    flex: 1; /* Allows columns to grow and shrink */
    min-width: 280px; /* Minimum width before wrapping */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive adjustments for columns */
@media (max-width: 768px) {
    .column {
        flex-basis: 100%; /* Columns stack on top of each other */
    }
}

/* --- Two-Column Photo Section --- */
.photo-gallery-section {
    padding: 40px 20px;
    background-color: #f0f8ff; /* Light blue background */
    text-align: center;
}

.photo-gallery-section h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.photo-columns-container {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 30px; /* Space between the columns */
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    justify-content: center; /* Center columns if there's extra space */
}

.photo-column {
    flex: 1; /* Allows columns to grow and shrink */
    min-width: 300px; /* Minimum width before wrapping to next line */
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text within columns to the left */
}

.photo-column h3 {
    font-size: 1.8em;
    color: #34495e;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center; /* Center column titles */
}

.photo-column img {
    max-width: 100%; /* Ensures images are responsive and fit within the column */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra space below image */
    margin-bottom: 15px; /* Space below each image */
    border-radius: 8px; /* Slightly rounded corners for images */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photo-column p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- Single-Column Div Section --- */
.single-column-section {
    padding: 60px 20px; /* More padding for a prominent section */
    background-color: #e6f7ff; /* A slightly different light background */
    text-align: center; /* Center the overall content within the section */
}

.single-column-content {
    max-width: 800px; /* Max width for readability, adjusts on smaller screens */
    margin: 0 auto; /* Centers the content div */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.single-column-content h2 {
    font-size: 2.8em;
    color: #1a5276; /* Darker blue for heading */
    margin-bottom: 25px;
    position: relative; /* For possible pseudo-element underline */
    padding-bottom: 10px;
}

/* Optional: Add a simple underline animation to the heading */
.single-column-content h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1a5276;
    border-radius: 5px;
}


.single-column-content p {
    font-size: 1.1em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify; /* Justify text for a more formal look */
}

/* Style for a call-to-action button */
.single-column-content .button {
    display: inline-block;
    background-color: #3498db; /* Blue button */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.single-column-content .button:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Responsive adjustments for the single column */
@media (max-width: 600px) {
    .single-column-content {
        padding: 25px; /* Reduce padding on smaller screens */
        margin: 0 15px; /* Add some side margin to prevent sticking to edges */
    }

    .single-column-content h2 {
        font-size: 2em;
    }

    .single-column-content p {
        font-size: 1em;
        text-align: left; /* Maybe left align on very small screens for better readability */
    }
}
/* Responsive adjustments for photo columns */
@media (max-width: 768px) {
    .photo-columns-container {
        flex-direction: column; /* Stack columns vertically on smaller screens */
        align-items: center; /* Center stacked columns */
    }

    .photo-column {
        min-width: unset; /* Remove min-width constraint when stacking */
        width: 90%; /* Take up more width when stacked */
    }
}
/* Photo gallery*/
/* Gallery container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Gallery item styling */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox styling */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Black background with transparency */
    text-align: center;
    overflow: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content, #lightbox-caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Caption text */
#lightbox-caption {
    margin-top: 10px;
    color: #ccc;
    font-size: 18px;
}
#filterInput {
    padding: 10px;
    width: 80%;
    max-width: 500px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: box-shadow 0.3s;
}

#filterInput:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* This is the key for the masonry effect */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-template-rows: masonry; /* Note: This may require a polyfill for some browsers */
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, opacity 0.3s;
    cursor: pointer;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none; /* Disable clicking on hidden items */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Lightbox styles can be copied from the previous example */
/* ... */


.donation-card {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    width: 90%;
    text-align: center;
}

.header h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.progress-bar-container {
    margin-bottom: 25px;
}

.progress-bar-container p {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #555;
    margin: 0;
    margin-bottom: 5px;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: #28a745;
    height: 100%;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
}

.amount-options {
    display: flex;
    gap: 10px;
}

.amount-btn {
    flex: 1;
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
    background-color: #e9f5ff;
    border: 2px solid #007bff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-btn:hover {
    background-color: #d6eaff;
}

.amount-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
}

input[type="number"],
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #007bff;
}

.donate-btn {
    width: 100%;
    padding: 15px;
    background-color: #28a745;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.donate-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.status-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    display: none;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

 #map {
    justify-cntent:center;
        height: 80%;
        width: 50%;
      }
      html, body {
        height: 100%;
        margin: 0;
        padding: 0;
      }

  .form-data #message {
      width:250px;
  }

 h2 {
      text-align: center;
      margin-top: 10px;
      font-size: 1.2rem;
      color: #555;
    }

    .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 30px;
      gap: 20px;
    }

    .form-box, .map-box, .info-box {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      padding: 20px;
      flex: 1;
      min-width: 300px;
      max-width: 500px;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    label {
      margin-bottom: 5px;
      font-weight: bold;
      color: #333;
    }

    input, textarea {
      margin-bottom: 15px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
    }

    button {
      background: #3498db;
      color: white;
      padding: 12px;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s;
    }

    button:hover {
      background: #2980b9;
    }

    iframe {
      width: 100%;
      height: 300px;
      border: none;
      border-radius: 10px;
    }

    /* Contact info */
    .info-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      font-size: 1rem;
      color: #333;
    }

    .info-item i {
      font-size: 20px;
      margin-right: 10px;
      color: #3498db;
    }

    /* Social icons */
    .social-links {
      text-align: center;
      margin: 20px 0;
    }

    .social-links a {
      margin: 0 10px;
      font-size: 24px;
      color: #3498db;
      text-decoration: none;
      transition: 0.3s;
    }

    .social-links a:hover {
      color: #8e44ad;
    }