/*.................................. Banner Section .................................. */

.banner_section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("/api/placeholder/1920/600") center/cover;
    background: var(--light-green);
    color: var(--dark-green);
    padding: 3rem 5%;
    padding-right: 1%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.banner_content {
    /* color: #fff; */
    max-width: 800px;
}

.banner_content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner_subtitle {
    /* color: #B8860B; */
    color: var(--dark-golden);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.banner_description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #0b1a12;
    /* color: white; */
}

.banner_buttons {
    display: flex;
    gap: 1rem;
}

.banner_button {
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.banner_section .button-primary {
    /* border: 2px solid #efb932; */
    color: #fff;
    background: var(--medium-green);
    /* background: #efb932; */
}

.banner_section .button-secondary {
    background: #da4923;
    color: #fff;
    border: 2px solid #da4923;

    background: white;
    color: var(--dark-green);
    border: 1px solid var(--dark-green);
}

.banner_section img {
    width: 50%;
}

/*********************************** About Section ********************** */



/* Component 1: about Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5%;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 100%;
    height: auto;
}

.about-image img{
    width: auto;
    max-width: 90%;
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    /* background: var(--primary-red);
  color: var(--white); */
    /* background: var(--light-green); */
    background: var(--light-golden);
    color: white;
    padding: 2rem;
    border-radius: 0 0 50% 0;
    text-align: center;
    width: 200px;
    height: 200px;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-content h2 {
    /* color: var(--primary-red); */
    color: var(--dark-golden);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/******************************** Services card ***********************************/



.service-list {
    list-style: none;
    margin: 2rem 0;
}

.service-list li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-list i {
    /* color: var(--primary-red); */
    color: var(--dark-golden);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    /* background: var(--primary-yellow);
  background: var(--golden);
  color: var(--text-dark); */
    background-color: var(--medium-green);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.services {
    padding: 4rem 4%;
    background: #f1f1f1;
    padding-bottom: 10rem;
}

.services .title {
    margin-bottom: 3rem;
}

.services .title h2 {
    /* color: var(--accent-green); */
    color: var(--dark-golden);
    margin-bottom: 1rem;
}

.services h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 2rem; */
    column-gap: 4%;
    row-gap: 6%;
}

.services .card {
    position: relative;
    padding: 2.5rem 1em;
    border-radius: 5px;
    text-align: center;
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 320px;
    min-height: 400px;
}

.services .card img {
    width: 76px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.services .card h4 {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: #333;
}

.services .card .divider {
    width: 80px;
    height: 2px;
    background: var(--bright-yellow);
    margin: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.services .card p {
    position: relative;
    z-index: 2;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.services .card .read-more {
    position: relative;
    z-index: 2;
    color: #8c8c92;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

.services .card .overlay2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: #2c3e50;
    background: #6a6e71;
    background: #3e7557ed;
    background: #4b544fed;
    transition: height 0.5s ease;
    z-index: 1;
}

.services .card:hover .overlay2 {
    height: 100%;
}

/* .services .card:hover {
  transform: translateY(-5px);
} */

.services .card:hover h4,
.services .card:hover p {
    color: white;
}

.services .card:hover .read-more {
    color: var(--bright-yellow);
}

.services .card .read-more:hover {
    text-decoration: underline;
}

.services .card:nth-child(odd) i {
    color: #eec63e;
}

.services .card:nth-child(even) i {
    background: var(--accent-green);
}



@media ((max-width: 820px) and (min-width: 700px)) {
    .banner_content h1 {
        width: 200%;
    }

    .banner_section img {
        width: 53%;
        margin-top: 16%;
    }

    .banner_button {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        padding: 4rem 10%;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        max-height: 400px;
        min-height: 280px;
        width: auto;
    }

    .about-stats {
        right: 4%;
    }

    .services .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .banner_section {
        flex-direction: column;
    }

    .banner_section img {
        /* display: none; */
        margin-top: 30px;
        margin-bottom: -40px;
        width: 88%;
    }

    .banner_section {
        padding: 4rem 6%;
    }

    .about-image {
        order: 2;
    }
}

@media (max-width: 600px) {
    .about-stats {
        right: -40px;
        /* height: 180px;
    padding: 1.3rem; */
    }
}

@media (max-width: 500px) {
    .banner_section img {
        width: 113%;
        max-width: 113%;
    }

    .services .grid {
        grid-template-columns: 1fr;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .services .grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1%;
        justify-items: center;
    }
}

@media (max-width: 450px) {
    .about-section {
        grid-template-columns: 1fr;
        padding: 4rem 7%;
    }

    .about-stats {
        right: -22px;
        padding: 0.7rem;
        height: 160px;
        width: 167px;
    }
}


@media (max-width: 400px) {
    .banner_button {
        padding: 1rem 1.2rem;
    }

    .banner_content h1 {
        font-size: 3rem;
    }
}

