.ck-content {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* ===================================== */
/* Header Menu Palette + Contrast        */
/* ===================================== */

:root {
    --site-menu-primary: #0d6efd;
    --site-menu-secondary: #393d72;
    --site-menu-accent: #b04f4f;
    --site-menu-surface: #f4f7ff;
    --site-menu-border: rgba(57, 61, 114, 0.2);
}

.navbar .navbar-nav {
    font-family: 'Montserrat', sans-serif;
}

.navbar .navbar-nav .nav-link {
    color: var(--site-menu-secondary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--site-menu-primary);
}

.navbar .dropdown-toggle::after {
    color: var(--site-menu-secondary);
}

.navbar .nav-item .dropdown-menu.site-menu-dropdown {
    background: #ffffff;
    border: 1px solid var(--site-menu-border);
    border-radius: 12px !important;
    box-shadow: 0 14px 30px rgba(27, 35, 70, 0.12);
    padding: 0.4rem;
    min-width: 15rem;
}

.navbar .site-menu-dropdown .dropdown-item {
    color: var(--site-menu-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar .site-menu-dropdown .dropdown-item:hover,
.navbar .site-menu-dropdown .dropdown-item:focus {
    background: linear-gradient(90deg, #eef4ff 0%, #f8fbff 100%);
    color: var(--site-menu-primary);
    transform: translateX(2px);
}

.navbar .site-menu-dropdown .dropdown-item:active {
    background: var(--site-menu-accent);
    color: #ffffff;
}

.topbar .top-link a:hover {
    background: var(--site-menu-accent) !important;
}

.topbar .top-link a:hover i {
    color: #ffffff !important;
}

.btn.btn-primary {
    background: var(--site-menu-primary);
    border-color: var(--site-menu-primary);
    color: #ffffff;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background: var(--site-menu-secondary) !important;
    border-color: var(--site-menu-secondary) !important;
    color: #ffffff !important;
}

@media (max-width: 1199.98px) {
    .navbar .nav-item .dropdown-menu.site-menu-dropdown {
        background: var(--site-menu-surface);
        box-shadow: none;
        border-radius: 10px !important;
        margin-top: 0.35rem;
    }
}

/* ===================================== */
/* Page Builder - Promo Section */
/* ===================================== */

.promo-section {
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    isolation: isolate;
}

.promo-section .promo-container {
    width: 100%;
    z-index: 3;
}

.promo-section .promo-row {
    min-height: 480px;
}

.promo-section .promo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.50),
        rgba(0, 0, 0, 0.20)
    );
    pointer-events: none;
}

.promo-section .promo-background-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.promo-section .promo-text {
    position: relative;
    z-index: 4;
}

.promo-section .promo-title {
    color: inherit;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.promo-section .promo-title > * {
    color: inherit;
    margin-bottom: 0;
}

.promo-section .promo-content {
    max-width: 850px;
    color: inherit;
}

.promo-section .promo-content,
.promo-section .promo-content p,
.promo-section .promo-content h1,
.promo-section .promo-content h2,
.promo-section .promo-content h3,
.promo-section .promo-content h4,
.promo-section .promo-content h5,
.promo-section .promo-content h6,
.promo-section .promo-content span {
    color: inherit;
}

.promo-section .promo-content p:last-child {
    margin-bottom: 0;
}

.promo-section .promo-button-wrapper,
.promo-section .promo-button-wrapper .btn {
    position: relative;
    z-index: 5;
}

.promo-section .btn {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.promo-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

@media (max-width: 991.98px) {
    .promo-section {
        min-height: 500px;
    }

    .promo-section .promo-row {
        min-height: 400px;
    }

    .promo-section .promo-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .promo-section {
        min-height: 420px;
    }

    .promo-section .promo-row {
        min-height: 340px;
    }

    .promo-section .promo-title {
        font-size: 2rem;
    }

    .promo-section .promo-content {
        font-size: 1rem !important;
    }

    .promo-section .promo-button-wrapper .btn {
        width: 100%;
    }

    /* ===================================== */
    /* Page Documents */
    /* ===================================== */
    
    .page-documents {
        background-color: #fff;
    }
    
    .document-card {
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
    }
    
    .document-card:hover {
        transform: translateY(-6px);
        border-color: var(--bs-primary) !important;
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    }
    
    .document-icon {
        width: 68px;
        height: 68px;
    }
    
    .document-card h3 {
        line-height: 1.4;
    }
}
/* ===================================== */
/* Dynamic Page Video Section            */
/* ===================================== */

.page-video-wrapper {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
}

.page-video-cover,
.page-video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.page-video-placeholder {
    background:
        linear-gradient(
            135deg,
            rgba(67, 97, 238, 0.95),
            rgba(255, 107, 107, 0.9)
        );
}

.page-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.page-video-wrapper:hover .page-video-overlay {
    background: rgba(0, 0, 0, 0.38);
}

/* Play button */

.page-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;

    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    color: #ffffff;
    background: var(--bs-primary);

    transform: translate(-50%, -50%);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.page-video-play-button::before,
.page-video-play-button::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 50%;
    background: var(--bs-primary);

    z-index: -1;
    animation: page-video-pulse 1.8s infinite;
}

.page-video-play-button::after {
    animation-delay: 0.6s;
}

.page-video-play-button:hover {
    color: #ffffff;
    background: var(--bs-secondary);
    transform: translate(-50%, -50%) scale(1.08);
}

.page-video-play-button:hover::before,
.page-video-play-button:hover::after {
    background: var(--bs-secondary);
}

.page-video-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}

.page-video-play-icon i {
    margin-left: 5px;
}

@keyframes page-video-pulse {
    0% {
        opacity: 0.65;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.75);
    }
}

/* Decorations */

.page-video-decoration {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.page-video-decoration.decoration-one {
    width: 110px;
    height: 110px;
    top: -35px;
    left: -35px;

    border-radius: 50%;
    background: var(--bs-secondary);
    opacity: 0.85;
}

.page-video-decoration.decoration-two {
    width: 90px;
    height: 90px;
    right: -25px;
    bottom: -25px;

    border-radius: 25px;
    background: var(--bs-primary);
    opacity: 0.85;
    transform: rotate(25deg);
}

/* Modal */

.page-video-modal .modal-content {
    overflow: hidden;
    border-radius: 24px;
}

.page-video-modal .modal-header {
    z-index: 10;
}

.page-video-modal .btn-close {
    opacity: 1;
}

/* Responsive */

@media (max-width: 991.98px) {
    .page-video-wrapper,
    .page-video-cover,
    .page-video-placeholder {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .page-video-wrapper,
    .page-video-cover,
    .page-video-placeholder {
        min-height: 260px;
    }

    .page-video-play-button {
        width: 70px;
        height: 70px;
    }

    .page-video-play-icon {
        font-size: 22px;
    }
}

/* ===================================== */
/* Dynamic Promo Section                 */
/* ===================================== */

.page-promo-section {
    width: 100%;
    min-height: 480px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    isolation: isolate;
}

.page-promo-container {
    z-index: 3;
}

.page-promo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            135deg,
            rgba(18, 27, 63, 0.48),
            rgba(67, 97, 238, 0.32)
        );
}

.page-promo-content {
    position: relative;
    z-index: 3;

    width: 100%;
    padding: 70px 50px;
}

.page-promo-title,
.page-promo-body {
    position: relative;
    z-index: 3;
}

/*
The promo text normally needs to remain visible
over the background image.
*/
.page-promo-section .page-promo-title,
.page-promo-section .page-promo-title h1,
.page-promo-section .page-promo-title h2,
.page-promo-section .page-promo-title h3,
.page-promo-section .page-promo-title h4,
.page-promo-section .page-promo-title h5,
.page-promo-section .page-promo-title h6,
.page-promo-section .page-promo-body,
.page-promo-section .page-promo-body p {
    color: inherit;
}

/* Decorations */

.page-promo-decoration {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.page-promo-decoration.decoration-one {
    width: 180px;
    height: 180px;

    top: -80px;
    left: -60px;

    border-radius: 50%;
    background: var(--bs-secondary);
    opacity: 0.3;
}

.page-promo-decoration.decoration-two {
    width: 150px;
    height: 150px;

    right: -50px;
    bottom: -70px;

    border-radius: 35px;
    background: var(--bs-primary);
    opacity: 0.35;

    transform: rotate(25deg);
}

/* Button */

.page-promo-button-wrapper .btn {
    position: relative;
    z-index: 4;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.page-promo-button-wrapper .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

/* Responsive */

@media (max-width: 991.98px) {
    .page-promo-section {
        min-height: 420px;
    }

    .page-promo-content {
        padding: 60px 30px;
    }
}

@media (max-width: 575.98px) {
    .page-promo-section {
        min-height: 380px;
    }

    .page-promo-content {
        padding: 50px 15px;
    }

    .page-promo-button-wrapper .btn {
        width: 100%;
    }
}

/* ===================================== */
/* Dynamic Gallery Section               */
/* ===================================== */

.page-gallery-section {
    width: 100%;
}

.page-gallery-carousel {
    position: relative;
}

.page-gallery-item {
    padding: 6px;
}

.page-gallery-link {
    display: block;
    text-decoration: none;
}

.page-gallery-card {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: 24px;

    background: #f8f9fa;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.1);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.page-gallery-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.35s ease;
}

.page-gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    background: rgba(67, 97, 238, 0.35);

    transition:
        opacity 0.35s ease,
        background-color 0.35s ease;
}

.page-gallery-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
    background: var(--bs-secondary);

    font-size: 22px;

    transform: scale(0.75);

    transition:
        transform 0.35s ease,
        background-color 0.35s ease;
}

.page-gallery-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.16);
}

.page-gallery-card:hover .page-gallery-image {
    transform: scale(1.08);
}

.page-gallery-card:hover .page-gallery-overlay {
    opacity: 1;
}

.page-gallery-card:hover .page-gallery-icon {
    transform: scale(1);
}

/* Owl navigation */

.page-gallery-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 28px;
}

.page-gallery-carousel .owl-nav button.owl-prev,
.page-gallery-carousel .owl-nav button.owl-next {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50% !important;

    color: #ffffff !important;
    background: var(--bs-primary) !important;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.page-gallery-carousel .owl-nav button:hover {
    background: var(--bs-secondary) !important;
    transform: translateY(-2px);
}

/* Owl dots */

.page-gallery-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.page-gallery-carousel .owl-dot span {
    width: 10px !important;
    height: 10px !important;

    background: rgba(67, 97, 238, 0.3) !important;

    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.page-gallery-carousel .owl-dot.active span {
    width: 28px !important;

    background: var(--bs-primary) !important;
}

/* Mobile */

@media (max-width: 575.98px) {
    .page-gallery-card {
        border-radius: 18px;
    }

    .page-gallery-icon {
        width: 54px;
        height: 54px;

        font-size: 19px;
    }
}