@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lora:ital,wght@0,400..700;1,400..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


* {
    box-sizing: border-box;
    /* outline: 1px solid blue; */
}

/* General */

:root {
    --primary-bg-color: rgb(193, 207, 216);
    --secondary-bg-color: aliceblue;
    --white-bg-color: whitesmoke;
    --gray-bg-color: rgb(80, 91, 98);
    --black-bg-color: rgb(43, 43, 43);
    --brown-bg-color: rgb(69, 62, 62);
    --yellorange--color: rgb(255, 203, 139);
    --yellorange2-bg-color: rgb(242, 179, 103);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: var(--primary-bg-color);
}

/* Header */

.header-container {
    background-color: rgb(255, 203, 139);
    height: 3.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 30px
}

/* Navbar */

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
}

nav>ul {
    display: flex;
    gap: 25px
}

nav li {
    display: inline;
    text-transform: uppercase;
    font-size: 0.8rem;
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black
}

/* Hamburger Menu */

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--black-bg-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger X animation when menu is open */
.menu-toggle:checked~.hamburger .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle:checked~.hamburger .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked~.hamburger .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Button */

.signup {
    background-color: var(--gray-bg-color);
    color: var(--white-bg-color);
    height: 35px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    padding: 0 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.signup:hover {
    background-color: var(--black-bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero */

.hero {
    width: 100%;
    margin: 0 auto;
}

.hero-container {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 5rem;
}

.hero-text {
    width: 30rem;
    padding: 25px;

}

.hero h1 {
    font-size: 2rem;
    font-weight: 600;
}

.hero p {
    font-size: 1rem;
    line-height: 28px;
    margin-top: 40px;
}

.hero button {
    height: 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    padding: 0 30px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    background-color: var(--yellorange--color);
    transition: all 0.3s ease;
}

.hero button:hover {
    background-color: var(--yellorange2-bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    max-width: 35rem;
    border-radius: 10px;
    box-shadow: 5px 5px 12px var(--black-bg-color);
}

/* Companies Logo */

.trusted {
    background-color: var(--secondary-bg-color);
}

.trusted-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: var(--black-bg-color);
    padding: 5rem;
}

.trusted-container h2 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 14px;
}

.companies-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.companies {
    width: 3rem;
    margin: 0 30px;
}

/* Value */

.value {
    width: 100%;
}

.value-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 8rem;
    background-color: var(--brown-bg-color);
    color: var(--white-bg-color);
}

.value h2 {
    font-weight: 400;
}

.value p {
    width: 100%;
    max-width: 40rem;
    font-weight: 200;
    line-height: 1.5rem;
}

.signature {
    display: flex;
    gap: 10px;
}

.signature p {
    font-weight: 100;
}

.value-image {
    width: 100%;
    max-width: 30rem;
    border-radius: 7px;
    box-shadow: 5px 5px 12px var(--black-bg-color);
}

/* Benefits */

.benefits {
    width: 100%;
    background-size: cover;
    background-position: center;

}

.benefits-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    color: var(--black-bg-color);
    padding: 4.5rem;
}

.benefits img {
    width: 100%;
    max-width: 550px;
    border-radius: 5px;
    box-shadow: 1px 2px 12px var(--black-bg-color);
    opacity: 90%;
}

.benefits h2 {
    font-weight: 500;
}

.benefits p {
    width: 100%;
    max-width: 35rem;
}

.article-container {
    border-radius: 5px;
    opacity: 90%;
    padding: 25px;

}

/* Editorial */

.editorial {
    width: 100%;
    background-color: var(--white-bg-color);
    display: grid;
}

.editorial-container {
    background-color: var(--primary-bg-color);
}

/* Editorial Grid */

.grid-container {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 300px 1fr 1fr;
    gap: 25px;
    width: 75%;
    margin: 50px auto;
    padding: 50px;
}

.grid-image {
    background-image: url(./asset/pakata-goh-RDolnHtjVCY-unsplash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / 2;
    height: auto;
}

#item0 {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 4;
    background-color: var(--black-bg-color);
    color: var(--white-bg-color);
    padding: 3rem;
}

#item0 small {
    font-size: medium;
    font-weight: 300;
}

#item0 h2 {
    font-weight: 300;
}

#item0 p {
    font-weight: 100;
    letter-spacing: 1px;
    height: auto;
}

#item0 a {
    color: var(--white-bg-color);
    font-weight: 300;
    text-decoration: underline;
}

#item1,
#item2,
#item3 {
    background-color: var(--white-bg-color);
    padding: 20px;
    opacity: 77%;
}

#item1 a,
#item2 a,
#item3 a {
    font-weight: 400;
    text-decoration: underline;
}

#item1 h2,
#item2 h2,
#item3 h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Testimonial */

.testimonial-container {
    background-color: var(--brown-bg-color);
    color: var(--white-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

cite {
    font-weight: 100;
    padding: 10px;
}

blockquote {
    max-width: 50rem;
    font-size: 1.5rem;
    font-weight: 200;
    text-align: center;
    margin: 5px;
}

.testimonial-container img {
    background-color: var(--white-bg-color);
    width: 7%;
    border: 1px solid var(--white-bg-color);
    border-radius: 50%;
    margin: 20px;
}

/* Call To Action */

.cta-container {
    background-color: var(--secondary-bg-color);
    color: var(--black-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

.cta h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.cta p {
    width: 50%;
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
}

.cta button {
    width: 200px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--yellorange--color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta button:hover {
    background-color: var(--yellorange2-bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */

footer {
    background-color: var(--primary-bg-color);
}

/* Logo */

.logo-footer {
    grid-column: 1/2;
    color: var(--black-bg-color);
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 16px 0;
    padding: 20px;
}

.logo-footer img {
    width: 16px;
    vertical-align: middle;
}

.digital-house {
    display: inline-block;
    justify-content: center;
    font-size: 0.8rem;
}

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

.description {
    grid-column: 2/3;
    border-right: 1px solid var(--black-bg-color);
    padding: 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 100px;
    gap: 40px;
    padding: 40px;
}

.small {
    grid-column: 3/5;
    margin-left: 20px;
}

.footer1,
.footer2 {
    margin: 0;
    padding: 20px;
}

footer li {
    list-style-type: none;
    line-height: 28px;
}

footer h3 {
    font-weight: 500;
}

footer p {
    font-size: 0.8rem;
    width: 70%;
}

/* Page Hero (for subpages) */

.page-hero {
    background-color: var(--black-bg-color);
    color: var(--white-bg-color);
    padding: 80px 20px;
    text-align: center;
}

.page-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Webinars Page */

.webinars-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.webinar-card {
    background-color: var(--white-bg-color);
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
}

.webinar-date {
    color: var(--yellorange--color);
    font-weight: 600;
    font-size: 0.9rem;
}

.webinar-card h2 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.webinar-card p {
    color: #666;
    margin-bottom: 15px;
}

.webinar-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* Instructors Page */

.instructors-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.instructor-card {
    background-color: var(--white-bg-color);
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.instructor-avatar img {
    width: 100px;
    height: 100px;
    background-color: var(--black-bg-color);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.instructor-card h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.instructor-role {
    color: var(--yellorange--color);
    font-weight: 600;
    font-size: 0.9rem;
}

.instructor-card p {
    color: #666;
    margin: 15px 0;
    font-size: 0.95rem;
}

.instructor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.instructor-expertise span {
    background-color: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Resources Page */

.resources-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.resource-category {
    margin-bottom: 50px;
}

.resource-category h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--yellorange--color);
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.resource-card {
    background-color: var(--white-bg-color);
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.resource-link {
    color: var(--yellorange--color);
    font-weight: 600;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Contact Page */

.contact-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr;
    gap: 50px;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellorange--color);
}

.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--black-bg-color);
}

.info-item p {
    color: #707070;
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.contact-social a {
    color: var(--yellorange--color);
    font-weight: 600;
}

.google-maps {
    width: 100%;
    margin-top: 100px;
}

.google-maps h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

iframe {
    display: flex;
    justify-content: center;
    max-width: 100%;
    width: 800px;
    height: 500px;
    margin: 0 auto;
    margin-bottom: 50px;
}

/* Responsive */


/* Mobile Screen (max 768px) */

@media only screen and (max-width: 768px) {

    /* Header */

    .header-container {
        flex-direction: row;
        /* Keep logo and hamburger on same row */
        flex-wrap: wrap;
        /* Allow nav to wrap below */
        height: auto;
        padding: 10px 20px;
    }

    .logo {
        font-size: 0.8rem;
        margin-left: 0;
        /* Remove desktop margin */
    }

    /* Hamburger */

    .hamburger {
        display: flex;
        margin-left: auto;
        /* Push to right side */
    }

    /* Nav drops below header */
    nav {
        flex-basis: 100%;
        /* Take full width, forces wrap */
        flex-direction: column;
        margin-right: 0;
        padding: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0;
        gap: 0;
    }

    nav ul li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .menu-toggle:checked~nav ul {
        display: flex;
    }

    nav>a {
        display: none;
    }

    .menu-toggle:checked~nav>a {
        display: block;
        margin: 15px auto;
    }

    .signup {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    /* Hero */

    .hero-container {
        flex-direction: column;
        padding: 10px;
    }

    .hero-text {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .hero h1 {
        padding: 10px;
    }

    .hero p {
        padding: 10px;
    }

    .hero-image img {
        margin-bottom: 40px;
    }

    /* Companies Logos */

    .trusted-container {
        width: 100%;
        text-align: center;
    }

    .trusted-container h2 {
        letter-spacing: normal;
        line-height: 25px;
    }

    .companies-logo {
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: auto;
    }

    .companies {
        width: 2rem;
        margin: 0;
        flex-shrink: 0;
    }

    /* Value */

    .value-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 25px;
    }

    .value-image {
        margin-top: 30px;
    }

    .value h2 {
        font-size: 1.3rem;
        padding: 15px;
    }

    .value p {
        width: 100%;
        padding: 15px;
    }

    .signature {
        padding: 15px;
        gap: 2px;
    }


    /* Benefits */

    .benefits-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .benefits-container img {
        padding: 15px;
        box-shadow: none;
    }

    /* Editorial */

    .grid-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    #item0 {
        order: -1;
        padding: 20px;
    }

    #item0 h2 {
        font-size: 1.2rem;
    }

    #item0 p {
        font-size: 1rem;
    }

    .grid-image {
        height: 300px;
        width: 100%;
        background-size: contain;
    }

    /* Testimonial */

    .testimonial-container {
        width: 100%;
        height: 400px;
        text-align: center;
        padding: 10px;
    }

    blockquote {
        width: 100%;
        font-size: 1rem;
        padding: 15px;
    }

    .testimonial-container img {
        width: 100px;
        height: 100px;
        object-fit: cover;
    }

    .testimonial-container cite {
        font-size: 0.8rem;
    }

    /* Call To Action */

    .cta-container {
        padding: 10px;
        height: 600px;
    }

    .cta p {
        width: 100%;
        font-size: 1rem;
        padding: 10px;
    }

    /* Footer */

    .logo-footer {
        text-align: left;
    }

    .description {
        border: none;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
    }

    footer p {
        width: 100%;
    }

    .small {
        text-align: center;
    }

    /* Page Hero Mobile */

    .page-hero {
        padding: 60px 20px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    /* Contact Page Mobile */

    .contact-section {
        overflow-x: hidden;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        max-width: 100%;
    }

    .contact-info {
        order: -1;
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
    }

    .google-maps {
        margin-top: 50px;
        padding: 0 20px;
    }

    iframe {
        width: 100%;
        height: 300px;
    }

    /* Instructors Mobile */

    .instructors-container {
        grid-template-columns: 1fr;
    }

    /* Resources Mobile */

    .resource-cards {
        grid-template-columns: 1fr;
    }
}

/* Tablet Screen (769px - 1024px) */

@media only screen and (min-width: 769px) and (max-width: 1024px) {

    /* Header */
    .logo {
        font-size: 0.85rem;
        margin-left: 15px;
    }

    .logo img {
        width: 22px;
    }

    nav {
        gap: 15px;
        margin-right: 15px;
    }

    nav>ul {
        gap: 15px;
    }

    nav li {
        font-size: 0.8rem;
        margin-right: 5px;
    }

    .signup {
        width: 90px;
        font-size: 0.8rem;
        padding: 0 12px;
    }

    .hero-container {
        flex-direction: column;
        padding: 3rem;
        gap: 20px;
    }

    .hero-text {
        width: 70%;
        text-align: center;
    }

    .hero-image img {
        max-width: 100%;
    }

    .value-container {
        flex-direction: column;
        padding: 4rem;
    }

    .benefits-container {
        flex-direction: column;
        padding: 2rem;
        gap: 30px;
    }

    .grid-container {
        width: 90%;
        padding: 30px;
        grid-template-columns: 200px 1fr 1fr;
        grid-template-rows: auto 1fr;
    }

    .cta p {
        width: 70%;
    }

    .footer-container {
        grid-template-columns: 1fr 2fr 1fr 1fr;
        gap: 20px;
        padding: 30px;
    }

    .small {
        grid-column: 1/5;
        text-align: center;
    }
}