@font-face {
    font-family: "helveticaNow";
    src: url("../assets/fonts/HelveticaNowVar.woff2");
}
@font-face {
    font-family: "helveticaNowIt";
    src: url("../assets/fonts/HelveticaNowVar-Italic.woff2");
}

@font-face {
    font-family: "Mokoto Regular";
    src: url("../assets/fonts/mokoto.regular.ttf");
}
@font-face {
    font-family: "YoungSerif-B";
    src: url("../assets/fonts/YoungSerif-B.otf");
}

@font-face {
    font-family: "YoungSerif-R";
    src: url("../assets/fonts/YoungSerif-R.otf");
}

@font-face {
    font-family: "Reglo-B";
    src: url("../assets/fonts/Reglo-B.otf");
}

@font-face {
    font-family: "Roboto-ER";
    src: url("../assets/fonts/Roboto-ER.ttf");
}

@font-face {
    font-family: "CooperHewitt-ER";
    src: url("../assets/fonts/CooperHewitt.ttf");
}

@font-face {
    font-family: "Inter-EB";
    src: url("../assets/fonts/Inter-EB.ttf");
}

@font-face {
    font-family: "Inter-EB2";
    src: url("../assets/fonts/Inter-EB2.woff2");
}

@font-face {
    font-family: "Quantico";
    src: url("../assets/fonts/Quantico-Regular.otf");
}

@font-face {
    font-family: "Worksans-B";
    src: url("../assets/fonts/Worksans-B.ttf");
}

@font-face {
    font-family: "Worksans-EB";
    src: url("../assets/fonts/Worksans-EB.ttf");
}

@font-face {
    font-family: "Worksans-B2";
    src: url("../assets/fonts/Worksans-B2.woff2");
}

@font-face {
    font-family: "Worksans-EB2";
    src: url("../assets/fonts/Worksans-EB2.woff2");
}

@font-face {
    font-family: "Battambang";
    src: url("../assets/fonts/Battambang-rRegular.ttf");
}
@font-face {
    font-family: "Ubuntu";
    src: url("../assets/fonts/Ubuntu-R.ttf");
}
@font-face {
    font-family: "aptos";
    src: url("../assets/fonts/aptos.ttf");
}
@font-face {
    font-family: "DMSansB";
    src: url("../assets/fonts/DMSansB.ttf");
}
@font-face {
    font-family: "DMSansR";
    src: url("../assets/fonts/DMSansR.ttf");
}
@font-face {
    font-family: "DMSansM";
    src: url("../assets/fonts/DMSansM.ttf");
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: white !important;
    min-height: 100vh;
    overflow-x: hidden;
    transition: 0.2s all;
}
body::after {
    content: "";
    background-color: white;
    width: 300%;
    height: 300%;
    top: -100%;
    z-index: -1;
    left: -50%;
    opacity: 0.4;
    animation: grain 8s steps(10) infinite;
    position: fixed;
}

@keyframes grain {
    /* 0% {
    transform: translate(0, 0);
  } */
    10% {
        transform: translate(-5%, -10%);
    }
    20% {
        transform: translate(-15%, 5%);
    }
    30% {
        transform: translate(7%, -25%);
    }
    40% {
        transform: translate(-5%, 25%);
    }
    50% {
        transform: translate(-15%, 10%);
    }
    60% {
        transform: translate(15%, -4%);
    }
    70% {
        transform: translate(3%, -15%);
    }
    80% {
        transform: translate(3%, 35%);
    }
    /* 90% {
    transform: translate(-10%, 10%);
  } */
}

body {
    overflow-x: hidden !important; /* Prevents horizontal scrolling */
}

.navbar {
    font-family: "helveticaNow";
    font-weight: 700;
    display: flex;
    transition: 0.2s all;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center;
}
.logoContainer {
    font-family: "Worksans-EB2";
    z-index: 100;
    color: #25d366;
    margin-left: 0rem;
    font-size: 80px;
    letter-spacing: 8.7px;
    text-align: center;
}

.menuBarContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-family: Quantico;
    font-size: 24px;
    padding-left: 30px;
}

.contactUsContainer {
    cursor: pointer;
    z-index: 100;
    font-family: Quantico;
    font-size: 24px;
    padding-right: 30px;
}
.navBarBackground {
    position: fixed;
    top: 0;
    font-family: "helveticaNow";
    text-transform: uppercase;
    z-index: 20;
    clip-path: inset(0 100% 0 0);
    background-color: #f3f3f3;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: 100vh;
    display: flex;
}
.closeMenuButton {
    position: absolute;
    font-family: Quantico;
    margin-left: 1rem;
    font-weight: 400;
    margin-top: 2.5rem;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50px;
    background: #cdc6c6;
    padding: 0.5rem 1rem;
}
.navBarBackground .container {
    margin-top: 2rem;
    width: 100%;
    padding: 1.5rem;
}
.navBarBackground .page {
    font-size: 50px;
    cursor: pointer;
    font-family: "Battambang", system-ui;
    /* margin-left: 1rem; */
    overflow: hidden;
    margin-bottom: 20px;
    font-weight: 500;
}

.navBarBackground .page:first-child {
    margin-top: 50px;
}

#privacyPolicy {
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: underline;
}
#termsandconditions {
    /* margin: 30px 0; */
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: underline;
}
.navBarBackground .page span {
    position: relative;
}
.bottomDetails {
    font-size: 2rem;
    position: absolute;
    bottom: 3%;
    right: 1.2rem;
    margin-left: 1rem;
    display: flex;
    font-family: "Worksans-B2";
    align-items: end;
    gap: 1rem;
}

.bottomDetails .email {
    font-family: "helveticaNow";
    text-decoration: underline;
    font-size: 1rem;
}
.menuBarLine {
    position: relative;
    width: 35px;
    margin-bottom: 10px;
    height: 2px;
    display: none;
    z-index: 100;
    background-color: black;
}
.heroSection {
    text-align: center;
    min-height: 100vh;
    font-weight: 450;
    text-transform: uppercase;
    font-stretch: 10;
    font-family: "helveticaNow";
    font-size: 3.4rem;
}
.heroSection p {
    overflow: hidden;
}
.heroSection p span {
    position: relative;
    top: 100px;
}
.caring {
    color: #25d366;
    font-family: "Worksans-B2";
}
.likeCrazy {
    background-color: #ffc600;
    left: 37%;
    transform: translate(-40%);
    padding: 10px;
    color: white;
    transition: all 1s ease; /* Animation duration and easing */
    clip-path: polygon(0 0, 0 100%, 0% 100%, 0% 0);
    transform: rotate(10deg);
    font-family: "Worksans-B2";
    position: absolute;
    width: fit-content;
}
a {
    color: black;
    text-decoration: none;
}
.fixed {
    /* Set position to "fixed" when scrolling down */
    position: fixed;
    background-color: #f3f3f3;
    transition: 0.2s all;
    width: 100%;
    z-index: 100;
    top: 0;
}
.likeCrazyT {
    background-color: #25d366;
    padding: 10px;
    color: white;
    font-size: 3rem;
    transition: all 1s ease; /* Animation duration and easing */
    clip-path: polygon(0 0, 0 100%, 0% 100%, 0% 0);
    transform: rotate(6deg) translate(-10%);
    font-family: Worksans-B2;
    position: absolute;
    left: 35%;
    width: fit-content;
}
.ourSocials {
    margin-top: 7rem;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    padding: 3rem 0rem;
}
.learnFromOurSocials {
    font-size: 4rem;
    cursor: pointer;
    text-transform: uppercase;
    font-family: helveticaNow;
}
.ourInsights {
    margin-top: 6rem;
    padding-bottom: 50px;
}
.ourInsights .title {
    font-size: 3rem;
    font-weight: 500;
    font-family: Ubuntu;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 80px;
}
.socialMediaPosts {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 2rem;
}
.socialMediaPost {
    padding-bottom: 6rem;
    padding-top: 2rem;
    cursor: pointer;
    position: relative;
    background: white;
    border: 2px solid #25d366;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* border-top: 1px solid grey; */
}

.socialMediaPost img {
    text-align: center;
    display: flex;
    justify-content: center;
}
.socialMediaPost p {
    margin: 30px 0 20px 0;
    font-size: 1.5rem;
    font-family: Ubuntu;
    /* text-transform: uppercase; */
}
.contentType {
    /* border: 1px solid grey; */
    font-family: Ubuntu;
    padding: 10px 20px;
    /* position: absolute; */
    bottom: 9px;
    font-weight: 600;
    font-size: 0.7rem;
    width: fit-content;
    border-radius: 30px;
    background-color: #25d366;
}
.socialMediaPost svg {
    position: absolute;
    top: 2rem;
    right: 1rem;
    rotate: 40deg;
    transform: scale(0.8);
}
footer {
    background: #e5e5e5;
    /* padding-left: 2rem; */
    margin-top: 0rem;
    border-top: 1px solid grey;
}

.footerContainer {
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 2rem;
}

.footerLogo img {
    width: 263px;
    height: 224px;
}

.footerContainer ul li {
    text-align: left;
    font-size: 22px;
    padding-bottom: 20px;
    font-family: Battambang;
    margin-top: unset;
}
.footerlinkers {
    text-align: left;
    font-size: 22px;
    font-family: Battambang;
    padding-left: 40px;
    padding-top: 0px;

    p {
        padding-bottom: 15px;
    }
}

.footerPolicy {
    font-family: Battambang;
    padding-left: 30px;
}

.footerPolicy2 {
    font-family: Battambang;
    padding-right: 3px;
}
.footerPolicy3 {
    font-family: Battambang;
    padding-top: 20px;
    padding-right: 130px;
}

.footerPolicy:hover {
    text-decoration: underline;
}

.footerPolicy2:hover {
    text-decoration: underline;
}

.footerLogo p {
    font-family: "Dosis", sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
}
.footerSocialMediaLinks {
    font-family: "helveticaNow";
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.footerSsocialMediaLinks p {
    margin-bottom: 0.5rem;
    text-decoration: underline;
}
.getInTouch .getInTouchLink {
    font-family: "Worksans-B2";
    font-size: 50px;
    position: relative;
    width: fit-content;
    margin-top: 20px;
}
.getInTouch .getInTouchLink svg {
    position: absolute;
    top: 6%;
    width: 38px;
    right: -10%;
    rotate: 50deg;
}
.menu-image img {
    padding-right: 7px;
    padding-top: 50px;
    width: 145px;
    margin-left: -20px;
}
#contactUsEmail {
    font-family: "helveticaNow";
    text-transform: uppercase;
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 1.3rem;
}
#address {
    text-transform: uppercase;
    font-family: "helveticaNow";
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 500px;
}

#address p {
    margin: unset;
    font-size: 20px;
}
#address svg {
    width: 20px;
    height: 20px;
}
a {
    text-decoration: none;
    color: #000;
}
#contactUsEmail:hover {
    text-decoration: underline;
}
.allRightsReserved {
    border-top: 1px solid grey;
    font-family: "helveticaNow";
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    text-align: center;
    /* font-weight: 700; */
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.responsive {
    display: none;
}
.responsive svg {
    width: 30px;
    height: 30px;
}
.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: #000;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@media screen and (max-width: 900px) {
    .heroSection {
        font-size: 2.5rem;
        min-height: 40vh;
    }
    .menuBarContainer {
        padding-left: 20px;
    }
    .contactUsContainer {
        padding-right: 20px;
    }
}

@media screen and (max-width: 375px) {
    .heroSection {
        min-height: 100vh !important;
        font-size: 1.8rem !important;
        line-height: 3rem !important;
    }
    .navBarBackground .page {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 450px) {
    .heroSection {
        min-height: 95vh;
        line-height: 3.7rem;
        padding: 10px;
    }
    .navBarBackground .page {
        font-size: 1.7rem;
    }
}
@media screen and (max-width: 400px) {
    .heroSection {
        min-height: 95vh;
    }
}
@media screen and (max-width: 490px) {
    .footerLogo img {
        width: 200px;
        height: 157px;
    }
    .learnFromOurSocials {
        font-size: 2rem;
        padding: 1rem;
    }
    .ourInsights {
        padding: 1rem;
    }
    .socialMediaPost p {
        font-size: 1.2rem;
    }
    .navbar .fullScreen {
        display: none;
    }
    .responsive {
        display: inline-block;
    }
    .navbar {
        padding: unset;
    }
    .menuBarLine {
        display: block;
    }
    .heroSection {
        /* margin-top: 2.5rem; */
        font-size: 2.1rem;
        /* line-height: 3rem; */
    }
    .getInTouch .getInTouchLink svg {
        position: absolute;
        top: 10%;
        right: -30%;
        rotate: 50deg;
    }
    .getInTouch .getInTouchLink {
        font-size: 3rem;
    }
    .logoContainer {
        margin-left: unset;
        font-size: 30px;
    }
    .likeCrazy {
        left: 16%;
        /* top: 44.5%; */
    }
    .likeCrazyT {
        /* transform: translate(-35%) rotate(6deg); */
        left: 15%;
        font-size: 1.9rem;
        /* top: 44.5%; */
    }

    .footerPolicy {
        padding-left: unset;
    }

    .footerlinkers {
        padding-left: unset;
    }

    .ourInsights {
        margin-top: 2rem;
    }

    .socialMediaPosts {
        padding: unset;
    }

    .footerContainer {
        flex-direction: column;
        padding: 0 1rem;
        margin-top: 4rem;
    }
    .footerRouteLinks {
        display: none;
    }

    .footerLogo {
        margin-bottom: 15px;
    }

    .menuBottom {
        flex-direction: column;
    }

    .navBarBackground {
        overflow: scroll;
    }
}

.menuBottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.menuBottom .email {
    text-transform: uppercase;
    font-family: "Battambang", system-ui;
    font-size: 1.2rem;
    font-weight: 700;
}

.menuCopyRight {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-transform: none;
    line-height: 130%;
    gap: 6px;
    font-family: "Poppins", sans-serif;
}
footerlegal {
    padding-top: 40px;
    padding-right: 400px;
}

/* Section animation */

.section-to-animate {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.9s ease-out,
        transform 0.7s ease-in;
}
.section-to-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Base animation states */
.animate {
    opacity: 0;
    transition: all 0.6s ease;
    will-change: transform, opacity; /* Optimizes performance */
}

/* Fade up animation */
.fade-up {
    transform: translate3d(0, 50px, 0);
}

.fade-up.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Fade left animation */
.fade-left {
    transform: translate3d(-50px, 0, 0);
}

.fade-left.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Fade right animation */
.fade-right {
    transform: translate3d(50px, 0, 0);
}

.fade-right.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Scale animation */
.scale {
    transform: scale(0.8);
}

.scale.show {
    opacity: 1;
    transform: scale(1);
}

/* Rotate animation */
.rotate {
    transform: rotate(-15deg);
}

.rotate.show {
    opacity: 1;
    transform: rotate(0);
}

/* Delay classes */
.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.3s;
}
.delay-4 {
    transition-delay: 0.4s;
}

/* Process Card Animation */
.processCard {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        scale 0.3s ease,
        box-shadow 0.3s ease;
}

/* Adjust delays for larger screens */
@media (min-width: 768px) {
    .processCard:nth-child(1) {
        transition-delay: 0s;
    }
    .processCard:nth-child(2) {
        transition-delay: 0.4s;
    }
    .processCard:nth-child(3) {
        transition-delay: 0.7s;
    }
}

/* Remove delays for mobile to prevent awkward spacing */
@media (max-width: 767px) {
    .processCard {
        transition-delay: 0s !important; /* Override all delays */
        transform: translateY(15px); /* Smaller translation */
    }

    /* Reduce animation distance for all fade animations */
    .fade-up {
        transform: translateY(25px);
    }
    .fade-left {
        transform: translateX(-25px);
    }
    .fade-right {
        transform: translateX(25px);
    }

    /* Adjust delays for better mobile experience */
    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4 {
        transition-delay: 0s;
    }
}

.processCard.show {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust hover effects for non-touch devices */
@media (hover: hover) {
    .processCard:hover {
        transform: scale(1.05) translateY(0);
    }

    .processCard:hover img {
        transform: scale(1.1);
    }
}

/* Prevent hover effects on touch devices */
@media (hover: none) {
    .processCard:hover {
        transform: none;
    }

    .processCard:hover img {
        transform: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .heroSection {
        line-height: 90px;
        min-height: 100vh;
    }

    .likeCrazy {
        letter-spacing: 15px;
        left: 25%;
    }

    .beliefSectionContent {
        padding: 30px;
        gap: 35px;
        flex-direction: column;
    }

    .beliefSectionContent img {
        width: 60%;
        margin: 0 auto;
    }

    .beliefSection .para {
        padding-right: unset;
    }
    .howWeWork .title {
        margin-bottom: 50px;
    }

    .box {
        width: 355px;
        height: 360px;
        padding: 30px;
    }

    .content h4 {
        font-size: 2rem;
    }

    .content h3 {
        font-size: 2rem;
    }

    .content h5 {
        font-size: 2rem;
    }

    .content h6 {
        font-size: 2rem;
    }
}
