/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
              url('../img/hero.jpeg') center center / cover no-repeat;
  animation: zoomSlow 8s ease-in-out forwards;
  z-index: 0;
}

@keyframes zoomSlow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.35);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}


.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--accent-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 179, 89, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
    max-width: 600px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-strong);
    color: white;
}

/* Animated Background Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements span {
    position: absolute;
    display: block;
    background: rgba(0, 179, 89, 0.05);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Services */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 179, 89, 0.1);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 179, 89, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary-green);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Vision & Mission */
.vision-mission-card {
    background: linear-gradient(135deg, white 0%, var(--light-secondary) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 179, 89, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 179, 89, 0.05);
}

.vision-mission-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 15px 30px var(--shadow-light);
}

.vision-mission-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Team */
.team-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 179, 89, 0.1);
    box-shadow: 0 5px 20px rgba(0, 179, 89, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.team-head-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 700;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 700;
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 179, 89, 0.05);
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    flex: 0 0 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 179, 89, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-strong);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 179, 89, 0.9), rgba(0, 214, 106, 0.9));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 179, 89, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: white;
    color: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 179, 89, 0.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 179, 89, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.auto-play-btn {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.auto-play-btn:hover {
    background: var(--primary-green);
    color: white;
}

.auto-play-btn.active {
    background: var(--primary-green);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 250px;
        height: 300px;
    }

    .carousel-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .auto-play-btn {
        margin-top: 1rem;
    }
}

/* Contact */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 179, 89, 0.1);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 179, 89, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.circle-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: relative;
}

.object-fit-cover {
    object-fit: cover;
}

.circle-team-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-team-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.team-overlay-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 170, 85, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.team-card:hover .team-overlay-description {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }
}