/*:root {
    --primary-color: #6c5ce7;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

    .btn-primary:hover {
        background-color: #5b4cc4;
    }


h1 {
    color: var(--primary-color);
}


h2.display-5 {
    color: var(--primary-color) !important;
}*/



/* Hero Section */
/*.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/hero-traveler.jpg') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    width: 100%;
}
    .hero-section h1 {
        color: #ffffff;
 }*/

/* Footer Sticky fix */
/*body {
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}



.custom-card-img {
    height: 350px; 
    object-fit: cover;
    width: 100%;
}

.tour-card h5 {
    font-size: 1.25rem;
    color: #1e272e;
    letter-spacing: -0.5px;
}


.tour-card p {
    font-size: 0.85rem;
    color: #7f8c8d !important;
}


.tour-card {
    transition: transform 0.3s ease;
}

    .tour-card:hover .custom-card-img {
        filter: brightness(0.9);
    }


.scroll-to-top {
    
    position: fixed;
    right: 20px;
    bottom: 20px;
  
    width: 45px;
    height: 45px;
    border-radius: 50%;
    
    background-color: var(--primary-color); 
    z-index: 1000; 
 
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

    .scroll-to-top:hover {
        background-color: #5b4cc4; 
        transform: translateY(-5px); 
    }

  
    .scroll-to-top i {
        font-size: 18px;
    }*/


  

/* <---- Category Card Section ----> */


/*.category-card {
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color) !important; 
    color: #ffffff !important; 
    padding: 8px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
    display: inline-block;
}

.btn-outline-secondary {
    width: 45px;
    height: 45px;
    line-height: 30px;
    border: 1px solid #ddd;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline-secondary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }


.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.3));
    pointer-events: none;
}*/



/* <---- Dashboard page Css ----> */

/*:root {
    --sidebar-bg: #ffffff;
    --sidebar-active-color: #6c5ce7;
    --text-dark: #2d3436;
}

body {
    font-family: 'Inter', sans-serif; 
    background-color: #f8f9fa;
}*/

/* Sidebar Styling */
/*.sidebar-wrapper {
    background-color: var(--sidebar-bg);
    z-index: 100;
}

.sidebar-nav .nav-link {
    color: #636e72;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.3s ease;
}

    .sidebar-nav .nav-link:hover {
        background-color: #f1f0ff;
        color: var(--sidebar-active-color);
    }

    .sidebar-nav .nav-link.active {
        background-color: var(--sidebar-active-color);
        color: #fff !important;
    }*/

/* Submenu & Dropdown Rotation */
/*.submenu .nav-link {
    font-size: 0.85rem;
    border-left: 2px solid #eee;
    border-radius: 0;
    padding-left: 1.5rem;
}

    .submenu .nav-link:hover {
        border-left-color: var(--sidebar-active-color);
    }

.rotate-icon {
    transition: transform 0.3s ease;
}

.nav-link:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}*/

/* Stat Cards Customization */
/*.card-stat {
    border-left: 5px solid transparent;
}

.primary-border {
    border-left-color: #0d6efd;
}

.success-border {
    border-left-color: #198754;
}

.warning-border {
    border-left-color: #ffc107;
}

.info-border {
    border-left-color: #0dcaf0;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}*/

/* Responsive fixes */
/*@media (max-width: 768px) {
    .sidebar-wrapper {
        min-vh-100: auto;
        position: relative;
    }
}*/

/* <---- Global Variables & Styles ----> */
:root {
    --primary-color: #6c5ce7;
    --sidebar-bg: #ffffff;
    --sidebar-active-color: #6c5ce7;
    --text-dark: #2d3436;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* স্ক্রিন ছোট হলেও ফুটার নিচে থাকবে */
    margin: 0;
}

/* মেইন কন্টেন্ট এরিয়া */
main {
    flex: 1 0 auto; /* এটি ফুটারকে নিচে ধাক্কা দিয়ে রাখবে */
}

.text-primary {
    color: var(--primary-color) !important;
}

h1, h2.display-5 {
    color: var(--primary-color) !important;
}

/* <---- Buttons ----> */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #5b4cc4;
    }

.btn-outline-secondary {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

    .btn-outline-secondary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

/* <---- Hero Section ----> */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/hero-traveler.jpg') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    width: 100%;
}

    .hero-section h1 {
        color: #ffffff !important;
    }

/* <---- Cards (Tour & Category) ----> */
.custom-card-img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.tour-card {
    transition: transform 0.3s ease;
}

    .tour-card:hover .custom-card-img {
        filter: brightness(0.9);
    }

    .tour-card h5 {
        font-size: 1.25rem;
        color: #1e272e;
        letter-spacing: -0.5px;
    }

    .tour-card p {
        font-size: 0.85rem;
        color: #7f8c8d !important;
    }

.category-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 8px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.3));
    pointer-events: none;
}

/* <---- Footer Critical Fix (এটিই আপনার সমস্যা সমাধান করবে) ----> */
.footer {
    flex-shrink: 0; /* ফুটার যেন ছোট হয়ে না যায় */
    background-color: #ffffff;
    width: 100%;
    white-space: normal !important; /* টেক্সট এক লাইনে আটকে থাকবে না */
    line-height: normal !important; /* টাইটেল কেটে যাবে না */
}

    .footer h3, .footer h5 {
        color: var(--text-dark) !important;
        font-weight: 700;
    }

    .footer .text-muted {
        color: #636e72 !important;
    }

/* <---- Dashboard & Sidebar ----> */
.sidebar-wrapper {
    background-color: var(--sidebar-bg);
    z-index: 100;
}

.sidebar-nav .nav-link {
    color: #636e72;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .sidebar-nav .nav-link:hover {
        background-color: #f1f0ff;
        color: var(--sidebar-active-color);
    }

    .sidebar-nav .nav-link.active {
        background-color: var(--sidebar-active-color);
        color: #fff !important;
    }

.submenu .nav-link {
    font-size: 0.85rem;
    border-left: 2px solid #eee;
    border-radius: 0;
    padding-left: 1.5rem;
}

    .submenu .nav-link:hover {
        border-left-color: var(--sidebar-active-color);
    }

.rotate-icon {
    transition: transform 0.3s ease;
}

.nav-link:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

.card-stat {
    border-left: 5px solid transparent;
}

.primary-border {
    border-left-color: #0d6efd;
}

.success-border {
    border-left-color: #198754;
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .scroll-to-top:hover {
        transform: translateY(-5px);
        background-color: #5b4cc4;
        color: white;
    }

/* Responsive */
@media (max-width: 768px) {
    .sidebar-wrapper {
        position: relative;
    }
}