/* Start Global Variablse */
:root {
    --min-color: #2ca46c;
    --header-color: #ffffff;
    --paragraph-color: #323641;
    --sec-color: #ecfbf8;
    --btn-color: #1f8654;
    --third-color: #33a36e;
    --trans-duration: 0.3s;
    --min-padding: 60px 0;
}
::selection {
    background-color: var(--min-color);
    color: white;
}
  /* End Global Variablse */
/* Start Projects Section */
.projects {
    background-color: var(--header-color);
    padding: var(--min-padding);
}
.projects .section {
    display: flex;
    align-items: center;
    gap: 30px;
}
@media (max-width: 992px) {
    .projects .section  {
        flex-direction: column;
        align-items: center;
    }
}
.projects .section .content .main-component .right {
    margin-bottom: 0;
}
@media (max-width: 992px) {
    .projects .section .content .main-component .right {
        margin:  5px;
        padding: 0;
    }
}
.projects .section .content .main-component .head {
    font-size: 14px;
    font-weight: 300;
    color: #787878;
}
.projects .section .content .main-component .head span {
    color: var(--third-color);
    font-weight: bold;
}
.projects .section .content {
    flex: 1;
}
.projects .section .content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    margin-top: 50px;
}
@media (max-width: 992px) {
    .projects .section .content h3 {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .projects .section .content h3 {
        text-align: center;
    }
}
.projects .section .content p {
    font-size: 14px;
    color: #787878;
    line-height: 1.8;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 20px;
}
@media (max-width: 992px) {
    .projects .section .content p {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .projects .section .content p {
        text-align: center;
    }
}
.projects .section .content .boxes {
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 992px) {
    .projects .section .content .boxes {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .projects .section .content .boxes {
        justify-content: center;
    }
}
.projects .section .content .boxes .box i {
    font-size: 25px;
    padding: 15px 30px;
    background-color: var(--sec-color);
    color: var(--min-color);
    border-radius: 15px;
}
.projects .section .content .boxes .box p {
    padding: 15px;
    margin: 0;
    width: fit-content;
}
.projects .section .imgs {
    flex: 1;
}
@media (max-width: 767px) {
    .projects .section .imgs {
        max-width: 100%;
    }
}
.projects .section .imgs img {
    width: 500px;
}
@media (max-width: 767px) {
    .projects .section .imgs img {
        max-width: 100%;
    }
}
.projects .project {
    padding: 20px 0;
    position: relative;
}
.projects .project .boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    align-items: center;
    gap: 20px;
}
.projects .project .boxes .box .imgs {
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    height: 200px;
    position: relative;
}
.projects .project .boxes .box .imgs::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #323735b8;
    position: absolute;
    left: 0;
    top: 0;
}
.projects .project .boxes .box .imgs span {
    display: inline-block;
    color: var(--header-color);
    background-color: var(--third-color);
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 20px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    cursor: pointer;
}
.projects .project .boxes .box .imgs i {
padding-left: 10px;
}
.projects .project .boxes .box img {
    width: 100%;
}
.projects .tap {
    font-size: 14px;
    font-weight: 400;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 15px;
    background-color: #f9fafc;
}
@media (max-width: 767px) {
    .projects .tap {
        width: 100%;
    }
}
.projects .tap .prev {
    font-size: 12px;
    color: #787878;
    padding-right: 20px;
    cursor: pointer;
}
.projects .tap .next {
    font-size: 12px;
    color: var(--paragraph-color);
    padding-left: 20px;
    cursor: pointer;
}
.projects .tap .num {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    cursor: pointer;
}
.projects .tap .num span {
    color: #787878;
}
.projects .tap .num .activ {
    color: var(--third-color);
    font-weight: bold;
}
/* End Projects Section */
