:root {
    --green: #23352D;
    --orange: #E66901;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', 'Figtree';
}

body {
    background-color: #23352D;
}

header {
    height: 40dvh;
    margin-bottom: 3rem;
}

.header-container {
    height: 100%;
}

.modal-dialog {
    min-height: max-content;
}

.modal-header {
    border-bottom: none;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.modal-header img {
    width: 20%;
}

.modal-content {
    height: 100%;
    background-color: var(--green);
}

.main-nav {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    list-style: none;
    color: #ffffff;
    font-size: 1.6rem;
    flex-direction: column;
}

.main-nav .nav-link {
    width: 100%;
    display: block;
}

.main-nav > .nav-item,
.sub-nav-item {
    font-size: 1rem;
    padding-block: 1rem;
    padding-inline: .5rem;
    margin-block: .55rem;
    position: relative;
    border-left: 4px solid var(--orange);
}

.main-nav .sub-nav-list {
    top: 4rem;
    z-index: 10;
    left: -.5rem;
    padding: .5rem;
    position: absolute;
    border-radius: 5px;
    background-color: #1a2922;
    transition: .3s opacity ease;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.no-display {
    opacity: 0;
    visibility: hidden;
}

.site-btn {
    color: #ffffff;
    text-align: center;
    border-radius: 5px;
    padding-block: .6rem;
    text-decoration: none;
    border: 2px solid var(--orange);
    background-color: var(--orange);
}

.action-link {
    width: 100%;
}

.modal-footer {
    border-top: none;
}

nav {
    width: 100%;
    height: 5rem;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.nav-brand {
    height: 80%;
    padding: .5rem;
}

.nav-brand img {
    height: 100%;
}

.nav-list {
    margin: 0;
    padding: 0;
    display: none;
    list-style: none;
}

.nav-list .sub-nav-list {
    top: 3.5rem;
}

.nav-link {
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-menu {
    top: 50%;
    right: 0;
    border: none;
    background: none;
    color: #ffffff;
    font-size: 1.4rem;
    position: absolute;
    margin-inline: 1rem;
    transform: translateY(-50%);
}

.nav-action {
    border-radius: 5px;
    border: 2px solid var(--orange);
    background-color: var(--orange);
    transition: background-color .3s ease, border-color .3s ease;
}

.nav-action:hover {
    background-color: transparent;
    border-color: var(--orange)
}

.header-content {
    display: flex;
    position: relative;
    margin-inline: 1rem;
    border-radius: 5px;
    flex-direction: column;
    height: calc(100% - 5rem);
    justify-content: space-evenly;
    background: url(images/header-graduates.webp) center no-repeat;
    background-size: cover;
}

.backdrop {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    position: absolute;
    background-color: #00000040;
}

.header-content h1 {
    color: #fff;
    padding: 2rem;
    z-index: 10;
    font-weight: 600;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;;
}

.header-content h1 span {
    color: var(--orange);
}

.header-text {
    height: 40%;
    text-align: center;
}

.header-title {
    color: #ffffff;
    font-size: 1.6rem;
}

.header-tagline {
    font-size: 1rem;
    margin-top: 1rem;
    color: #ffffff;
    font-family: 'Lexend', 'Figtree';
}

.header-title span {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--orange);
    text-transform: uppercase;
}

.section-sep {
    height: 5rem;
    margin: auto;
}

#info {
    height: 100%;
    min-height: 100vh;
}

.info-container {
    height: 100%;
}

.info-img {
    display: none;
}

.info-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    padding-inline-start: 1rem;
    border-left: .5rem solid var(--orange);
}

.info-heading span {
    color: var(--orange)
}

.info-description {
    margin-block: 2rem;
    margin-inline-start: 8px;
}

.info-description span {
    font-weight: bold;
}

.key-offerings span {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.key-offerings span img {
    height: 5rem;
}

.key-offerings span h2 {
    color: #fff;
}

.key-offerings ul {
    padding: 0;
    list-style: none;
}

.key-offerings ul li {
    color: #fff;
    text-align: center;
}

.key-offerings ul li span {
    font-weight: 700;
}

#key-points {
    margin-block: 2rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.accordion-item {
    border: none;
    background-color: var(--green);
}

.accordion-button {
    color: var(--orange);
    font-weight: 700;
    background-color: var(--green);
}

.accordion-button:not(.collapsed) {
    color: var(--orange);
    background-color: #1a2922;
}

.accordion-body {
    color: #ffffff;
}

#contact {
    height: 100%;
    min-height: 100dvh;
}

.contact-container {
    height: 100%;
    position: relative;
}

.contact-header {
    display: flex;
    padding-block: 1rem;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-header h1, p {
    color: #ffffff;
}

.contact-header span {
    color: var(--orange);
}

#contact-form {
    padding: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--green);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.form-block {
    margin-block: 8px;
}

.form-block input,
.form-block textarea {
    width: 100%;
    outline: none;
    display: block;
    border-radius: 4px;
    border: none;
    padding: 1rem;
    color: #ffffff;
    background-color: #1a2922;
}

.form-block label {
    margin-bottom: 8px;
    color: var(--orange);
}

.contact-img {
    display: none;
}

#contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    color: #ffffff;
    margin-block: 1rem;
    border-radius: 5px;
    padding-block: 1rem;
    text-decoration: none;
    padding-inline: 1.8rem;
    border: 2px solid var(--orange);
    background-color: var(--orange);
    transition: background-color .3s ease, border-color .3s ease;
}

#contact-form button:hover {
    border-color: var(--orange);
    background-color: transparent;
}

/* smaller screens */
@media screen and (max-height: 720px){

    .header-title span {
        font-size: 2.2rem;
    }

}

/* Tablet Portrait */
@media screen and (min-width: 429px) and (max-width: 810px) {
    
}

/* Tablet - Landscape */
@media screen and (min-width: 811px) and (max-width: 1080px) {

}

/* laptop */

@media screen and (min-width: 1081px) and (max-width: 1366px) {
    header {
        height: 60vh;
    }
    
    nav {
        box-shadow: none;
        padding-inline: 2rem;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
    }
    
    .nav-brand {
        width: 20%;
    }
    
    .nav-list {
        display: flex;
    }
    
    .nav-item {
        margin: 1rem;
    }
    
    .nav-link:not(.action-link) {
        position: relative;
        transition: .3s ease transform;
    }

    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link)::after {
        left: 0;
        height: 4px;
        content: '';
        width: 0;
        bottom: -2px;
        position: absolute;
        border-radius: 2px;
        background-color: var(--orange);
        transition: .3s ease width;
    }
    
    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link):hover::after {
        width: 100%;
    }
    
    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link):hover {
        color: #ffffff;
        transform: translateX(-4px);
    }

    .sub-nav-list {
        top: 4.3rem;
        z-index: 9;
        padding: 0;
        opacity: 0;
        max-width: 16rem;
        position: absolute;
        visibility: hidden;
        transition: .3s ease opacity;
        background-color: var(--green);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .sub-enroll {
        width: max-content;
        transform: translate(-6rem);
    }
    
    .sub-nav-list .nav-item {
        margin: .5rem;
    }

    .sub-nav-list .nav-link {
        width: 100%;
        border-radius: 5px;
        padding: .5rem;
        transition: .3s ease background-color;
    }

    .nav-item:hover .sub-nav-list {
        opacity: 1;
        visibility: visible;
    }

    .nav-action .nav-link {
        padding-block: .5rem;
        padding-inline: 1rem;
    }

    .nav-action .nav-link:hover,
    .sub-nav-list .nav-link:hover {
        color: #ffffff;
    }

    .sub-nav-list .nav-link:hover {
        background-color: var(--orange);
    } 
    
    .header-content {
        align-items: center;
        padding-inline: 2rem;
        flex-direction: row;
        justify-content: space-between;
        height: calc(100% - 5rem);
    }
    
    .header-text {
        width: 50%;
        text-align: left;
        height: min-content;
    }
    
    .header-title {
        font-size: 2.8rem;
    }
    
    .header-title span {
        font-size: 4.6rem;
    }

    .header-tagline {
        width: 90%;
        font-size: 1.2rem;       
    }

    .info-container {
        padding-inline: 2rem;
    }

    .info-block {
        height: 65vh;
        display: flex;
        margin-block: 5rem;
        justify-content: space-between;
    }

    .info-img {
        width: 30%;
        height: 100%;
        display: block;
        border-radius: 5px;
    }

    .info-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .info-text {
        width: 65%;
    }

    .info-description span {
        font-size: 1.4rem;
    }

    .info-heading {
        font-size: 3rem;
        border-left: 1rem solid var(--orange);
    }

    .key-offerings {
        margin-inline: 10rem;
    }

    #contact {
        margin-top: 5rem;
        height: 100vh;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .contact-content {
        display: flex;
        height: 80%;
        align-items: center;
        justify-content: space-evenly;
    }

    .contact-img {
        width: 40%;
        height: 100%;
        display: flex;
        padding-inline: 1.2rem;
    }

    .contact-img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }

    #contact-form {
        width: 60%;
    }

    .form-block {
        width: 49%;
        display: inline-block;
    }

    .contact-block {
        width: 99%;
    }

    .form-block input,
    .form-block textarea {
        padding: .5rem;
    }

    .form-block textarea {
        height: 12rem;
    }
}

/* Desktop */

@media screen and (min-width: 1367px) {
    
    .header-content,
    #info,
    #contact {
        margin-inline: 12rem;
    }

    .header-content {
        margin-top: 2rem;
    }

    nav {
        box-shadow: none;
        padding-inline: 2rem;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
    }
    
    .nav-list {
        display: flex;
    }

    .nav-item {
        margin: 1rem;
    }
    
    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link) {
        position: relative;
        transition: .3s ease transform;
    }

    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link)::after {
        left: 0;
        height: 4px;
        content: '';
        width: 0;
        bottom: -2px;
        position: absolute;
        border-radius: 2px;
        background-color: var(--orange);
        transition: .3s ease width;
    }
    
    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link):hover::after {
        width: 100%;
    }
    
    .nav-link:not(.nav-action .nav-link):not(.sub-nav-list .nav-link):hover {
        color: #ffffff;
        transform: translateX(-4px);
    }

    .sub-nav-list {
        top: 4.3rem;
        z-index: 9;
        padding: 0;
        opacity: 0;
        max-width: 20rem;
        position: absolute;
        visibility: hidden;
        transition: .3s ease opacity;
        background-color: var(--green);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .sub-enroll {
        width: max-content;
        transform: translate(-6rem);
    }

    .sub-nav-list .nav-item {
        margin: .5rem;
    }

    .sub-nav-list .nav-link {
        width: 100%;
        border-radius: 5px;
        padding: .5rem;
        transition: .3s ease background-color;
    }

    .nav-item:hover .sub-nav-list {
        opacity: 1;
        visibility: visible;
    }

    .sub-nav-list .nav-link:hover {
        background-color: var(--orange);
    }

    .nav-action .nav-link {
        padding-block: .5rem;
        padding-inline: 1rem;
    }

    .nav-action .nav-link:hover,
    .sub-nav-list .nav-link:hover {
        color: #ffffff;
    }

    .header-content {
        align-items: center;
        flex-direction: row;
    }

    .header-text {
        width: 50%;
        height: min-content;
        text-align: left;
    }

    .header-title {
        font-size: 3.6rem;
    }

    .header-title span {
        font-size: 5rem;
    }

    .header-images {
        width: 50%;
        height: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .header-tagline {
        font-size: 1.2rem;
        width: 90%;
    }

    #info {
        margin-top: 2rem;
    }

    .info-block {
        height: 100%;
        display: flex;
        margin-block: 5rem;
        align-items: center;
        justify-content: space-evenly;
    }

    .info-text {
        width: 60%;
    }

    .info-img {
        width: 30%;
        height: 100%;
        display: block;
        border-radius: 5px;
    }

    .info-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .info-heading {
        font-size: 3rem;
    }

    .info-description span {
        font-size: 1.5rem
    }

    .key-offerings {
        display: flex;
        align-items: center;
        margin-bottom: 5rem;
        flex-direction: column;
    }

    .key-offerings h2 {
        font-size: 3rem;
    }

    #key-points {
        width: 80%;
    }

    .accordion-button {
        font-size: 1.25rem;
    }

    #contact {
        height: 100%;
        min-height: 100%;
    }

    .contact-container {
        display: flex;
        padding-inline: 10rem;
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    .contact-content {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: space-evenly;
    }

    .contact-img {
        width: 40%;
        height: 100%;
        display: none;
        padding-inline: 1.2rem;
    }

    .contact-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }

    #contact-form {
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }

    .form-block {
        width: 49%;
        display: inline-block;
    }

    .contact-block {
        width: 99%;
    }

    .form-block input,
    .form-block textarea {
        padding: .5rem;
    }

    .form-block textarea {
        height: 12rem;
    }
}