/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-repeat: no-repeat;
    color: var(--light-color);
    text-align: center;
    background-position: center;
    background-size: cover;
}

.hero-content {
    height: 100%;
    width: 50%;
    background: #ffffffc2;
    color: black;
    display: flex;
    text-align: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 55px;
}

.hero p {
    font-size: 1.2rem;
    padding: 0 25px;
}

.hero-content img {
    width: 250px;
    margin-bottom: 60px;
    margin-top: 20px;

}

/* Sections Common Styles */
.section {
    padding: 6rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.section h2 ,.map-title{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section h2::after, .map-title::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-about {
    padding: 3rem 2rem;
}

.section-about p {
    text-align: center;
    margin-bottom: 25px;
}

.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #bfd0b9;
    color: #245814;
    padding: 30px;
}

.contact-section h2 {
    color: #245814;
    padding: 20px 0;
}

.contact-section a {
    color: #245814;
    text-decoration: none;
}

.contact-section img {
   
    width: 345px;
    height: 350px;
    border-radius: 20px;
}

.content-contact {
    color: #245814;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.box-continer {
    display: flex;
    gap: 20px;
}

.icon-contact {
    text-align: center;
    border-radius: 50%;
    min-width: 170px;
    line-break: anywhere;
}

.icon-contact img {
    width: 70px;
    height: 70px;
}

/* News Section */
.news-grid {
    display: flex;
        gap: 2rem;
        margin-top: 2rem;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
}

.news-card {
    max-width: 500px;

    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.news-image {
    height: 200px;
    background: #ddd;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.news-content p,h3{
    text-align: center;

}

/* Gallery */
.gallery {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.gallery-item {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 1s;
    max-width: 300px;
}

.gallery-item p {
  

    display: flex;
    position: absolute;
    text-align: center;
    color: #000000;
    width: 100%;
    font-weight: bold;
    padding: 1.5rem;
    height: 40%;
    bottom: 0;
    background-color: #fdfdfd69;
    font-size: 1.3rem;
    align-items: center;
    justify-content: center;
  
}

.gallery-item img {
    width: 100%;
    min-width: 300px;
    height: 100%;
    object-fit: cover;
}
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(144, 238, 144, 0.126); 
    pointer-events: none;
    z-index: 1;
}
.map{
    display: flex;
    justify-content: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.map img{
    border-radius: 20px;
    transition: 1s;
    width: 600px;
    height: 300px;
    
}

.map img:hover{
    scale: 1.02;
  
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }
    .box-continer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .map img{
      
        width: 300px;
        height: 160px;
        
    }
    .box-continer {
        flex-direction: column;
        gap: 10px;
    }
    .contact-section {
        flex-direction: column;
    }
    .img-contact{
      width: 300px !important;
        height: 310px !important;
    }

    .hero-content {
        height: auto;
        width: 100%;
        line-height: 25px;
        padding: 25px;
        padding-bottom: 28px;
    }

    .hero-content img {
        width: 200px;
        margin-bottom: 20px;
    }

    .hero {
        flex-direction: column-reverse;
        justify-content: flex-start;
        background-position: left;
    }

   
    .hero {
        height: 80vh;
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}