.site-header  {
    display: none !important;
}
.bdgs-description {
    margin: 15px 0 25px;
    max-width: 380px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.5;
}
.bdgs-landing {
    min-height: 100vh;
    display: block;
    align-items: center;
    padding-left: 2em ;
    padding-right: 2em ;
    background:
        linear-gradient(
            90deg,
            rgba(3, 38, 72, 0.92) 0%,
            rgba(3, 45, 80, 0.72) 35%,
            rgba(3, 35, 65, 0.15) 65%,
            transparent 100%
        ),
        url("../img/home-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bdgs-landing {
    width: 100%;
    min-height: 100vh;
    padding: 30px;
}

.bdgs-landing-layout {
    width: 100%;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: stretch;
    gap: 25px;
}

.bdgs-landing-card {
    width: 42%;
    max-width: none;
    flex-shrink: 0;
}

.bdgs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.bdgs-slide.active {
    opacity: 1;
    z-index: 2;
}

.bdgs-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.bdgs-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bdgs-selection-card h3 {
    color: white;
}

.bdgs-selection-card {
    margin-top: 25px;
    padding: 25px;
    background: rgba(4, 50, 88, 0.72);
    border: 1px solid
        rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    backdrop-filter: blur(8px);
}
div.bdgs-landing-card h1, div.bdgs-landing-card p{
    color: white;
}
.bdgs-register {
    margin-top: 20px;
    text-align: center;
}

.bdgs-register span {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 13px;
}

.bdgs-register-button {
    display: block;
    width: 100%;
    padding: 14px 20px;

    color: #ffffff !important;
    background: transparent;

    border: 2px solid #ffffff;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;
    transition: 0.2s;
}

.bdgs-register-button:hover {
    color: #075da8 !important;
    background: #ffffff;
}
.bdgs-registration-form h4, .bdgs-registration-form h3, .bdgs-registration-form h2, .bdgs-registration-form p{
    color: #ffffff !important;
    background: transparent;
}
.bdgs-registration-form h4 {
    margin-top: 1em;
}
.bdgs-form-grid label, .bdgs-checkbox-grid label, .bdgs-form-grid legend, .bdgs-checkbox-grid legend {
    color: #ffffff !important;
    background: transparent;
}
#bdgs_registration_form {
    position: relative;
}
#bdgs_qrcode {
    float: right;
    position: absolute;
    right: 3em;
    top: 3em;
}
.bdgs-registration-layout {
    width: 100%;
    max-width: 1250px;

    display: grid;
    grid-template-columns: 2fr 1fr;

    margin: auto;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.30);
}

/* LEFT FORM */
.bdgs-registration-form {
    width: 50%;
    padding: 1em;
}
/* RIGHT INFORMATION */

.bdgs-registration-info {
    width: 50%;
    color: #ffffff;
    padding-left: 2em;
    padding-right: 2em;
    background:
        linear-gradient(
            150deg,
            #073c72,
            #087fa1
        );
}

.bdgs-info-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background:
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius: 15px;
    font-size: 32px;
}

.bdgs-registration-info h2 {
    margin-bottom: 1em;
    color: #ffffff;
    font-size: 30px;
}

.bdgs-registration-info > p {
    color:
        rgba(
            255,
            255,
            255,
            0.85
        );

    line-height: 1.7;
}

.bdgs-info-list {
    margin-top: 35px;
}

.bdgs-info-list > div {
    display: flex;
    gap: 14px;
    margin-bottom: 0.5em;
}

.bdgs-info-list span {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #075785;
    background: #ffffff;
    border-radius: 50%;
    font-weight: bold;
}

.bdgs-info-list p {
    margin: 0;
    color:
        rgba(
            255,
            255,
            255,
            0.82
        );
    font-size: 14px;
    line-height: 1.5;
}

.bdgs-info-list strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
}

.bdgs-info-notice {
    color: #ffffff;
    margin-top: 1em;
    padding: 1em;
    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
    border-left:
        3px solid
        #70e0f2;
    border-radius: 6px;
    color:
        rgba(
            255,
            255,
            255,
            0.88
        );
    font-size: 13px;
    line-height: 1.6;
}

.bdgs-registration-layout {
    display: flex;
    background: transparent;
    grid-template-columns: 1fr;
}

.bdgs-info-extra li, .bdgs-info-extra p, .bdgs-info-extra h3 {
    color: #ffffff;

}
.bdgs-registration-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bdgs-registration-steps li {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.bdgs-registration-steps span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #075785;
    background: #ffffff;
    border-radius: 50%;
    font-weight: 700;
}

.bdgs-help-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
}

.bdgs-help-box {
    margin-top: 15px;
    padding: 14px;

    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
}
.bdgs-business-registration h2, .bdgs-business-registration p,
.bdgs-registration-info h3 {
    margin-top: 1em;
    color: #ffffff;
}

.bdgs-register-options {
    display: flex;
    gap: 12px;
}

.bdgs-register-options .bdgs-register-button {
    flex: 1;
    width: auto;
}
.bdgs-barangay-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    background: #087ca3;
    border: 3px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}
div.bdgs-brand-name span, div.bdgs-brand-name h2 {
    color: #ffffff;
    background: transparent;
}
div.bdgs-brand img {
    width: 4em;
}
.bdgs-barangay-homepage {
    min-height: 100vh;
    padding: 30px 50px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.bdgs-barangay-header {
    width: 100%;
    margin-bottom: 50px;
}
.bdgs-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bdgs-barangay-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.bdgs-brand-name h2 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
}

.bdgs-brand-name span {
    color: rgba(255, 255, 255, 0.9);
}

.bdgs-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    align-items: center;
    gap: 70px;
    width: 100%;
}

.bdgs-hero-information {
    max-width: 600px;
}

.bdgs-welcome {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}

.bdgs-hero-information h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 50px;
    line-height: 1.1;
}

.bdgs-barangay-description {
    max-width: 580px;
    margin: 0 0 25px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.bdgs-hero-links {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    background-image: url('../img/button-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.bdgs-hero-links .bdgs-menu-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
}

.bdgs-hero-links .bdgs-menu-card::before,
.bdgs-hero-links .bdgs-menu-card::after {
    display: none !important;
    content: none !important;
}

.bdgs-hero-links .bdgs-menu-card:hover,
.bdgs-hero-links .bdgs-menu-card:focus,
.bdgs-hero-links .bdgs-menu-card:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
}
.bdgs-hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bdgs-read-more,
.bdgs-back-button {
    width: 130px;
    height: 48px;
    padding: 0 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bdgs-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(0, 20, 45, 0.78);
    z-index: 99999;
}

.bdgs-modal.active {
    display: flex;
}

.bdgs-modal-container {
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.bdgs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    color: #ffffff;
    background: #075ca8;
}

.bdgs-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
}

.bdgs-modal-close {
    width: 42px;
    height: 42px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: none;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
}

.bdgs-modal-content {
    max-height: calc(90vh - 78px);
    overflow-y: auto;
    padding: 30px;
    color: #263548;
}

.bdgs-slideshow {
    position: relative;
    margin-top: 12.5em;
    min-height: 14em;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 25, 55, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.bdgs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1.5s ease-in-out,
        visibility 1.5s ease-in-out;
}

.bdgs-slide.active {
    opacity: 1;
    visibility: visible;
}

.bdgs-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: left top;
}

.bdgs-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 35, 75, 0.45),
        transparent 55%
    );
}

.bdgs-landing {
    width: 100%;
    min-height: 100vh;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bdgs-landing-layout {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: minmax(420px, 45%) minmax(0, 55%);
    gap: 30px;
    align-items: stretch;
}

.bdgs-landing-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.bdgs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.bdgs-slide.active {
    opacity: 1;
    visibility: visible;
}

.bdgs-slide img {
    width: 100%;
    height: 98%;
    display: block;
    object-fit: fill;
    background-size:fill;
}

#bdgs-content {
    width: 100%;
}
#bdgs_back {
    margin-top: 1em;
}

.bdgs-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ffffff;
}

.bdgs-phone-icon {
    filter: brightness(0) invert(1);
    font-size: 26px;
    line-height: 1;
}

@media (max-width: 900px) {
    .bdgs-landing-layout {
        grid-template-columns: 1fr;
    }

    .bdgs-slideshow {
        min-height: 400px;
    }
}

@media (max-width: 900px) {
    .bdgs-landing-layout {
        grid-template-columns: 1fr;
    }

    .bdgs-slideshow {
        min-height: 350px;
    }
}

@media (max-width: 900px) {

}