/* -----------------
fonts 
--------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Adelia';
    src: url('../webfonts/Adelia.otf') format('opentype');
}

@font-face {
    font-family: 'Gobold Uplow';
    src: url('../webfonts/Gobold_Uplow.otf') format('opentype');
}

/* --------------
 variables 
 ------------*/
:root {
    --main-color: #f9b233;
    --dark: #1b6d3b;
    --dark-light: #178642;
    --white: #ffffff;
    --white-light: #fefee3;
    --shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    --serif-font: 'Adelia', serif;
    scroll-behavior: smooth;
}

/* ------------------
 global settings 
----------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

::before,
::after {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--white-light);
}

img {
    vertical-align: middle;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #fefee3;
}

ul {
    list-style: none;
}

h1 {
    font-family: 'Gobold Uplow', sans-serif;
    font-weight: 700;
    color: var(--white);
}

h2 {
    font-weight: 600;
    color: var(--white);
}

h3,
h4,
h5,
h6 {
    font-weight: 500;
    color: var(--white);
}

p {
    font-size: 16px;
}

.container {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row-first {
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-team {
    padding-bottom: 5em;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.min-vh-100 {
    min-height: 100vh;
}

.sec-padding {
    padding: 80px 0;
}

section {
    overflow: hidden;
}

/* section title */
.section-title {
    width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 35px;
}

.section-title h2::before {
    content: attr(data-title);
    display: block;
    font-size: 24px;
    color: var(--main-color);
    font-family: var(--serif-font);
    font-weight: 400;
    text-transform: capitalize;
}

/* buttons */
.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: transparent;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    color: var(--main-color);
    line-height: 1.5;
    user-select: none;
    border: none;
}

.btn-default {
    border: 2px solid var(--main-color);
}

.btn-default:hover {
    color: var(--white);
    background-color: var(--main-color);
}

/* animation keyframes */
@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes spin01 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pageLoader {

    0%,
    100% {
        transform: translateX(-50px);
    }

    50% {
        transform: translateX(50px);
    }
}

/* --------------------
 page loader 
 ------------*/
.page-loader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--dark);
    z-index: 999;
    transition: all 0.6s ease;
}

.page-loader.fade-out {
    opacity: 0;
}

.page-loader::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 100px;
    background-color: var(--main-color);
    left: calc(50% - 50px);
    top: calc(50% - 2px);
    animation: pageLoader 1s linear infinite;
}

/* ------------
 header 
 --------------*/
.header {
    padding: 12px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
}

.header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--dark-light);
    box-shadow: var(--shadow);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: translateY(-100%);
}

.header.sticky::before {
    transform: translateY(0%);
}

.header .logo {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.header .nav-toggler {
    height: 34px;
    width: 44px;
    margin-right: 15px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .nav-toggler.active {
    position: absolute;
    right: 0;
    z-index: 1;
    transition: all 0.5s ease;
    transform: translateX(-200px);
}

.header .nav-toggler span {
    height: 2px;
    width: 30px;
    display: block;
    background-color: var(--white);
    position: relative;
}

.header .nav-toggler.active span {
    background-color: transparent;
    transition: background-color 0.5s ease;
}

.header .nav-toggler span::before,
.header .nav-toggler span::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--white);
}

.header .nav-toggler span::before {
    transform: translateY(-8px);
}

.header .nav-toggler.active span::before {
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.header .nav-toggler span::after {
    transform: translateY(8px);
}

.header .nav-toggler.active span::after {
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.header .nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 280px;
    background-color: var(--dark-light);
    box-shadow: var(--shadow);
    overflow-y: auto;
    padding: 80px 0 40px;
    transition: transform 0.5s ease;
    transform: translateX(100%);
}

.header .nav.open {
    transform: translateX(0%);
}

.header .nav ul li a {
    display: block;
    font-size: 25px;
    color: var(--white);
    padding: 10px 30px;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.header .nav ul li a:hover {
    color: var(--main-color);
}

/* home-section */
.home-section {
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.7;
    z-index: -1;
}

.home-section .home-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url('../img/home-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomInOut 20s ease infinite;
}

.home-section .min-vh-100 {
    padding: 100px 0;
}

.home-text {
    padding: 0 15px;
    max-width: 700px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.home-text img {
    margin: 0 0 15px;
}

.home-text p {
    margin: 0 0 30px;
}

/* --------------------
 news section 
 --------------------*/
.news-section {
    background-color: var(--dark);
}

.news-text,
.news-img {
    width: 100%;
    padding: 0 15px;
}

.news-text h3 {
    font-size: 30px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.news-text p {
    margin: 0 0 15px;
}

.news-text .btn {
    margin: 15px 0 0;
}

.news-img img {
    width: 100%;
    border-radius: 10px;
}

.news-img .img-box {
    position: relative;
}

.news-img .img-box h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-family: var(--serif-font);
    color: var(--dark);
    font-weight: bold;
    text-transform: capitalize;
}


/* --------------------
 about section 
 --------------------*/
.about-section {
    background-color: var(--dark);
}

.about-text,
.about-img {
    width: 50%;
    padding: 0 15px;
}

.about-text h3 {
    font-size: 30px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.about-text p {
    margin: 0 0 15px;
}

.about-text .btn {
    margin: 15px 0 0;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
}

.about-img .img-box {
    position: relative;
}

.about-img .img-box h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-family: var(--serif-font);
    color: var(--dark);
    font-weight: bold;
    text-transform: capitalize;
}


/* -----------------
 program section 
 -----------------*/
.program-section {
    background-color: var(--dark);
}

.program-text,
.program-img {
    width: 50%;
    padding: 0 15px;
}

.program-text h3 {
    font-size: 30px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.program-text p {
    margin: 0 0 15px;
}

.program-text .btn {
    margin: 15px 0 0;
}

.program-img img {
    width: 100%;
    border-radius: 10px;
}

.program-img .img-box {
    position: relative;
}

.program-img .img-box h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-family: var(--serif-font);
    color: var(--dark);
    font-weight: bold;
    text-transform: capitalize;
}

/* -----------------
 team section
 ------------------- */
.team-section {
    background-color: var(--dark);
    padding-bottom: 125px;
}

.team-item {
    width: calc(100% / 3);
    padding: 0 15px;
    position: relative;
}

.team-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.team-item:hover img {
    transform: skewY(2deg);
}

.team-item-info {
    background-color: var(--dark-light);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    transform: translateY(15%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.team-item:hover .team-item-info {
    transform: translateY(-15px);
    background-color: var(--main-color);
}

.team-item-info h3 {
    font-size: 18px;
    text-transform: capitalize;
    margin: 0 0 10px;
}

.team-item-info p {
    font-size: 12px;
    text-align: left;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.team-item:hover .team-item-info p {
    color: var(--white);
}


/* --------------------
 contact section 
 --------------------*/
.contact-section {
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 15px;
}

.contact-section .contact-form {
    width: 100%;
    max-width: 600px;
}

.contact-section .form-group {
    margin-bottom: 1rem;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dedede;
    border-radius: 4px;
    font-size: 1rem;
    font-family: Poppins, sans-serif;
    resize: none;
    box-sizing: border-box;
}

/* --------------------
 thanks section 
 --------------------*/
.thanks-section {
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 15px;
}

.thanks-text,
.thanks-img {
    width: 100%;
    padding: 0 15px;
}

.thanks-section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1170px;
}

.thanks-text {
    text-align: center;
}

.thanks-text h3 {
    font-size: 30px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.thanks-text p {
    margin: 0 0 30px;
}

.thanks-text .btn {
    margin: 15px 0 0;
}

.thanks-img img {
    width: 100%;
    border-radius: 10px;
}

.thanks-img .img-box {
    position: relative;
}

.thanks-img .img-box h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-family: var(--serif-font);
    color: var(--dark);
    font-weight: bold;
    text-transform: capitalize;
}

/* --------------------
 footer 
 -------------------*/
.footer {
    padding: 80px 0 0;
    background-image: url('../img/footer-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.footer-item {
    width: calc(100% / 1);
    padding: 0 15px;
    text-align: center;
}

.footer-item h3 {
    text-transform: capitalize;
    font-size: 22px;
    margin: 0 0 15px;
}

.footer-item p {
    line-height: 30px;
}

.footer-item .social-links {
    margin-top: 15px;
}

.footer-item .social-links a {
    display: inline-flex;
    height: 40px;
    width: 40px;
    color: var(--white-light);
    font-size: 32px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.footer-item .social-links a:hover {
    color: var(--main-color);
}

.footer .copyright {
    margin: 80px 0 0;
    width: 100%;
    text-align: center;
    padding: 25px 15px;
    font-size: 14px;
    border-top: 1px solid var(--white-light);
}


/* responsive */
@media (max-width: 991px) {
    .team-item {
        width: 50%;
    }

    .team-item:not(:last-child) {
        margin-bottom: 75px;
    }
}

@media (max-width: 767px) {
    .home-text h1 {
        font-size: 50px;
        line-height: 65px;
    }

    .program-item,
    .about-text,
    .about-img {
        width: 100%;
    }

    .program-item:nth-last-of-type(2):after {
        border-bottom: 2px dashed var(--dark-light);
    }

    .about-img {
        margin-top: 40px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .footer-item {
        width: 100%;
    }

    .footer-item:not(:last-child) {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .team-item {
        width: 100%;
    }
}