@font-face {
    font-family: 'ArchivoBlack';
    src: url('../assets/fonts/ArchivoBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: bold;
}

@font-face {
    font-family: 'Gabarito';
    src: url('../assets/fonts/Gabarito.ttf') format('truetype');
}

@font-face {
    font-family: 'GajrajOne';
    src: url('../assets/fonts/GajrajOne.ttf') format('truetype');
}

:root {
    --color-background: #fff;
    --color-foreground: #2C2C2C;
    --color-black: #2C2C2C;
    --color-white: #fff;


    --color-gray: #656565;
    --color-gray-light: #979797;

    --color-primary-dark: #e2737c;
    --color-primary-dark2: #f29aa1;
    --color-primary: #FFB3B9;
    --color-primary-light: #ffe1e3;
    --color-green-primary: #A5C796;
    --color-green-secondary: #76A164;

    --color-red-main: #D13B3B;
    --color-yellow: #F3D074;
    --color-green: #B9D580;
    --color-blue: #86BBE7;
    --color-purple: #B185D0;

    --margin-x: 30px;
    --margin-y: 30px;

    --padding-480: 20px;
    --padding-768: 40px;
    --padding-1024: 80px;
    --padding-full: 160px;

    .dark {
        display: none;
    }

    .light {
        display: block;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #2C2C2C;
        --color-foreground: #fff;
        --color-gray: #848484;
    }

    .dark {
        display: block;
    }

    .light {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --margin-x: 20px;
        --margin-y: 20px;
    }
}

@media (max-width: 560px) {}

@media (max-width: 480px) {}

html {
    background-color: var(--color-background);
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
    /* margin-top: 190px; */
    cursor: none;
    background-color: var(--color-background);
    color: var(--color-foreground);
}

* {
    cursor: none !important;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-green-primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
}

.custom-cursor.hover {
    width: 80px;
    height: 80px;
    opacity: 0.95;
    background-color: var(--color-green-primary);
}

.custom-cursor-text {
    color: var(--color-background);
    font-family: 'Gabarito', sans-serif;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: absolute;
    white-space: nowrap;
}

.custom-cursor.hover .custom-cursor-text {
    opacity: 1;
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none;
    }

    * {
        cursor: auto !important;
    }
}

.main-content {
    background-color: transparent;
    color: var(--color-foreground);
    font-family: 'Gabarito', sans-serif;
    margin: var(--margin-y) var(--margin-x);
    margin-top: 180px;
    padding: 0;
    min-height: 80vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header h1 {
    font-family: 'GajrajOne', sans-serif;
    font-size: 54px;
    margin: 10px 0;
    background-color: transparent;
    letter-spacing: 2px;
    color: var(--color-foreground);

}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background-color: var(--color-background);
}

a {
    font-family: 'Gabarito', sans-serif;
    text-decoration: none;
    color: var(--color-foreground);
    font-size: 16px;

    /* width: auto;
    flex: 0 0 auto;
    align-self: flex-start; */
}

h1 {
    font-family: 'GajrajOne', sans-serif;
    font-size: 54px;
    margin: 10px 0;
    background-color: transparent;
    letter-spacing: 2px;
    color: var(--color-foreground);

}

h2 {
    font-family: 'ArchivoBlack', sans-serif;
    font-size: 54px;
    margin: 0;
    margin-bottom: 5px;
    color: var(--color-foreground);

}

h3 {
    font-family: 'Gabarito', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 15px;
    color: var(--color-foreground);
}

h4 {
    font-family: 'GajrajOne', sans-serif;
    font-size: 18px;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 2px;
}

p {
    margin: 0;
    font-size: 16px;
    color: var(--color-foreground);
    font-family: 'Gabarito', sans-serif;
    line-height: 1.2;
    /* margin-bottom: 25px; */
}

section {
    background-color: transparent;
}

button {
    background-color: var(--color-foreground);
    color: var(--color-background);
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    margin: 0px;
    font-size: 16px;
    font-family: 'Gabarito', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .2s ease-in-out;
    border: 2px solid var(--color-foreground);
    width: auto;
    display: inline-block;
    flex: 0 0 auto;
    align-self: flex-start;
}

button:hover {
    background-color: var(--color-background);
    color: var(--color-foreground);
}


.leaf {
    z-index: -50;
    position: absolute;
    background-image: url('../assets/images/main/lotus-leaf.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: calc(var(--margin-y)) var(--margin-x) 10px var(--margin-x);
}

.header-middle {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.header-middle a {
    padding-bottom: 2px;
    font-size: 14px;
    font-family: 'Gabarito', sans-serif;
    border-bottom: 2px solid transparent;

}

.header-middle a:hover {
    border-bottom: 2px solid var(--color-foreground);
}

.header-title {
    font-family: 'ArchivoBlack', sans-serif;
    font-size: 20px;
    padding-top: 10px
}

.header-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 180px;
}

.header-right {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.menu-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    height: 27px;
    width: 118px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease;
    padding: 20px 10px;
    margin-right: -10px;
    z-index: -10;
}

.menu-button:hover::after {
    transform: translateY(-50%) scaleX(1);
}

.menu-button h1 {
    transition: color 0.3s ease;
    color: var(--color-foreground);
}

.menu-button:hover h1 {
    color: var(--color-black);
}

.menu-button {
    color: var(--color-foreground);
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
    position: relative;
    z-index: 1;
}

.menu-button:hover {
    background-color: transparent;
}

.menu-dropdown {
    position: absolute;
    top: 22px;
    right: calc(var(--margin-x) - 10px);
    width: 210px;
    /* 118+20 */
    height: 260px;
    /* height: 300px; */
    /* 27+40 */
    background-color: transparent;
    opacity: 1;
    /* keep animated bg clipped to container */
    /* transition: all 0.6s ease-in-out; */
    z-index: 1001;
}

.menu-dropdown a {
    color: var(--color-black);
}

/* Animated background that scales from top-right corner */
.menu-dropdown::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    border-radius: inherit;
    transform-origin: top right;
    transform: scaleX(0.624) scaleY(0);
    /* animation is applied when open */
    z-index: 0;
}

.menu-dropdown.menu-open {
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); */
}


.menu-dropdown.menu-closing {
    opacity: 1;
    visibility: visible;
    /* Keep visible during closing animation */
}

/* Hide after closing animation completes */
.menu-dropdown:not(.menu-open):not(.menu-closing) {
    opacity: 0;
    visibility: hidden;
}

.menu-dropdown.menu-open::before {
    animation: dropdownGrow .4s ease forwards;
}

@keyframes dropdownGrow {
    0% {
        /* transform: scaleX(0) scaleY(0.223); */
        transform: scaleX(0) scaleY(0.2577);

    }

    25% {
        transform: scaleX(0.657) scaleY(0.2577);
    }

    65% {
        transform: scaleX(1) scaleY(0.2577);
    }

    100% {
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes dropdownShrink {
    0% {
        transform: scaleX(1) scaleY(1);
    }

    20% {
        transform: scaleX(1) scaleY(1);
    }

    50% {
        transform: scaleX(1) scaleY(0.2577);
    }

    70% {
        transform: scaleX(0.657) scaleY(0.2577);
    }

    100% {
        transform: scaleX(0) scaleY(0.2577);
    }
}

/* Reverse animation when closing */
.menu-dropdown.menu-closing::before {
    animation: dropdownShrink .6s ease forwards;
}

/* Animate on open: background zoom, then items drop with stagger */
.menu-dropdown.menu-open .menu-dropdown-content-links-container::before {
    transform: scale(1);
    opacity: 1;
}

.menu-dropdown.menu-open .menu-dropdown-content-links a {
    transform: translateY(0);
    opacity: 1;
}

.menu-dropdown.menu-open .menu-dropdown-icon {
    transition-delay: 0.05s;
    transform: translateY(0);
    opacity: 1;
}


.menu-dropdown.menu-open .menu-dropdown-content-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-dropdown.menu-open .menu-dropdown-content-links a:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-dropdown.menu-open .menu-dropdown-content-links a:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-dropdown.menu-open .menu-dropdown-content-links a:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-dropdown.menu-open .menu-dropdown-content-links a:nth-child(5) {
    transition-delay: 0.6s;
}

.menu-dropdown.menu-open .menu-dropdown-content-contact {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.7s;
}

.menu-dropdown.menu-open .menu-bottom {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}



/* Reverse animations when closing */
.menu-dropdown.menu-closing .menu-dropdown-content-links a,
.menu-dropdown.menu-closing .menu-bottom {
    transform: translateY(-8px);
    opacity: 0;
    transition-delay: 0s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-links a:nth-child(1) {
    transition-delay: 0.05s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-links a:nth-child(2) {
    transition-delay: 0.04s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-links a:nth-child(3) {
    transition-delay: 0.03s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-links a:nth-child(4) {
    transition-delay: 0.02s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-contact {
    transform: translateY(-8px);
    opacity: 0;
    transition-delay: 0s;
}

.menu-dropdown.menu-closing .menu-dropdown-icon {
    transform: translateY(-8px);
    opacity: 0;
    transition-delay: 0s;
}

.menu-dropdown.menu-closing .menu-dropdown-content-links-container::before {
    transform: scale(0.92);
    opacity: 0;
    transition-delay: 0s;
}

.menu-dropdown-content {
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    position: relative;
    z-index: 1;
    /* keep text above animated bg */
}

.menu-dropdown-content-links-container {
    display: flex;
    flex-direction: column;
    padding: 25px 10px;
    gap: 25px;
    position: relative;
    margin-top: -42px;
}

/* Background zoom layer */
.menu-dropdown-content-links-container::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: -1;
}

.menu-dropdown-content-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-dropdown-icon {
    align-self: flex-end;
    width: 34px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1002;
}

.menu-dropdown-content-links a {
    font-family: 'Gabarito', sans-serif;
    font-size: 20px;
    color: var(--color-black);
    text-decoration: none;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    width: auto;
    display: inline-block;
    flex: 0 0 auto;
    align-self: flex-start;
}

.menu-dropdown-content a:hover {
    text-decoration: underline;
}

.menu-dropdown-content-contact-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-dropdown-content-contact {
    font-size: 14px;
    color: var(--color-foreground);
    text-decoration: none;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu-bottom {
    margin-left: -10px;
    margin-top: -5.5px;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}




footer {
    padding: 0;
    margin: 0;
    padding-top: 10vh;
    width: 100%;
    height: 420px;
    background-color: var(--color-black);
    color: var(--color-black);
    /* position: relative; */
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: var(--margin-y);
    align-items: center;
    gap: 40px;
    position: relative;
}

footer a {
    color: var(--color-black);
}

footer p {
    color: var(--color-black);
}

footer h2 {
    color: var(--color-black);
}

footer h3 {
    color: var(--color-black);
}

footer h1 {
    color: var(--color-black);
}

footer h4 {
    color: var(--color-black);
}

.footer-square {
    width: 100vw;
    height: 100px;
    background-color: var(--color-background);
    position: absolute;
    top: 0;
    left: 0;
}

.footer-container {
    width: calc(100vw - 2 * var(--margin-x));
    padding: var(--margin-y) var(--margin-x);
    margin-left: -1 * var(--margin-x);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.footer-content {
    width: calc(100vw - 2 * var(--margin-x) - 20px - 125px);
    /* width: 100%; */
    height: 250px;
    background-color: var(--color-primary);
    /* padding: 20px; */

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

.footer-content-center {
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px 0px;
    margin-left: 20px;
    margin-right: -20px;
    width: 260px;
}

.footer-content-center h2 {
    font-size: 28px;
}


.footer-content-left {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 0px 20px 40px;
    /* width: 50%; */
}

.footer-content-left-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 40px;
}

.footer-email {
    font-size: 24px;
    color: var(--color-black);
    font-family: 'GajrajOne', sans-serif;
}

.footer-email:hover {
    text-decoration: underline;
}

.footer-content-right {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;

    padding: 20px 40px 20px 0px;
    text-align: right;
    /* width: 50%; */
    /* margin-right: 30vw; */
}

.footer-content-right-title {
    font-size: 48px;
    color: var(--color-black);
    font-family: 'GajrajOne', sans-serif;
}

.footer-content-right-description {
    max-width: 380px;
}

.footer-social-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    /* margin-top: 15px; */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-image {
    position: relative;
}

.footer-image img {
    width: 125px;
    height: 250px;
}

.footer-copyright {
    width: calc(100vw - 2 * var(--margin-x));
    padding: 0 var(--margin-x);
    color: var(--color-white);
}

.footer-leaf {
    position: absolute;
    z-index: 1;
    background-image: url('/assets/images/main/lotus-leaf.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-leaf-1 {
    width: 100px;
    height: 100px;
    top: 180px;
    right: 82px;
    transform: rotate(40deg);
    background-image: none;
    background-color: var(--color-green-secondary);
    border-radius: 50%;
}

.footer-leaf-2 {
    width: 150px;
    height: 150px;
    top: 190px;
    right: 155px;
    transform: rotate(-50deg);
}

.footer-mobile {
    display: none;
}


@media (max-width: 1200px) {
    .footer-content-center {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footer-image img {
        width: 100px;
        height: 200px;
    }

    .footer-content {
        width: calc(100vw - 2 * var(--margin-x) - 20px - 100px);
        height: 200px;
    }

    .footer-email {
        font-size: 20px;
    }

    .footer-social-icons {
        height: 18px;
        margin-bottom: 5px;
    }

    .footer-content-left-links {
        margin-bottom: 20px;
    }

    .footer-leaf-1 {
        top: 150px;
        right: 77px;
    }

    .footer-leaf-2 {
        top: 160px;
        right: 150px;
    }


}


@media (max-width: 768px) {
    .footer-content-right-description {
        display: none;
    }

    .footer-content {
        flex-direction: column-reverse;
        align-items: flex-start;
        width: calc(100% - 120px);
    }

    .footer-content-right-title {
        margin-top: 20px;
    }

    .footer-content-left {
        flex-direction: row-reverse;
        align-items: flex-end;
        justify-content: space-between;
        width: calc(100% - 40px);
        padding: 0 20px;
        margin-bottom: 20px;
        /* margin-top: -20px; */
    }

    .footer-content-left-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer-content-left a {
        text-align: right;
    }

    .footer-leaf-1 {
        display: none;
    }

    .footer-leaf-2 {
        display: none;
    }

    .footer-content-right-title {
        font-size: 36px;
    }

    .footer-content-right {
        padding: 0 20px;
    }
}

@media (max-width: 560px) {
    .footer-image {
        display: none;
    }

    .footer-container,
    .footer-container p,
    .footer-container a,
    .footer-container a:hover,
    .footer-container a:visited,
    .footer-container a:active,
    .footer-container a:focus,
    .footer-container a:hover {
        color: var(--color-background);
    }

    .footer-content {

        display: none;
    }

    .footer-mobile {
        display: flex;
        /* flex-direction: row;
        gap: 20px;
        width: 100%; */
    }

    .footer-mobile-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
}