@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #F4F4F2;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-contact {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2D6A4F;
    margin-bottom: 15px;
    font-weight: 700;
}
.section-contact h2 {
    font-size: 2.5rem;
    color: #2D6A4F;
    margin-bottom: 15px;
    font-weight: 700;
}
.section-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}
.section-contact p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}


/* Parallax Section Styles */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    background-color: #F4F4F2; /* Default background color */
}

/* Specific background colors for each section */
#home.parallax-section {
    background-color: #F4F4F2;
}

#about.parallax-section {
    background-color: #F4F4F2;
}

#services.parallax-section {
    background-color: #F4F4F2;
}

#contact.parallax-section {
    background-color: #F4F4F2;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FCFEFE; /* Slightly dark overlay */
    z-index: 1;
}

/* Remove overlay for non-image sections */
#about.parallax-section::before,
#services.parallax-section::before,
#contact.parallax-section::before {
    background-color: rgba(0, 0, 0, 0.2); /* Even lighter overlay */
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.parallax-section .section-header h2,
.parallax-section .section-header p {
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2D6A4F;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #2D6A4F;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #5c7e74;
    border-color: #5c7e74;
}

.btn-primary:hover {
    background-color: #1B4332;
    border-color: #1B4332;
}

.btn-outline {
    color: #2D6A4F;
    border: 2px solid #2D6A4F;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #1B4332;
    color: white;
}

.hero-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    position: relative;
    padding: 80px 0;
}

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

.about-section .container {
    position: relative;
    z-index: 2;
}

.section-header .divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(to right, #5c7e74, #2D6A4F);
    border-radius: 2px;
}

/* About Card */
.about-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.95);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.about-card .card-body {
    padding: 30px;
}

.section-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: rgba(92, 126, 116, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.section-icon i {
    color: #2D6A4F;
}

.about-card .card-title {
    color: #2D6A4F;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.about-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #5c7e74, #2D6A4F);
    border-radius: 2px;
}

.about-card .card-subtitle {
    color: #5c7e74;
    font-weight: 600;
}

.about-card .list-group-item i {
    width: 20px;
}

.about-content p {
    color: #333;
    margin-bottom: 30px;
}

.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Services Section */
.services {
    position: relative;
    padding: 80px 0;
}

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

.services .container {
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #FCFEFE;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid rgba(45, 106, 79, 0.1);
}

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

.service-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card .icon i {
    font-size: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2D6A4F;
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .service-card h3 {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: #FCFEFE !important; /* White background */
}

.contact-section .section-header h2 {
    color: #F4F4F2; /* Green text for the heading */
}

.contact-section .section-header p {
    color: #F4F4F2; /* Green text for the subheading */
}

.contact-info-card, .contact-form-card {
    background-color: #F4F4F2; /* White background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-card h3, .contact-form-card h3 {
    color: #2D6A4F; /* Green text for card headings */
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: #2D6A4F; /* Green color for icons */
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item p {
    margin: 0;
    color: #2D6A4F; /* Green text for contact details */
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(45, 106, 79, 0.3); /* Slightly darker border */
    background-color: #FCFEFE;
}

.form-control:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 0.25rem rgba(45, 106, 79, 0.25);
}

/* Override the parallax section overlay for contact section */
#contact.parallax-section::before {
    background-color: rgba(255, 255, 255, 0.9); /* Almost white overlay */
}

.parallax-section .section-header h2,
.parallax-section .section-header p {
    color: #F4F4F2; 
}
.parallax-section .section-contact h2,
.parallax-section .section-contact p {
    color: #2D6A4F;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, #66948a 0%, #1B4332 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-light {
    background-color: white;
    color: #2D6A4F;
    border: 2px solid white;
}

.btn-light:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    background-color: #66948a;
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #F4F4F2;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-links a i {
    font-size: 1.5rem;
    color: white;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .section-contact h2 {
    font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}

/* Welcome Header Styles */
.welcome-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.text-green {
    color: #2D6A4F !important;
}

.welcome-title .text-primary {
    color: #2D6A4F !important;
    font-weight: 700;
}

.trusted-partner-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2D6A4F;
    margin-bottom: 20px;
}

.trusted-by-title {
    font-size: 2.2rem;
    color: #2D6A4F;
    font-weight: 600;
}

.trusted-logo img {
    max-height: 200px;
    transition: transform 0.3s ease;
    border: 2px solid rgba(45, 106, 79, 0.5); /* 0.5 = 50% opacity */
    border-radius: 50%;
    object-fit: cover;
}


.trusted-logo img {
    max-height: 200px;
    size: 100px;
    transition: transform 0.3s ease;
}

.trusted-logo img:hover {
    transform: scale(1.05);
}


.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(40, 167, 69, 0.08); /* green shadow for success */
}

.alert-success {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    color: #155724;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
    z-index: 1000;
    animation: fadeInOut 3s forwards;
}

/* Fade-in and fade-out animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}
