/* Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Banner Slider Styles */
#bannerSlider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

#bannerSlider > div {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

#bannerSlider img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* Prose styling for content */
/* Prevent flickering on scroll */
#logoSection {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.logo_img{  
    height: 100px;
}
nav {
    transition: box-shadow 0.2s ease-in-out;
    will-change: box-shadow;
}

.prose {
    line-height: 1.75;
    color: #374151;
}

.prose-lg {
    font-size: 1.125rem;
}

.prose p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #4b5563;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.prose h1:first-child, .prose h2:first-child, .prose h3:first-child {
    margin-top: 0;
}

.prose h1 {
    font-size: 2.5em;
    line-height: 1.2;
    border-bottom: 3px solid #e5e7eb;
    padding-bottom: 0.5em;
}

.prose h2 {
    font-size: 1.4em;
    line-height: 1.3;
    /* border-bottom: 2px solid #e5e7eb; */
    padding-bottom: 0;
    margin-top: 2.5em;
    margin-bottom: 9px;
}

.prose h3 {
    font-size: 1.5em;
    line-height: 1.4;
    color: #2563eb;
}

.prose h4 {
    font-size: 1.25em;
    color: #374151;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2em auto;
    display: block;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.prose a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid #2563eb;
    transition: all 0.2s;
    font-weight: 500;
}

.prose a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.prose ul, .prose ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.prose li {
    margin: 0.75em 0;
    line-height: 1.7;
    color: #4b5563;
}

.prose ul li {
    list-style-type: disc;
}

.prose ol li {
    list-style-type: decimal;
}

.prose blockquote {
    border-left: 4px solid #3b82f6;
    padding: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 0.5rem;
}

.prose strong {
    color: #1f2937;
    font-weight: 700;
}

.prose code {
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #dc2626;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.prose table th {
    background: #f9fafb;
    font-weight: 600;
    text-align: left;
}

.prose table td, .prose table th {
    padding: 0.75em;
    border: 1px solid #e5e7eb;
}

.prose table tr:nth-child(even) {
    background: #f9fafb;
}

/* Remove conflicting styles from scraped content */
.prose [style] {
    all: unset;
    display: revert;
}

/* Smooth transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* Mobile menu animation */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Dropdown menu */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Professional shadows */
.shadow-professional {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

