html,
body {
    height: 100%;
}

body {
    padding-top: 60px;   /* Adjust if needed */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    background-color: #f8f9fa;
}
/* Content paragraphs (default) */
body > .container p,
.section p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* =========================================================
   LINPA FOOTER
   ========================================================= */

.site-footer {
    background: #1f4478;
    color: #fff;
    padding: 26px 0 14px;
    margin-top: 30px;
    font-size: 0.85rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


/* ---------------------------------------------------------
   Company information
   --------------------------------------------------------- */

.footer-company {
    line-height: 1.55;
    color: #fff;
}

.footer-company-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-contact {
    display: flex;
    gap: 18px;
    margin-top: 2px;
}

.footer-contact i {
    margin-right: 4px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Right side
   --------------------------------------------------------- */

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


/* Links */

.footer-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255,255,255,0.55);
}


/* Social */

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 11px;
}

.footer-social a {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #fff;
    color: #1f4478;
}


/* ---------------------------------------------------------
   Bottom
   --------------------------------------------------------- */

.footer-bottom {
    margin-top: 18px;
    padding-top: 11px;

    border-top: 1px solid rgba(255,255,255,0.18);

    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .site-footer {
        padding: 24px 0 14px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-contact {
        flex-direction: column;
        gap: 2px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


.section.bg-light {
    color: #212529;
}

/* Footer */
footer {
    padding: 0px 0;
    background-color: #1a3b6c;
    color: #fff;
}

/* Buttons */
.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

@media (max-width: 767px) {
    .carousel-item .col {
        flex: 0 0 50%; /* 2 cards per slide on mobile */
        max-width: 50%;
        padding: 0 5px;
    }
    .carousel-item .card {
        margin-bottom: 10px;
    }
    
}

@media (max-width: 480px) {
    .carousel-item .col {
        flex: 0 0 80%; /* 1 card mostly fills the screen on tiny phones */
        max-width: 80%;
    }
}
/* Make hero take ~60% of viewport, vertically centered */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #1a3b6c; /* rich dark blue, brighter than #000080 */
    color: #ffffff;
            padding: 200px 0;

}
/* Medium screens (tablets) */
@media (max-width: 992px) {
    .hero {
        padding: 150px 0;
    }
}

/* Small screens (phones) */
@media (max-width: 576px) {
    .hero {
        padding: 130px 0;
    }
}

section {
    scroll-margin-top: 30px; /* height of your navbar */
}
html {
  scroll-behavior: smooth;
}

.login-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-left: 4px solid #2c5d88;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    color: #495057;
}

.login-notice > i {
    color: #2c5d88;
    font-size: 1.2rem;
}

.login-notice strong {
    color: #212529;
}

.login-notice p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 3px;
}

