@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= SCROLL ANIMATIONS ================= */

@keyframes sa-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes sa-fade-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sa-fade-down {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-animate.left-animation {
    transform: translateX(-60px);
}

.scroll-animate.right-animation {
    transform: translateX(60px);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.scroll-animate.fade-in {
    transform: none;
    transition: none !important;
}

.scroll-animate.fade-in.is-visible {
    animation: sa-fade-in 1.1s ease forwards;
}

.scroll-animate.fade-up {
    transform: none !important;
    transition: none !important;
}

.scroll-animate.fade-up.is-visible {
    animation: sa-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-animate.fade-down {
    transform: none !important;
    transition: none !important;
}

.scroll-animate.fade-down.is-visible {
    animation: sa-fade-down 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


html {
    scroll-behavior: auto !important;
    /* disable native smooth scroll — Lenis handles it */
    overflow-x: clip;
}

body {
    overflow-x: clip;
    /* clip prevents horizontal scroll from animations without creating a
       scroll container — so position:sticky still works on nav, services, etc. */
}

.container {
    padding: 0;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1130px;
    }
}

/* Change these 3 selectors — add h1 */

h2[data-animate] .anim-word,
h1[data-animate] .anim-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

h2[data-animate] .anim-char,
h1[data-animate] .anim-char {
    display: inline-block;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

h2[data-animate].chars-visible .anim-char,
h1[data-animate].chars-visible .anim-char {
    transform: translateY(0%);
    opacity: 1;
}

h1 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 36px;
    line-height: 50px;
    background: linear-gradient(89.99deg, #E15625 0.01%, #FF794A 63.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 20px;
}

h1 span {
    background: #256C91;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 35px;
    line-height: 47px;
    background: linear-gradient(89.99deg, #E15625 0.01%, #FF794A 63.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0;
}

h2 span {
    background: #256C91;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

p.description {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #464646;
    margin-bottom: 0;
}

#backToTopBtn {
    position: fixed;
    bottom: 55px;
    right: 20px;
    cursor: pointer;
    display: none;
}

#backToTopBtn div {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#backToTopBtn button {
    /* padding: 12px 20px; */
    width: 40px;
    height: 40px;
    background: #FF794A;
    border: 3px solid #FF794A;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

#backToTopBtn p {
    font-size: 14px;
    color: #FF794A;
    margin-bottom: 0;
    margin-top: 5px;
}

#backToTopBtn.scrolled-90 p {
    color: #FF794A;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile#backToTopBtn {
        display: none !important;
    }

    #backToTopBtn {
        display: none;
    }

    #backToTopBtn.show {
        display: block;
    }

    .desktop {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 22px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 10px;
    }

    p.description {
        font-size: 13px;
        line-height: 18px;
    }
}

.career-hero .container {
    padding: 80px 0px 0px 60px;
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    border-radius: 15px;
}

.career-hero .hero-image img {
    width: 100%;
    height: auto;
}

.icp-career-hero {
    margin-top: 70px;
}

.icp-career-hero .container {
    padding-top: 60px;
}

.icp-career-hero img {
    height: 390px !important;
    object-fit: contain;
    margin-top: -130px;
}

@media (min-width: 992px) and (max-width: 1200px) {

    .icp-career-hero img {
        margin-top: -74px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .icp-career-hero .hero-content h1 {
        font-size: 27px !important;
        line-height: 40px !important;
    }

    .career-hero .container {
        padding: 40px 0px 0px 40px !important;
    }

    .icp-career-hero img {
        margin-top: -75px;
    }
}

@media (max-width: 767px) {
    .icp-career-hero {
        margin-top: 0;
    }

    .icp-career-hero .container {
        padding: 25px !important;
    }

    .icp-career-hero .hero-content h1 {
        font-size: 23px !important;
        line-height: 34px !important;
    }

    .icp-career-hero img {
        height: 280px !important;
        margin-top: 0;
    }

    .icp-career-hero .hero-content {
        margin-bottom: 0;
    }
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-section {
    padding: 80px 0;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-section .chars-visible {
    margin-bottom: 15px;
}

.contact-info-item {
    display: flex;
    /* align-items: center; */
    gap: 14px;
}

.contact-info-item a,
.contact-info-item span {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #575757;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #FF794A;
}

.contact-info-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.contact-divider {
    border: 1px solid #ACACAC;
    margin: 40px 0 30px;
}

/* --- Right form card --- */
.contact-form-card {
    border: 1px solid #FF794A;
    border-radius: 15px;
    padding: 36px 32px;
    background: #fff;
}

.contact-form-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 26px;
    line-height: 31px;
    color: #2356A5;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cf-field {
    position: relative;
}

.cf-field input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ACACAC;
    border-radius: 0;
    padding: 8px 0;
    font-family: 'Inter';
    font-size: 16px;
    line-height: 24px;
    color: #2356A5;
    background: transparent;
    outline: none;
    transition: border-color 0.25s;
}

.cf-field input::placeholder {
    color: #2356A5;
}

.cf-field input:focus {
    border-bottom-color: #E15625;
}

/* Custom dropdown */
.cf-dropdown {
    position: relative;
    cursor: pointer;
    outline: none;
}

.cf-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ACACAC;
    font-family: 'Inter';
    font-size: 16px;
    line-height: 24px;
    color: #2356A5;
    transition: border-color 0.25s;
    user-select: none;
}

.cf-dropdown.open .cf-dropdown-selected,
.cf-dropdown:focus .cf-dropdown-selected {
    border-bottom-color: #E15625;
}

.cf-dropdown-placeholder {
    color: #2356A5;
}

.cf-dropdown-selected .cf-selected-text {
    color: #2356A5;
}

.cf-dropdown-icon {
    color: #256C91;
    font-size: 13px;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.cf-dropdown.open .cf-dropdown-icon {
    transform: rotate(180deg);
}

.cf-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #FF794A;
    border-radius: 15px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cf-dropdown.open .cf-dropdown-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cf-dropdown-list li {
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #464646;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cf-dropdown-list li:hover {
    background: #FFF7F4;
    color: #E15625;
}

.cf-dropdown-list li.selected {
    color: #E15625;
    font-weight: 500;
}

.cf-submit {
    margin-top: 6px;
    padding: 10px 28px;
    background: #FF794A;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.25s, transform 0.2s;
}

.icp-hover-outer {
    display: inline-block;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    width: fit-content;
}

.icp-hover-outer .cf-submit {
    position: relative;
    z-index: 1;
    background: transparent;
    margin: 0;
    color: #fff;
}

.icp-hover-outer .cf-submit span {
    position: relative;
    z-index: 2;
    color: #fff;
}

.icp-hover-fill {
    position: absolute;
    inset: 0;
    clip-path: circle(0px at 50% 50%);
    pointer-events: none;
}

.contact-form-desc {
    padding-top: 36px;
    color: #2356A5;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .contact-section {
        padding: 25px 0;
    }

    .contact-section .chars-visible {
        /* margin-bottom: 15px; */
        text-align: left;
    }

    .contact-info-items {
        /* align-items: center; */
    }

    .contact-info-item img {
        width: 20px;
        height: 20px;
    }

    .contact-divider {
        margin: 20px 0 15px;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .contact-form-card {
        padding: 20px;
    }

    .contact-form-title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 10px;
    }

    .cf-field input,
    .cf-dropdown-selected {
        font-size: 15px;
    }

    .cf-submit {
        padding: 8px 20px;
        font-size: 14px;
        line-height: 24px;
    }
}