@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 550;
    /* font-family: "Playfair Display", serif; */
}

:root {
    --bo-color: #EF476F;
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --best-color: #ffffff;
    --text-color-2: #000000;
    --span-color: #49ab4d;
    --other-color: #0a59c2;
    --brown-color: #c9750e;
}

section {
    min-height: 100vh;
    padding: 5rem 9% 2rem;
}

button {
    cursor: pointer;
}

span {
    background: var(--second-bg-color) ;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

/* MENU-ICON */
#menu-icon {
    position: relative;
    font-size: 3.6rem;
    color: var(--bg-color);
    cursor: pointer;
    display: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--best-color);
    color: var(--text-color-2);
}

.header {
    background: var(--best-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 6%;
    opacity: 90%;
    /* background: transparent; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

header.sticky {
    background: var(--bg-color);
}

.logo {
    position: relative;
    font-size: 2.5rem;
    color: var(--other-color);
    font-weight: 600;
}

.navbar {
    position: relative;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color-2);
    font-weight: 500;
    margin-left: 3.5rem;
    text-decoration: none; /* Removes underline */
    position: relative;
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: var(--brown-color);
}


.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px; /* Adjust the distance between the text and dash */
    height: 2px; /* Thickness of the dash */
    background-color: var(--brown-color); /* Dash color */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.navbar a:hover::after, .navbar a.active::after {
    transform: scaleX(1);
}

/* SECTION 1 */

.section1 {
    display: flex;
    align-items: center;
    position: relative;
    background: url(images/14.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 30vh;
}

.section1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    filter: blur(5px);
    opacity: 0.9;
    z-index: 1;
}

.section1-content {
    position: relative;
    margin-top: 70px;
    color: white;
    z-index: 2;
}

.section1-content h1 {
    font-size: 6rem;
    margin-bottom: 20px
}

#upper {
    color: var(--brown-color);
}

.section1-content p {
    font-size: 3rem;
}

@media (max-width: 768px) { 
    .section1 {
        /* background-position: 0% 10%; */
        min-height: 10vh;
    }

    .section1-content {
        margin-top: 100px;
    }

    .section1-content h1 {
        font-size: 4rem !important;
    }
}

/* SECTION 2 */
.section-2 {
    min-height: 100vh;
    padding: 5rem 5% 2rem;
}

.section2-container .card-container {
    margin-bottom: 30px
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    border: 1px solid #d0d0d0;
    padding: 15px 0px 15px 30px;
    background-color: #fefefe;
}

.card-container .card-image img {
    width: 400px;
    max-height: 350px;
    border: 1px solid #d0d0d0;
    padding: 5px;
}

.card-container .card-image img:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}


.card-container .card-body {
    width: 350px;
    border: 1px solid #d0d0d0;
    padding: 7px;
}

.card-card {
    border: 1px solid #d0d0d0;
    padding: 20px;
}

.card-container .card-body p {
    font-size: 1.6rem;
    font-weight: lighter;
    line-height: 18px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .card-container {
        gap: 30px;
    }

    .card-container .card-image img {
        max-width: 300px;
    }

    .card-container .card-body {
        width: 350px;
    }
}

/* SECTION 8 */
.section-8 {
    background: var(--bg-color);
    color: var(--text-color);
    margin-top: 35px;
    min-height: 40vh;
    padding: 0rem 2.5% 0rem;
    margin-top: 100px;
    padding-bottom: 30px;
    /* position: relative; */
    /* top: 100px; */
}

.section8-class {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* align-items: center; */
}

.section8-class h1 {
    color: var(--text-color);
}



.section8-about, .section8-mission, .section8-address, .section8-about-2 {
    width: 250px;
    font-size: 1.3rem;
    font-weight: lighter;
    margin-top: 35px;
}

.section8-mission {
    margin-top: -20px;
    margin-bottom: -20px;
}

.section8-mission h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about p {
    margin-bottom: 18px;
}

.section8-about li {
   list-style: none;
   margin-bottom: 10px;
}

.section8-about a {
    color: var(--other-color);
}

.section8-about-2 h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-about-2 p {
    margin-bottom: 18px;
}

.section8-about-2 li {
   list-style: none;
   margin-bottom: 10px;
}

.section8-about-2 a {
    color: var(--other-color);
}

.section8-address h1 {
    margin-bottom: 10px;
    font-size: 2.3rem;
}

.section8-address p {
    margin-bottom: 10px;
}

.section8-mission .footer-logo {
    margin: auto;
}

.footer-logo {
    position: relative;
    top: -50px;
    width: fit-content;
    padding: 10px;
    border-radius: 100px;
    text-align: center;
    background: var(--best-color);
    justify-content: center;
}

.footer-logo img {
    border-radius: 100px;
    width: 100px;
}

@media (min-width: 807px) {
    .section8-about-2 {
        display: none;
    }
}

@media (max-width: 806px) {
    .section8-class {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 40px;
        /* justify-content: space-between;
        align-items: center; */
    }

    .section8-about, .section8-mission, .section8-address {
        width: 80%;
        font-size: 1.3rem;
        font-weight: lighter;
        margin-top: 0px;
    }

    .section8-about {
        display: none;
    }

    .section8-about-2 {
        width: 80%;
        font-size: 1.3rem;
        font-weight: lighter;
    }
}

/* footer  */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 9%;
    background-color: rgb(23, 27, 33);
}

.footer-text, .footer-iconTop {
    position: relative;
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--text-color);
}

.footer-text a {
    color: var(--brown-color);
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 1.5rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}


@media (max-width: 768px) {
    .footer {
        flex-direction: column-reverse;
}

.footer-text p {
        font-size: 1.2rem;
}

.footer p {
        margin-top: 2rem;
        text-align: center;
}
}











/* HEADER STYLE MEDIA QUERY */
@media (max-width: 768px) {
    .header {
        background: var(--best-color);
    }

    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--bg-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, .2);
        border-radius: 0 0 1rem 1rem;
        transition: .25s ease;
        transition-delay: .25s;
        z-index: 1;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--best-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s  ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        transition-delay: .25s;
        left: 0;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25s ease;
        transition-delay: 0s;
        color: var(--text-color-2);
    }

    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }
}