/* Image Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1100px;
    margin: auto;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
    h2 {
        font-size: 18px;
    }

    p {
        font-size: 13px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Hero Section */
.hero-section {
    height: 700px;
}

/* Gallery Hover Effects */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 600px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  margin-top: 50px;
  border-radius: 8px;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  user-select: none;
  transition: 0.3s;
}
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover, .close:hover {
  color: #18741A; /* your green */
}
/* Header Container */
.gallery-header {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    margin-bottom: 30px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Styles */
.gallery-title {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f39c12;
    margin: 15px auto 0;
    border-radius: 2px;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallerysection-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallerysection-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
}

.gallerysection-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 15px;
}


/* Tab Styles */
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 67px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 12px 25px;
    background: #ecf0f1;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #34495e;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    background: #3c5be7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: #3c5be7;
    color: white;
}

.tab-icon {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.8rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 90%;
        justify-content: center;
        margin-bottom: 8px;
    }
}
