/* =====================================
   PAGE SETTINGS
===================================== */

.kandy-page {
    margin: 0;
    padding: 0;

    font-family: 'Poppins', sans-serif;

    background: #ffffff;
    color: #222222;

    overflow-x: hidden;
}


/* =====================================
   FIXED HEADER
===================================== */

.kandy-page #mainHeader {
    position: fixed !important;

    top: 12px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1600px;

    margin: 0;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);

    z-index: 1050;

    transition: box-shadow 0.3s ease;
}

.kandy-page #mainHeader.scrolled {
    background: #ffffff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.kandy-page main {
    margin: 0;
    padding: 0;
}


/* =====================================
   BANNER SECTION
===================================== */

.kandy-banner {
    position: relative;

    width: 100%;
    height: 420px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #222222;
}


/* =====================================
   FULL WIDTH BANNER IMAGE
===================================== */

.kandy-page .kandy-banner-image {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    z-index: 0;

    animation: none !important;
    transform: none !important;
}

.kandy-page .kandy-banner-image img {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 0 !important;

    animation: none !important;
    transform: none !important;
}


/* =====================================
   BANNER OVERLAY
===================================== */

.kandy-banner-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.20);

    z-index: 1;
}


/* =====================================
   BANNER CONTENT
===================================== */

.kandy-banner-container {
    position: relative;

    width: 100%;

    padding: 80px 30px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    z-index: 2;
}


/* =====================================
   BREADCRUMB
===================================== */

.kandy-breadcrumb {
    display: flex;
    align-items: center;

    gap: 15px;

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    animation: kandyFadeRight 1s ease both;
}

.kandy-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.3s ease;
}

.kandy-breadcrumb a:hover {
    color: #ffb800;
}

.kandy-breadcrumb i {
    font-size: 13px;

    color: #ffffff;
}

.kandy-breadcrumb span {
    color: #ffffff;
}


/* =====================================
   BANNER TITLE
===================================== */

.kandy-banner-title {
    margin: 0;

    font-size: 34px;
    font-weight: 600;

    line-height: 1.4;

    color: #ffffff;

    text-align: right;

    animation: kandyFadeLeft 1s ease both;
}


/* =====================================
   CONTENT SECTION
===================================== */

.kandy-content {
    width: 100%;

    padding: 20px 35px 25px;

    background: #ffffff;
}

.kandy-content-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
}


/* =====================================
   MAIN TITLE
===================================== */

.kandy-main-title {
    margin: 0 0 30px;

    font-size: 34px;
    font-weight: 500;

    line-height: 1.5;

    text-align: center;

    color: #222222;
}


/* =====================================
   DESCRIPTION
===================================== */

.kandy-description {
    width: 100%;
}

.kandy-description p {
    margin: 0 0 15px;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.85;

    color: #333333;

    text-align: justify;
}

.kandy-description p:last-child {
    margin-bottom: 0;
}

.kandy-description strong {
    font-weight: 600;

    color: #222222;
}


/* =====================================
   CONNECT WITH US SECTION
===================================== */

.kandy-connect {
    width: 100%;

    padding: 15px 10px;

    background: #f0f0f2;
}

.kandy-connect-container {
    width: 100%;

    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;

    gap: 15px;
}

.kandy-connect-container p {
    margin: 0;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.6;

    color: #222222;
}


/* =====================================
   CONNECT BUTTON
===================================== */

.kandy-connect-btn {
    justify-self: start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 10px 16px;

    background: #000000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 4px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.kandy-connect-btn:hover {
    background: #ffb800;
    color: #111111;

    transform: translateY(-2px);
}


/* =====================================
   SCROLL REVEAL ANIMATION
===================================== */

.kandy-reveal.animate-reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.kandy-reveal.animate-reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =====================================
   BANNER ANIMATIONS
===================================== */

@keyframes kandyFadeRight {

    from {
        opacity: 0;

        transform: translateX(-40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}

@keyframes kandyFadeLeft {

    from {
        opacity: 0;

        transform: translateX(40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}


/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 1024px) {

    .kandy-page #mainHeader {
        top: 10px;

        width: calc(100% - 30px);

        border-radius: 18px;
    }

    .kandy-banner {
        height: 380px;
    }

    .kandy-banner-container {
        padding: 70px 25px 0;
    }

    .kandy-banner-title {
        font-size: 30px;
    }

    .kandy-main-title {
        font-size: 30px;
    }

    .kandy-content {
        padding: 25px;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .kandy-page #mainHeader {
        top: 8px;

        width: calc(100% - 20px);

        border-radius: 15px;
    }

    .kandy-banner {
        height: 340px;
    }

    .kandy-banner-container {
        padding: 70px 20px 0;

        flex-direction: column-reverse;

        justify-content: center;

        gap: 15px;
    }

    .kandy-banner-title {
        font-size: 28px;

        text-align: center;
    }

    .kandy-breadcrumb {
        font-size: 12px;

        gap: 10px;
    }

    .kandy-content {
        padding: 25px 20px;
    }

    .kandy-main-title {
        margin-bottom: 20px;

        font-size: 25px;
    }

    .kandy-description p {
        font-size: 14px;

        line-height: 1.9;

        text-align: left;
    }

    .kandy-connect {
        padding: 20px 15px;
    }

    .kandy-connect-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 15px;
    }

    .kandy-connect-container p {
        font-size: 14px;
    }

    .kandy-connect-btn {
        justify-self: center;
    }

}


/* =====================================
   SMALL MOBILE RESPONSIVE
===================================== */

@media (max-width: 480px) {

    .kandy-page #mainHeader {
        top: 5px;

        width: calc(100% - 16px);

        border-radius: 12px;
    }

    .kandy-banner {
        height: 300px;
    }

    .kandy-banner-title {
        font-size: 25px;
    }

    .kandy-breadcrumb {
        font-size: 11px;
    }

    .kandy-main-title {
        font-size: 22px;

        line-height: 1.5;
    }

    .kandy-content {
        padding: 20px 15px;
    }

    .kandy-description p {
        font-size: 13px;
    }

    .kandy-connect-container p {
        font-size: 13px;
    }

    .kandy-connect-btn {
        font-size: 12px;
    }

}


/* =====================================
   REDUCED MOTION
===================================== */

@media (prefers-reduced-motion: reduce) {

    .kandy-breadcrumb,
    .kandy-banner-title {
        animation: none !important;
    }

    .kandy-reveal.animate-reveal {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .kandy-page #mainHeader,
    .kandy-connect-btn,
    .kandy-breadcrumb a {
        transition: none !important;
    }

}