html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.hero-section {
    background: linear-gradient( 135deg, #111827, #1f2937 );
    color: white;
    padding: 110px 20px;
}

    .hero-section h1 {
        letter-spacing: 1px;
    }

    .hero-section h2 {
        letter-spacing: 2px;
    }

.card {
    border: none;
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

section {
    background-color: #f8f9fa;
}

/* =========================================
SP CATBALOGAN HOMEPAGE
========================================= */

.sp-hero {
    background: linear-gradient(135deg, #082c5c, #0b4d8f);
    color: white;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

    .sp-hero::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.12);
        right: -150px;
        top: -150px;
    }

.sp-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sp-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sp-hero h2 {
    font-size: 32px;
    font-weight: 300;
}

.sp-tagline {
    font-size: 20px;
    opacity: 0.9;
    margin-top: 25px;
}

.btn-sp-primary {
    background: white;
    color: #082c5c;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    margin-right: 8px;
}

    .btn-sp-primary:hover {
        background: #f1f1f1;
        color: #082c5c;
    }

.btn-sp-outline {
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    border-radius: 6px;
    padding: 12px 24px;
    margin-right: 8px;
}

    .btn-sp-outline:hover {
        background: white;
        color: #082c5c;
    }

.sp-emblem {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.emblem-inner {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .emblem-inner span {
        font-size: 55px;
        font-weight: 700;
    }

    .emblem-inner small {
        letter-spacing: 3px;
    }

/* QUICK ACCESS */

.quick-access {
    background: white;
    padding: 25px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    height: 100%;
    transition: 0.2s;
}

    .quick-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        color: #082c5c;
    }

.quick-icon {
    font-size: 30px;
}

.quick-card h5 {
    margin: 0;
    font-weight: 700;
}

.quick-card p {
    margin: 4px 0 0;
    color: #777;
    font-size: 13px;
}

/* WELCOME */

.welcome-section {
    background: #f7f9fc;
}

.section-label {
    color: #0b4d8f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title {
    font-weight: 700;
    margin-top: 8px;
}

.section-text {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.info-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    overflow: hidden;
}

.info-box-header {
    background: #082c5c;
    color: white;
    padding: 18px 22px;
    font-weight: 600;
}

.info-box-body {
    padding: 25px;
}

    .info-box-body p {
        color: #666;
        line-height: 1.7;
    }

.info-link {
    color: #0b4d8f;
    text-decoration: none;
    font-weight: 600;
}

/* NEWS */

.news-section {
    background: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
}

.view-all {
    color: #0b4d8f;
    text-decoration: none;
    font-weight: 600;
}

.news-card {
    height: 100%;
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
}

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.news-image {
    height: 170px;
    background: linear-gradient(135deg, #0b4d8f, #082c5c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
}

.news-content {
    padding: 24px;
}

    .news-content small {
        color: #0b4d8f;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .news-content h4 {
        margin-top: 10px;
        font-weight: 700;
    }

    .news-content p {
        color: #666;
        line-height: 1.7;
    }

    .news-content a {
        color: #0b4d8f;
        font-weight: 600;
        text-decoration: none;
    }

/* DOCUMENTS */

.documents-section {
    background: #f7f9fc;
}

.document-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 25px;
    height: 100%;
    border: 1px solid #e6e6e6;
}

.document-icon {
    font-size: 45px;
}

.document-info h4 {
    font-weight: 700;
}

.document-info p {
    color: #666;
}

.document-info a {
    color: #0b4d8f;
    text-decoration: none;
    font-weight: 600;
}

/* CTA */

.cta-section {
    background: #082c5c;
    color: white;
    padding: 70px 0;
}

    .cta-section h2 {
        margin-top: 12px;
        font-weight: 700;
    }

    .cta-section p {
        opacity: 0.85;
        max-width: 650px;
        margin: 15px auto;
    }

.section-label.light {
    color: #fff;
    opacity: 0.8;
}

/* MOBILE */

@media (max-width: 768px) {

  
    .sp-hero {
        padding: 60px 20px;
        text-align: center;
    }

    .sp-hero h1 {
        font-size: 38px;
    }

    .sp-hero h2 {
        font-size: 26px;
    }

    .sp-tagline {
        font-size: 17px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
    }

    .sp-emblem {
        width: 170px;
        height: 170px;
    }

    .emblem-inner {
        width: 135px;
        height: 135px;
    }

        .emblem-inner span {
            font-size: 40px;
        }

    .section-heading {
        display: block;
    }

    .view-all {
        display: inline-block;
        margin-top: 10px;
    }

    .sp-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sp-logo {
        width: 230px;
        height: 230px;
        object-fit: contain;
        filter: drop-shadow(0 8px 15px rgba(0,0,0,0.2));
    }

    @media (max-width: 768px) {
        .sp-logo {
            width: 180px;
            height: 180px;
        }
    }
}
