/**
 * File: services.css
 * Location: /css/services.css
 * Last Modified: 2025-06-11 21:20:00
 * 
 * Description:
 * Enhanced styling for the services page with improved contrast,
 * spacing, and visual hierarchy
 */

/* Improve section contrast with distinct background colors */
.section {
    margin-bottom: 60px !important; /* Increased spacing between sections */
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25); /* Increased shadow for depth */
    padding: 50px 40px; /* Increased internal padding */
}

/* Different background colors for each section type */
.section-light {
    background-color: #f0f3f9; /* Lighter blue-gray */
}

.section-lighter {
    background-color: #e8ebf2; /* Very light blue-gray */
}

.section-primary {
    background-color: #E9EBF2; /* Very light blue-grey for CTA */
    color: #333333; /* Darker text for better contrast on light background */
}

/* Fix alignment in page banner */
.page-banner .container {
    text-align: left; /* Left align title and breadcrumb */
}

/* Service Cards Styling */
.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Slightly darker border for contrast */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Add proper spacing between cards */
.row.g-4 > [class*="col-"] {
    padding-bottom: 25px;
}

/* CTA Section Enhancement */
.cta-section {
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 50px 30px;
    margin-bottom: 40px !important;
}

/* Process Steps Styling with improved contrast */
.process-step {
    text-align: center;
    padding: 25px 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Increased shadow */
    height: 100%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Adding subtle border */
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Enhance process numbers for better visibility */
.process-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #2c3e50; /* Use consistent dark background for better contrast */
    color: #ffffff; /* White text for maximum contrast */
    font-size: 30px; /* Slightly larger number */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    border: 3px solid #ffffff;
}

/* Process section row spacing */
.row.mt-5 {
    margin-top: 3rem !important;
}

.row.mt-5 > [class*="col-"] {
    margin-bottom: 30px;
}

/* Service icon enhancement with improved contrast */
.service-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); /* Darker background for better contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Increased shadow */
    border: 3px solid white; /* Adding border for depth */
}

.service-icon i {
    font-size: 32px;
    color: #ffffff; /* Bright white for maximum contrast */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Enhanced shadow for readability */
}

/* Crop Cards for Pollination Page - Uniform Sizing */
.crop-gallery .crop-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crop-gallery .crop-card img {
    width: 100%;
    height: 180px; /* Fixed height for all images */
    object-fit: cover; /* Maintain aspect ratio while filling container */
}

.crop-gallery .crop-card h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.crop-gallery .crop-card p {
    flex-grow: 1; /* Allow paragraphs to grow and fill space */
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
}

/* Enhanced styling for service features list */
.service-features {
    list-style-type: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.service-features li {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.service-features li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-features li i {
    color: #784C0B; /* Match the brand gold/brown color */
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.service-features li .feature-content {
    flex: 1;
}

.service-features li strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 1px solid rgba(120, 76, 11, 0.2);
    padding-bottom: 8px;
    margin-right: -5px;
}

/* Make the features section responsive */
@media (max-width: 768px) {
    .service-features {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Pollination Process styling */
.process-steps {
    counter-reset: process-counter;
    list-style-type: none;
    padding: 0;
    margin: 30px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 4px;
    background: linear-gradient(to bottom, #784C0B, #d4a157);
    z-index: 1;
}

.process-steps li {
    position: relative;
    padding-left: 75px;
    padding-bottom: 35px;
}

.process-steps li:last-child {
    padding-bottom: 0;
}

.process-steps li::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: white;
    border: 3px solid #784C0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #784C0B;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.process-steps h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.process-steps h5 i {
    color: #784C0B;
    margin-right: 10px;
}

.process-steps p {
    color: #666;
    margin-bottom: 0;
    font-size: 1rem;
    max-width: 90%;
}

/* Increase spacing between sections */
.service-content h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(120, 76, 11, 0.3);
    color: #333;
}

.service-content > p {
    margin-bottom: 25px;
}
