/* Playfair Display and Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* theme-roots */
:root {
    --forest: #082D1C;
    --light-forest: #065F46;
    --pine: #0C2116;
    --crimson: #A31A1D;
    --blood: #791416;
    --cream: #FAF9F4;
    --sand: #F4E2C8;
    --silver: #D6D6D6;
    --mint: #EAF3E9;
    --black: #17241C;
    --dark: #44403C;
    --text: #59645B;
    --white: #FFFFFF;
    --divider: #E7E5E4;

    --dark-gradient: linear-gradient(90deg, rgba(12, 10, 9, 0.87) 0%, rgba(28, 25, 23, 0.70) 50%, rgba(28, 25, 23, 0) 100%);
    --green-gradient: linear-gradient(90deg, rgba(5, 27, 17, 0.97) 0%, rgba(5, 27, 17, 0.85) 50%, rgba(5, 27, 17, 0.4) 100%);
    --cream-gradient: linear-gradient(90deg, #FAF1E2 0%, #F7E7D1 50%, #F2DDC1 100%);

    --body: 'Inter', sans-serif;
    --heading: "Playfair Display", serif;   

    --soft-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    --transition: .3s ease;
    --border: 2.5px solid var(--divider);

    --nav-height: 87px;
    --mobile-nav: 75px;
}

::selection {
    color: var(--cream);
    background: var(--forest);
}

::-webkit-scrollbar {
    z-index: 999;
    position: absolute;
    background: transparent;
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--crimson);
    border-radius: 50px;
}

*,*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--cream);
    font-family: var(--body);
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

.max-50 {
    width: 50%;
}

a {
    text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--black);
    font-family: var(--heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

p {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.3rem;
}

div p:last-child {
    margin-bottom: 0 !important;
}

.section {
    position: relative;
    padding: var(--section-y-pd) var(--section-x-pd);
}

.section-x-pd {
    padding-left: var(--section-x-pd);
    padding-right: var(--section-x-pd);
}

.section-y-pd {
    padding-top: var(--section-y-pd);
    padding-bottom: var(--section-y-pd);
}

.section-full {
    padding: 0;
}

.white-bg {background: var(--white);}

.silver-bg {background: var(--silver);}

.forest-bg {background: var(--forest);}

.sand-bg {background: var(--sand);}

.cream-bg {background: var(--cream);}

.cream-gradient-bg {background: var(--cream-gradient);}

.white {color: var(--white);}

.border-y {
    border-top: var(--border);
    border-bottom: var(--border);
}

.border-top {
    border-top: var(--border);
}

.border-bottom {
    border-bottom: var(--border);
}

.img {
    width: 100%;
}

.img img {
    width: 100%;
    height: auto;
}

.grid-2-sec {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.grid-2-sec.box {
    border-radius: 20px;
    overflow: hidden;
    background: var(--forest);
}

.grid-2-sec.box .con {
    padding: 4em;
}

.grid-2-sec.box .sec-img {
    aspect-ratio: none;
}

.grid-2-sec.box .sec-img .img {
    border-radius: 0;
}

.sec-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 480px;
    box-shadow: var(--soft-shadow);
    position: relative;
}

.sec-img .img {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.sec-img .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.sec-img:hover img {
    scale: 1.1;
}

.img-box {
    background: var(--forest);
    padding: 30px;
    border-radius: 10px;
    color: var(--white) !important;
    position: absolute;
    max-width: 240px;
    right: -3rem;
    bottom: -3rem;
}

.sec-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 70px;
    margin-bottom: 1.5rem;
}

.sec-header > :nth-child(2) {
    justify-self: end;
}

.sec-top-center {
    max-width: 720px;
    text-align: center;
    margin: 0 auto 2rem;
}

.sec-top-center .sec-head {
    align-items: center;
}

.sec-head {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
}

.sec-head h2, .sec-head h3, .sec-head h4 {
    margin-bottom: 0.2rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--light-forest);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1.1px;
    width: fit-content;
}

.eyebrow::before {
    content: '';
    width: 18px;
    height: 8px;
    background: #348B53;
    border-radius: 50px;
}

.eyebrow.red {color: var(--crimson);}
.eyebrow.red::before {background: #CA4245;}

.eyebrow.white {color: var(--white);}
.eyebrow.white::before {background: var(--sand);}


.img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.grid-5,
.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 25px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 20px;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid;
    transition: var(--transition);
    width: fit-content;
    min-width: max-content;
    height: fit-content;
}

.btn::after {
    content: '\f061';
    font-family: var(--fa-family-classic);
    font-weight: 900;
    font-size: inherit;
    color: inherit;
    transition: var(--transition);
    margin-top: 1px;
}

.btn:hover::after {
    transform: translateX(4px);
}

.btn-primary {
    color: var(--white);
    background: var(--crimson);
    border-color: var(--crimson);
}

.btn-primary:hover {
    background: var(--blood);
    border-color: var(--blood);
}

.btn-secondary {
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
}

.btn-secondary:hover {
    background: var(--pine);
    border-color: var(--pine);
}

.btn-white {
    color: var(--forest);
    background: var(--white);
    border-color: var(--silver);
}

.btn-white:hover {
    background: var(--sand);
    border-color: var(--sand);
}

.text-btn {
    border: none;
    padding: 0;
    color: var(--forest);
}


/* ========= NAVBAR ========= */
.navbar {
    position: relative !important;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 calc(var(--section-x-pd) - 20px);
    background: var(--cream);
    transition: 0.5s ease;
}

.navbar.scrolled {
    position: fixed !important;
    background: rgba(235, 229, 219, 0.9);
    height: calc(var(--nav-height) - 12px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--soft-shadow);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: block;
    height: 100%;
    padding: 8px 0;
}

.nav-logo img{
    width: auto;
    height: 100%;
}

.nav-logo-hidden {
    visibility: hidden;
    pointer-events: none;
}

.nav-r {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    height: fit-content;
}

.nav-links a.nav-link {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    padding-bottom: 4px;
    text-transform: capitalize;
    color: var(--dark);
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px;
    background: var(--crimson);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-links a.nav-link:hover,
.nav-links a.active,
.dropdown-li.open > a.nav-link {
    color: var(--crimson);
}

.nav-links a.nav-link:hover::after,
.nav-links a.active::after,
.dropdown-li.open > a.nav-link::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown-li {
    position: relative;
}

.dropdown-li > a.nav-link {
    display: flex;
    align-items: center;
}

/* Icon rotation */
a.nav-link .dropdown {
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 12px;
}

.dropdown-li.open .dropdown {
    transform: rotate(180deg) translateY(1.5px);
}

/* Dropdown wrapper */
.dropdown-li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    min-width: 120px;
    margin-bottom: 0 !important;
    padding: 0;
    transform: translateX(-50%) translateY(55px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background-color: var(--cream);
    border-radius: 3px;
    border: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 999;
}

.dropdown-li.open ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(15px);
}

/* Dropdown links */
.sub-menu a.nav-link {
    font-weight: 500;
    font-size: 15px;
    padding: 16px 35px 16px 25px;
    min-width: max-content;
}

.sub-menu a.nav-link::after {
    display: none;
}

.sub-menu a.nav-link:hover {
    color: var(--cream);
    background-color: var(--forest);
}

.btn-cta {
    padding: 11px 17px;
}

.btn-cta::after {
    display: none;
}



/* footer */
footer {
    padding: var(--section-y-pd) var(--section-x-pd);
    background: var(--pine);
    padding-bottom: 0;
}

.ft-logo {
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    padding: 15px 20px;
}

.ft-logo img {
    width: 100%;
    height: auto;
}

.ft-socials {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social {
    --size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social:hover {
    background-color: var(--white);
}

.social i {
    color: var(--white);
    font-size: 23px;
    font-weight: 900;
    transition: var(--transition);
}

.social:hover i {
    color: var(--light-forest);
}

footer p {
    color: var(--white);
    margin-bottom: 0;
    font-weight: 400;
    font-size: 16px;
}

.ft-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.ft-col h4 {
    color: var(--white);
    font-weight: 400;
    min-width: max-content;
    margin-bottom: 0;
}

.ft-links, .ft-con {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-links a {
    color: var(--silver);
    text-transform: capitalize;
    font-size: 15px;
    line-height: 1.5;
    width: fit-content;
    transition: var(--transition);
    position: relative;
}

.ft-links a:hover {
    color: var(--sand);
}

.ft-links a::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px;
    background: var(--sand);
    transform: scaleX(0);
    transition: var(--transition);
}

.ft-links a:hover::after{
    transform: scaleX(1);
}

.ft-links .con {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ft-links .con span {
    font-weight: 500;
    color: var(--white);
    font-size: 16px;
}

.ft-con a {
    display: flex;
    gap: 10px;
}

.ft-con a .icon {
    --size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--size);
    height: var(--size);
    background: rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    transition: var(--transition);
}

.ft-con a:hover .icon {
    background: var(--sand);
}

.ft-con a .icon i {
    font-size: 20px;
    font-weight: 600;
    color: #34D399;
}

.ft-con a:hover .icon i {
    color: var(--light-forest);
}

.ft-con a .con {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ft-con a .con span {
    font-size: 15px;
    font-weight: 400;
    color: var(--silver);
    transition: var(--transition);
}

.ft-con a:hover .con span,
.ft-con a:hover .con p {
    color: var(--cream);
}

.ft-con a .con p {
    font-weight: 400;
    color: var(--white);
    font-size: 17px;
    transition: var(--transition);
}

.ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
    padding: 20px 0;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
}

.ft-bottom p {
    font-size: 16px;
    text-align: center;
    color: var(--silver);
}

.ft-bottom .ft-links {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.ft-bottom .ft-links span {
    color: var(--silver);
    font-size: 20px;
}



/* primary-card */
.primary-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    border: var(--border);
    transition: var(--transition);
}

.primary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--soft-shadow);
}

.primary-card .title {
    transition: var(--transition);
}

.primary-card:hover .title {
    color: var(--light-forest);
}

.primary-card .icon {
    --size: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--size);
    height: var(--size);
    background: var(--mint);
    border-radius: 8px;
    font-size: 40px;
    color: var(--forest);
    transition: var(--transition);
}

.primary-card p {
    line-height: 1.7;
    font-size: 16px;
}


/* secondary-card */
.secondary-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 17px;
    border-radius: 10px;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.secondary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--crimson);
    transform: scaleY(0);
    transition: var(--transition);
}

.secondary-card:hover::before{
    transform: scaleY(1);
}

.secondary-card:hover {
    transform: translateY(-4px);
}

.secondary-card .icon {
    --size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--size);
    height: var(--size);
    background: #FFE2E3;
    border-radius: 50%;
    font-size: 22px;
    color: var(--crimson);
}

.secondary-card .con {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.secondary-card p {
    font-size: 15px;
}