/* Bengali Font and Base Styles */
* {
    font-family: 'Noto Sans Bengali', sans-serif;
}

body {
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom Colors */
:root {
    --primary-color: #1e40af;
    --secondary-color: #16a34a;
    --accent-color: #f59e0b;
    --success-color: #22c55e;
    --warning-color: #f97316;
    --error-color: #ef4444;
    --dark-color: #1f2937;
    --light-gray: #f8fafc;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.75rem 1rem !important;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Banner Slider */
.carousel {
    position: relative;
    z-index: 1;
}

.banner-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner-slide .container {
    position: relative;
    z-index: 2;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6, var(--secondary-color));
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"></polygon></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.candidate-photo {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
#about img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.05);
}

.about-content h3 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Commitment Cards */
.commitment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.commitment-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.commitment-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.commitment-card:hover .card-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--accent-color), #f97316);
}

.commitment-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.commitment-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.commitment-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.commitment-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.commitment-card ul li:last-child {
    border-bottom: none;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-meta .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.badge.bg-pink {
    background-color: #ec4899 !important;
}

/* Blog Modal Enhancements */
.modal-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.modal-body img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.modal-body h6 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-body .alert {
    border-radius: 10px;
    border-width: 2px;
}

.modal-body .card {
    border-radius: 10px;
    overflow: hidden;
}

.modal-body .table {
    font-size: 0.9rem;
}

.modal-body .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
}

.modal-body blockquote {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.border-pink {
    border-color: #ec4899 !important;
}

/* Blog Card Read More Button */
.blog-card .btn-sm {
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#loadMoreBlogs {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#loadMoreBlogs:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-info {
    padding: 2rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info:hover .contact-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-slide {
        min-height: 70vh;
        text-align: center;
    }
    
    .banner-slide h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        text-align: center;
        min-height: 60vh;
    }
    
    .candidate-photo {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .commitment-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    line-height: 1.8;
}

/* Button Enhancements */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Scroll Enhancement */
html {
    scroll-padding-top: 80px;
}