/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: auto;
    text-align: center;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper-main {
    width: 1200px;
    margin: 0 auto;
}

.logo {
    z-index: 3;
    max-width: 70px;
    max-height: 70px;
    cursor:pointer;
}




a:visited {
    text-decoration: none;
  }

.logo-nav  {
    display: none;
}


header {
    z-index: 3;
    background: rgb(0, 155, 58);
    color: rgb(0, 0, 0);
    display: flex; 
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2)
   

    
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
  ;
}

header .container {
    padding: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}


nav ul li a:hover {
    color: #fed100;
    text-shadow: 2px 4px 10px rgba(255, 209, 0, 0.5);
}

/* Burger Menu Styles */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 25px;
}

.burger div {
    z-index: 10;
    width: 30px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    margin: 5px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Hero Section */
.h-wrapper {
    position: relative;
    height: 100vh; /* Full height */
    width: 100%;
    background:  url('/img/hero-background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-container {
    display: flex; /* Flexbox for side-by-side layout */
    justify-content: space-around; /* Spacing between the text and image */
    align-items: center; /* Center both vertically */
    max-width: 1200px;
    width: 100%;
  
    position: relative;
  }
  
  .hero-text {
    z-index: 1; /* Ensure the text is on top */
    max-width: 500px; /* Limit the width of the text section */
  }
  
  .herologo {
    border-radius: 50%;
    width: 250px;
    max-width: 100%;
    
    animation: fadeInLogo 1.5s ease-in-out;
  }
  
  .hero-h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    animation: fadeInText 2s ease-in-out;
  }
  
  .btn {
    background: linear-gradient(45deg, #eeff00, #f6ff00);
    color: rgb(0, 0, 0);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-top: 10px;
    animation: fadeInText 2s ease-in-out;
  }
  
  .btn:hover {
    background: linear-gradient(45deg, #fbff00, #fbff00);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .hero-image-wrapper {
    max-width: 500px; /* Image container width */
    display: flex; /* Ensures image is displayed properly */
  }
  
  .hero-image {
    width: 100%;
    height: auto;
    animation: fadeInImage 2s ease-in-out;
    border-radius: 5px;
    
  }
  
  /* Animation Keyframes */
  @keyframes fadeInLogo {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInText {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInImage {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  

.container {
    z-index: 3;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1200px;
}


h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
    color: #333;
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(1.3rem, 1.5vw + 0.5rem, 1.8rem);
    color: #333;
    margin-bottom: 15px;
}


p {
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: left;
    align-items: center;
    animation: fadeInText 2s ease-in-out;
}





#about, #donate, #galery {
    background-color: #f9f9f9;
    padding: 50px 25px;
    border-radius: 12px;
    
    margin-bottom: 50px;
    max-width: 1200px;


}


.about-content, .donate-content {
  
    display: flex;
    align-items: center;
    justify-content: space-evenly;
   
    flex-wrap: wrap;
    
}


.about-image, .donate-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    
}



.about-text, .donate-text {
    max-width: 500px;
    line-height: 1.6;
    text-align: justify;
}

.about-text h2, .donate-text h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.about-text h3, .donate-text h3 {
    font-size: 1.6rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-weight: normal;
}

.about-text p, .donate-text p {
    font-size: 1rem;
    color: #4d4d4d;
    margin-bottom: 15px;
    line-height: 1.7;
}
/* Gallery Section */
.gallery-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    margin-bottom: 1em;
}

.gallery-section h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
   
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    align-items: center;
    padding: 10px;
}

.gallery-item {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}



.gallery-item:hover {
    transform: scale(1.10);
}




#contact {
    background-color: #f9f9f9;
    padding: 50px 30px;
    border-radius: 15px;
   
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

#contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

#contact h2:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Card Layout */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

/* Profile Image Styling */
.contact-image {
    text-align: center;
}

.contact-image img {
   max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fefe00;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.contact-image p {
    font-size: 1rem;
    color: #444;
    margin: 5px 0;
    font-weight: 600;
}

/* Contact Details Styling */
.contact-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

.contact-details p strong {
    font-weight: bold;
    color: #333;
}

.contact-details a {
    text-decoration: none;
    font-weight: 600;
    color: #007bff;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.contact-details .icon {
    width: 40px;
    height: 40px;
 
    vertical-align: middle;
}





/* Footer Styling */
footer {
    background-color: #000000;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

footer h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #f1f1f1;
}

footer p {
    font-size: 0.9em;
    line-height: 1.6;
    margin: 5px 0;
    color: #f1f1f1;
}

footer a {
    color: #00bcd4;
    text-decoration: none;
}

footer a:hover {
    color: #aaa;
}

footer img.officejamaica {
    width: 120px;
    transition: transform 0.3s ease;
}

footer img.officejamaica:hover {
    transform: scale(1.1);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

footer .footer-column {
    text-align: left;
}

footer .social-icons {
    display: flex;
    gap: 15px;
}

footer .social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

footer .social-icons img:hover {
    transform: scale(1.2);
}

footer p:last-of-type {
    margin-top: 15px;
    font-size: 0.8em;
    color: #aaa;
}



/* Mobile Styles */
@media (max-width: 768px) {


    nav ul {
        text-transform: uppercase;
        flex-direction: column;
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 155, 58);
        text-align: center;
        transition: all 0.3s ease;
        height: 100vh;
    }

    nav ul.nav-active {
        top: 0;
    }

    .burger {

        position: relative;
       display: block;
    }

    nav ul li {
        margin: 20px 0;
    }

   
    .burger.toggle .line1 {
    
       
        transform: rotate(-45deg) translate(-5px, 6px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
       
        transform: rotate(45deg) translate(-5px, -6px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .hidden-p {
        color: black;
        display: block;
    }

    .logo-nav {
        margin: 0 auto;
        display: block;
        max-width: 100px;
        max-height: 100px;
    }

/* Section styles */


/* Hero Section Container */
.hero-container {
    position: relative;
    height: 100vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/img/Designer (3).png'); 
    background-size: cover;
    background-position: center;
    z-index: 1; 
}


.hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(15, 15, 15, 0.432); 
    z-index: 0; 
}

/* Hero Text Styling */
.hero-text h1 {
    z-index: 5; 
    color: white;
    font-size: (0.9rem, 1vw + 0.5rem, 1rem);
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); 
}


.hero-image {
    margin-top: 0;
    padding-top: 0;
    max-width: 100px; 
    max-width: 100%;
    height: auto;
}

.hero-image { 
    display: none;
}
.container {
    z-index: 3;
  
    
}



  
    .about-content, .donate-content {
        flex-direction: column;
    }

    .about-image, .donate-image {
        width: 100%;
        max-width: 300px;
    }

    .gallery-item frame {height: 500px;}


    h2,h3 { 
        text-align: center;
    }


    .contact-card {
        flex-direction: column; /* Stack columns on small screens */
        text-align: center; /* Center-align everything for smaller devices */
    }
    
    .contact-image img {
        margin-bottom: 15px;
    }

    .contact-details {
        text-align: center;
    }
footer h3 {
    text-align: left;
}
}