
/* =========================================================
   SCHOOLIFYERP PUBLIC HEADER
   Target HTML-inspired styling and responsive navigation
========================================================= */

.sf-public-header,
.sf-public-header * {
    box-sizing: border-box;
}

.sf-public-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    color: #333;
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.sf-public-header a {
    text-decoration: none;
}

/* Announcement bar */

.sf-public-header .sf-topbar {
    width: 100%;
    padding: 9px 20px;
    color: #fff;
    background: #15304a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.sf-public-header .sf-topbar strong {
    color: #d5a11d;
    font-weight: 700;
}

/* Header shell */

.sf-public-header .sf-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e1e5e8;
    background: #fff;
}

.sf-public-header .sf-header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sf-public-header .sf-navbar {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

.sf-public-header .sf-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(1180px, calc(100% - 40px));
    min-width: 0;
    min-height: 76px;
    margin: 0 auto;
    padding: 0;
}

/* Brand / logo */

.sf-public-header .sf-logo {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 9px;
    min-width: 165px;
    max-width: 260px;
    margin: 0;
    padding: 0;
    color: #15304a;
    text-decoration: none;
}

.sf-public-header .sf-logo-image {
    display: block;
    width: auto;
    height: 48px;
    max-width: 190px;
    object-fit: contain;
    object-position: left center;
}

.sf-public-header .sf-logo-wordmark {
    display: inline-block;
    color: #15304a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.sf-public-header .sf-logo-mark {
    display: grid;
    flex: 0 0 41px;
    place-items: center;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    color: #fff;
    background: #e88421;
}

.sf-public-header .sf-logo-mark svg {
    display: block;
    width: 23px;
    height: 23px;
}

/* Desktop navigation */

.sf-public-header .sf-desktop-navigation {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.sf-public-header .sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #687078;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
}

.sf-public-header .sf-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-public-header .sf-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 76px;
    padding: 29px 0;
    color: #687078;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.sf-public-header .sf-nav-link:hover,
.sf-public-header .sf-nav-link:focus-visible {
    color: #e88421;
}

.sf-public-header .sf-chevron {
    display: block;
    width: 14px;
    height: 14px;
}

/* Desktop dropdown */

.sf-public-header .sf-dropdown-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    z-index: 1100;
    display: none;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    border: 1px solid #e1e5e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px -25px rgba(21, 48, 74, .3);
    list-style: none;
}

.sf-public-header .sf-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-public-header .sf-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #687078;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sf-public-header .sf-dropdown-menu a:hover,
.sf-public-header .sf-dropdown-menu a:focus-visible {
    color: #e88421;
    background: #fff5e9;
}

@media (min-width: 1025px) {
    .sf-public-header .sf-has-dropdown:hover > .sf-dropdown-menu,
    .sf-public-header .sf-has-dropdown:focus-within > .sf-dropdown-menu {
        display: block;
    }
}

/* Desktop action buttons */

.sf-public-header .sf-nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sf-public-header .sf-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease,
        color .2s ease, border-color .2s ease;
}

.sf-public-header .sf-header-button:hover {
    transform: translateY(-2px);
}

.sf-public-header .sf-header-button-primary {
    color: #fff;
    background-color: #b95d08 !important;
    box-shadow: 0 12px 28px -10px rgba(232, 132, 33, .5);
}

.sf-public-header .sf-header-button-primary:hover,
.sf-public-header .sf-header-button-primary:focus-visible {
    color: #fff;
    background-color: #b95d08 !important;
}

.sf-public-header .sf-header-button-outline {
    color: #15304a;
    border-color: #e1e5e8;
    background: #fff;
}

.sf-public-header .sf-header-button-outline:hover,
.sf-public-header .sf-header-button-outline:focus-visible {
    color: #e88421;
    border-color: #e88421;
}

.sf-public-header .sf-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 22px;
    color: #15304a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid;
    background-color: #fff !important;
    border-radius: .5rem;
    border-color: #e1e5e8 !important;
}

.sf-public-header .sf-header-login:hover,
.sf-public-header .sf-header-login:focus-visible {
    color: #e88421;
}

/* Mobile menu button is hidden on desktop */

.sf-public-header .sf-mobile-toggle {
    display: none;
    flex: 0 0 41px;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    margin: 0;
    padding: 0;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    color: #15304a;
    background: #fff;
    cursor: pointer;
}

.sf-public-header .sf-mobile-toggle svg {
    display: block;
    width: 21px;
    height: 21px;
}

.sf-public-header .sf-icon-close {
    display: none;
}

/* Mobile panel is controlled by the hidden attribute */

.sf-public-header .sf-mobile-panel[hidden],
.sf-public-header .sf-mobile-submenu[hidden] {
    display: none !important;
}

.sf-public-header .sf-mobile-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1050;
    width: min(1180px, calc(100% - 40px));
    max-height: calc(100vh - 90px);
    margin: 0 auto;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid #e1e5e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px -25px rgba(21, 48, 74, .3);
}

.sf-public-header .sf-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-public-header .sf-mobile-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-public-header .sf-mobile-item > a,
.sf-public-header .sf-mobile-parent-row > a {
    display: block;
    min-width: 0;
    padding: 11px;
    border-radius: 6px;
    color: #687078;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sf-public-header .sf-mobile-item > a:hover,
.sf-public-header .sf-mobile-parent-row > a:hover,
.sf-public-header .sf-mobile-item > a:focus-visible,
.sf-public-header .sf-mobile-parent-row > a:focus-visible {
    color: #e88421;
    background: #fff5e9;
}

.sf-public-header .sf-mobile-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sf-public-header .sf-mobile-parent-row > a {
    flex: 1 1 auto;
}

.sf-public-header .sf-mobile-submenu-toggle {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 6px;
    color: #15304a;
    background: transparent;
    cursor: pointer;
}

.sf-public-header .sf-mobile-submenu-toggle:hover {
    color: #e88421;
    background: #fff5e9;
}

.sf-public-header .sf-mobile-submenu-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.sf-public-header .sf-mobile-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.sf-public-header .sf-mobile-submenu {
    margin: 0 0 5px 12px;
    padding: 0 0 0 10px;
    border-left: 2px solid #fff0df;
    list-style: none;
}

.sf-public-header .sf-mobile-submenu a {
    display: block;
    padding: 9px 10px;
    color: #687078;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sf-public-header .sf-mobile-submenu a:hover {
    color: #e88421;
}

.sf-public-header .sf-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
    /*padding-top: 12px;*/
    /*border-top: 1px solid #e1e5e8;*/
}

.sf-public-header .sf-mobile-actions .sf-header-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
}

/* =========================================================
   TABLET AND MOBILE
   Target HTML hides desktop navigation at 1024px.
========================================================= */

@media screen and (max-width: 1024px) {
    .sf-public-header .sf-header-container {
        gap: 16px;
    }

    .sf-public-header .sf-desktop-navigation,
    .sf-public-header .sf-nav-actions {
        display: none !important;
    }

    .sf-public-header .sf-mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .sf-public-header .sf-mobile-panel {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: auto;
        width: min(360px, calc(100vw - 40px));
    }
}

/* Small mobile */

@media screen and (max-width: 640px) {
    .sf-public-header .sf-topbar {
        padding: 8px 12px;
        font-size: 10px;
        line-height: 1.5;
    }

    .sf-public-header .sf-header-container {
        width: calc(100% - 30px);
        min-height: 65px;
        gap: 12px;
    }

    .sf-public-header .sf-logo {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 53px);
    }

    .sf-public-header .sf-logo-image {
        height: 38px;
        max-width: min(190px, 100%);
    }

    .sf-public-header .sf-logo-wordmark {
        font-size: 17px;
    }

    .sf-public-header .sf-logo-mark {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
    }

    .sf-public-header .sf-mobile-toggle {
        flex-basis: 41px;
        width: 41px;
        height: 41px;
    }

    .sf-public-header .sf-mobile-panel {
        right: 15px;
        width: calc(100vw - 30px);
        max-height: calc(100vh - 80px);
    }

    .sf-public-header .sf-mobile-actions {
        grid-template-columns: 1fr;
    }

    .sf-public-header .sf-mobile-actions .sf-header-button {
        min-height: 43px;
        font-size: 13px;
    }
}

/* Very narrow phones */

@media screen and (max-width: 360px) {
    .sf-public-header .sf-topbar {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 9px;
    }

    .sf-public-header .sf-header-container {
        width: calc(100% - 24px);
    }

    .sf-public-header .sf-logo-image {
        height: 34px;
        max-width: 175px;
    }

    .sf-public-header .sf-logo-wordmark {
        font-size: 15px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .sf-public-header *,
    .sf-public-header *::before,
    .sf-public-header *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}











/*=================================================================================================================================================================================================================*/


/*Complete Codes for Footer Start*/

/* =========================================================
   SCHOOLIFYERP FOOTER — CONSOLIDATED RESPONSIVE CSS
   Uses existing HTML classes; no external icon library.
========================================================= */

.sf-footer,
.sf-footer * {
    box-sizing: border-box;
}

.sf-footer {
    display: block !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 54px 0 22px;
    background: #202d3b;
    color: #cbd4df;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

.sf-footer p,
.sf-footer h3,
.sf-footer strong,
.sf-footer a,
.sf-footer li {
    font-family: inherit !important;
    text-transform: none;
}

.sf-footer p {
    color: inherit;
}

.sf-footer a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease, background-color .2s ease;
}

.sf-footer-container {
    display: block !important;
    width: calc(100% - 48px);
    max-width: 1180px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* =========================
   WHATSAPP BANNER
========================= */

.sf-footer .sf-footer-whatsapp {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-width: 0;
    margin: 0 0 30px;
    padding: 24px 26px;
    background: #e5f9ec;
    color: #172b22;
    border: 1px solid #b8e9c9;
    border-radius: 17px;
    text-align: left;
}

.sf-footer .sf-footer-whatsapp-message {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sf-footer .sf-footer-whatsapp-icon {
    display: flex !important;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #078b4e;
    background: #cff3dc;
    border-radius: 50%;
}

.sf-footer .sf-footer-whatsapp-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.sf-footer .sf-footer-whatsapp-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.sf-footer .sf-footer-whatsapp-copy strong,
.sf-footer .sf-footer-whatsapp-title {
    display: block;
    margin: 0 0 5px;
    color: #172b22;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.sf-footer .sf-footer-whatsapp-copy p,
.sf-footer .sf-footer-whatsapp-message p {
    margin: 0;
    color: #56675e;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.sf-footer .sf-footer-whatsapp-button {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    color: #103522 !important;
    background: #42d984;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800 !important;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
}

.sf-footer .sf-footer-whatsapp-button:hover,
.sf-footer .sf-footer-whatsapp-button:focus-visible {
    color: #103522 !important;
    background: #2bc970;
}

.sf-footer .sf-footer-whatsapp-button svg {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
}

/* =========================
   MAIN FOOTER GRID
========================= */

.sf-footer .sf-footer-grid {
    display: grid !important;
    /*grid-template-columns:*/
    /*    minmax(0, 2.1fr)*/
    /*    minmax(0, .9fr)*/
    /*    minmax(0, .95fr)*/
    /*    minmax(0, 1fr);*/
    align-items: start;
    gap: 25px;
    width: 100%;
    margin: 0;
    padding-bottom: 32px;
    text-align: left;
    grid-template-columns: minmax(245px, 2fr) repeat(3, minmax(140px, 1fr));
}

.sf-footer .sf-footer-brand,
.sf-footer .sf-footer-column {
    display: block;
    float: none !important;
    position: relative;
    width: auto !important;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* =========================
   BRAND / LOGO
========================= */

.sf-footer .sf-footer-logo {
    display: inline-flex !important;
    align-items: center;
    max-width: 100%;
    margin: 0 0 14px;
}

.sf-footer .sf-footer-logo img {
    display: block !important;
    width: auto;
    max-height: 65px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
    max-width: 210px !important;
    height: 48px;
}

.sf-footer .sf-footer-tagline {
    margin: 0 0 5px;
    color: ##c0c9d2;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.sf-footer .sf-footer-description {
    max-width: 300px;
    margin: 0 0 14px;
    color: ##c0c9d2;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* =========================
   COLUMN HEADINGS
========================= */

.sf-footer .sf-footer-column h3 {
    margin: 2px 0 14px;
    padding: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

/* =========================
   COLUMN LINKS
========================= */

.sf-footer .sf-footer-column ul {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-footer .sf-footer-column li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #cbd4df;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.sf-footer .sf-footer-column li a {
    color: #cbd4df;
    line-height: 1.6 !important;
    font-size: 14px;
}

.sf-footer .sf-footer-column li a:hover,
.sf-footer .sf-footer-column li a:focus-visible {
    color: #ff982e;
}

/* =========================
   CONTACT ICONS
========================= */

.sf-footer .sf-footer-contact li > svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 5px;
    color: #cbd4df;
}

.sf-footer .sf-footer-contact li a,
.sf-footer .sf-footer-contact li span {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* =========================
   SOCIAL ICONS
========================= */

.sf-footer .sf-footer-social {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.sf-footer .sf-footer-social a {
    display: inline-flex !important;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    color: #243343;
    background: #fff;
    border-radius: 50%;
}

.sf-footer .sf-footer-social a:hover,
.sf-footer .sf-footer-social a:focus-visible {
    color: #fff;
    background: #ff982e;
}

.sf-footer .sf-footer-social svg {
    display: block;
    width: 21px;
    height: 21px;
}

/* =========================
   COPYRIGHT BAR
========================= */

.sf-footer .sf-footer-bottom {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid #3b4855;
    text-align: left;
}

.sf-footer .sf-footer-bottom p {
    margin: 0;
    color: #cbd4df;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sf-footer .sf-footer-heart {
    display: inline-block;
    margin: 0 3px;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (min-width: 641px) and (max-width: 1050px) {
    .sf-footer {
        padding-top: 42px;
    }

    .sf-footer-container {
        width: calc(100% - 44px);
    }

    .sf-footer .sf-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 30px;
    }

    .sf-footer .sf-footer-whatsapp {
        gap: 18px;
        padding: 22px 20px;
    }

    .sf-footer .sf-footer-whatsapp-copy strong,
    .sf-footer .sf-footer-whatsapp-title {
        font-size: 16px;
    }

    .sf-footer .sf-footer-whatsapp-copy p,
    .sf-footer .sf-footer-whatsapp-message p {
        font-size: 14px;
    }

    .sf-footer .sf-footer-column h3 {
        font-size: 17px;
    }

    .sf-footer .sf-footer-column li {
        font-size: 15px;
    }
}

/* =========================================================
   MOBILE — BRAND FIRST, TWO-COLUMN LINKS AND CONTACT AREA
========================================================= */

@media screen and (max-width: 640px) {
    .sf-footer {
        padding: 30px 0 18px;
        font-size: 15px;
    }

    .sf-footer-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-auto-flow: row;
        align-items: start;
        column-gap: 16px;
        row-gap: 25px;
        width: calc(100% - 36px);
        max-width: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    /* Let footer-grid children participate in the outer grid. */
    .sf-footer .sf-footer-grid {
        display: contents !important;
    }

    .sf-footer .sf-footer-brand,
    .sf-footer .sf-footer-column {
        position: static;
        float: none !important;
        min-width: 0;
        max-width: none;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left;
    }

    /* Brand spans the full width. */
    .sf-footer .sf-footer-brand {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100% !important;
        text-align: center;
    }

    .sf-footer .sf-footer-logo {
        justify-content: center;
        margin: 0 auto 12px;
    }

    .sf-footer .sf-footer-logo img {
        max-width: 100%;
        max-height: 58px;
        object-position: center;
    }

    .sf-footer .sf-footer-tagline {
        width: 100%;
        margin-bottom: 5px;
        font-size: 17px;
        line-height: 1.55;
        text-align: center;
    }

    .sf-footer .sf-footer-description {
        width: 100%;
        max-width: 480px;
        margin: 0 auto 14px;
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }

    .sf-footer .sf-footer-social {
        justify-content: center;
        gap: 10px;
        margin: 0;
    }

    .sf-footer .sf-footer-social a {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
    }

    /* Quick Links: left side of row 2. */
    .sf-footer .sf-footer-quick {
        display: block !important;
        grid-column: 1;
        grid-row: 2;
        width: 100% !important;
    }

    /* Support: right side of row 2. */
    .sf-footer .sf-footer-support {
        display: block !important;
        grid-column: 2;
        grid-row: 2;
        width: 100% !important;
    }

    /* Contact: left side of row 3. */
    .sf-footer .sf-footer-contact {
        display: block !important;
        grid-column: 1;
        grid-row: 3;
        width: 100% !important;
    }

    /* Compact WhatsApp banner: right side of row 3. */
    .sf-footer .sf-footer-whatsapp {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 14px 11px;
        gap: 13px;
        border-radius: 13px;
    }

    .sf-footer .sf-footer-whatsapp-message {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        width: 100%;
    }

    .sf-footer .sf-footer-whatsapp-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .sf-footer .sf-footer-whatsapp-icon svg {
        width: 22px;
        height: 22px;
    }

    .sf-footer .sf-footer-whatsapp-copy {
        width: 100%;
    }

    .sf-footer .sf-footer-whatsapp-copy strong,
    .sf-footer .sf-footer-whatsapp-title {
        margin: 0 0 5px;
        font-size: 14px;
        line-height: 1.45;
    }

    .sf-footer .sf-footer-whatsapp-copy p,
    .sf-footer .sf-footer-whatsapp-message p {
        font-size: 12px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .sf-footer .sf-footer-whatsapp-button {
        display: flex !important;
        align-self: stretch;
        justify-content: center;
        gap: 5px;
        width: 100%;
        min-height: 40px;
        padding: 9px 5px;
        font-size: 10px;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .sf-footer .sf-footer-whatsapp-button svg {
        flex-basis: 15px;
        width: 15px;
        height: 15px;
    }

    /* Mobile headings and links. */
    .sf-footer .sf-footer-column h3 {
        /*margin: 0 0 12px;*/
        font-size: 17px;
        /*line-height: 1.4;*/
    }

    .sf-footer .sf-footer-column ul {
        gap: 10px;
    }

    .sf-footer .sf-footer-column li {
        gap: 7px;
        font-size: 14px;
        line-height: 1.6;
    }

    .sf-footer .sf-footer-contact li > svg {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
        margin-top: 4px;
    }

    /* Copyright spans both columns. */
    .sf-footer .sf-footer-bottom {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        grid-column: 1 / -1;
        grid-row: 4;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 16px 0 0;
        border-top: 1px solid #3b4855;
    }

    .sf-footer .sf-footer-bottom p {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        max-width: 50%;
        margin: 0;
        font-size: 11px;
        line-height: 1.7;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .sf-footer .sf-footer-bottom p:last-child {
        margin-left: auto;
        text-align: right;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media screen and (max-width: 380px) {
    .sf-footer-container {
        width: calc(100% - 28px);
        column-gap: 12px;
        row-gap: 22px;
    }

    .sf-footer .sf-footer-whatsapp {
        padding: 12px 9px;
    }

    .sf-footer .sf-footer-whatsapp-copy strong,
    .sf-footer .sf-footer-whatsapp-title {
        font-size: 13px;
    }

    .sf-footer .sf-footer-whatsapp-copy p,
    .sf-footer .sf-footer-whatsapp-message p {
        font-size: 11px;
    }

    .sf-footer .sf-footer-whatsapp-button {
        gap: 3px;
        padding-right: 3px;
        padding-left: 3px;
        font-size: 9px;
    }

    .sf-footer .sf-footer-column h3 {
        font-size: 17px;
    }

    .sf-footer .sf-footer-column li {
        font-size: 13px;
    }

    .sf-footer .sf-footer-social {
        gap: 8px;
    }

    .sf-footer .sf-footer-social a {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .sf-footer .sf-footer-bottom {
        gap: 8px;
    }

    .sf-footer .sf-footer-bottom p {
        font-size: 10px;
    }
}

/*Complete Codes for Footer End*/



/*Blog post left right scroll issue on mobile fixes*/
/* ==========================================================
   SCHOOLIFYERP BLOG — MOBILE HORIZONTAL OVERFLOW FIX
   Fixes article metadata, share buttons, tables and code blocks.
   ========================================================== */

@media screen and (max-width: 767.98px) {

    /* Prevent Bootstrap grid children from forcing extra width */
    body .container,
    body .container-fluid,
    body .container > .row,
    body .container > .row > [class*="col-"],
    body .container.py-5,
    body .container.py-5 > .row,
    body .container.py-5 .col-lg-8,
    body .container.py-5 .col-lg-4,
    body article.card,
    body article.card > .card-body {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Main article content */
    .blog-content {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    .blog-content p,
    .blog-content li,
    .blog-content a,
    .blog-content h1,
    .blog-content h2,
    .blog-content h3,
    .blog-content h4,
    .blog-content h5,
    .blog-content h6,
    .blog-content td,
    .blog-content th {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    /* Images and embedded media */
    .blog-content img,
    .blog-content video,
    .blog-content iframe,
    .blog-content embed,
    .blog-content object {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .blog-content img {
        height: auto;
    }

    .blog-content iframe,
    .blog-content video {
        display: block;
        width: 100%;
    }

    /* Wide tables scroll inside their own region */
    .blog-content table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: separate;
    }

    .blog-content table td,
    .blog-content table th {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Long code blocks scroll internally, not the whole page */
    .blog-content pre {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        white-space: pre;
        overflow-wrap: normal;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    .blog-content pre code {
        max-width: none;
        white-space: pre;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Article metadata: author, date, reading time and views */
    body .container .d-flex.align-items-center.gap-3 {
        flex-wrap: wrap !important;
        min-width: 0;
        row-gap: 8px !important;
        column-gap: 12px !important;
    }

    /* Hero title and metadata */
    body .position-relative .container h1,
    body .container.py-5 h1 {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    /* Share row: allow social buttons to wrap */
    body .container.py-5 .col-lg-8
    .card-body.d-flex.align-items-center.gap-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        min-width: 0;
        gap: 10px !important;
    }

    body .container.py-5 .col-lg-8
    .card-body.d-flex.align-items-center.gap-3 > * {
        min-width: 0;
        max-width: 100%;
    }

    body .container.py-5 .col-lg-8
    .card-body.d-flex.align-items-center.gap-3 > a.btn {
        flex: 0 1 auto;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Breadcrumbs wrap instead of extending the viewport */
    body .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Sidebar search and other form controls */
    body .blog-sidebar,
    body .blog-sidebar .card,
    body .blog-sidebar .card-body,
    body .blog-sidebar .input-group {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    body .blog-sidebar input,
    body .blog-sidebar button {
        min-width: 0;
        max-width: 100%;
    }
}

/* Defensive guard: prevent page-level horizontal movement on mobile.
   Wide tables and code blocks remain scrollable within their own boxes. */
@media screen and (max-width: 767.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }
}




/* ==========================================================
   SCHOOLIFYERP — GLOBAL TYPOGRAPHY & COLORS
   Icon styles intentionally excluded.
   File: public/css/landing.css
   Place this block at the END of the existing stylesheet.
   ========================================================== */


/* 1. GLOBAL THEME VARIABLES */
:root {
    --sf-font: "Segoe UI", Arial, sans-serif;

    --sf-navy: #15304a;
    --sf-blue: #1f628e;
    --sf-orange: #e88421;
    --sf-orange-dark: #c96b13;

    --sf-muted: #687078;
    --sf-text: #344454;
    --sf-surface: #f8f9fb;
    --sf-border: #e1e5e8;
    --sf-white: #ffffff;
}


/* 2. GLOBAL DOCUMENT DEFAULTS */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--sf-font);
    color: var(--sf-text);
    font-size: 15px;
    line-height: 1.65;
}


/* 3. GENERAL TEXT ELEMENTS
   No icon-specific selectors or rules are included. */
body :where(
    p,
    li,
    dt,
    dd,
    label,
    input,
    textarea,
    select,
    option,
    blockquote,
    figcaption,
    address,
    summary
) {
    font-family: var(--sf-font);
}


/* 4. HEADINGS */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--sf-font);
    color: var(--sf-navy);
    font-weight: 700;
    line-height: 1.25;
}

body h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

body h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

body h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

body h4 {
    font-size: 1.25rem;
}

body h5 {
    font-size: 1.1rem;
}

body h6 {
    font-size: 1rem;
}


/* 5. PARAGRAPHS */
body p {
    color: var(--sf-text);
    line-height: 1.75;
}


/* 6. LINKS */
body a {
    color: var(--sf-blue);
    text-decoration: none;
}

body a:hover {
    color: var(--sf-orange-dark);
}


/* 7. MUTED TEXT */
body small,
body .text-muted,
body .text-secondary,
body .sf-muted {
    color: var(--sf-muted);
}


/* 8. BUTTONS
   Only button text typography is controlled here. */
body button,
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body .btn {
    font-family: var(--sf-font);
    font-weight: 600;
}

body .btn-primary {
    color: var(--sf-white);
}

body .btn-warning {
    color: #212529;
}


/* 9. CARD TITLES */
body .card-title,
body .entry-title,
body .post-title,
body .blog-title,
body .sf-card-title {
    font-family: var(--sf-font);
    color: var(--sf-navy);
    font-weight: 700;
}


/* 10. BLOG AND POST CONTENT */
body .card-text,
body .entry-content,
body .post-content,
body .blog-content,
body .sf-card-text {
    font-family: var(--sf-font);
    color: var(--sf-text);
}


/* 11. TABLES */
body table {
    font-family: var(--sf-font);
    color: var(--sf-text);
}

body th {
    color: var(--sf-navy);
    font-weight: 700;
}


/* 12. CODE BLOCKS
   Retain monospace fonts for technical blog content. */
body pre,
body pre code,
body code,
body kbd,
body samp {
    font-family: Consolas, "Courier New", monospace;
}

body pre {
    max-width: 100%;
    overflow-x: auto;
}


/* 13. MOBILE TYPOGRAPHY */
@media (max-width: 767px) {
    body {
        font-size: 14px;
        line-height: 1.65;
    }

    body h1 {
        font-size: clamp(1.75rem, 7vw, 2.35rem);
    }

    body h2 {
        font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    }

    body h3 {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }
}

