/* Custom CSS */
:root {
    --primary-color: #8b0000;
    /* Deep Red */
    --accent-color: #ffcc00;
    /* Golden Yellow */
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.829);
    border-bottom: 3px solid var(--accent-color);
}

.logo {
    width: 50px; /* লোগো অনুযায়ী অ্যাডজাস্ট করুন */
}

.logo img {
    width: 100%;
    height: auto;
}

.navbar ul li a{
    color: #fff;
}

.btn-custom {
    background-color: var(--accent-color);
    color: #000 !important;
    font-weight: 600;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
}

.btn-custom:hover {
    background-color: #e6b800;
    color: #000;
}

/* Section Title Style */
.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 50%;
    height: 4px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 25%;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}


/* Services Section Styles */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border-bottom: 5px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.1) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card Design */
.member-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    background: #fff;
    position: relative;
    z-index: 1;
}

/* ব্যাকগ্রাউন্ড ইফেক্ট লেয়ার */
.card-bg-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    transition: all 0.6s ease;
    z-index: -1;
    opacity: 0;
}

.member-card:hover .card-bg-effect {
    opacity: 1;
    top: -20%;
    left: -20%;
}

.member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.member-card img {
    height: 300px;
    object-fit: cover;
    border-bottom: 5px solid var(--accent-color);
    transition: transform 0.5s ease;
}

.member-card:hover img {
    transform: scale(1.05); /* ইমেজ হালকা জুম হবে */
}

.leader-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 10px;
    display: block;
}

.member-card h5 {
    font-size: 1.1rem;
    color: #444 !important;
}

/* কার্ডের ভেতরে গোল্ডেন লাইনের এনিমেশন (ঐচ্ছিক) */
.member-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.member-card:hover::after {
    width: 100%;
}





/* Rules & Helpline Styles */
.rules-box h3 {
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background-color: #fff5f5;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.helpline-card {
    transition: transform 0.3s ease;
}

.helpline-card:hover {
    transform: translateY(-5px);
}

.h-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.helpline-box {
    position: sticky;
    top: 100px; /* স্ক্রল করার সময় এটি যাতে আটকে থাকে */
}

.list-group-item {
    font-size: 0.95rem;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc !important;
}


/* Driver Dashboard Styles */
.driver-info-card {
    border-radius: 20px;
}

.btn-bkash {
    background-color: #e2136e; /* bKash Official Pink */
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-bkash:hover {
    background-color: #b10e56;
    color: white;
    transform: scale(1.02);
}

.payment-amount {
    background: #fff9e6;
    padding: 10px 20px;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
}

.badge {
    padding: 8px 15px;
    font-size: 0.85rem;
    border-radius: 50px;
}

/* Input design adjustment */
#driver-status input:focus {
    box-shadow: none;
    background-color: #fff;
}

/* কার্ড মেয়াদ শেষ হলে ড্রাউভারদের দৃষ্টি আকর্ষণ করার জন্য */
.text-danger.fw-bold {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0.5; }
}


/* Notice Board */
.notice-board {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid var(--primary-color);
}

.notice-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.notice-item:hover {
    background-color: #fff9e6;
    padding-left: 25px;
}



/* Notice Section Full Width Background */
.notice-full-bg {
    background-color: #f1f1f1;
    border-bottom: 1px solid #e8b9b9;
}

/* আগের ডিজাইন বজায় রাখা হয়েছে */
.notice-board {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
}

.notice-item {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.notice-item:last-child {
    border-bottom: none;
    /* শেষ নোটিশের নিচের বর্ডার থাকবে না */
}

.notice-item:hover {
    background-color: #fff9e6;
    /* হালকা গোল্ডেন আভা */
    padding-left: 25px;
}

.date-box {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* মোবাইল ভিউর জন্য ছোট অ্যাডজাস্টমেন্ট */
@media (max-width: 576px) {
    .notice-item {
        flex-direction: column;
        text-align: center;
    }

    .date-box {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}




/* Footer Styles */
.main-footer {
    background-color: var(--dark-bg);
    color: #ddd;
    padding: 70px 0 30px 0;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.main-footer ul li {
    margin-bottom: 12px;
}

.main-footer ul li a {
    color: #bbb;
    transition: 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
}

.main-footer ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Map Container */
.map-container {
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    filter: grayscale(0.2) contrast(1.1);
    /* ম্যাপে একটু ডার্ক থিম ভাইব দেওয়ার জন্য */
    transition: 0.5s;
}

.map-container iframe:hover {
    filter: grayscale(0);
}