/* ============================================================
   HEADER & FOOTER STYLES — international-career-pathways
   ============================================================ */

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* ================= NAV ================= */

.ccs-nav {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 14px 0;
    z-index: 99999;
}

.ccs-brand img {
    width: 150px;
}

/* ================= SEARCH ================= */

.search {
    --font-size: 16px;
    --color: #1e3a8a;
    --easing: cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: border-color 0.7s ease, padding 1s var(--easing);
}

.search__input {
    background: transparent;
    border: none;
    outline: none;
    width: 0;
    opacity: 0;
    font-size: var(--font-size);
    padding: 0;
    transition: width 1s var(--easing), padding 1s var(--easing), opacity 0.8s ease;
}

.search__icon-container {
    width: 44px;
    height: 44px;
    position: relative;
    transform-origin: center center;
}

.search__label,
.search__submit {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.8s var(--easing), opacity 0.7s ease, background 0.3s ease;
    background: #F4F4F4;
    z-index: 1;
}

.search__label svg,
.search__submit svg {
    width: 18px;
    height: 18px;
}

.search__label svg path,
.search__submit svg path {
    fill: #2356A5;
}

.search__submit {
    border: none;
    background: #F4F4F4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.search:focus-within,
.search.is-open {
    border-color: #d1d5db;
    padding-left: 10px;
}

.search:focus-within .search__input,
.search.is-open .search__input {
    width: 220px;
    opacity: 1;
    padding: 0 10px;
}

.search:focus-within .search__label,
.search.is-open .search__label {
    opacity: 0;
    pointer-events: none;
}

.search__label svg {
    transform-origin: center center;
    display: block;
}

@keyframes searchIconSpinOpen {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes searchIconSpinClose {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.search:focus-within .search__submit,
.search.is-open .search__submit {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .search {
        --font-size: 14px;
        max-width: 200px;
    }

    .search__icon-container {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .search__label svg,
    .search__submit svg {
        width: 16px;
        height: 16px;
    }

    .search:focus-within .search__input,
    .search.is-open .search__input {
        width: 120px;
        padding: 0 6px;
    }

    .search:focus-within,
    .search.is-open {
        padding-left: 6px;
    }

    .search:focus-within,
    .search.is-open {
        transform: translateX(38px) !important;
    }

    .drawer-right .close-desktop {
        right: 25px !important;
        top: 25px !important;
    }

    .drawer-right .close-desktop .line {
        width: 25px !important;
    }

    .drawer-right .close-desktop .close-wrapper {
        width: 25px !important;
        height: 25px !important;
    }

    .menu-round-img img {
        display: none;
    }
}

/* ================= BURGER ================= */

.ccs-burger {
    padding: 8px 15px;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: 0;
    background: linear-gradient(270deg, #FFF7F4 11.9%, #EFF5FF 84.13%);
    border-radius: 50px;
    transform: rotate(180deg);
}

.burger {
    height: 18px;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.burger span {
    height: 2px;
    width: 20px;
    background: #E15625;
    border-radius: 5px;
    display: block;
    animation: wave-reverse 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.burger:hover span {
    animation: wave-forward 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.burger:hover span:nth-child(1) {
    animation-delay: 0s;
}

.burger:hover span:nth-child(2) {
    animation-delay: 0.1s;
}

.burger:hover span:nth-child(3) {
    animation-delay: 0.2s;
}

.burger span:nth-child(3) {
    animation-delay: 0s;
}

.burger span:nth-child(2) {
    animation-delay: 0.1s;
}

.burger span:nth-child(1) {
    animation-delay: 0.2s;
}

@keyframes wave-forward {
    0% {
        transform: translateX(0);
    }

    49% {
        transform: translateX(105%);
    }

    50% {
        transform: translateX(-105%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes wave-reverse {
    0% {
        transform: translateX(0);
    }

    49% {
        transform: translateX(-105%);
    }

    50% {
        transform: translateX(105%);
    }

    100% {
        transform: translateX(0);
    }
}

.burger span {
    animation-play-state: paused;
}

.burger:hover span,
.burger span {
    animation-play-state: running;
}

/* ================= DRAWER ================= */

.drawer-left {
    width: 60%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.drawer-right {
    width: 60%;
    height: 100%;
    padding: 40px 60px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drawer-header {
    display: flex;
    flex-direction: column;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #464646;
}

.discover-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #464646;
    margin-bottom: 12px;
}

.ccs-close {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 24px;
    color: #E15625;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.ccs-close:hover {
    transform: rotate(90deg);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.home-icon {
    font-size: 16px;
    margin-left: 4px;
    margin-top: -15px;
    color: #2356A5;
    rotate: -45deg;
}

.drawer-contact {
    margin-top: 35px;
    margin-bottom: 15px;
}

.drawer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #464646;
    margin-bottom: 15px;
}

.drawer-email-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-item i {
    color: #FF794A;
    font-size: 16px;
    width: 15px;
}

.contact-item a {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #256C91;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
}

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

.contact-item a:hover:before {
    color: #E15625;
    transform: scaleX(1);
    transform-origin: left;
}

.contact-item a:before {
    background: currentColor;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    pointer-events: none;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .8s cubic-bezier(.24, .43, .15, .97);
    width: 100%;
}

.drawer-social h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #464646;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #FF794A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF794A;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.social-icon:hover {
    background: #FF794A;
    color: #fff;
    border-color: #FF794A;
    transform: translateY(-3px);
}

.ccs-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1500;
}

.menu-round-img {
    position: absolute;
    right: 0;
    bottom: 0;
}

.menu-round-img img {
    width: 300px;
}

.drawer-right {
    width: 100%;
    padding: 30px 25px;
}

.drawer-nav {
    margin-bottom: 20px;
}

.ccs-drawerTop {
    margin-top: 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .drawer-right {
        width: 65%;
        padding: 40px 40px;
    }
}

/* ================= DRAWER OPEN/CLOSE ================= */

.ccs-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    z-index: 999999;
    display: flex;
    flex-direction: row;
    gap: 80px;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.5, 0, 0.6, 0);
    will-change: transform;
}

.ccs-drawer.is-open {
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.5, 0, 0.6, 0);
}

.ccs-drawer.is-exiting {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.5, 0, 0.6, 0);
}

/* ================= DRAWER IMAGE HOVER ================= */

.drawer-left {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.drawer-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out, clip-path 0.8s ease-in-out;
    will-change: transform, clip-path;
}

.drawer-image.is-incoming {
    clip-path: inset(100% 0 0 0);
    transform: scale(1.2);
    z-index: 2;
}

.drawer-image.is-active {
    clip-path: inset(0% 0 0 0);
    transform: scale(1);
    z-index: 1;
}

.drawer-image.is-outgoing {
    clip-path: inset(0% 0 0 0);
    transform: scale(1);
    z-index: 0;
}

/* ================= DRAWER CLOSE ICON ================= */

.drawer-right .close-desktop {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-self: center;
    margin: calc(-2000svh / 812);
    padding: calc(2000svh / 812);
    position: absolute;
    right: calc(64 / 1440 * 100vw + 5 / 1440 * 100vw);
    top: calc(30 / 1440 * 100vw);
    z-index: 2;
}

.drawer-right .close-desktop .close-wrapper {
    height: calc(28 / 1440 * 100vw);
    overflow: hidden;
    position: relative;
    width: calc(28 / 1440 * 100vw);
}

.drawer-right .close-desktop .line-wrapper:first-child {
    transform: rotate(135deg);
}

.drawer-right .close-desktop .line-wrapper:last-child {
    transform: rotate(-135deg);
}

.drawer-right .close-desktop .line-wrapper {
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    transform-origin: center;
    width: 100%;
}

.drawer-right .close-desktop:hover .line.line-1 {
    transform: translate(120%, -50%) !important;
}

.drawer-right .close-desktop .line.line-1:before {
    transform: translate(-170%, -50%);
}

.drawer-right .close-desktop .line.line-2 {
    transform: translate(-50%, -50%);
    transition: transform .8s cubic-bezier(.24, .43, .15, .97) 0s;
}

.drawer-right .close-desktop .line.line-2:before {
    transform: translate(170%, -50%);
}

.drawer-right .close-desktop .line {
    background-color: #2b3530;
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: calc(28 / 1440 * 100vw);
    will-change: transform;
}

.drawer-right .close-desktop .line:before {
    background-color: #2b3530;
    content: "";
    height: 1px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
}

.drawer-right .close-desktop:hover .line.line-1 {
    transform: translate(120%, -50%) !important;
}

.drawer-right .close-desktop .line.line-1 {
    transform: translate(-50%, -50%);
    transition: transform .8s cubic-bezier(.24, .43, .15, .97) .15s;
}

.drawer-right .close-desktop:hover .line.line-2 {
    transform: translate(-220%, -50%) !important;
}

.drawer-right .close-desktop .line.line-2 {
    transform: translate(-50%, -50%);
    transition: transform .8s cubic-bezier(.24, .43, .15, .97) 0s;
}

/* ================= NAV LINKS ================= */

.ccs-link {
    display: block;
    padding: 7px 0;
    text-decoration: none;
    color: #256C91;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
    padding-left: 0;
}

.ccs-link::before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: -25px;
    top: 40px;
    opacity: 0;
    transform: rotate(-45deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #E15625;
}

.ccs-link:hover {
    color: #E15625;
    padding-left: 30px;
}

.ccs-link:hover::before {
    opacity: 1;
    left: 5px;
    top: 10px;
    transform: rotate(-45deg);
}

.ccs-link.home-link {
    display: flex;
    align-items: center;
    color: #E15625;
}

/* ================= SEARCH TOGGLE ================= */

.nav-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ccs-burger {
    transition: opacity .4s ease, transform .4s ease;
}

.search.is-open~.ccs-burger {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.search {
    transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.search.is-open {
    transform: translateX(70px);
}

/* ================= FOOTER ================= */

.footer-section {
    background: #3a3a3a;
    padding: 50px 0 30px;
    color: #ddd;
}

.footer-section .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-section .footer-logo img {
    width: 170px;
}

.footer-section .footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-section .footer-social span {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
}

.footer-section .footer-social>div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-section .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #FF794A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF794A;
    transition: .3s;
    text-decoration: none;
}

.footer-section .footer-social a:hover {
    background: #FF794A;
    color: #fff;
}

.footer-section .footer-card {
    background: #313131;
    border-radius: 0px 25px;
    padding: 40px 50px;
}

.footer-section .footer-card h5 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section .footer-card h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: #FF794A;
}

.footer-section .footer-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-card ul li {
    margin-bottom: 12px;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 6px;
}

.footer-section .footer-card ul li:hover {
    color: #ff794a;
}

.footer-section .footer-card ul li img {
    width: 18px;
}

.footer-section .footer-card ul li i {
    font-size: 15px;
    color: #FF794A;
    margin-right: 8px;
}

.footer-section .footer-card ul li a {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    text-decoration: none;
    transition: .3s;
    display: flex;
    gap: 15px;
}

.footer-section .footer-card ul li a:hover {
    color: #ff794a;
}

.footer-section .footer-bottom {
    margin-top: 35px;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-section .footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.footer-section .footer-bottom .footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-section .footer-bottom .footer-powered {
    white-space: nowrap;
}

.footer-section .footer-bottom a {
    text-decoration: none;
    color: #FFF;
    font-weight: 600;
}

.footer-section .footer-links a {
    color: #FF794A;
}

.ccs-footer-link {
    display: block;
    padding: 2px 0;
    text-decoration: none;
    color: #256C91;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    padding-left: 0;
}

.ccs-footer-link::before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: -25px;
    top: 40px;
    opacity: 0;
    transform: rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #ff794a;
}

.ccs-footer-link:hover {
    color: #E15625;
    padding-left: 20px;
}

.ccs-footer-link:hover::before {
    opacity: 1;
    left: 5px;
    top: 3px;
    transform: rotate(-45deg);
}

.ccs-footer-link.home-link {
    display: flex;
    align-items: center;
    color: #E15625;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .drawer-left {
        display: none;
    }

    .drawer-right {
        justify-content: flex-start;
        padding-top: 80px;
    }
}


/* ---- NAV responsive ---- */

@media (max-width: 991px) {
    .ccs-nav {
        padding: 12px 0;
    }
}

@media (max-width: 767px) {
    .ccs-nav {
        padding: 10px 0;
    }
}

/* ---- FOOTER responsive ---- */

@media (max-width: 767px) {
    .footer-section .footer-card .col-6 {
        width: 50%;
    }

    .ccs-footer-link {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .footer-section .footer-card .col-6 {
        /* width: 100%; */
        margin-bottom: 20px;
    }

    .footer-section .footer-card .col-6:last-child {
        margin-bottom: 0;
    }

    .ccs-footer-link {
        font-size: 14px;
    }

    .footer-section .footer-card {
        padding: 20px 15px;
    }
}

@media (max-width: 992px) {

    /* ================= Footer ================= */
    .footer-section .footer-top {
        align-items: flex-start;
        gap: 20px;
    }

    .footer-section .footer-card {
        padding: 40px 30px;
    }

    .footer-section .footer-card .col-md-6 {
        margin-bottom: 20px;
    }

    .footer-section .footer-card .col-md-6:last-child {
        margin-bottom: 0px;
    }
}

@media (min-width: 768px){
    .footer-section .footer-card .col-md-6:last-child h5 br{
        display: none;
    }
}

@media (max-width: 767px) {

    /* ================= Footer ================= */
    .footer-section {
        padding: 25px 0;
    }

    .footer-section .footer-logo img {
        width: 150px;
    }

    .footer-section .footer-social {
        display: block;
        text-align: end;
    }

    .footer-section .footer-social>div {
        margin-top: 5px;
        gap: 10px;
    }

    .footer-section .footer-social a {
        width: 35px;
        height: 35px;
    }

    .footer-section .footer-top {
        margin-bottom: 20px;
    }

    .footer-section .footer-card {
        padding: 20px;
    }

    .footer-section .footer-card h5 {
        margin-bottom: 20px;
    }

    .footer-section .footer-bottom {
        margin-top: 25px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-section .footer-bottom-left {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-section .footer-bottom .footer-links span:first-child {
        display: none;
    }
}