/* Section-specific styles */

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(76, 124, 89, 0.8), rgba(76, 124, 89, 0.8)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
    }
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--gray-200);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.fdn-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.fdn-card {
    padding: 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.fdn-card:hover {
    transform: translateY(-5px);
}

.fdn-card i {
    font-size: 2.5rem;
    color: #7CB342;
    margin-bottom: 1.5rem;
}

.fdn-card h3 {
    margin-bottom: 1rem;
    color: #2D3748;
}

.fdn-card p {
    color: #2D3748;
    line-height: 1.6;
}

.bg-light {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #7CB342;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2D3748;
    font-size: 1.25rem;
    font-weight: bold;
}

.feature-card p {
    color: #2D3748;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.service-features {
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.service-features li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    color: #2D3748;
}

.service-features li i {
    color: #7CB342;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card p {
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 2.5rem;
    color: #7CB342;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Add to your sections.css file */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.why-choose-fdn {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Testimonial carousel styles */
#testimonialCarousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
}

.testimonial-slide {
    padding: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .testimonial-slide {
        padding: 0.5rem !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .testimonial-slide * {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .testimonial-slide .bg-white {
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .testimonial-slide p {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    #testimonialCarousel {
        padding: 0 1rem;
        overflow: hidden;
    }
}
