/* Testimonials section heading for index.php */
.testimonials-title {
    color: #308e42;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
}
/* Uniform width for contact-item cards in contact-info (contact.php), height varies by content */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.contact-item {
    width: 100%;
    display: flex;
    align-items: stretch;
}
.contact-item .stat {
    text-align: center !important;
    width: 100%;
    box-sizing: border-box;
}
.contact-item .stat p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}
/* Testimonials Section - Modern Greenscope Branding */
.testimonials {
    background: linear-gradient(135deg, #f68b38 0%, #308e42 100%);
    padding: 100px 0;
    position: relative;
}

.testimonials h2 {
    color: #308e42;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
}

.testimonial-card {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(245,141,50,0.13);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(245,141,50,0.13);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f58d32 60%, #308e42 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 8px rgba(48,142,66,0.10);
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #308e42;
    margin-bottom: 1.2rem;
    flex: 1;
}

.testimonial-card h5 {
    color: #f58d32;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.testimonial-card small {
    color: #308e42;
    font-size: 0.95rem;
}
/* Hero Section - Modern Greenscope Branding */
.hero {
    background: linear-gradient(135deg, rgba(245, 141, 50, 0.92) 0%, rgba(48, 142, 66, 0.92) 100%), 
                url('/images/background_home.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.18);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* Enhanced Professional Styles */

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Professional Image Overlays */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.8), rgba(30, 63, 115, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Professional Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #2c5aa0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 20px;
    border-radius: 50%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Enhanced Process Steps */
.process-step {
    position: relative;
    padding: 2.5rem;
    text-align: center;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, transparent);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.4);
}

/* Professional Feature Boxes */
.feature-highlight {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73, #2c5aa0);
    background-size: 200% 100%;
    animation: shimmer-border 3s linear infinite;
}

@keyframes shimmer-border {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.feature-highlight:hover {
    transform: translateY(-10px);
    border-color: #2c5aa0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Enhanced News Cards */
.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    background: linear-gradient(rgba(246,139,56,0.85), rgba(246,139,56,0.85)), url('/images/background_home.jpg') center/cover no-repeat;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.news-image > * {
    position: relative;
    z-index: 2;
}

.news-content {
    padding: 2rem;
}

/* Professional Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #f58d32;
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,141,50,0.10);
    font-weight: 700;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 1.1rem;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #e6761d;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(245,141,50,0.15);
}

.btn-secondary {
    background: #f58d32;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(245,141,50,0.10);
    font-weight: 700;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 1.1rem;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #e6761d;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(245,141,50,0.15);
}

/* Professional Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2c5aa0, transparent);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .process-step::after {
        display: none;
    }
    
    .testimonial-card {
        margin: 1rem 0;
    }
}