/* ===== General Styles ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Dark Mode ===== */
body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

body.dark-mode .card,
body.dark-mode .list-group-item,
body.dark-mode .bg-white {
    background: #1e1e1e !important;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .border-bottom {
    border-color: #333 !important;
}

body.dark-mode .navbar {
    background: #1e1e1e !important;
}
.fas {
    display: none;
} 
body.dark-mode .nav-link {
    color: #ccc !important;
}

body.dark-mode .form-control {
    background: #2d2d2d;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .form-control:focus {
    background: #2d2d2d;
    color: #e0e0e0;
}

/* ===== Card Hover Effects ===== */
.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode .hover-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4) !important;
}

/* ===== Object Fit ===== */
.object-fit-cover {
    object-fit: cover;
}

/* ===== Article Content ===== */
.content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content ul, .content ol {
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #6c757d;
    font-style: italic;
}

body.dark-mode .content blockquote {
    color: #adb5bd;
}

/* ===== Swiper Customizations ===== */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
}

.swiper-pagination-bullet {
    background: white !important;
}

.swiper-pagination-bullet-active {
    background: #0d6efd !important;
}

/* ===== Blog Card Image ===== */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.8rem !important;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .swiper-slide .position-relative {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .card .card-body {
        padding: 0.75rem;
    }
}

.img-fluid {
    max-width: 20%;
    height: auto;
}
a.navbar-brand.fw-bold.fs-4 img {
    width: 30px;
}
.col-md-4 img {
        width: 30px;

}
.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: green !important;
}
 .card-title {
    color: green!important;
}
h1.display-5.fw-bold {
    color: green;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
color: green;
}