/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 15px;
}

.product-card .price {
    color: #0a4b7a;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Buttons */
.btn-warning {
    background-color: #facc15;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
}

.btn-warning:hover {
    background-color: #e5b800;
}

.btn-primary {
    background-color: #0a4b7a;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: #063d62;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #022b40 0%, #0a4b7a 100%);
    padding: 80px 0;
    color: white;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Category Card */
.category-card {
    background: white;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: #0a4b7a;
    margin-bottom: 15px;
}

/* Team Card */
.team-card {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #facc15;
}

/* Notice Bar */
.notice-bar {
    background: #fef3c7;
    border-left: 4px solid #facc15;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Swiper */
.swiper {
    padding: 20px 0 40px;
}

.swiper-pagination-bullet-active {
    background: #facc15 !important;
}

/* Footer */
footer {
    background: #022b40;
    color: #cbd5e6;
    padding: 50px 0 20px;
    margin-top: 50px;
}

footer a {
    color: #cbd5e6;
    text-decoration: none;
}

footer a:hover {
    color: #facc15;
}

/* Admin Sidebar */
.admin-sidebar {
    background: #0a4b7a;
    min-height: 100vh;
}

.admin-sidebar a {
    color: white;
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.admin-sidebar a:hover {
    background: #063d62;
    padding-left: 30px;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.floating-whatsapp i {
    font-size: 2rem;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .stat-card {
        padding: 12px;
    }
    .category-card {
        padding: 15px 10px;
    }
    .category-card i {
        font-size: 1.8rem;
    }
    .category-card h4 {
        font-size: 0.9rem;
    }
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* নতুন কোড (উজ্জ্বল) */
.slide-bg::before {
    background: linear-gradient(135deg, rgba(2, 43, 64, 0.3) 0%, rgba(10, 75, 122, 0.2) 100%);
}

.heroSwiper .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 700px;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #facc15;
    transform: scale(1.2);
}

/* Swiper Fade Effect */
.heroSwiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.8s ease-in-out !important;
}

.heroSwiper .swiper-slide-active {
    opacity: 1 !important;
}

/* Animation for slide content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-carousel {
        height: 500px;
    }
    .slide-content h1 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }
    .slide-content h1 {
        font-size: 1.5rem;
    }
    .slide-content p {
        font-size: 0.9rem;
    }
    .slide-buttons .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }
}

/* আন্ডারলাইন স্লাইড ইফেক্ট */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #facc15;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}
.navbar-nav .nav-link:hover::after {
    width: 80%;
}
.navbar-nav .nav-link:hover {
    color: #0a4b7a !important;
    transform: translateY(-2px);
}