/* Dracula Servers — WHMCS footer styling
 *
 * Mirrors the live site footer at:
 *   /draculaservers.com/smartyTemplates/_blocks/_structure/footer.tpl
 *   /draculaservers.com/public_html/assets/sass/style.css  (lines 434-495 + responsive)
 *
 * Every rule is scoped under .ds-whmcs-footer to keep it from colliding
 * with twenty-one's Bootstrap 4 styling. The live site uses Bootstrap 5
 * and Font Awesome 6; twenty-one bundles BS4 and FA5, so this stylesheet
 * also provides the BS5 utilities (gy-32, gap-12) that the markup needs.
 */

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap");

/* ---------- Scope reset ---------------------------------------------- */
.ds-whmcs-footer,
.ds-whmcs-footer * {
    box-sizing: border-box;
}

.ds-whmcs-footer {
    font-family: "Rubik", sans-serif;
    font-style: normal;
    color: #1f2122;
}

/* ---------- BS5 utility shims (footer-scoped) ------------------------ *
 * The live markup uses .gy-32 (row gutter-y) and .gap-12 (flex gap) from
 * Bootstrap 5. Twenty-one ships Bootstrap 4 which doesn't define them.
 * Implementing as plain CSS keeps us version-independent.
 */
.ds-whmcs-footer .gy-32 {
    row-gap: 32px;
}

.ds-whmcs-footer .gap-12 {
    gap: 12px;
}

/* ---------- Footer section ------------------------------------------- */
.ds-whmcs-footer .footer-section {
    background: #000;
    padding: 72px 0;
}

.ds-whmcs-footer .footer-section .fs-14 {
    color: #959696;
    font-size: 14px;
    font-weight: 400;
    line-height: 145%;
    max-width: 240px;
}

.ds-whmcs-footer .footer-section p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    margin: 0;
}

.ds-whmcs-footer .footer-section .mb-32 {
    margin-bottom: 32px;
}

.ds-whmcs-footer .footer-section .mb-4 {
    margin-bottom: 1.5rem;
}

.ds-whmcs-footer .footer-section .mb-2 {
    margin-bottom: 0.5rem;
}

.ds-whmcs-footer .footer-section .link-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ds-whmcs-footer .footer-section .link-box a {
    color: #acadad;
    font-size: 14px;
    font-weight: 400;
    line-height: 145%;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ds-whmcs-footer .footer-section .link-box a:hover,
.ds-whmcs-footer .footer-section .link-box a:focus {
    color: #fff;
    text-decoration: underline;
}

.ds-whmcs-footer .footer-section img.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ---------- Copyright section ---------------------------------------- */
.ds-whmcs-footer .copyright-section {
    padding: 24px;
    background: #1f2122;
}

.ds-whmcs-footer .copyright-section p {
    color: #acadad;
    font-size: 14px;
    font-weight: 400;
    line-height: 145%;
    margin-bottom: 0;
}

.ds-whmcs-footer .copyright-section .social-link a {
    font-size: 24px;
    text-decoration: none;
    line-height: 1;
}

.ds-whmcs-footer .copyright-section .social-link a i {
    color: #fff;
    margin-right: 12px;
    transition: color 0.2s ease;
}

.ds-whmcs-footer .copyright-section .social-link a:hover i,
.ds-whmcs-footer .copyright-section .social-link a:focus i {
    color: #acadad;
}

.ds-whmcs-footer .copyright-section .social-link a:last-child i {
    margin-right: 0;
}

/* ---------- Responsive parity with live site ------------------------- *
 * Source: public_html/assets/sass/style.css
 *   lines 861-863, 908-910, 1127-1130
 */
@media (min-width: 992px) and (max-width: 1200px) {
    .ds-whmcs-footer .footer-section .gy-32 {
        --bs-gutter-x: 0;
    }
}

@media (max-width: 992px) {
    .ds-whmcs-footer .footer-section .fs-14 {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .ds-whmcs-footer .copyright-section p {
        font-size: 12px;
        line-height: 135%;
    }
}
