@import './reset.css';

:root {
    --app-dark-bg:#1a1d28;
    --app-blue:#3c57ff;
    --app-light-bg: #f9f9f9;
    --app-green-hover: #016938;
    --app-light-green: #049140;
    --app-border-radius: 5px;
    --app-text-color: #181818;
    --app-light-text-color: #f2f4f6;
    --app-white-color: #fff;
    --app-dropdown-color: #f9f9f9;
    --app-form-input-border: 1px solid rgb(26, 29, 40, 0.3);
    --app-form-input-background-color: rgba(255, 255, 255, 0.1);
    --app-form-input-border-hover: 1px solid rgb(26, 29, 40, 0.6);
    --app-form-border: 1px solid rgba(206, 202, 202, 0.5);
    --app-grey-text: rgb(43, 42, 42, 0.4);
}

html {
    scroll-behavior: smooth;
    transition: all 0.25s ease-in-out;
}

body {
    background-color: var(--app-white-color);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.container {
    width: min(100% - 30px, 1180px);
    margin-inline: auto;
}

/* -------------------------------- */
/* Dark Mode                        */
/* -------------------------------- */

.dark-mode {
    --app-light-bg: #1a1d28;
    --app-green-hover: #016938;
    --app-light-green: #049140;
    --app-border-radius: 5px;
    background-color: #1a1d28;
    --app-text-color: #f2f4f6;
    --app-light-text-color: #f2f4f6;
    --app-white-color: #1a1d28;
    --app-dropdown-color: rgb(26, 29, 40);
    --app-form-input-border: 1px solid rgba(255, 255, 255, 0.1);
    --app-form-input-background-color: rgba(255, 255, 255, 0.1);
    --app-form-input-border-hover: 1px solid rgba(255, 255, 255, .3);
    --app-form-border: 1px solid rgba(255, 255, 255, 0.125);
    --app-grey-text: rgb(255, 255, 255, 0.4);
}

/* -------------------------------- */
/* Light Mode                       */
/* -------------------------------- */

.light-mode {
    --app-dark-bg:#1a1d28;
    --app-blue:#3c57ff;
    --app-light-bg: #f9f9f9;
    --app-green-hover: #016938;
    --app-light-green: #049140;
    --app-border-radius: 5px;
    --app-text-color: #181818;
    --app-light-text-color: #f2f4f6;
    --app-white-color: #fff;
    --app-dropdown-color: #f9f9f9;
    --app-form-input-border: 1px solid rgb(26, 29, 40, 0.3);
    --app-form-input-background-color: rgba(255, 255, 255, 0.1);
    --app-form-input-border-hover: 1px solid rgb(26, 29, 40, 0.6);
    --app-form-border: 1px solid rgba(206, 202, 202, 0.5);
    --app-grey-text: rgb(43, 42, 42, 0.4);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Switch Mode                                           */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 

#theme {
    position: fixed;
    bottom: 50px;
    right: 40px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--app-light-green);
    box-shadow: 0px 5px 10px rgb(0 0 0 / 0.4); 
    text-align: center;
    border: none;
    font-size: 16px;
    color: var(--app-text-color);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 26px 30px -10px, rgba(0, 0, 0, 0.1) 0px 16px 10px -10px;
}

#theme i {
    font-size: 20px;
}


/* -------------------------------- */
/* Header                           */
/* -------------------------------- */


header {
    width: 100%;
    height: 100px;
    padding: 20px 0px;
    background-color: var(--app-white-color);
}


.flexbox {
    display: flex;
}

.title {
    width: 17%;
    height: 80px;
    padding: 3px 0px;
    display: flex;
    flex-direction: row;
}

.title-image {
    width: 150px;
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.name {
    width: 380px;
    height: 50px;
    padding: 8px 0px;
    font-size: 22px;
    font-weight: 500;
    line-height: 26px;
    margin-top: 0.9rem;
    text-transform: uppercase;
    color: var(--app-text-color);
}

nav {
    width: 80%;
    text-align: right;
}

nav ul {
    list-style: none;
    height: 100%;
    padding: 10px 0px;
    align-items: center;
}

nav ul li {
    display: inline;
    line-height: 56px;
    cursor: default;
    position: relative;
}

nav ul li a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.2px;
    cursor: pointer;
    color: var(--app-text-color);
    opacity: 1;
}

nav ul li a:hover, nav ul li a:focus {
    color: var(--app-light-green);
}

nav ul li + li {
    margin-left: 3rem;
}

.hamburger-menu {
    display: none;
}

.hamburgermenu-overlay {
    position: fixed;
    top: 0px;
    left: 0%;
    width: 100%;
    height: 100vh;
    background-color: rgba(175, 153, 153, 0.1);
    z-index: 222;
    display: none;
}


/* -------------------------------- */
/* Section-Hero Image               */
/* -------------------------------- */

section.hero-content {
    width: 100%;
    height: 80vh;
}
  

.hero-image {
    background-color: var(--app-white-color);
    height: 100%;
    display: grid;
    place-items: center;
    background-color: transparent;
}

.hero-text {
    text-align: center;
    color: var(--app-text-color);
    width: 100%;
    height: auto;
}
  
.hero-text h2 {
    font-size: 60px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-top: 0rem;
    line-height:65px;
    color: var(--app-text-color);
}
  
.hero-text p {
    margin-inline: auto;
    width: 50%;
    font-size: 18px;
    font-weight: 400;
    margin-top: 40px;
    color: var(--app-text-color);
}

.hero-text a, .contact a {
    width: 160px;
    height: 50px;
    border: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    padding: 11px 25px;
    margin-top: 40px;
    margin-right: 10px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2px;
    background-color: var(--app-light-green);
    text-align: center;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 26px 30px -10px, rgba(0, 0, 0, 0.1) 0px 16px 10px -10px;
    transition: background-color 0.25s ease-in-out; 
}
  
.hero-text a:hover, .contact a:hover, .hero-text a:focus, .contact a:focus {
    background-color: var(--app-green-hover);
    color: #fff;
}

section .section-heading, #services .section-heading {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
   
section .section-heading h6, .service-text h6 {
    margin-top: 25px;
    color: var(--app-light-green);
    border-radius: var(--app-border-radius);
    display: inline-block;
    padding: 10px 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #016938;
}

section .section-heading h3 {
    margin-top: 15px;
    text-align: center;
    font-size: 55px;
    font-weight: 900;
    color: var(--app-text-color);
}

section .section-heading p {
    width: 550px;
    margin-inline: auto;
    color: var(--app-text-color);
}

/* -------------------------------- */
/* Section-services                 */
/* -------------------------------- */
#services {
    margin-top: 5rem;
}

.company-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px 0px 20px;
    height: auto;
}

.service {
    border-radius: var(--app-border-radius);
    border: 1px solid rgba(206, 202, 202, 0);
    background-color: var(--app-light-bg);
    backdrop-filter: blur(10px) saturate(122%);
    -webkit-backdrop-filter: blur(10px) saturate(122%);
    transition: all 0.45s ease-in-out;        
}

.service:hover {
    border: 1px solid rgba(206, 202, 202, 0.5);
}

.service-text {
    width: 100%;
    height: 100%;
    padding: 10px 15px;
}

.service-text h6 {
    margin-top: 10px;
    text-transform: uppercase;
    padding: 0px;
    text-align: left;
    letter-spacing: 2px;
    font-size: 15px;
    border: none;
}

.service-text h3 {
    margin-top: 10px;
    text-align: left;
    font-size: 30px;
    font-weight: 600;
    line-height: 28px;
    color: var(--app-text-color);
}

.service-text p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--app-text-color);
}

.service-text ul {
    list-style: disc;
    list-style-position: inside;
}

.service-text p ul li {
    margin-top: 0.6rem;
    font-size: 1rem;
    line-height: 32px;
    /* margin-left: 35px; */
}

/* -------------------------------- */
/* Section-About Us                 */
/* -------------------------------- */
#about-us {
    padding: 10px 0px 20px;
    margin-top: 3rem;
    height: auto;
    background-color: var(--app-light-bg);
}

.profile {
    margin-top: 1.5rem;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--app-text-color);
}

.profile-image {
    width: 40%;
}

.profile-image img {
    border-radius: 10px;
}

.profile-text {
    height: auto;
    padding: 15px 5px;
    width: 50%;
}

.profile-text p + p {
    margin-top: 1rem;
}


/* -------------------------------- */
/* Section-Mission                 */
/* -------------------------------- */
#mission {
    padding: 3rem 0rem 5rem;
    margin-top: 3rem;
    height: auto;
}

.mission {
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    display: grid;
    place-items: center;
    width: 70%;
    background-color: var(--app-dark-bg);
    border-radius: var(--app-border-radius);
}

.mission p {
    text-align: center;
    color: var(--app-light-text-color);
    font-size: 1.8rem;
}

/* -------------------------------- */
/* Section-Contact Us                */
/* -------------------------------- */
#contact-us {
    margin-top: 1rem;
    padding: 2rem 0rem 4rem;
    height: auto;
    background-color: var(--app-light-bg);
}

.contact {
    width: 80%;
    margin-top: 1rem;
    display: grid;
    place-items: center;
    text-align: center;
}

.contact p {
    color: var(--app-text-color);
    font-size: 19px;
}

/* -------------------------------- */
/* Section-Important Note           */
/* -------------------------------- */
#important-note {
    padding: 2rem 0rem 3rem;
    margin-top: 3rem;
    height: auto;
}

.note-wrapper {
    border: 1px solid rgba(145, 140, 140, 0.125);
    width: 90%;
    height: auto;
    padding: 1rem 2rem;
    border-radius: var(--app-border-radius);
    font-size: 18px;
    color: var(--app-text-color);
}

.note-wrapper h4 {
    color: var(--app-light-green);
}

.note-wrapper p {
    margin-top: 0.3rem;
}


/* -------------------------------- */
/*           Footer                 */
/* -------------------------------- */

footer {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-top: 1px solid rgb(255, 255, 255, 0.125);
    border-top-width: 0.1rem;
    background-color: var(--app-dark-bg);
}

.blocks {
    margin-top: 45px;
    height: 260px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px;
    justify-content: space-between;
}

.block {
    width: 250px;
    height: 200px;
    padding: 10px 15px;
}

.block2 p a:hover {
    color: var(--app-green-hover);
}

.block2 {
    width: 300px;
}

.block2 p a {
    text-decoration: none;
    color: var(--app-light-text-color);
}

.block h3 {
    font-size: 18px;
    color: var(--app-light-green);
}

.block p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--app-light-text-color);
    transition: all 0.25s ease-in-out;
}

.registration{
    margin-top: 20px;
    margin-inline: auto;
    padding: 5px;
    width: 900px;
    height: 60px;
    color: rgb(255, 255, 255, 0.325);
}

.registration p {
    font-size: 14px;
    text-align: center;
}

.registration p + p {
    margin-top: 10px;
}

/* -------------------------------- */
/*          Fadein Animation        */
/* -------------------------------- */
.fadein {
    transition: all 0.7s;
    opacity: 0;
    transform: translateY(20px);
}

.fadein.inview {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}


/* -------------------------------- */
/* Media Queries                    */
/* -------------------------------- */

@media only screen and (max-width: 980px) {
    .title {
        width: 25%;
    }

    nav {
        width: 70%;
    }

    .hero-text p {
        width: 70%;
        margin-top: 30px;
    }

    .profile-image {
        width: 45%;
    }
    
    .profile-text {
        padding: 10px 6px;
        width: 50%;
    }

    .mission {
        width: 80%;
    }   
    
    .mission p {
        font-size: 1.6rem;
    }

    footer {
        width: 100%;
        height: auto;
    }
    
    .block {
        width: 250px;
        height: 200px;
        padding: 10px 10px;
    }

    .block1 {
        width: 200px;
    }
    
    .block2 {
        width: 290px;
    }
    
    .registration{
        margin-top: 20px;
        padding: 5px;
        width: 100%;
        height: 65px;
    }
    
    .registration p {
        font-size: 14px;
        text-align: center;
    }
}

@media only screen and (max-width: 810px) {
    .title {
        width: 30%;
    }

    .hero-text h2 {
        line-height: 68px;
    }

    .hero-text p {
        width: 80%;
    }

    nav ul li, nav ul div {
        display: none;
    }

    .hamburger-menu {
        display: inline-block;
    }
    
    .menu-btn {
        position: absolute;
        top: 46px;
        left: 89%;
        width: 24px;
        height: 20px;
        cursor: pointer;
        z-index: 999;
    }

    .menu-btn > span,
    .menu-btn > span::before,
    .menu-btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--app-text-color);
        transition-duration: .25s;
    }

    .menu-btn > span::before {
        content: '';
        top: -8px;
    }

    .menu-btn > span::after {
        content: '';
        top: 8px;
    }

    .menu-box {
        display: block;
        position: fixed;
        top: 0px;
        left: 100%;
        width: 350px;
        height: 100vh;
        margin: 0;
        padding: 80px 0;
        list-style: none;
        z-index: 444;
        background-color: var(--app-white-color);
        box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
        transition: all .35s ease-in-out;
    }
      

    .menu-item:hover, .menu-item:focus {
        background-color: var(--app-light-green);
        color: var(--app-white-color);
    }

      
    .menu-item {
        display: block;
        padding: 1.2rem 3rem;
        text-align: center;
        color: var(--app-text-color);
        font-size: 20px;
        font-weight: 500;
        text-decoration: none;
        transition: all .35s ease-in-out;
    }

    #menu-toggle {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-btn > span {
        transform: rotate(45deg);
    }

    #menu-toggle:checked + .menu-btn > span::before {
        top: 0;
        transform: rotate(0deg);
    }

    #menu-toggle:checked + .menu-btn > span::after {
        top: 0;
        transform: rotate(90deg);
    }

    #menu-toggle:checked ~ .menu-box {
        left: 54.5% !important;
    }

    
    .mission p {
        font-size: 1.5rem;
    }

    .block {
        width: 190px;
        height: 200px;
        padding: 10px 3px;
    }

    .block1 {
        width: 180px;
    }
    
    .block2 {
        width: 270px;
    }
    
    .block h3 {
        font-size: 16px;
    }
    
    .block p {
        font-size: 15px;
    } 
}

@media only screen and (max-width: 760px) {

    .hero-text h2 {
        font-size: 58px;
        margin-top: 0rem;
        line-height: 58px;
    }

    .hero-text p {
        width: 90%;
        font-size: 16px;
        margin-top: 30px;
    }

    .profile-image {
        margin-top: 1.5rem;
        width: 100%;
    }
    
    .profile-text {
        padding: 10px 5px;
        width: 100%;
    }

    #mission {
        padding: 3rem 0rem 5rem;
        margin-top: 3rem;
        height: auto;
    }
    
    .mission {
        width: 80%;
    }
    
    .mission p {
        font-size: 1.2rem;
    }

    footer {
        min-height: 420px;
    }

    .block {
        height: auto;
    }

    .block3 {
        width: 100%;
        height: auto;
        margin-top: 0px;
    }

    .block1 {
        width: 200px;
    }
    
    .block2 {
        width: 270px;
    }
    
    .block h3 {
        font-size: 16px;
    }
    
    .block p {
        font-size: 14px;
    }
}


@media only screen and (max-width: 480px) {

    section .section-heading h6, .service-text h6 {
        margin-top: 20px;
        padding: 10px 15px;
        letter-spacing: 2px;
        font-size: 15px;
    }
    
    section .section-heading h3 {
        margin-top: 12px;
        text-align: center;
        font-size: 50px;
    }

    .title {
        width: 50%;
        height: 80px;
        align-items: center;
    }

    .name {
        height: 50px;
        padding: 7px 2px;
        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
    }

    .title-image {
        width: 100px;
    }

    .hero-text h2 {
        font-size: 43px;
        margin-top: 0rem;
        line-height: 50px;
    }
      
    .hero-text p {
        width: 90%;
        font-size: 15px;
        margin-top: 30px;
    }

    .menu-btn {
        top: 60px;
    }

    .menu-box {
        width: 100%;
    }

    #menu-toggle:checked ~ .menu-box {
        left: 0% !important;
    }


    #mission {
        padding: 2rem 0rem 5rem;
        margin-top: 2rem;
        height: auto;
    }
    
    .mission {
        padding: 1rem;
        width: 90%;
    }
    
    .mission p {
        font-size: 1.1rem;
    }

    .profile {
        margin-top: 0rem;
        padding: 10px 8px;
    }

    .profile p {
        font-size: 16px;
    }

    .contact {
        width: 90%;
    }
    
    .contact p {
        font-size: 16px;
    }

    .note-wrapper {
        width: 90%;
        padding: 1rem 1rem;
        font-size: 16px;
    }

    footer {
        min-height: 450px;
    }

    .block {
        width: 100%;
        padding: 10px 0px;
    }
    
    .block h3 {
        font-size: 15px;
    }
    
    .block > p {
        font-size: 13px;
    }

    .registration{
        margin-top: 4.5rem;
        height: auto;
    }

    .registration p {
        font-size: 10px;
    }
    
}

@media only screen and (max-width: 400px) {
    .hero-text h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .note-wrapper {
        width: 90%;
        padding: 1rem 1rem;
        font-size: 16px;
    }
}

@media only screen and (max-width: 360px) {
    .title {
        width: 50%;
        height: 80px;
        align-items: center;
    }

    .hero-text h2 {
        font-size: 35px;
        line-height: 48px;
    }
      
    .hero-text p {
        width: 90%;
        font-size: 15px;
        margin-top: 20px;
    }

    .mission {
        padding: 1rem;
        width: 90%;
    }
    
    .mission p {
        font-size: 1rem;
    }
    
    .contact {
        width: 90%;
    }
    
    .contact p {
        font-size: 15px;
    }
    
    .profile {
        margin-top: 0rem;
        padding: 10px 8px;
    }
    
    .profile-text {
        padding: 10px 0px;
    }
    
    .profile p {
        font-size: 15px;
    }

    .hero-text a, .contact a {
        width: 150px;
        height: 48px;
        font-size: 15px;
        padding: 11px 20px;
    }

    .note-wrapper {
        width: 90%;
        padding: 1rem 0.8rem;
        font-size: 14px;
    }
}

@media only screen and (max-width: 320px) {
    .hero-text h2 {
        font-size: 33px;
        line-height: 48px;
    }
      
    .hero-text p {
        width: 100%;
        font-size: 14px;
    }

    .mission {
        padding: 1rem 0.5rem;
        width: 90%;
    }
    
    .mission p {
        font-size: 0.9rem;
    }
    
    .contact p {
        font-size: 14px;
    }
    
    .profile p {
        font-size: 14px;
    }

    section .section-heading h6, .service-text h6 {
        margin-top: 15px;
        padding: 10px 10px;
        letter-spacing: 2px;
        font-size: 14px;
    }
    
    section .section-heading h3 {
        font-size: 45px;
    }
    
}

