:root {
    --forest-green: #2F5755;
    --light-green: #5A9690;
    --light-grey: #E0D9D9;
    --blue: #8CA9FF;
    --dark-purple: #540863;
    --white: #fff;
    --black: #000;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

html {
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
}

body {
    background-color: var(--light-grey);
}

p {
    line-height: 30px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

section {
    margin: 7rem 0;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5rem;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.mobile {
    display: none;
}

.heading {
    margin-bottom: 50px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--forest-green);
    color: var(--white);
}

.button:hover {
    background-color: var(--light-green);
    transition: all 1s ease-in-out;
}



/* Navigation */

header#navigation {
    padding: 1rem 0;
    background-color: var(--forest-green);
    color: var(--white);
}

header#navigation nav .logo img {
    width: 80px;
    height: 80px;
}

header#navigation nav .main-links {
    justify-content: space-between;
    align-items: center;
}

header#navigation nav ul.desktop-links {
    gap: 30px;
}

header#navigation nav ul.desktop-links li.links a {
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1.5px;
}

header#navigation nav ul.desktop-links li.links a:visited {
    color: var(--white);
}

header#navigation nav ul.desktop-links li.links a:hover {
    color: var(--light-grey);
    transition: color 1s ease-in-out;
}



/* Small Screen Menu */

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
}

.small-menu {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: white;
    transform: translateX(100%);
    transition: transform ease-in-out 1s;
}

.small-nav-links {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.small-nav-links .links {
    margin: 1.5rem 0;
}

.small-menu.active {
    transform: translateX(0%);
}

.small-nav-links a {
    color: var(--black);
    font-size: 1.5rem;
}

.close-menu {
    color: var(--black);
    border-radius: 50%;
    padding: 10px;
    background-color: var(--light-grey);
}



/* Intro */

section#intro .content {
    justify-content: space-between;
    align-items: center;
}

section#intro .content .content-details {
    flex-basis: 50%;
}

section#intro .content .content-details h1,
section#intro .content .content-details p {
    padding-bottom: 30px;
}

section#intro .content img {
    width: 600px;
}



/* Training Program */

section#training-program .training-content {
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
}

section#training-program .training-content .training-box {
    background-color: var(--white);
    box-shadow: 2px 13px 12px -2px rgba(0,0,0,0.28);
    width: 450px;
    height: 380px;
    padding: 3rem;
    flex-direction: column;
    justify-content: space-between;
}

section#training-program .training-content .training-box:hover {
    transform: scale(1.1);
    transition: all 1s ease-in-out;
}

section#training-program .training-content .training-box header,
section#training-program .training-content .training-box .content-details 
{
    margin-bottom: 15px;
}

section#training-program .training-content .training-box .content-details h3 {
    margin-bottom: 20px;
    line-height: 25px;
}

section#training-program .training-content .training-box .category {
    background-color: var(--black);
    color: var(--white);
    width: 180px;
    padding: 5px 10px;
    text-align: center;
}

section#training-program .training-content .training-box .extra-info .bubble-info {
    border-radius: 20px;
    background-color: var(--light-grey);
    padding: 5px 15px;
}



/* Contact */

#contact {
    border: none;
}

#contact .contact-info-details h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: left;
}

#contact .contact-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contact .contact-info-details {
    width: 30%;
}

#contact .contact-info-details p,
#contact .contact-info-details ul
{
    margin-bottom: 1.5rem;
}

#contact .contact-info-details ul li {
    margin-bottom: 0.5rem;
}

#contact .contact-info-details i {
    padding-right: 0.3rem;
}

#contact .contact-info-details a {
    color: var(--background-text-dark);
    text-decoration: underline;
}

#contact .contact-info-details a:visited {
    color: var(--background-text-dark);
}

#contact .contact-info-img img {
    width: 500px;
}



/* Digital Business Card */

.digital-business-card  {
    border: 3px solid var(--black);
    text-align: center;
    margin: 2rem;
}

.digital-business-card .digital-info {
    padding: 1rem;
}

.digital-business-card header img.company-logo {
    margin-bottom: 20px;
    width: 100px;
}

.digital-business-card img.qr-code {
    margin-top: 50px;
    width: 150px;
}

.digital-business-card h2 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.digital-business-card .job-title {
    font-weight: 200;
}



/* Footer */

footer {
    border-top: 1px solid var(--black);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}