/* Custom CSS Overrides */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Swiper Customizations */
.swiper-button-next,
.swiper-button-prev {
    color: #006494 !important;
    /* Primary color */
    background: rgba(255, 255, 255, 0.8);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background-color: #006494 !important;
}

/* Mobile Sidebar Transition */
#mobile-sidebar {
    transition: transform 0.3s ease-in-out;
}

.mobile-sidebar-open {
    transform: translateX(0) !important;
}

/* Utilities */
.shadow-soft {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Section padding defaults */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.radial-overlay {
    background: radial-gradient(circle, rgba(27, 42, 78, 0.85) 0%, rgba(27, 42, 78, 0.4) 100%);
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Blog */
.blog-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: var(--font-heading, inherit);
}

.blog-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading, inherit);
}

.blog-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.25rem;
}

.blog-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #475569;
}

.blog-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #475569;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-content a {
    color: var(--primary, #0284c7);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.blog-content a:hover {
    color: var(--primary-dark, #0369a1);
}

.blog-content blockquote {
    border-left: 4px solid var(--primary, #0284c7);
    background-color: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #334155;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content th,
.blog-content td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: left;
}

.blog-content th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}