@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primaryColor: #fff;
    --blackTextColor: #1a1d29;
    --lightBlackTextColor: #1a1d29f1;
    --yellowColor: #feef4c;
    --darkYelloColor: rgb(229, 215, 68);
    --lightGreyColor: rgba(255, 255, 255, 0.3);
    --lg: 1400px;
}

* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #ffffff, #f0f0f1);
    /* background: linear-gradient(white, #fdfdfd) */
}

a {
    color: inherit;
}

.montserrat-font {
    font-family: "Montserrat", sans-serif;
}

.heading {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
    color: rgb(26, 29, 41);
    ;
}

.para {
    margin-bottom: 22px;
    font-size: 1.1rem;
    color: var(--blackTextColor);
    font-weight: 500;
    line-height: 2rem;
}

.gradient-bg {
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

.container {
    width: 100%;
    max-width: var(--lg);
    margin: 0 auto;
    padding: 24px 60px;
}

body {
    /* background-color: lightblue; */
    /* width: 1512px; */
}

/* NAVBAR */

.navbar-cnt {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    background-color: white;
}

#desktop-navbar {
    width: var(--lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 18px 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}

#mobile-navbar {
    display: none;
    width: var(--lg);
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}


#desktop-navbar img,
#footer img {
    width: 143px;
}

#desktop-navbar img,
#mobile-navbar img {
    filter: invert(1);
}

#mobile-navbar img {
    width: 145px;
}

#desktop-navbar .link-cnt {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: var(--blackTextColor);
    font-weight: 500;
}

#desktop-navbar .link-cnt div:last-child,
#mobile-navbar-items .link-cnt div:last-child {
    background-color: var(--yellowColor);
    padding: 0.8rem 1.5rem;
    transition: all .1s ease-in-out;
    /* width: 100%; */
}

#desktop-navbar .link-cnt div:last-child:hover,
#mobile-navbar-items .link-cnt div:last-child:hover {
    background-color: var(--darkYelloColor);
}

#nav-icon4 {
    width: 30px;
    height: 15px;
    position: relative;
    /* margin: 50px auto; */
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon4 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: rgb(153, 153, 153);
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 7%;
    left: 8px;
}

#nav-icon4.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 23px;
    left: 8px;
}

.mobile-navbar-items {
    display: none;
    position: absolute;
    bottom: -287px;
    background-color: white;
    height: max-content;
    color: black;
    width: 100%;
    overflow: hidden;
    left: 0;
    padding: 30px 0;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.mobile-navbar-items .link-cnt {
    font-family: "Montserrat", sans-serif;
    width: 90%;
}

.mobile-navbar-items .link-cnt div {
    margin-bottom: 2rem;
}

/* FOOTER  */

.footer-cnt {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    background-color: var(--blackTextColor);
}

#footer {
    width: var(--lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 24px 80px;
}

#footer .link-cnt {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: #fff;
    font-weight: 400;

}

/* Ensure content stays above the background */
#footer>* {
    position: relative;
    z-index: 2;
}

.hero-section {
    display: flex;
    width: 100%;
    height: 88vh;
}

.hero-content {
    width: 50%;
    background-color: var(--blackTextColor);
    color: white;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: flex-end;
    padding-right: 74px;
    padding-top: 14rem;
    position: relative;
}

.hero-content-wrapper {
    width: max-content;
}

.hero-content .title {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    /* width: 35ch; */
}

.hero-image {
    flex: 1;
    background-image: url('../assets/hero-imge.webp');
    background-size: cover;
    background-position: center;
}

/* Overlay background image with reduced opacity */
.hero-content::before,
.footer-cnt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/grid.png');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}



.about-section {
    padding: 80px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 580px;
    height: 422px;
    display: block;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

/* .about-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
} */

/* .about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
} */

.about-button {
    display: inline-block;
    background-color: var(--yellowColor);
    color: var(--blackTextColor);
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: "Montserrat", sans-serif;
    transition: background-color 0.3s;
}

.about-button:hover {
    background-color: var(--darkYelloColor);
}

.contact-hero {
    background-image: url('../assets/contact-hero.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    /* padding: 0 5%; */
    color: black;
}

.contact-content {
    width: var(--lg);
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
}

.contact-btn {
    display: inline-block;
    background-color: var(--yellowColor);
    color: var(--blackTextColor);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 30px;
    transition: background 0.3s;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
}

.contact-btn:hover {
    background-color: var(--darkYelloColor);
}

.contact-hero .heading {
    margin-bottom: 0;
}

.contact-hero .para {
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 29px;
}

/* .strategy.container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
} */

.strategy.container {
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.strategy .heading {
    text-align: center;
}

.strategy .para {
    width: 64%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

.strategy .features {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    margin-bottom: 50px;
    /* flex-wrap: wrap; */
    font-family: "Montserrat", sans-serif;
}

.strategy .feature {
    flex: 1;
    min-width: 180px;
    font-weight: 500;
    padding: 14px;
    border-bottom: 4px solid #111;
    margin: 0 10px;
    font-size: 1.2rem;
    text-align: center;
}

.strategy .strategies-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    font-family: "Montserrat", sans-serif;
}

.strategy .strategies {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.strategy .strategy-box {
    background: #fff;
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 4px 10px var(--lightGreyColor);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

/* .strategy .flow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.strategy .flow-svg {
    max-width: 100%;
    height: auto;
} */

.strategy .portfolio-box {
    flex: 1;
    max-width: 350px;
    margin-left: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 20px var(--lightGreyColor);
    text-align: center;
    z-index: 2;
}

.strategy .portfolio-box img {
    max-width: 100%;
    margin-bottom: 10px;
}


/* ABOUT US PAGE  */

.page-hero-section {
    /* position: relative; */
    width: 100%;
    height: 400px;
    /* background-image: url('assets/about-us-hero.webp'); */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: "Times New Roman", sans-serif;
}

.page-hero {
    background-color: var(--lightBlackTextColor);
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: relative; */
}

.page-hero-title {
    position: relative;
    width: 100%;
    color: var(--yellowColor);
    display: inline-block;
    padding: 0 40px;
    font-size: 3rem;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
}

.page-hero-title::before,
.page-hero-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: var(--lightGreyColor);
}

.page-hero-title::before {
    left: 100px;
}

.page-hero-title::after {
    right: 100px;
}


/* CONTACT PAGE  */
.contact-page-section {
    /* display: flex; */
    /* flex-wrap: wrap; */
    padding-top: 80px;
    /* justify-content: center; */
    /* align-items: flex-start; */
    /* gap: 40px; */

    width: 100%;
    max-width: var(--lg);
    margin: 0 auto;
    padding: 80px;
}

.contact-page-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
    width: 100%;
}

.contact-page-form-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
}

.contact-page-form {
    width: 40%;
    /* flex: 1 1 300px; */
    /* max-width: 400px; */
}

.contact-page-form form {
    /* width: 50%; */
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: "Montserrat", sans-serif;
}

.contact-page-form label {
    font-weight: 500;
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-page-form input,
.contact-page-form textarea {
    padding: 12px;
    border: none;
    background-color: #bbbbbb26;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    resize: none;
}

.contact-page-form button {
    padding: 14px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.contact-page-form button:hover {
    background-color: #000;
}

.contact-map {
    /* flex: 1 1 400px; */
    /* max-width: 800px; */
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-map img {
    width: 100%;
    height: auto;
    max-height: 500px;
}

.disclosure {
    padding-top: 80px;
}

.disclosure h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--blackTextColor);
}

.who-we-are {
    padding-top: 80px;
    padding-bottom: 80px;
}


/* TEAM  */

.team-cnt {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    gap: 1rem;
    padding-bottom: 80px;
}

.profile-card {
    background: #fff;
    /* border-radius: 16px; */
    /* width: 50%; */
    padding: 36px 28px 24px 28px;
    position: relative;
    transition: box-shadow 0.3s, height 0.4s;
    overflow: hidden;
}

.profile-image {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #eef1f4;
    object-fit: cover;
    /* position: absolute; */
    top: 30px;
    left: 24px;
    border: 3px solid #fff;
}

.profile-name {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.profile-linkedin {
    margin-left: 8px;
    width: 18px;
    display: inline-block;
    vertical-align: middle;
}

.profile-title {
    font-size: 1rem;
    color: #222;
    margin-top: .8rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-desc {
    /* font-size: 1rem;
    line-height: 1.6;
    color: #222; */
    margin: 20px 0 10px 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.profile-desc.truncated {
    max-height: 7.1em;
    /* About two lines */
    position: relative;
}

.profile-desc.truncated:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.2em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 100%);
    pointer-events: none;
}

.profile-readmore {
    color: var(--blackTextColor);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.88rem;
    margin-top: 8px;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    user-select: none;
    display: inline-block;
}

/* erro box  */
.error {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: #f8d7da;
    /* background: #fff; */
    color: #721c24;
    /* border: 1px solid #f5c6cb; */
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    font-family: Arial, sans-serif;
    z-index: 99999;
    display: flex;
    align-items: center;
    animation: slideIn 0.4s ease-out;
}

.error-hidden {
    display: none;
}

.error-box {
    flex: 1;
}

.error-text {
    font-size: 14px;
}

.error-close-btn {
    background: transparent;
    border: none;
    color: #721c24;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}


@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width:1024px) {

    .hero-content {
        width: auto;
    }

    .page-hero-title::after {
        right: 37px;
    }

    .page-hero-title::before {
        left: 39px;
    }

    .strategy .para {
        width: 100%;
    }

    .about-container {
        flex-direction: column-reverse;
    }
}

@media (max-width:800px) {
    :root {
        --lg: 90vw
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    :root {
        --lg: 90vw
    }

    #desktop-navbar {
        display: none;
    }

    #mobile-navbar {
        display: flex;
    }

    .container {
        padding: 50px 0;
    }

    .para {
        font-size: 1rem;
    }

    .hero-section {
        flex-direction: column;
    }

    .hero-content-wrapper {
        width: auto;
        padding: 4rem 1.1rem;
    }

    .hero-content {
        padding-right: 0;
        align-items: normal;
        padding-top: 0;
    }


    .hero-content .title {
        font-size: 3rem;
        /* word-wrap: break-word; */
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: column-reverse;
    }

    .about-image img {
        object-position: center top;
        object-fit: cover;
    }

    .about-section {
        padding: 20px 20px;
    }

    .strategy .para {
        text-align: center;
    }

    .strategy .features {
        margin-bottom: 0;
        text-align: center;
        justify-content: center;
        margin-right: 1rem;
        gap: 1rem;
    }

    .strategy .feature {
        width: 80px;
        min-width: 0;
        font-size: 0.8rem;
        flex: none;
        padding: 0;
        padding-bottom: .5rem;
        margin: 0;
    }

    .contact-content h1 {
        font-size: 2.2rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-hero {
        padding: 0 20px;
        height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .contact-btn {
        font-size: 1rem;
    }

    .page-hero-section {
        height: 300px;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-title::before {
        top: -50%;
        left: 50%;
        transform: translate(-50%, 0);
        width: 80%;
    }

    .page-hero-title::after {
        top: 150%;
        left: 10%;
        width: 80%;
    }

    .team-cnt {
        grid-template-columns: auto;
        padding-bottom: 0;
    }

    .profile-desc.truncated {
        max-height: 12.1em;
    }

    .contact-page-section {
        padding: 60px 0;
    }

    .contact-page-section h2 {
        font-size: 2.5rem;
    }

    .contact-page-form-wrapper {
        flex-direction: column;
    }

    .contact-page-form,
    .contact-map {
        width: 100%;
    }

    .footer-cnt {
        height: auto;
    }

    #footer {
        flex-direction: column;
        padding: 95px 0px;
        gap: 3rem;
    }

    #footer .link-cnt {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width:425px) {

    .strategy .features {
        margin-bottom: 0;
        text-align: center;
        justify-content: center;
        margin-right: 1rem;
        gap: 1rem;
    }

    .strategy .feature {
        width: 80px;
        min-width: 0;
        font-size: 0.8rem;
        flex: none;
        padding: 0;
        padding-bottom: .5rem;
        margin: 0;
    }
}

@media (max-width:320px) {
    .about-image {
        width: 100%;
    }

    .about-content {
        min-width: 0;
        width: 100%;
    }
}