body {
    min-height: 100vh;
}

.card {
    border-radius: 0.9rem;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.125rem;
}

@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 1rem;
        border: 0;
        box-shadow: none;
    }
}

.site-main {
    min-height: 55vh;
}

.site-main.site-main-full {
    padding: 0;
}

.page-home .site-main.site-main-full {
    background:
        radial-gradient(1100px 500px at 100% -10%, rgba(13, 110, 253, 0.14), transparent 60%),
        radial-gradient(900px 450px at -10% 30%, rgba(25, 135, 84, 0.12), transparent 58%),
        #f7f9fc;
}

.home-modern-page {
    overflow: hidden;
}

.home-hero-slider-section {
    margin-bottom: 2rem;
}

.home-hero-slider {
    border-radius: 0;
    overflow: hidden;
}

.home-hero-item {
    min-height: 540px;
    position: relative;
}

.home-hero-media {
    height: 540px;
    overflow: hidden;
}

.home-hero-image,
.home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(9, 18, 44, 0.8) 18%, rgba(9, 18, 44, 0.4) 52%, rgba(9, 18, 44, 0.2) 100%);
}

.home-hero-caption-wrap {
    right: auto;
    left: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    text-align: left;
    z-index: 3;
    padding-bottom: 3rem;
}

.home-hero-caption {
    max-width: 720px;
}

.home-hero-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #f8fafc;
    text-transform: uppercase;
}

.home-hero-title {
    color: #fff;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 0.85rem;
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
}

.home-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.35rem;
    font-size: 1.05rem;
}

.home-primary-btn {
    border: 0;
    background: linear-gradient(120deg, #0d6efd, #22b8cf);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 28px rgba(13, 110, 253, 0.28);
}

.home-primary-btn:hover {
    color: #fff;
    filter: brightness(1.02);
    transform: translateY(-1px);
}

.home-hero-indicators {
    margin-bottom: 1.25rem;
}

.home-hero-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.home-hero-control {
    width: 8%;
}

.home-hero-control .carousel-control-prev-icon,
.home-hero-control .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    background-size: 60% 60%;
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 999px;
}

.home-builder-sections {
    position: relative;
    z-index: 1;
}

.home-modules-section {
    position: relative;
}

.home-section-block {
    margin-bottom: 0.25rem;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.home-section-kicker {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.35rem;
}

.home-section-title {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
    font-size: clamp(1.3rem, 2vw, 2rem);
}

.home-link-btn {
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    color: #0d6efd;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(13, 110, 253, 0.26);
    border-radius: 0.65rem;
    background: #fff;
}

.home-link-btn:hover {
    color: #084298;
}

.home-module-card {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.home-module-card-body {
    padding: 1.15rem;
}

.home-module-card-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.65rem;
}

.home-module-card-text {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.home-card-link {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d6efd;
}

.home-card-link:hover {
    color: #084298;
}

.home-partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.home-partner-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    font-size: 0.88rem;
    color: #1f2937;
}

.home-contact-card {
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(120deg, #0f172a, #0d6efd);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
}

.home-contact-card-inner {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.home-contact-card .home-section-kicker,
.home-contact-card .home-section-title {
    color: #fff;
}

.home-contact-meta {
    color: rgba(255, 255, 255, 0.92);
}

.home-contact-link {
    color: inherit;
    text-decoration: none;
}

.home-contact-link:hover {
    color: #fff;
}

.home-feature-panel,
.home-stats-panel,
.home-cta-panel,
.home-custom-html-panel,
.home-empty-card {
    border-radius: 1.2rem;
    padding: clamp(1.2rem, 2vw, 2rem);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.home-feature-hero {
    background: linear-gradient(120deg, #0f172a, #0d6efd);
    border-color: transparent;
    color: #fff;
}

.home-feature-hero .home-section-kicker,
.home-feature-hero .home-feature-title,
.home-feature-hero .home-feature-text {
    color: #fff;
}

.home-feature-title {
    font-weight: 800;
    font-size: clamp(1.3rem, 2vw, 2rem);
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.home-feature-text {
    color: #4b5563;
    line-height: 1.65;
}

.home-stats-panel {
    background: linear-gradient(130deg, #0f172a, #1f2937);
    color: #fff;
}

.home-stats-panel .home-section-kicker,
.home-stats-panel .home-section-title {
    color: #fff;
}

.home-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9rem;
    padding: 1rem;
    text-align: center;
}

.home-stat-value {
    font-weight: 800;
    font-size: 1.5rem;
}

.home-stat-label {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.85rem;
}

.home-cta-panel {
    background: linear-gradient(120deg, #0d6efd, #06b6d4);
    color: #fff;
}

.home-cta-panel .home-section-kicker,
.home-cta-panel .home-section-title,
.home-cta-panel .home-feature-text {
    color: #fff;
}

.home-custom-html-panel > :last-child {
    margin-bottom: 0;
}

.home-empty-state {
    min-height: 34vh;
}

@media (max-width: 991.98px) {
    .home-hero-item,
    .home-hero-media {
        min-height: 420px;
        height: 420px;
    }

    .home-hero-caption-wrap {
        align-items: flex-end;
        padding-bottom: 2.4rem;
    }

    .home-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .home-hero-item,
    .home-hero-media {
        min-height: 350px;
        height: 350px;
    }

    .home-hero-caption-wrap {
        padding-bottom: 1.6rem;
    }

    .home-hero-slider .carousel-caption {
        right: 6%;
        left: 6%;
    }
}

.site-topbar {
    z-index: 1040;
}

.topbar-link {
    color: inherit;
    opacity: 0.92;
}

.topbar-link:hover {
    color: inherit;
    opacity: 1;
}

.site-header {
    z-index: 1030;
    backdrop-filter: saturate(140%) blur(10px);
}

.site-header .navbar-nav .nav-link,
.site-header .dropdown-item {
    color: var(--header-text, #111827);
}

.site-header .navbar-nav .nav-link:hover,
.site-header .dropdown-item:hover {
    color: var(--header-text, #111827);
    opacity: 0.82;
}

.site-header .dropdown-menu {
    border-radius: 0.7rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

@media (min-width: 992px) {
    .site-header .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.site-brand {
    color: var(--header-text, #111827);
}

.site-brand .site-logo {
    display: block;
    max-height: 52px;
    width: auto;
}

.site-brand .site-logo-sticky,
.site-brand .site-logo-mobile {
    display: none;
}

.site-header.is-scrolled .site-brand.has-sticky-logo .site-logo-default {
    display: none;
}

.site-header.is-scrolled .site-brand.has-sticky-logo .site-logo-sticky {
    display: block;
}

.site-header-toggler {
    border-color: rgba(17, 24, 39, 0.2);
}

.site-header .site-header-cta:hover {
    filter: brightness(0.95);
}

.site-footer .footer-link {
    color: inherit;
    opacity: 0.88;
}

.site-footer .footer-link:hover {
    color: inherit;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .site-brand.has-mobile-logo .site-logo-default,
    .site-brand.has-mobile-logo .site-logo-sticky {
        display: none !important;
    }

    .site-brand.has-mobile-logo .site-logo-mobile {
        display: block;
    }
}
