* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Sitka Banner';
    src: url(fonts/sitka-small-599.ttf);
    font-display: swap;
}

:root {
    --color-white: #fff;
    --color-black: #000;
    --bs-btn-color: #fff;
    --color-primary: #81B435 !important;
    --bs-btn-border-color: #81B435;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #729e2f;
    --bs-btn-hover-border-color: #87c529;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #506d24;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #81B435;
    --bs-btn-disabled-border-color: #81B435;
}

main {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sitka Banner', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
}

.navbar-brand {
    background: var(--color-white);
    position: absolute;
    top: -8px;
    text-align: center;
    display: flex;
    position: absolute;
    left: 36%;
    border-radius: 50%;
    transform: translateX(50%);
    z-index: 33;
    padding: 12px 30px 20px
}

.navbar-brand img {
    width: auto;
    height: 100px;
}

.collapse.navbar-collapse {
    width: 100%;
    justify-content: space-between;
}

.carousel-item img {
    filter: brightness(0.5);
    height: 86vh;
    object-fit: cover;
}

/**
 * 
 * Section 1 Carasual
 * 
 */


.slider h2,
.slider p,
.slider div {
    z-index: 3;
}

.slider::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.btn-primary-custom {
    background-color: var(--color-primary) !important;
    color: var(--color-white);
}

header .img__phone {
    width: 40px;
    height: 40px;
}

.carousel-indicators [data-bs-target] {
    width: 60px !important;
}

.carousel-indicators .active {
    background-color: var(--color-primary) !important;
}

.carousel-caption {
    padding-bottom: 4rem;
}

/**
 * 
 * Footer Carasual
 * 
 */

.slick-prev:before,
.slick-next:before {
    background: var(--color-white);
    color: var(--color-primary) !important;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    padding: 5px;
    border-radius: 50%;
}

.slick-slide {
    margin: 10px;
}

/**
 * Fade In Animation
 */
@keyframes fadeinall {
    0% {
        opacity: 1;
    }

    97% {
        opacity: 0;
    }

    98% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    99% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        opacity: 0;
        z-index: -1;
    }
}

#fadein {
    opacity: 1;
    position: fixed;
    width: 100%;
    height: 100%;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    background-color: #fff;
    z-index: 999;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation: fadeinall 1s normal both;
    animation: fadeinall 1s normal both;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

/**
 * Rotate Loader Animation
 */
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader-wrapper {
    background-color: #ffffff;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
}

.loader {
    width: 40px;
    height: 40px;
    border: 5px solid #000000;
    border-bottom-color: transparent;
    border-radius: 50%;
    margin-top: calc(50vh - 20px);
    display: inline-block;
    box-sizing: border-box;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
}

.contact__info ul {
    padding-bottom: 30px;
    border-bottom: 2px solid #d2d2d2;
}

.fancy__ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 30px;
}

.fancy__ul li {
    font-size: 20px;
    font-weight: 500;
    position: relative;
}

.fancy__ul li::before {
    content: " ";
    background: url(../images/tick.svg) center no-repeat;
    background-size: contain;
    display: inline-block;
    position: absolute;
    left: -50px;
    top: 0;
    width: 30px;
    height: 30px;
}

.fancy__ul__2 li::before {
    width: 24px;
    height: 24px;
    background: url(../images/tick.svg) center no-repeat;
}

.about_image {
    position: relative;
}

.about_image::before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 55;
    left: 25px;
    top: 25px;
    border: 2px solid var(--color-primary);
    border-radius: 32px;
}

/* Our Principles Section */
.principles {
    background: url(../images/principle__bg.jpg) no-repeat center;
    padding: 30px 0;
}

.principles__wrapper {
    margin-top: -150px;
    z-index: 333;
    position: relative;
}

.principles__wrapper .bg-dark {
    border-radius: 30px;
    background-image: url(../images/dark__bg.jpg);
    background-position: top;
    background-size: cover;
}
.principles__wrapper  .row{
    align-items: flex-start;
}

.image__section img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.principle__card {
    height: 100%;
}

.principle__card img {
    width: 100px;
    height: 100px;
}

.principle__card h4 {
    margin: 20px auto;
}

/* Our Projects Section */
.border__header h2 {
    position: relative;
    text-align: center;
}

.border__header h2::before,
.border__header h2::after {
    content: " ";
    width: 40%;
    height: 2px;
    background-color: #d1d1d1;
    position: absolute;
    top: 17px;
}

.border__header h2::before {
    left: 0;
}

.border__header h2::after {
    right: 0;
}

/* Footer */
footer {
    background-color: #F8F9FA;
    padding: 50px 0;
}

.footer-logo img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.footer-logo a {
    width: 50%;
    height: 100%;
    border-bottom: 2px solid #d1d1d1;
    display: block;
    margin-bottom: 20px;
}

.footer__pages ul {
    display: flex;
    list-style-type: none;
    flex-direction: column;
    margin-left: -20px;
    gap: 10px;
}

.footer__pages ul a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer__pages ul a img {
    margin: 0 20px 0 0;
    width: 24px;
    height: 24px;
}

.social__links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social__links img {
    width: 24px;
    height: 24px;
}

.social__links a {
    border-radius: 50%;
    border: 1px solid #d2d2d2;
    padding: 10px;
    transition: 300ms all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social__links a:hover {
    background-color: var(--color-primary);
}

.social__links a:hover img {
    filter: invert(1);
}

/* About US SECTION */

.section__bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 350px;
    display: grid;
    place-content: center;
    position: relative;
}

.section__bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(2, 2, 2, 0.329);
}

.section__bg h2 {
    color: var(--color-white);
    filter: brightness(1.5);
    z-index: 5;
    padding-top: 30px;
}

.heading__primary {
    border-bottom: 3px solid var(--color-primary);
    width: 80%;
    margin-bottom: 20px;
}

.about__us .card p {
    font-size: 18px;
}

.our__values {
    background: url(../images/principle__bg.jpg);
}

.additional-info {
    background: url(../images/additional-info.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: grid;
    place-content: center;
    position: relative;
    padding: 50px 0;
}

.additional-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(2, 2, 2, 0.473);
}

.additional-info>div>* {
    position: relative;
    z-index: 3;
}

.additional-info .doc__img {
    width: 40px;
    height: 40px;
}

.additional-info .download__img {
    width: 30px;
    height: 30px;
}

.download__links {
    gap: 30px;
}

.download__links a {
    background-color: rgba(255, 255, 255, 0.192);
    color: var(--color-white);
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
}

.download__links a div {
    padding: 0 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.additional-info h5 {
    margin: 20px 0 30px;
    position: relative;
}

.additional-info h5::before {
    content: " ";
    background-color: var(--color-white);
    height: 3px;
    width: 100px;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.additional-info-wrapper .col-xl-4>div>img,
.additional-info-wrapper .additional-info-desc>div>img {
    width: 70px;
    height: 70px;
}

.green__header {
    background: url(../images/principle__bg.jpg);
    padding: 20px 0 20px;
    color: var(--color-white);
    display: flex;
    align-items: center;
}

.green__header h3 {
    position: relative;
}

.green__header h3::before {
    content: " ";
    background-color: var(--color-white);
    height: 3px;
    width: 200px;
    position: absolute;
    left: 10px;
    bottom: -10px;
}

.human-resource-wrapper,
.list-group,
.list-group-item {
    background-color: #e6e6e6;
}

.header__wrapper {
    position: relative;
}

.section__header__title {
    background-image: url(../images/principle__bg.jpg);
    background-color: var(--color-primary);
    color: white;
    max-width: max-content;
    padding: 40px;
    font-size: 20px;
    border-radius: 10px;
    margin-top: -50px;
    position: relative;
    z-index: 3333;
    background-position: center;
}
.green__bg{
    background-image: url(../images/principle__bg.jpg);
    background-color: var(--color-primary);
    height: 100vh;
    color: white;
}
.section__header__title h4 {
    position: relative;
}

.section__header__title h4::before {
    content: " ";
    background-color: var(--color-white);
    height: 3px;
    width: 200px;
    position: absolute;
    left: -5px;
    bottom: -10px;
}

.form-group label {
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    border: none;
    box-shadow: 1px 2px 5px 2px #d2d2d275;
    resize: none;
}

.form-group textarea {
    height: 150px;
}

.contact__details img {
    filter: invert(60%) sepia(53%) saturate(526%) hue-rotate(42deg) brightness(97%) contrast(88%);
}

.btn-success {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/**
 * 
 * Blog Page
 * 
 */

.blog__page img {
    height: auto;
    width: 100%;
}

.blog__page div [class^="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.blog__page .card {
    transition: 0.5s;
    cursor: pointer;
    padding: 30px 20px;
}

.blog__page .card-title {
    font-size: 15px;
    transition: 1s;
    cursor: pointer;
    color: var(--color-primary)
}

.blog__page .card-title i {
    font-size: 15px;
    transition: 1s;
    cursor: pointer;
    color: var(--color-primary)
}

.blog__page .card-title i:hover {
    transform: scale(1.25) rotate(100deg);
    color: #18d4ca;

}

.blog__page .card:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

.blog__page .card-text {
    /* height: 80px; */
}

.blog__page .card-text p {
    display: -webkit-box;
    /* max-width: 200px; */
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__page .card::before,
.blog__page .card::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: scale3d(0, 0, 1);
    transition: transform .3s ease-out 0s;
    background: rgba(255, 255, 255, 0.1);
    content: '';
    pointer-events: none;
}

.blog__page .card::before {
    transform-origin: left top;
}

.blog__page .card::after {
    transform-origin: right bottom;
}

.blog__page .card:hover::before,
.blog__page .card:hover::after,
.blog__page .card:focus::before,
.blog__page .card:focus::after {
    transform: scale3d(1, 1, 1);
}

.single_blog .img-thumbnail {
    max-width: 600px;
    margin: auto;
}

.single_blog h1 {
    text-align: center;
}

section div.col-md-6.animate {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    -webkit-animation-name: fadeIn;
    animation-name: leftToRight;
    -webkit-animation-iteration-count: 1;
}

section div.col-md-6.animate:nth-child(odd) {
    animation-name: rightToLeft;
}

@-webkit-keyframes leftToRight {
    0% {
        margin-left: -30%;
    }

    100% {
        margin-left: 0%;
    }
}

@keyframes leftToRight {
    0% {
        margin-left: -30%;
    }

    100% {
        margin-left: 0%;
    }
}

@-webkit-keyframes rightToLeft {
    0% {
        margin-right: -30%;
    }

    100% {
        margin-right: 0%;
    }
}

@keyframes rightToLeft {
    0% {
        margin-right: -30%;
    }

    100% {
        margin-right: 0%;
    }
}

@media screen and (min-width:768px) {
    .about__us .card.right {
        position: relative;
        margin-right: -100px;
        margin-left: 100px;
    }

    .about__us .card.left {
        position: relative;
        margin-right: 100px;
        margin-left: -100px;
    }

}

/** MEdia query for mobile */

@media screen and (max-width:767px) {
    .principles__wrapper {
        margin-top: 20px;
    }

    .principles__wrapper .bg-dark {
        background-color: transparent !important;
        background-image: none;
    }

    .principles__wrapper .bg-dark .col-md-3 {
        border-radius: 5px;
        background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
    }

    .principles {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 30px 0;
    }

    .principles .image__section {
        display: none;
    }

    .principles .bg-dark h2 {
        padding: 0 0 30px !important;
    }

    .about_image {
        max-width: 85%;
        margin: 30px auto;
    }

    .border__header h2::before,
    .border__header h2::after {
        width: 20%;
    }

    .navbar-brand {
        left: 18%;
    }

    .navbar-brand img {
        height: 70px;
    }
}