@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* Margins */
.mg-btm {
    margin-bottom: 1rem;
}

body,
html {
    scroll-behavior: smooth;
    height: 100%;
    background-color: #E8EAE9;
}

:root {
    --dark: #151515;
    --light-dark: #393939;
    --green: #00A3E0;
}

.wrapper {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
}

header {
    padding: 1rem;
    width: 100%;
    background-color: var(--dark);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.company_brand {
    display: inline-flex;
    align-items: center;
}

.company_brand label[for="brand_Text"] {
    padding-left: 12px;
    color: #fff;
    font-size: larger;
    font-weight: 900;
    text-transform: uppercase;
}

#hamburger {
    display: none;
}

.logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    display: flex;
    gap: 6rem;
}

nav ul li {
    list-style-type: none;

}

.nav-link {
    display: inline-flex;
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--green);
}

.nav-link:hover .material-icons-round {
    transform: rotate(-180deg);
    transition: 0.4s ease-in-out;
}

.inactive {
    color: #fff;
}

.active {
    color: var(--green);
    border-bottom: 6px solid var(--green);
}

.dropdown .dropdown-content {
    background-color: var(--light-dark);
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 10%;
    z-index: 1;
    padding: 2rem;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown .dropdown-content>div {
    width: 200px;
    display: flex;
    gap: 0.6rem;
    flex-direction: column;

}

.dropdown .dropdown-content>div a {
    text-decoration: none;
    color: #E8EAE9;
}

.extras {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.extras .search-bar {
    padding: 6px 12px;
    border-radius: 18px;
    display: inline-flex;
    background-color: #4B4B4A;
}

input[type="search"] {
    border: none;
    outline: none;
    background-color: transparent;
    color: #fff;
}

.main-bg {
    background: black;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-width {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.main-bg>div {
    position: absolute;
}

.main-bg h1 {
    font-weight: 900;
    font-size: 4rem;
    color: rgb(241, 241, 241);
}

.main-bg button {
    border: none;
    outline: none;
    font-size: 1.6rem;
    line-height: 3.4rem;
    padding: 0 2rem;
    background-color: rgb(241, 241, 241);
    color: #151515;
    border-radius: 42px;
    font-weight: 700;
}



.container {
    width: 100%;
    background-color: #fff;
}

.horizontal-line {
    height: 8px;
    background-color: #00A3E0;
}

/* content-page-info Grid */
.content-page-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 4rem 2rem;
}

/* Left Grid */
.left-grid {
    padding: 5%;
}

.content-page-info>div:first-child {
    grid-column: span 3;
}

.content-page-info .left-grid label[for="section-heading"] {
    font-size: 1.4rem;
    color: #151515;
    font-weight: 700;
}

.content-page-info .left-grid h1 {
    font-weight: 500;
    font-size: xx-large;
}

.content-page-info .left-grid h2 {
    color: #75787b;
    font-weight: 400;
}

.content-page-info .left-grid p {
    text-align: justify;
}

.left-grid .social-links img {
    padding-right: 1rem;
}

/* Right Grid */

.right-grid {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    background-color: #fff;
}

.content-page-info .btns {
    width: 100%;
    padding: 16px;
    background-color: #e8eae96b;
    font-size: 0.9rem;
}

.explore-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.content-page-info .right-grid .explore-links label[for="section-heading"] {
    font-size: 1rem;
    color: #151515;
    font-weight: 700;
}

.explore-links a {
    font-size: 0.8rem;
    text-decoration: none;
    color: #00A3E0;
}

/* Bottom Grid */
.bottom-grid {
    padding: 5%;
}

.content-page-info>div:nth-child(3) {
    grid-column: span 3;
}

.bottom-grid .content-block {
    background: #000;
    padding: 24px;
}

.bottom-grid .content-block .top-content {
    border: 1px solid white;
    padding: 12px;
}

.bottom-grid .content-block .top-content h1 {
    color: #fff;
    font-size: 1.6rem;
}

.bottom-grid .content-block .top-content h2 {
    color: var(--green);
    font-size: 1.2rem;
}

.bottom-grid .content-block .top-content p {
    color: #fff;
    font-size: 0.8rem;
}

.slideshow-container {
    margin-top: 60px;
    position: relative;
}

.slideshow-container .slides-navigator {
    display: flex;
    gap: 1px;
}

.slideshow-container .slides-navigator .button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    line-height: 3rem;
    text-align: center;
    min-width: 150px;
    color: #fff;
    font-weight: 700;
}

.slideshow-container .slides-navigator .button:hover {
    background-color: #00A3E0;
}

.slides-navigator-btn-active {
    background-color: #00A3E0;
}

.slideshow-container .slides-navigator .button .material-icons-round {
    padding-right: 4px;
}

.slideshow-container .myslides {
    display: none;
    flex-wrap: wrap;
    border: 1px solid white;
}

.slideshow-container .myslides .slides-content,
.slideshow-container .myslides .slides-img {
    width: 50%;
    flex: 50%;
}

.slideshow-container .myslides .slides-content {
    color: #fff;
    font-size: 0.8rem;
    padding: 24px 0 12px 12px;
}

.slideshow-container .myslides .slides-content p a {
    text-decoration: none;
    color: #00A3E0;
}

.slideshow-container .myslides .slides-img img {
    width: 100%;
}

/* Bottom Grid Workshops */
.workshops {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workshops>div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 1.2rem;
}

.workshops h1 {
    font-weight: 500;
    font-size: xx-large;
}

.workshops .workshop-card {
    border-radius: 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.workshops .workshop-card img {
    width: 100%;
    border-radius: 12px;
}

.workshops .workshop-card label[for="workshop-name"] {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #3b3b3b;
}

.workshops .workshop-card label[for="workshop-category"] {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #3b3b3b;
    font-weight: 400;
}

.workshops .workshop-card p {
    text-align: justify;
    font-size: 0.7rem;
    color: #3b3b3b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    /* number of lines to show */
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

.workshops .gray-bg {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshops .gray-bg button {
    outline: none;
    border: none;
    background-color: #00A3E0;
    color: white;
    padding: 16px;
    border-radius: 28px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Latest news and insights */
.latest {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.latest h1 {
    font-weight: 500;
    font-size: xx-large;
}

.latest .news-slideshow {
    display: flex;
    align-items: center;
}

.latest .news-slideshow .prev,
.latest .news-slideshow .next {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #151515;
    user-select: none;
}


.latest .news-slideshow .newsSlides {
    padding: 4% 0;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 80px);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.latest .news-slideshow .newsSlides::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.latest .news-slideshow .newsSlides {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.latest .news-slideshow .newsSlides .news-card {
    padding: 8px;
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 12px;
}

.latest .news-slideshow .newsSlides .news-card img {
    border-radius: 12px;
}

.latest .news-slideshow .newsSlides .news-card label[for="heading"] {
    font-size: medium;
    font-weight: 600;
}

.latest .news-slideshow .newsSlides .news-card label[for="extra-heading"] {
    font-size: small;
    text-transform: uppercase;
    font-weight: 500;
}

.latest .news-slideshow .newsSlides .news-card p {
    font-size: smaller;
    color: #3b3b3b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Featured resources */
.features-resources {
    padding: 16px;
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 16px;

}

.features-resources h1 {
    font-size: medium;
    font-weight: 500;
}

.features-resources a {
    text-decoration: none;
    color: #00A3E0;
}

/* Contact Us */

.contact .dark-bg-banner {
    padding: 4%;
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    background-color: #151515;
    border-radius: 16px;
}

.contact .dark-bg-banner h1 {
    color: white;
}

.contact form {
    width: 50%;
}

.contact form>div {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact form>div label {
    font-weight: 600;
}

.contact form input {
    outline: none;
    border: none;
    background-color: #d0d0ce6c;
    border-radius: 18px;
    padding: 12px;
    font-weight: 600;
}

.contact form textarea {
    padding: 12px;
    font-weight: 600;
}

.contact form button {
    width: max-content;
    outline: none;
    border: none;
    background-color: #00A3E0;
    padding: 12px 46px;
    border-radius: 26px;
    font-weight: 600;
    font-size: large;
}

.contact .notice {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    gap: 0.8rem;
    justify-content: center;
    background-color: #d0d0ce6c;
    padding: 16px;
}

.contact .notice i {
    font-size: small;
}

@media screen and (max-width:1250px) {
    .container {
        width: 100%;
        margin: 70px auto;
        background-color: #fff;
    }

    .content-page-info {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .content-page-info>div:first-child {
        grid-column: span 2;
    }

    .content-page-info>div:nth-child(3) {
        grid-column: span 2;
    }
}

@media screen and (max-width: 900px) {
    nav {
        display: none;
    }

    #hamburger {
        display: inline-block;
    }

    .container {
        width: 100%;
        margin: 70px auto;
        background-color: #fff;
    }

    .content-page-info {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .content-page-info>div:first-child {
        grid-column: span 2;
    }

    .content-page-info>div:nth-child(3) {
        grid-column: span 2;
    }

    .slideshow-container .myslides .slides-content,
    .slideshow-container .myslides .slides-img {
        width: 100%;
        flex: 100%;
    }

    .slideshow-container .slides-navigator {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .slideshow-container .slides-navigator .button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 700px) {
    .extras {
        display: none;
    }

    .content-page-info {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .content-page-info>div:first-child {
        grid-column: span 2;
    }

    .content-page-info>div:nth-child(3) {
        grid-column: span 2;
    }
}

@media screen and (max-width: 600px) {
    .logo {
        height: 25px;
        width: 25px;
    }

    .main-bg h1 {
        font-size: 2rem;
        color: rgb(241, 241, 241);
    }

    .main-bg button {
        font-size: 1.2rem;
        line-height: 2.4rem;
        padding: 0 2rem;
    }

    .right-grid {
        position: unset;
    }

    .latest .news-slideshow .prev,
    .latest .news-slideshow .next {
        height: 25px;
        width: 25px;
    }


    .latest .news-slideshow .newsSlides {
        padding: 0 1rem;
        width: 100%;
    }
    .contact form {
        width: 100%;
    }
}