/* General Styling */
body {


    background-color: #f8f8f8;
}



.hero {
    background: url('../images/st4.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: flex-end;
    /* Align content to the bottom initially */
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    /*padding: 0 20px;*/
    object-fit: cover;
    overflow: hidden;
    /* Prevents any overflow when the hero text moves */
    animation: zoomInRight 8s linear forwards;

    transition: background-image 0.5s ease-in-out;
    /* Smooth image transition */
}

@keyframes zoomInRight {
    0% {
        background-size: 100%;
        background-position: center center;
    }

    100% {
        background-size: 110%;
        /* Zooms to 1.5x */
        background-position: 80% center;
        /* Shifts right */
    }
}


/* Add a responsive fix */
@media (max-width: 768px) {

    .hero {
        background-size: cover;
        background-position: center center;

        /* Disable zoom animation */
    }

    @keyframes zoomInRight {
        0% {
            background-size: 100%;
            background-position: center center;
        }

        100% {
            background-size: 110%;
            /* Zooms to 1.5x */
            background-position: 80% center;
            /* Shifts right */
        }
    }

    .hero-text {
        padding: 20px;
        font-size: 16px;
        width: 95%;
    }
}





.hero-text {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    padding: 30px 40px;
    border-radius: 5px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    margin-bottom: 20px;
    transition: transform 0.5s ease-out;
    /* Smooth transition for the movement */
}

/* Additional styling for when the hero text is centered */
.hero-text.scrolled {
    transform: translateX(-50%) translateY(-50%);
    /* Moves the text to the center */
}

label {
    color: #43a047 !important;

}

.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    font-size: 1.5rem;
    color: white !important;
}



.hero2 {
    height: 90vh;
    display: flex;
    align-items: flex-end;
    /* Align content to the bottom initially */
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    /*padding: 0 20px;*/
    overflow: hidden;
    /* Prevents any overflow when the hero text moves */
}

.hero2-text {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    padding: 30px 40px;
    border-radius: 5px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 1200px;
    margin-bottom: 20px;
    transition: transform 0.5s ease-out;
    /* Smooth transition for the movement */
}

/* Additional styling for when the hero text is centered */
.hero2-text.scrolled {
    transform: translateX(-50%) translateY(-50%);
    /* Moves the text to the center */
}

/* @keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}About Section */
.about {
    text-align: center;
    padding: 50px;
    background: #3b2f2f;
    opacity: 0.8;
    color: white;
}

.about h2 {
    font-size: 2rem;
}

.about p {
    font-size: 1.2rem;
    width: 70%;
    margin: auto;
}

/* Image Gallery */
.gallery {
    text-align: center;
    padding: 50px;
}

.gallery h2 {
    font-size: 2rem;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-container img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}





.underline {
    display: inline-block;
    border-bottom: 3px solid #e6b400;
    padding-bottom: 5px;
}

/* Image Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #e6b400;
    padding: 10px 0;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Vision & Mission Container */
.vision-container {
    max-width: 100%;
    margin: 0px auto;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.vision-header {
    text-align: center;
    margin-bottom: 40px;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.vision-pillars {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.pillar-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-10px);
}

.pillar-item i {
    color: #3c8c4a;
    /* Custom green tone */
    margin-bottom: 20px;
}

.pillar-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.pillar-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}



/* General Section Styling */
.vision-mission-section {
    background-color: #ffffff;
    /* Clean white background */
    padding: 50px 20px;
    /* Proper padding for spacing */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c8c4a;
    /* Earthy green */
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #3c8c4a;
    /* Green underline for distinction */
    padding-bottom: 10px;
}

.vision-text,
.mission-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: left;
    /* For readability */
}

/* Responsive Design */
@media (max-width: 567px) {
    .vision-mission-content {
        grid-template-columns: 1fr;
        /* Stacks the sections vertically on smaller screens */
    }

    .vision-text,
    .mission-text {
        font-size: 1rem;
        /* Slightly smaller text on smaller devices */
    }

    .btn {


        padding: 5px 15px;
        /* Padding for the button */
        font-size: 85rem;
        font-weight: 300;
        border-radius: 4px;
        text-decoration: none;

    }

    .vision-pillars {
        flex-direction: column;
        align-items: center;
    }

    .pillar-item {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Center the "What We Do" title */
.what-we-do-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c8c4a;
    /* Green color for consistency */
    text-align: center;
    /* Center-align the text */
    margin-top: 40px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}



.underline-green {

    text-decoration: underline;
    text-decoration-color: #3c8c4a;
    /* Green color for the underline */
    text-decoration-thickness: 1px;

}

/* Button Styling */
.button-container {
    text-align: center;
    /* Center align the button */
    margin-top: 40px;
    /* Add space between the pillars and the button */
}

.btn {
    display: inline-block !important;
    background-color: #3c8c4a !important;
    /* Green background color */
    color: white !important;
    /* White text */
    padding: 10px 20px;
    /* Padding for the button */
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    text-decoration: none;
    /* Remove underline */
    text-transform: uppercase;
    /* Capitalize text */
    letter-spacing: 1px !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.btn:hover {
    background-color: #2a6e36;
    /* Darker green on hover */
    transform: translateY(-5px);
    /* Subtle lift effect */
}






.about-container {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 20px;
    max-width: 90%;
    margin: 30px auto;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2e7d32;
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-image {
    flex: 0 0 250px;
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.about-description {
    flex: 1;
    font-size: 1rem;
    color: #333;
}

.about-button {

    text-decoration: none;
    color: inherit;
    /* Use the parent's text color */
    background: rgba(255, 255, 255, 0.05);
    /* Light background if needed */
}

.about-button:hover {
    background-color: #388E3C;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        max-width: 100%;
    }

    .about-description {
        width: 100%;
    }
}