/* ============ GLOBAL ============ */
::-webkit-scrollbar { display: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; color: #290f14; }
p { line-height: 1.85; }

/* ============ NAVIGATION ============ */
.nav-link { position: relative; transition: color 0.3s; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 2px;
    background: #de1b56;
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ============ MOBILE NAV ============ */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.mobile-menu.open { max-height: 520px; opacity: 1; }

/* ============ BLOG CARDS ============ */
.blog-card { transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { transition: transform 0.4s; }
.blog-card:hover img { transform: scale(1.05); }

/* ============ TESTIMONIAL AUTO-SCROLL ============ */
.testimonial-wrapper { overflow: hidden; }
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-rtl 40s linear infinite;
    width: max-content;
}
.testimonial-track:hover { animation-play-state: paused; }
@keyframes scroll-rtl {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ FORM ============ */
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}
.form-input:focus {
    border-color: #b01e3c;
    box-shadow: 0 0 0 4px rgba(176,30,60,0.08);
}
.form-input::placeholder { color: #9ca3af; }
textarea.form-input { resize: vertical; min-height: 140px; }

/* ============ BLOG POST CONTENT ============ */
.post-content h2 { font-size: 1.8rem; font-weight: 700; margin: 2.5rem 0 1rem; color: #290f14; }
.post-content h3 { font-size: 1.4rem; font-weight: 600; margin: 2rem 0 0.75rem; color: #290f14; }
.post-content p  { line-height: 1.9; margin-bottom: 1.3rem; color: #374151; }
.post-content ul, .post-content ol { padding-right: 1.75rem; margin-bottom: 1.3rem; }
.post-content li { margin-bottom: 0.6rem; line-height: 1.85; color: #374151; }
.post-content img { max-width: 100%; border-radius: 1rem; margin: 2rem auto; display: block; }
.post-content blockquote {
    border-right: 4px solid #b01e3c;
    padding: 1rem 1.5rem;
    background: #fff5f7;
    margin: 2rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #4b5563;
}
.post-content a { color: #b01e3c; text-decoration: underline; }
.post-content strong { color: #290f14; }

/* ============ BADGE ============ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============ FADE-IN ANIMATION ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
