:root {
    --dark-green: #14201B;
    --light-green: #1A382B;
    --orange: #FF6A00;
    --orange-grd: linear-gradient(to bottom, var(--orange), #ff9244);
    --white-grd: linear-gradient(to bottom, #ffffff 50%, #d1d1d1);
}

/* Lenis Styles */

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PPMori', 'Instrument Serif';
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

.overlay {
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    position: fixed;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--dark-green) 60%, var(--light-green));
}

.glow {
    top: 20%;
    left: 50%;
    z-index: -1;
    width: 50vw;
    height: 50vw;
    opacity: 75%;
    border-radius: 50%;
    position: absolute;
    filter: blur(5rem);
    /* pointer-events: none; */
    transform: translateX(-50%);
    background-color: var(--orange);
    animation: 5s fadeIn forwards;
}


.site-header {
    font-weight: normal;
    font-family: 'Instrument Serif';
    text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 2px;

    background: -webkit-linear-gradient(#ffffff 50%, #999999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #FF6A00;
    
    font-family: inherit;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 2px;
}

.site-p {
    opacity: .75;
    color: #fff;
    font-size: .75rem;
}

.site-btn {
    display: flex;
    min-width: 7rem;
    cursor: pointer;
    font-size: .8rem;
    padding: .5rem 0;
    align-items: center;
    border-radius: .25rem;
    text-decoration: none;
    justify-content: center;
}

header,
section {
    margin-bottom: 5rem;
}

header {
    height: 100vh;
    position: relative;
}

.header-container {
    height: 100%;
    display: flex;
    padding: 1rem;
    flex-direction: column;
    justify-content: space-between;
}

nav {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    flex: .3;
    height: 100%;
}

.nav-list {
    display: none;
}

.nav-actions {
    flex: .3;
    display: flex;
    justify-content: flex-end;
}

.nav-actions .apply {
    display: none;
}

.nav-actions .nav-toggle {
    padding: .5rem;
    min-width: min-content;
    background-color: transparent;
}

.nav-actions ion-icon {
    color: #fff;
    font-size: 2rem;
}

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

#responsive-nav {
    background: linear-gradient(to bottom, var(--dark-green) 60%, var(--light-green));
}

#responsive-nav .offcanvas-header {
    height: 6rem;
    margin-bottom: 2rem;
}

#responsive-nav ul {
    margin: 0;
    padding: 0;
    gap: .5rem;
    display: flex;
    list-style: none;
    flex-direction: column;
    justify-content: center;
}

#responsive-nav li {
    display: flex;
    position: relative;
    border-radius: .25rem;
    flex-direction: column;
}

#responsive-nav ul li a {
    width: 100%;
    padding: .5rem;
    color: #ffffff;
    font-size: 1.2rem;
    text-wrap: nowrap;
    text-decoration: none;
    font-family: 'Instrument Serif';
    text-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#responsive-nav ul li .sub-nav {
    padding: .5rem;
    margin-top: .5rem;
    margin-left: 1rem;
    border-radius: .5rem;
    flex-direction: column;
    background-color: #0f1814;
}

#offcanvas-logo {
    height: 100%;
}

.offcanvas-header .btn-close {
    color: #fff;
}

.header-text {
    height: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.header-text h1 {
    margin: 0;
    font-size: 8vw;
    text-align: center;
}

.header-text h1 span {
    line-height: 90%;
    font-size: 16vw;
}

.header-text p {
    width: 75%;
    margin: 2rem 0;
    font-size: .8rem;
    text-align: center;
}

.header-actions {
    gap: 1rem;
    display: flex;
}

.header-actions .apply {
    color: #ffffff;
    background: linear-gradient(to bottom, var(--orange), #ff9244);
}

.header-actions .more {
    background-color: #ffffff;
    color: var(--orange);
}

.header-images {
    height: 30%;
    pointer-events: none;
}

.header-images .img-container {
    height: 100%;
    display: flex;
    position: relative;
    align-items: center;
}

.header-img {
    z-index: 3;
    border-radius: 50%;
    position: absolute;
}

.header-images .logo img {
    top: 40%;
    left: 50%;
    z-index: 5;
    width: auto;
    height: 10rem;
    position: absolute;
    transform: translate(-50%, -50%);
}

.header-img.outer {
    z-index: 3;
    width: 8rem;
    height: 8rem;
}

.header-img.outer.first {
    left: 0;
}

.header-img.outer.fourth {
    right: 0;
}

.header-img.inner {
    display: none;
}

.cta-container {
    display: flex;
    margin: 2rem 0;
    align-items: center;
    flex-direction: column;
}

.cta-container h2 {
    text-align: center;
}

.cta-container .site-btn {
    margin: 2rem 0;
    color: #ffffff;
    width: fit-content;
    background: linear-gradient(to bottom, var(--orange), #ff9244);
}

#cta-extension {
    gap: 4rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.cta-text {
    font-size: .9rem;
    text-align: center;
}

.cta-images {
    width: 100%;
    height: 40vh;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 1rem; 
    grid-template-areas: 
        "first third"
        "second third";
}

.grid-img {
    overflow: hidden;
    border-radius: .5rem;
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first { grid-area: first; }
.second { grid-area: second; }
.third { grid-area: third; }

#value {
    height: 100%;
}

.value-container {
    height: 100%;
    padding: 2rem;
    position: relative;
}

.value-header {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    flex-direction: column;
}

.value-header img {
    height: 5rem;
    margin-bottom: 1rem;
}

.value-header h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.value-header p {
    color: #ffffff;
    text-align: center;
}

.value-row {
    gap: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
}

.value-card {
    gap: 1rem;
    display: flex;
    padding: 2rem;
    min-height: 22rem;
    position: relative;
    align-items: center;
    border-radius: .5rem;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff10, #ffffff00);
}

.value-card img {
    height: 3rem;
    /* display: none; */
}

.value-card h5 {
    font-size: 2rem;
    position: relative;
    /* margin-bottom: 1rem; */
    font-family: 'Instrument Serif';
}

.value-card h5::after {
    left: 50%;
    content: '';
    height: 2px;
    width: 4rem;
    bottom: -1rem;
    position: absolute;
    transform: translateX(-50%);
    background-color: var(--orange);
}

.value-card p {
    margin: 0;
    opacity: .75;
    font-size: .9rem;
    font-weight: 200;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
}

#services {
    overflow-y: visible;
    position: relative;
}

.services-logo {
    top: 50%;
    right: 0;
    height: 80%;
    z-index: -1;
    opacity: .1;
    position: absolute;
    transform: translate(50%, -50%);
}

.services-container {
    height: 100%;
    padding: 1rem;
}

.services-header h2 {
    font-size: 2rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
    border-left: 1rem solid var(--orange);
}

.services-header p {
    font: .75rem;
}

.service-row {
    gap: 1rem;
    display: flex;
    margin-top: 2rem;
    overflow-x: scroll;
    flex-wrap: nowrap;
}

.service-card {
    min-width: 100%;
    overflow: hidden;
    max-height: 25rem;
    border-radius: .5rem;
    background: linear-gradient(to bottom, #ffffff25, #ffffff00);
}

.service-card > .img {
    width: 100%;
    height: 50%;
    flex-shrink: 0;
}


.service-card > .img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    -webkit-mask-image: linear-gradient(to bottom, #000000 60%, #00000000 100%);
    mask-image: linear-gradient(to bottom, #000 60%, #00000000 100%);
}

.service-card > .details {
    padding: 1rem;
}

.service-card .actions {
    gap: 1rem;
    display: flex;
    margin-top: 2rem;
}

.service-card .actions .site-btn.apply {
    color: #fff;
    background: var(--orange-grd);
}

.service-card .actions .site-btn.more {
    color: var(--orange);
    background: var(--white-grd);
}

.contact-header {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    flex-direction: column;
}

.contact-header img {
    width: 30%;
    margin-bottom: 1rem;
}

#contact form {
    gap: 1rem;
    margin: auto;
    display: flex;
    padding: 1rem;
    flex-wrap: wrap;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

.form-block {
    margin-block: 8px;
    width: calc(50% - 0.5rem); /* two columns with gap accounted */
}

.form-block.contact-block {
    width: 100%; /* full width for the textarea */
}

.form-block input,
.form-block textarea {
    width: 100%;
    outline: none;
    display: block;
    border: none;
    padding: .5rem;
    font-size: .8rem;
    color: #ffffff80;
    background: #14201B40;
    border-radius: 4px;
    transition: border .3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-block input:focus,
.form-block textarea:focus {
    border: 1px solid #FF6A00;
}

.form-block textarea {
    resize: none;
}

.form-block label {
    font-weight: 200;
    margin-bottom: 8px;
    color: #ffffff80;
}

#contact form button {
    border: none;
    color: #fff;
    background: var(--orange-grd);
}

#faculty {
    display: none;
}