:root {
    --lh-blue: #154265; /* primary color aligned with footer */
    --lh-green: #93C842;
    --lh-red: #EC1F28;
    --lh-yellow: #F8E128;
    --lh-ink: #212222;
    --lh-navy: #154265;
    --lh-soft-blue: #f2f7fc;
    --lh-soft-gold: #fff9dc;
    --lh-white: #ffffff;
    --lh-muted: #5f6f7f;
    --lh-border: rgba(21, 66, 101, 0.12);
    --lh-shadow: 0 24px 60px rgba(21, 66, 101, 0.12);
    --lh-radius-xl: 32px;
    --lh-radius-lg: 24px;
    --lh-radius-md: 18px;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    font-family: "Nunito", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--lh-ink);
    background: #ffffff; /* use white background from template */
}

body.public-site h1,
body.public-site h2,
body.public-site h3,
body.public-site h4,
body.public-site h5,
body.public-site h6 {
    font-family: "Handlee", cursive;
    color: var(--lh-navy);
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(16,47,72,0.06);
}

.site-header .navbar {
    min-height: 86px;
}

.navbar-brand {
    text-decoration: none;
}

.brand-mark {
    width: 52px;
    height: 52px;
    /*border-radius: 16px;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, var(--lh-yellow), #fff1a0 55%, var(--lh-green));*/
    color: var(--lh-navy);
    font-weight: 800;
    letter-spacing: 0.08em;
    /*box-shadow: 0 12px 30px rgba(248, 225, 40, 0.3);*/
}

/* allow using an image logo inside the brand mark */
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-name {
    color: var(--lh-navy);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.brand-tagline {
    color: rgba(21, 66, 101, 0.72);
    font-size: 0.85rem;
}

.nav-link {
    color: rgba(0, 57, 79, 0.9) !important;
    font-weight: 600;
    padding: 0.6rem 0.85rem !important;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--lh-navy) !important;
    background: transparent;
}

.dropdown-menu {
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-md);
    box-shadow: var(--lh-shadow);
    padding: 0.4rem 0;
    min-width: 200px;
}

.dropdown-item {
    font-weight: 600;
    color: rgba(0, 57, 79, 0.9);
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    border-radius: 6px;
    margin: 0 0.25rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--lh-soft-blue);
    color: var(--lh-navy);
}



.site-header .fa-facebook-f,
.site-header .fa-instagram,
.site-header .fa-whatsapp {
    color: var(--lh-navy);
    font-size: 1rem;
}

.site-header .d-lg-flex a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header .d-lg-flex a:hover {
    background: rgba(21, 66, 101, 0.08);
}

.btn {
    border-radius: 30px;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--lh-blue);
    border-color: var(--lh-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #306997;
    border-color: #306997;
}

.btn-warning {
    color: var(--lh-ink);
    background-color: var(--lh-yellow);
    border-color: var(--lh-yellow);
}

.btn-warning:hover,
.btn-warning:focus {
    color: var(--lh-ink);
    background-color: #f1d510;
    border-color: #f1d510;
}

.btn-outline-primary {
    color: var(--lh-blue);
    border-color: rgba(21, 66, 101, 0.24);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--lh-blue);
    border-color: var(--lh-blue);
}

.hero-section,
.page-hero {
    position: relative;
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, var(--lh-navy), rgba(21,66,101,0.85));
    color: #fff;
}

.page-hero--centered {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .section-heading {
    color: #fff;
    font-family: "Handlee", cursive;
}

/* Hero main heading in template style */
.hero-section .display-4,
.page-hero .display-3,
.page-hero .display-4 {
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    line-height: 1.05;
}

.hero-section .hero-copy {
    color: rgba(255,255,255,0.9);
}

/* hero bg utility using brand blue */
.hero-bg-primary {
    background: var(--lh-blue);
    color: #fff;
}

.page-hero-soft {
    background: linear-gradient(135deg, var(--lh-navy), #123a58 50%, var(--lh-navy));
}

.page-hero-accent {
    background: radial-gradient(circle at top left, rgba(248, 225, 40, 0.06), transparent 28%), linear-gradient(135deg, #123a58, var(--lh-navy) 58%, #123a58);
}

.hero-badge,
.content-chip,
.breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.14);
    color: var(--lh-white);
    padding: 0.7rem 1rem;
}

.hero-copy,
.page-hero-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-media-card,
.content-panel,
.content-card,
.info-panel,
.value-card,
.contact-card {
    border-radius: var(--lh-radius-xl);
    overflow: hidden;
    box-shadow: var(--lh-shadow);
}

.hero-media-card {
    position: relative;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero-card {
    min-height: 320px;
}

/* Non-destructive helpers for additional hero layouts */
.page-hero-shell {
    width: 100%;
}

.page-hero-shell-centered {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-shell-standard {
    max-width: 860px;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-hero-media {
    margin-top: 2rem;
    max-width: 760px;
}

.hero-media-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.hero-media-overlay {
    position: absolute;
    inset: auto 24px 24px 24px;
    padding: 1.25rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(21, 66, 101, 0), rgba(21, 66, 101, 0.78));
}

/*.hero-highlights .hero-highlight-card,*/
.info-panel,
.value-card,
.contact-card,
.content-panel,
.content-card-body,
.mini-feature {
    background: var(--lh-white);
}

.hero-highlight-card {
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    /* stronger contrast for white text on top of the hero background */
    background: linear-gradient(135deg, rgba(21,66,101,0.92), rgba(35,86,125,0.88));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-highlight-card strong,
.hero-highlight-card span {
    display: block;
    color: var(--lh-white);
}

.hero-highlight-card span {
    font-size: 0.95rem;
    opacity: 0.8;
}

.section-space {
    padding: 5.5rem 0;
}

.section-heading-wrap {
    max-width: 720px;
}

.section-kicker,
.section-title-inline,
.section-title-template {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    padding-right: 4.5rem;
    color: var(--lh-blue);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: none;
    border-radius: 0;
}

.section-kicker::after,
.section-title-inline::after,
.section-title-template::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 3.25rem;
    height: 2px;
    background: var(--lh-blue);
    transform: translateY(-50%);
}

.page-hero .section-kicker {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero .section-kicker::after {
    background: rgba(255, 255, 255, 0.72);
}

.section-heading {
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    font-weight: 800;
    color: var(--lh-navy);
    line-height: 1.15;
}

.page-hero .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    justify-content: center;
    padding: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.page-hero .breadcrumb-item.active {
    color: #ffffff;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.section-lead {
    color: var(--lh-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.bg-soft-blue {
    background: var(--lh-soft-blue);
}

.bg-soft-gold {
    background: var(--lh-soft-gold);
}

.content-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--lh-white);
    border: 1px solid var(--lh-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(21, 66, 101, 0.16);
}

.content-card-image-wrap {
    position: relative;
    flex: 0 0 260px;
    min-height: 260px;
    max-height: 260px;
    background: linear-gradient(135deg, rgba(21, 66, 101, 0.08), rgba(147, 200, 66, 0.12));
    overflow: hidden;
}

.content-card-image,
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lh-blue);
    font-size: 2.2rem;
}

.content-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.6rem;
}

.content-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.9em * 3);
}

.content-card-meta {
    margin-top: 1rem;
}

.content-chip {
    padding: 0.45rem 0.85rem;
    background: rgba(147, 200, 66, 0.16);
    color: #5b7c16;
    font-size: 0.82rem;
}

.image-stack-main {
    border-radius: var(--lh-radius-xl);
    min-height: 460px;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--lh-shadow);
}

.mini-feature {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.4rem;
    height: 100%;
    border-radius: var(--lh-radius-lg);
    border: 1px solid var(--lh-border);
    box-shadow: var(--lh-shadow);
}

.mini-feature-with-image {
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.mini-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 66, 101, 0.06);
    color: var(--lh-navy);
}

.mini-feature-image-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(21, 66, 101, 0.06);
}

.mini-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mini-feature-with-image:hover .mini-feature-image {
    transform: scale(1.04);
}

.mini-feature-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.3rem 1.4rem 1.45rem;
    text-align: center;
}

.info-panel,
.value-card,
.contact-card,
.content-panel {
    padding: 2rem;
    border: 1px solid var(--lh-border);
}

.content-panel-accent {
    background: linear-gradient(180deg, rgba(21, 66, 101, 0.06), rgba(147, 200, 66, 0.06));
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bg-brand-blue {
    background: var(--lh-blue);
}

.bg-brand-green {
    background: var(--lh-green);
}

.bg-brand-red {
    background: var(--lh-red);
}

.bg-brand-yellow {
    background: var(--lh-yellow);
}

.cta-section {
    background: linear-gradient(135deg, var(--lh-navy), #255b84 60%, var(--lh-blue));
}

.cta-link {
    color: var(--lh-yellow);
    text-decoration: none;
}

.cta-link:hover {
    color: #fff7b0;
}

.site-footer {
    background: var(--lh-navy);
}

.template-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.template-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(21, 66, 101, 0.12);
    color: var(--lh-muted);
}

.template-check-list li:first-child {
    border-top: 1px solid rgba(21, 66, 101, 0.12);
}

.template-check-list i {
    color: var(--lh-green);
    margin-top: 0.15rem;
}

.template-check-image {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--lh-shadow);
}

.template-side-image {
    border-radius: var(--lh-radius-md);
    width: 100%;
    min-height: 180px;
    object-fit: cover;
    box-shadow: var(--lh-shadow);
}

.contact-info-stack {
    display: grid;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lh-blue);
    color: var(--lh-white);
}

.footer-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--lh-white);
}

.footer-muted,
.footer-contact span,
.footer-links a,
.footer-contact a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 0.85rem;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
}

.footer-contact li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 0.25rem;
    color: var(--lh-yellow);
}

.footer-social {
    display:flex;
    gap:0.5rem;
    margin-top:1rem;
}
    .footer-social a {
        color: var(--lh-white);
        border: 1px solid rgba(255,255,255,0.12);
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color .2s ease,border-color .2s ease;
        text-decoration: none;
    }
.footer-social a:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.24)}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-pill {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.breadcrumb-pill a,
.breadcrumb-pill strong {
    color: inherit;
    text-decoration: none;
}

.gallery-section {
    width: 100%;
}

.gallery-tile {
    position: relative;
    border-radius: var(--lh-radius-lg);
    overflow: hidden;
    box-shadow: var(--lh-shadow);
    background: var(--lh-white);
    cursor: pointer;
}

.gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease;
}

.gallery-tile:hover .gallery-image {
    transform: scale(1.03);
}

.gallery-tile-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    background: linear-gradient(180deg, rgba(21, 66, 101, 0), rgba(21, 66, 101, 0.94));
    color: var(--lh-white);
    font-size: 2rem;
    transition: min-height 0.2s ease, background-color 0.2s ease;
}

.gallery-tile:hover .gallery-tile-overlay {
    min-height: 76px;
}

.gallery-modal .modal-dialog {
    max-width: min(1100px, calc(100vw - 2rem));
}

.gallery-modal-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(16, 47, 72, 0.96);
}

.gallery-modal-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: var(--lh-white);
    transform: translateY(-50%);
}

.gallery-nav-prev {
    left: 18px;
}

.gallery-nav-next {
    right: 18px;
}

.gallery-modal-caption {
    padding: 1rem 1.25rem 1.25rem;
    color: var(--lh-white);
}

.gallery-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
}

/* Back to top button (template style) */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--lh-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(21,66,101,0.18);
}
.back-to-top i { font-size: 18px; }

@keyframes back-to-top-action{0%{transform:translateY(0)}100%{transform:translateY(-8px)}}
@media (prefers-reduced-motion: no-preference) {
    .back-to-top { animation: back-to-top-action 1s infinite alternate; }
}

.form-control,
.form-control:focus {
    border-radius: 18px;
    border-color: rgba(21, 66, 101, 0.12);
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--lh-navy);
}

.contact-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--lh-green);
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .hero-section,
    .page-hero {
        padding: 5rem 0 4rem;
    }

    .hero-media-card,
    .page-hero-card,
    .image-stack-main {
        min-height: 320px;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .page-hero--centered {
        min-height: 240px;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 4.25rem 0;
    }

    .hero-copy,
    .page-hero-copy,
    .section-lead {
        font-size: 1rem;
    }

    .content-panel,
    .info-panel,
    .value-card,
    .contact-card {
        padding: 1.5rem;
    }

    .content-card-image-wrap {
        flex-basis: 220px;
        min-height: 220px;
        max-height: 220px;
    }
}
