/* =========================================
   HOMEPAGE & ABOUT PAGE ENHANCEMENTS
   ========================================= */

/* Hero Enhancements */
.btn-lg {
    padding: 14px 35px;
    /* Reduced from 18px 40px */
    font-size: 1rem;
}

.btn-outline-light {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Features Section */
.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-warm);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-box h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Service Card Enhancements */
.service-card {
    background: var(--bg-warm);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* Gallery Overlay */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-warm);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-body);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.testimonial-author h4 {
    margin: 0 0 5px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(136, 176, 106, 0.1), rgba(106, 138, 82, 0.1));
}

/* Values Section */
.value-card {
    background: var(--bg-warm);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.value-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-body);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-card {
    background: var(--bg-warm);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.why-choose-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.why-choose-card h3 {
    margin: 0 0 8px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.why-choose-card p {
    margin: 0;
    color: var(--text-body);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stat Card Warning Color */
.stat-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .btn-outline-light {
        display: block;
        margin: 15px 0 0 0 !important;
    }
}