/* General Styling */
body {


    background-color: #f8f8f8;
}

.hero {
    background: url('../images/site3.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;

    overflow: hidden;
    /* Prevents any overflow when the hero text moves */
}

.hero-text {
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: rgba(0, 0, 0, 0.6);
    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;
}

/* @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: 2px auto;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    /*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);*/
    margin-top: 5px !important;
}

.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.08);
    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;
    text-align: justify;
}



/* 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 */
}


/* Center the "What We Do" title */
.what-we-do-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    /* Green color for consistency */
    text-align: center;
    /* Center-align the text */
    margin-top: 40px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pillar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Makes it a circle */
    object-fit: cover;
    /* Ensures the image fills the circle */
    margin-bottom: 15px;
    border: 3px solid #fff;
    /* Optional: white border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Optional: soft shadow */
}



.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 */
}







.slide {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slide-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, #ffffff 90%);
    padding: 40px 20px;
    text-align: center;
    color: black;

}

.slide-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
    font-weight: 800;
}

.slide-header h1 .highlight {
    color: #ffffff;
    font-weight: bold;
}

.slide-header h1 .green {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0 6px;
    border-radius: 4px;
}

.panel {
    padding: 20px;
}

.panel2 {
    display: grid;
    grid-template-columns: 50px 1fr 120px;
    grid-gap: 20px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.panel2:last-child {
    border-bottom: none;
}

.panel2-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3c8c4a;
    text-align: center;
}

.panel2-content h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.panel2-content h2 span {
    color: #3c8c4a;
}

.panel2-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.panel2-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}




.boxcards-section {
    background: url('../images/site3.jpg') no-repeat center center/cover;
    padding: 2rem;
    color: white;
    font-family: Arial, sans-serif;
    height: 90vh;

    position: relative;
    padding: 10% 20px;
    overflow: hidden;
    transition: padding 0.6s ease, opacity 0.6s ease, transform 0.6s ease;

}

.boxcards-overlay {
    background: rgba(14, 78, 5, 0.05);
    padding: 2rem;
    border: 1px solid #d8f3dc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.boxcards-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.boxcards-hero h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.boxcards-hero p {
    font-size: 1rem;
    color: rgb(255, 255, 255);
}

.boxcards-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.boxcards-card {
    flex: 1 1 280px;
    max-width: 320px;
    padding: 1.5rem;
    border-radius: 8px;
    color: white;
    min-height: 180px;
}

.card-blue {
    background: rgba(0, 0, 0, 0.28);
}

.card-darkblue {
    /*background: #004080;*/
    background: rgba(0, 0, 0, 0.28);
}

.card-orange {
    background: rgba(0, 0, 0, 0.28);
}

.boxcards-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.boxcards-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.boxcards-section.scrolled {
    opacity: 1;
    transform: translateY(0);
    padding: 15% 20px;
}

.boxcards-section a {

    text-decoration: none;
    color: inherit;
    /* Use the parent's text color */
    background: rgba(255, 255, 255, 0.05);
    /* Light background if needed */


}

.boxcards-section a:hover {
    background: rgba(255, 255, 255, 0.1);
    /* Slightly lighter on hover */
    transform: translateY(-5px);
    /* Subtle lift effect */
    text-decoration: none;
    color: inherit;

}

/* Responsive */
@media (max-width: 768px) {
    .boxcards-cards {
        flex-direction: column;
        align-items: center;

        flex: 1 1 99%;

        max-width: 99%;
    }

    .boxcards-section {
        padding: 1rem;

        height: 100vh;

        position: relative;
        padding: 2% 10px;

    }

    .boxcards-hero h1 {
        font-size: 1.4rem;
    }

    .pillar-item {
        width: 85%;
        margin-bottom: 20px;
    }

    .panel2 {
        grid-template-columns: 40px 1fr;
    }

    .panel2-logo {
        grid-column: 1 / -1;
        margin-top: 12px;
    }

    .panel2-logo img {
        max-width: 80px;
    }
}

/* Responsive Design */
@media (max-width: 567px) {
    .boxcards-cards {
        flex-direction: column;
        align-items: center;

        flex: 1 1 99%;

        max-width: 99%;
    }

    .boxcards-section {
        padding: 1rem;

        height: 100vh;

        position: relative;
        padding: 2% 10px;

    }

    .boxcards-card {
        flex: 1 1 300px;
        max-width: 98%;
        padding: 1.1rem;

        max-height: 140px !important;
    }

    .vision-mission-content {
        grid-template-columns: 1fr;
        /* Stacks the sections vertically on smaller screens */
    }

    .vision-mission-section {
        background-color: #ffffff;
        /* Clean white background */
        padding: 25px 10px;
    }

    .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: 98% !important;
        margin-bottom: 15px;
    }

    .section {
        padding: 4rem 2rem;
    }

    .container {
        padding: 1rem;
        width: 99%;
        max-width: 100% !important;
    }

    .slide-header h1 {

        font-size: 2rem;
        font-weight: bold;
    }
}








html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f5f5f5;

    color: #333;
}

.section {
    padding: 3rem 1rem;
    background: linear-gradient(to bottom, #e0f2fe, #f5f5f5);
}

.container {
    max-width: 100% !important;
    margin: 0 auto;
    background-color: #fff;
    padding-bottom: 0.5rem;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #43a047;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.vision-title2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #43a047;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.vision-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: rgb(26, 184, 39);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgb(166, 187, 164);
    margin-bottom: 1.5rem;
}

.highlight {
    font-weight: 700;
    color: #43a047;
    background: linear-gradient(180deg, transparent 65%, #fef08a 65%);
    padding: 0 3px;
    border-radius: 3px;
    transition: background 0.3s;
}

.highlight:hover {
    background: linear-gradient(180deg, transparent 65%, #a5f3fc 65%);
}

.category {
    background-color: rgba(239, 246, 255, 0.5)
        /*#eff6ff*/
    ;

    padding: 1.5rem;
    border-left: 4px solidrgb(30, 175, 42);
    border-radius: 6px;
    margin-bottom: 1.0rem;
    transition: transform 0.3s ease;
    text-align: justify;
}

.category:hover {
    transform: translateX(1px);
}







.cta-container {
    text-align: center;
    margin-top: 2rem;
}


@media (min-width: 1024px) {
    .section {
        padding: 5rem 3rem;
    }
}



.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 */
}


#combinedContainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding-bottom: 2.25rem;
    padding-left: 1rem;

    border-radius: 2px;
    gap: 1.8rem;
    max-height: 650px;
}

#descriptionText,
#animationContainer {
    flex: 1;
    min-width: 350px;
    max-width: 50%;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: none;
}

@media (max-width: 768px) {
    #combinedContainer {
        flex-direction: column;
        /* Stack vertically */
        flex-wrap: nowrap;
        padding: 0.2rem !important;
        gap: 0.4rem;
        width: 100% !important;
        max-height: 650px;

    }

    #descriptionText,
    #animationContainer {
        min-width: 100%;
        max-width: 100%;
        padding: 0.5rem;
    }

    .vision-title {
        font-size: 1.1rem;
    }


    .carousel-controls {
        bottom: 15px;
    }


}