@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

.navbar {
    background-color: rgb(189, 210, 230);
}


.nav-link-btn a{
    color: rgb(56, 82, 106);
    text-decoration: none;
}

.nav-link-btn:hover,
.nav-link-btn:focus{
    color: #7d2c2c;
    text-decoration: none;
}

.dropdown-menu.bg-nav-custom .dropdown-item:hover,
.dropdown-menu.bg-nav-custom .dropdown-item:focus {
    background-color: rgb(56, 82, 106);
    color: #fff;
}

.btn-login {
    background: linear-gradient(135deg, #7d2c2c, #a76464);
    color: rgb(255, 255, 255); 
    font-weight: 600; 
    border: none;
    border-radius: 25px;
    padding: 8px 20px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-login:hover {
    background: linear-gradient(135deg, #a76464, #7d2c2c); 
    box-shadow: 0 6px 12px rgb(255, 255, 255); 
    color: #fff;
}


.btn-custom {
    background: linear-gradient(135deg, rgb(56, 82, 106), rgb(119, 174, 225));
    color: white; 
    font-weight: 600; 
    border: none;
    border-radius: 25px;
    padding: 8px 20px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-custom:hover {
    background: linear-gradient(135deg, rgb(119, 174, 225), rgb(56, 82, 106)); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}

.bell-icon {
    width: 23px;
    height: 23px;
}

.firstContent {
    text-align: center;
    background-color: rgb(234, 240, 247);
    padding: 100px 20px;
}


.carousel-img {
    width: 100%;
    height: 400px; /* fixed height for all carousel slides */
    object-fit: cover; /* crops image nicely */
}

.cms-custom img {
    max-width: 100%;
    height: auto;
}


.aboutSec2{
    text-align: center;
    padding: 100px 20px;
    background-color: rgb(234, 240, 247);
}


.searchBar {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}


.stat-card {
  background:#fff;
  border-radius:12px;
  padding:15px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.report-box {
  background:#fff;
  border-radius:16px;
  padding:25px;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
}


/* Hero Section */
.hero-section {
    background:rgb(56, 82, 106);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
}

.cms-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
  font-weight: 600;
}

.card-text {
  letter-spacing: 0.3px;
}

.aboutSec .card-img-top {
  height: 230px;
  object-fit: cover;
}

/* Floating Chat Button */
#chatBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    background-color: #7d2c2c; /* custom color */
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#chatBtn:hover {
    transform: scale(1.1);
    background-color: #a03a3a;
}

/* Keep Bootstrap modal behavior for account/auth modals */
.modal {
    z-index: 2000;
}

.modal-backdrop {
    z-index: 1990;
}

/* Optional animation only when explicitly using this class */
.chat-slide-modal.modal.fade .modal-dialog {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.chat-slide-modal.modal.fade.show .modal-dialog {
    transform: translateY(0);
}

/* Modal Custom Width */
.chat-modal {
    width: 350px;
    max-width: 90vw;
}

/* Header & Send Button Colors */
.chat-modal .bg-custom {
    background-color: #7d2c2c;
}

.chat-modal .btn-custom {
    background-color: #7d2c2c;
    color: #fff;
    border: none;
    transition: background-color 0.2s;
}

.chat-modal .btn-custom:hover {
    background-color: #a03a3a;
}

@keyframes notifPulse {
    0% { transform: scale(1); }
    35% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

#notificationBellBtn.notif-pulse {
    animation: notifPulse 0.8s ease;
}

.home-hero {
    background:
        radial-gradient(circle at 10% 10%, rgba(119, 174, 225, 0.28), transparent 38%),
        radial-gradient(circle at 90% 90%, rgba(125, 44, 44, 0.2), transparent 40%),
        linear-gradient(135deg, rgb(234, 240, 247), rgb(213, 226, 239));
    border-bottom: 1px solid rgba(56, 82, 106, 0.12);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(3px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 14px 30px rgba(37, 57, 74, 0.12);
}

.hero-title {
    color: rgb(56, 82, 106);
    font-weight: 700;
    line-height: 1.2;
}

.hero-lead {
    color: #44596d;
    max-width: 720px;
    margin: 0 auto;
}

.cms-heading-wrap {
    margin-bottom: 1.25rem;
}

.cms-heading-wrap h2 {
    color: rgb(56, 82, 106);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cms-heading-wrap p {
    color: #5f7386;
    margin: 0;
}

/* Home page polish */
.home-page {
    background-color: #f6f9fd;
}

.home-page .home-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(56, 82, 106, 0.14);
    backdrop-filter: blur(6px);
}

.home-page .nav-link-btn {
    border-radius: 12px;
    padding: 0.4rem 0.7rem;
}

.home-page .nav-link-btn:hover,
.home-page .nav-link-btn:focus {
    background-color: rgba(56, 82, 106, 0.08);
}

.home-page .home-hero {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
}

.home-page .hero-title {
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
}

.home-page .hero-panel {
    border: 1px solid rgba(56, 82, 106, 0.1);
}

.home-page .home-cms {
    background: linear-gradient(180deg, #f6f9fd 0%, #eef4fa 100%);
}

.home-page .cms-heading-wrap h2 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.home-page #carouselExampleCaptions,
.home-page #latestAnnouncement {
    border: 1px solid rgba(56, 82, 106, 0.1);
    background-color: #fff;
}

.home-page #latestAnnouncement {
    box-shadow: 0 14px 26px rgba(33, 54, 74, 0.09) !important;
}

.home-page #latestAnnouncement h2 {
    color: rgb(56, 82, 106);
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.home-page #latestAnnouncement .announcement-body {
    color: #2f4559;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.home-page #latestAnnouncement .announcement-toggle-btn {
    background: transparent;
    border: 0;
    padding: 0;
    color: #7d2c2c;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.home-page #latestAnnouncement .announcement-toggle-btn:hover,
.home-page #latestAnnouncement .announcement-toggle-btn:focus {
    color: #5d1f1f;
}

.home-page .home-search {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    background:
      radial-gradient(circle at 15% 15%, rgba(119, 174, 225, 0.16), transparent 40%),
      rgb(234, 240, 247);
    border-top: 1px solid rgba(56, 82, 106, 0.08);
    border-bottom: 1px solid rgba(56, 82, 106, 0.08);
}

.home-page .home-search h1 {
    color: rgb(56, 82, 106);
    font-weight: 700;
    margin-bottom: 2rem !important;
}

.home-page #searchInput {
    border: 1px solid rgba(56, 82, 106, 0.2);
    padding: 0.75rem 1rem;
}

.home-page #searchInput:focus {
    border-color: rgba(56, 82, 106, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(56, 82, 106, 0.12);
}

.home-page .home-about {
    background: #fff;
}

.home-page .home-about #aboutSectionHeading {
    color: rgb(56, 82, 106);
    font-weight: 700;
}

.home-page .home-about .card {
    border: 1px solid rgba(56, 82, 106, 0.12);
    box-shadow: 0 12px 24px rgba(35, 56, 76, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .home-about .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(35, 56, 76, 0.13) !important;
}

.home-page .home-about2 {
    border-top: 1px solid rgba(56, 82, 106, 0.08);
}

.home-page .home-about2 h2 {
    color: rgb(56, 82, 106);
}

.home-page footer {
    margin-top: 0;
}

/* Biyaheros + Driver auth modals */
:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .modal-content {
    background: linear-gradient(160deg, #f9fcff 0%, #eef5fc 100%) !important;
    border: 1px solid rgba(56, 82, 106, 0.2);
    border-radius: 18px !important;
    box-shadow: 0 18px 34px rgba(30, 48, 65, 0.2) !important;
    overflow: hidden;
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .modal-header {
    border-bottom: 1px solid rgba(56, 82, 106, 0.14) !important;
    padding-bottom: 0.85rem;
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .modal-title {
    color: rgb(56, 82, 106);
    letter-spacing: 0.01em;
}

#createAccountModal .hover-card {
    background: #ffffff !important;
    border: 1px solid rgba(56, 82, 106, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#createAccountModal .hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(35, 56, 76, 0.14) !important;
}

#createAccountModal .card-body h6 {
    color: rgb(56, 82, 106);
}

#createAccountModal .card-body p {
    color: #62798f !important;
}

:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .form-label {
    color: rgb(56, 82, 106);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .form-control,
:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .form-select {
    border-radius: 10px;
    border-color: rgba(56, 82, 106, 0.25);
    padding: 0.58rem 0.8rem;
    background: #fff;
}

:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .form-control:focus,
:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .form-select:focus {
    border-color: rgb(119, 174, 225);
    box-shadow: 0 0 0 0.2rem rgba(119, 174, 225, 0.2);
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .btn-login {
    border-radius: 11px;
    background: linear-gradient(135deg, rgb(56, 82, 106), rgb(119, 174, 225));
    color: #fff;
    font-weight: 700;
    border: 0;
    box-shadow: 0 8px 16px rgba(56, 82, 106, 0.22);
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .btn-login:hover {
    background: linear-gradient(135deg, rgb(49, 72, 94), rgb(101, 158, 210));
    box-shadow: 0 10px 18px rgba(56, 82, 106, 0.28);
    color: #fff;
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .btn-link {
    color: #7d2c2c;
    font-weight: 600;
}

:is(
    #createAccountModal,
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .btn-link:hover {
    color: #5d1f1f;
}

:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .modal-header > .btn.btn-sm {
    border: 1px solid rgba(56, 82, 106, 0.25);
    border-radius: 999px;
    color: rgb(56, 82, 106);
    background: #ffffff;
}

:is(
    #loginBiyaherosModal,
    #signupBiyaherosModal,
    #loginDriverModal,
    #signupDriverModal
) .modal-header > .btn.btn-sm:hover {
    background: rgb(56, 82, 106);
    color: #fff;
}

#createAccountModal .modal-footer .btn-custom {
    background: linear-gradient(135deg, rgb(56, 82, 106), rgb(119, 174, 225));
    color: #fff;
    border: 0;
}

#createAccountModal .modal-footer .btn-custom:hover {
    background: linear-gradient(135deg, rgb(49, 72, 94), rgb(101, 158, 210));
}

#biyaherosLoginError {
    font-size: 0.87rem;
    font-weight: 600;
}

/* Theme-aligned UI refinement */
.home-page {
    color: #30485f;
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(119, 174, 225, 0.15), transparent 38%),
        radial-gradient(circle at 88% 86%, rgba(125, 44, 44, 0.08), transparent 44%),
        #f5f9fd;
}

.home-page .home-navbar {
    background: rgb(189, 210, 230) !important;
    box-shadow: 0 8px 18px rgba(35, 56, 76, 0.09);
}

.home-page .nav-link-btn {
    color: rgb(56, 82, 106);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.45rem 0.72rem;
}

.home-page .nav-link-btn h6 {
    font-size: 0.88rem;
}

.home-page .nav-link-btn:hover,
.home-page .nav-link-btn:focus {
    background: rgba(56, 82, 106, 0.1);
    color: #7d2c2c;
}

.btn-custom {
    background: linear-gradient(135deg, rgb(56, 82, 106), rgb(119, 174, 225));
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(56, 82, 106, 0.35);
    border-radius: 999px;
    padding: 0.52rem 1.05rem;
    box-shadow: 0 8px 16px rgba(56, 82, 106, 0.22);
}

.btn-custom:hover,
.btn-custom:focus {
    color: #fff;
    background: linear-gradient(135deg, rgb(48, 71, 92), rgb(102, 159, 211));
    box-shadow: 0 10px 20px rgba(56, 82, 106, 0.28);
}

.btn-login {
    background: linear-gradient(135deg, #7d2c2c, #a76464);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(125, 44, 44, 0.4);
    border-radius: 999px;
    padding: 0.52rem 1.05rem;
    box-shadow: 0 8px 16px rgba(125, 44, 44, 0.2);
}

.btn-login:hover,
.btn-login:focus {
    color: #fff;
    background: linear-gradient(135deg, #6a2121, #965353);
    box-shadow: 0 10px 20px rgba(125, 44, 44, 0.26);
}

.home-page .hero-panel {
    padding: 2.15rem;
    border: 1px solid rgba(56, 82, 106, 0.14);
    box-shadow: 0 18px 36px rgba(28, 47, 66, 0.13);
}

.home-page .hero-title {
    letter-spacing: -0.01em;
}

.home-page .home-cms {
    border-top: 1px solid rgba(56, 82, 106, 0.08);
    border-bottom: 1px solid rgba(56, 82, 106, 0.08);
}

.home-page #carouselExampleCaptions {
    box-shadow: 0 12px 28px rgba(35, 56, 76, 0.1);
}

.home-page #latestAnnouncement {
    border-radius: 18px !important;
    box-shadow: 0 16px 30px rgba(35, 56, 76, 0.11) !important;
}

.home-page #latestAnnouncement p {
    color: #5f7387;
    line-height: 1.45;
}

.home-page .home-search h1 {
    letter-spacing: -0.01em;
}

.home-page #searchInput {
    border-radius: 999px !important;
    border: 1px solid rgba(56, 82, 106, 0.24);
    min-height: 48px;
}

.home-page #searchBtn {
    min-width: 110px;
}

.home-page .home-about .card {
    border-radius: 16px !important;
}

.home-page .home-about .card-title {
    color: rgb(56, 82, 106);
    font-weight: 700;
}

.home-page .home-about2 p {
    line-height: 1.7;
}

.home-page footer {
    background: linear-gradient(135deg, #1e2f40, #283f55) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page footer h6 {
    font-weight: 700;
    color: #dce8f5;
}

.home-page footer a {
    color: #c9d9ea !important;
}

.home-page footer a:hover {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    .home-page .home-navbar .d-flex.align-items-center.gap-1 {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .home-page .hero-panel {
        padding: 1.55rem;
    }

    .home-page #latestAnnouncement {
        margin-top: 1rem;
    }
}




