@font-face {
    font-family: 'Playfair Display';
    src: url('../font/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans.ttf') format('truetype');
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Heavy.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root{
    --primary-color: #610011;
    --primary-color-light: #610011;
    --secondary-color: #fd8719;
    --secondary-color-light: #fd8719;
    --light-color: #ffffff;
    --dark-color: #000000;

    --header-font: 'Playfair Display', serif;
    --subtext-font: 'Gill Sans', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    background-color: rgba(0,0,0,0.06);
}

.main{
    width: 100%;
    height: fit-content;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_inner{
    width: 100%;
    height: fit-content;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero{
    width: 100%;
    height: 100vh;
    background-image: url(../img/about_bg.jpg);
    background-position: top 50% left 30%;
    background-size: cover;
}

.hero_inner{
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero_inner > .nav{
    width: 100%;
    height: 14vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .nav > .nav_inner{
    width: 90vw;
    height: 10vh;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_inner > .nav > .nav_inner > .logo{
    height: 100%;
    width: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .nav > .nav_inner > .logo > img{
    height: 100%;
    width: fit-content;
}

.hero_inner > .nav > .nav_inner > .links{
    height: 100%;
    width: 40%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.hero_inner > .nav > .nav_inner > .links > a{
    text-decoration: none;
}

.hero_inner > .nav > .nav_inner > .links > a > .link{
    color: var(--dark-color);
    font-family: var(--subtext-font);
    font-size: 1.2rem;
    padding: 8px 16px;
    cursor: pointer;

    transition: 0.2s ease-out;
}

.hero_inner > .nav > .nav_inner > .links > a > .cta{
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 100px;
}

.hero_inner > .nav > .nav_inner > .links > a > .link:hover{
    transform: translateY(-10%);
}


.hero_inner > .content{
    width: 100%;
    height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

}

.hero_inner > .content > .content_inner{
    width: 90%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.hero_inner > .content > .content_inner > .upper_heading{
    width: 30%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: var(--header-font);
    font-size: 3.5vw;
    color: var(--light-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--secondary-color);
}

.hero_inner > .content > .content_inner > .subtext{
    width: 30%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--light-color);
    margin-top: 30px;
}

.future{
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
}

.future_inner{
    width: 80%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.future_inner > .left{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}   

.future_inner > .left > .heading{
    width: fit-content;
    font-family: var(--header-font);
    font-size: 4.5vw;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;

    border-bottom: 4px solid var(--secondary-color);
}

.future_inner > .left > .subtext{
    color: var(--dark-color);
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    margin-top: 50px;
    
}

.future_inner > .left > .features > .feature{
    width: fit-content;
    height: fit-content;

    display: flex;
    justify-content: start;
    align-items: center;
}

.future_inner > .left > .features > .feature > .icon{
    width: 30px;
    height: 30px;
    mask-image: url(../img/check.png);
    mask-position: center;
    mask-size: cover;

    background-color: var(--primary-color);
    border-radius: 100%;
}

.future_inner > .left > .features > .feature > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    margin-left: 20px;
}


.future_inner > .right{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.future_inner > .right > .img{
    height: 70%;
    aspect-ratio: 558/621;
    background-image: url(../img/about4.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 1vw;
} 


.contact{
    width: 100%;
    height: 50vh;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 0;

    background-color: var(--primary-color);
}

.contact_inner{
    width: 80%;
    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact_inner > .left{
    width: 48%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

}

.contact_inner > .left > .map{
    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 2vw;
}

.contact_inner > .right{
    width: 48%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.contact_inner > .right > h1{
    font-family: var(--header-font);
    font-size: 3vw;
    color: var(--light-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--secondary-color);
}

.contact_inner > .right > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--light-color);
    margin-top: 30px;
}

.contact_inner > .right > .labels{
    width: fit-content;
    height: fit-content;

    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
}

.contact_inner > .right > .labels > .label{
    width: fit-content;
    height: fit-content;
    margin-bottom: 0px;

    display: flex;
    justify-content: start;
    align-items: center;
}

.contact_inner > .right > .labels > .label > .icon{
    width: 30px;
    height: 30px;

    background-color: var(--light-color);
    border-radius: 100%;
}

.contact_inner > .right > .labels > .label > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--light-color);
    margin-left: 20px;
    flex: 1;
}

.contact_inner > .right > img{
    margin-top: 30px;
    height: 40px;
    border-radius: 5px;
}

.footer{

    margin-top: -10vh;

    width: 90vw;
    height: fit-content;
    display: flex;
    justify-content: end;
    align-items: center;

    padding: 2vh 4vw;
}

.footer > p{
    color: white;
    font-family: var(--subtext-font);

    font-size: 1rem;
}

/* About Section Styling - Cards */
.about {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin: 60px 0;
}

.about_inner {

    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    align-items: stretch;
    justify-content: center;
}

.about_inner .section {
    background: rgb(255, 255, 255);
    border-radius: 1vw;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 2vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 280px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.about_inner .section:hover,
.about_inner .section:focus {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-8px) scale(1.03);
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about_inner .section h2 {
    font-family: var(--header-font);
    font-size: 2vw;
    color: var(--primary-color);
    margin: 0 0 1vw 0;
    padding: 0;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5vw;
    width: 100%;
}

.about_inner .section p {
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    margin: 1vw 0 0 0;
    line-height: 1.6;
}

.about_inner .section ul {
    margin: 1vw 0 0 0;
    padding-left: 1.5vw;
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    list-style: none;
}

.about_inner .section ul li {
    margin-bottom: 0.8vw;
    font-size: 1.2vw;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

/* Principle Section - Centered Content */
.principle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px 60px 0;
}

.principle_inner {
    width: 80%;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 3vw 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.principle_inner .img {
    width: 20vw;
    aspect-ratio: 1/1;
    background: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 2vw;
    background-image: url(../img/principle.png);
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.principle_inner h3 {
    font-family: var(--subtext-font);
    font-size: 1.5vw;
    color: var(--secondary-color);
    margin: 0 0 0.5vw 0;
    font-weight: 600;
}

.principle_inner h1 {
    font-family: var(--header-font);
    font-size: 2.5vw;
    color: var(--primary-color);
    margin: 0 0 1vw 0;
    font-weight: 700;
}

.principle_inner p {
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.6;
}

/* MEDIA QUERIES */
@media (min-width: 1920px) {

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 1.4rem;
        padding: 10px 20px;
    }

}

@media (max-width: 1366px) {

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 1rem;
        padding: 10px 20px;
    }

    .hero_inner > .nav > .nav_inner > .links{
        width: 50%;
    }

    .about_inner {
        width: 90%;
        gap: 2vw;
        grid-template-columns: repeat(3, 1fr);
    }
    .about_inner .section h2 {
        font-size: 2.2vw;
    }
    .about_inner .section p,
    .about_inner .section ul,
    .about_inner .section ul li {
        font-size: 1.4vw;
    }
}

@media (max-width: 900px) {

    .principle_inner {
        width: 100%;
        padding: 6vw 3vw;
    }
    .principle_inner .img {
        width: 30%;
        height: 30%;
        margin-bottom: 4vw;
    }
    .principle_inner h3 {
        font-size: 3vw;
    }
    .principle_inner h1 {
        font-size: 4vw;
    }
    .principle_inner p {
        font-size: 2.5vw;
    }

    .contact_inner > .right > h1{
        font-size: 6vw;
    }

    .contact_inner > .right > p{
        font-size: 3vw;
        margin-top: 30px;
    }

    .contact_inner > .right > .labels > .label > .icon{
        width: 20px;
        height: 20px;
    }

    .contact_inner > .right > .labels > .label > p{
        font-size: 3vw;
        margin-left: 10px;
    }

    .contact_inner > .left > .map{
        height: 75%;
    }

    .contact_inner > .right > img{
        margin-top: 30px;
        height: 40px;
        border-radius: 5px;
    }
    
    .hero_inner > .nav > .nav_inner > .links{
        width: 80%;
    }

    
    .hero_inner > .content > .content_inner > .upper_heading{
        width: 50%;
        font-size: 6vw;
    }

    .hero_inner > .content > .content_inner > .subtext{
        width: 50%;
        font-size: 3vw;
    }

    .about_inner {
        grid-template-columns: 1fr;
        gap: 2vw;
        width: 90%;
    }
    .about_inner .section {
        min-height: 180px;
        padding: 4vw 3vw;
    }
    .about_inner .section h2 {
        font-size: 4vw;
    }
    .about_inner .section p,
    .about_inner .section ul,
    .about_inner .section ul li {
        font-size: 2.5vw;
    }

    

    .future{
        height: fit-content;
    }

    .future_inner{
        flex-direction: column-reverse;
        height: fit-content;
    }

    .future_inner > .right{
        width: 70%;
        height: 40vh;
    }

    .future_inner > .right > .img{
        height: 80%;
        aspect-ratio: 558/621;
        background-position: center;
        background-size: cover;
    }    

    .future_inner > .left{
        width: 70%;
        height: fit-content;
    }

    .future_inner > .left > .heading{
        font-size: 5vw;
    }

    .future_inner > .left > .subtext{
        font-size: 2.4vw;
    }

    .future_inner > .left > .features > .feature > p{
        font-size: 2.4vw;
    }

    .future_inner > .left > .features{
        margin-bottom: 7vh;
    }
}

@media (max-width: 480px) {
    
    .principle_inner {
        width: 100%;
        padding: 8vw 2vw;
    }
    .principle_inner .img {
        width: 40%;
        height: 40%;
        margin-bottom: 6vw;
    }
    .principle_inner h3 {
        font-size: 4vw;
    }
    .principle_inner h1 {
        font-size: 6vw;
    }
    .principle_inner p {
        font-size: 3vw;
    }

    .hero_inner > .nav > .nav_inner > .links{
        width: calc(100% - 10vh - 3vh);
    }

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 0.8rem;
        padding: 5px 5px;
        font-weight: 500;
    }
    
    .hero_inner > .content > .content_inner > .upper_heading{
        width: 70%;
        font-size: 8vw;
    }

    .hero_inner > .content > .content_inner > .subtext{
        width: 70%;
        font-size: 4vw;
    }

    .about_inner {
        width: 80%;
        gap: 4vw;
        grid-template-columns: 1fr;
    }
    .about_inner .section {
        min-height: 120px;
        padding: 6vw 4vw;
        border-radius: 3vw;
    }
    .about_inner .section h2 {
        font-size: 6vw;
        padding-bottom: 2vw;
    }
    .about_inner .section p,
    .about_inner .section ul,
    .about_inner .section ul li {
        font-size: 3vw;
    }

    .future_inner > .left > .heading{
        font-size: 6.5vw;
    }

    .future_inner > .left > .subtext{
        margin-top: 20px;
        font-size: 3vw;
    }

    .future_inner > .left > .features > .feature > .icon{
        width: 20px;
        height: 20px;
    }

    .future_inner > .left > .features > .feature > p{
        font-size: 3vw;
        margin-left: 10px;
    }
}