/*
 Theme Name:   Betifa Understrap Child - Betifa
 Theme URI:    https://understrap.com
 Description:  Betifa Understrap Child Theme for Betifa
 Author:       Betifa Bilgilendirme
 Template:     understrap
 Version:      2.0.0
 Text Domain:  understrap-child
*/

/* ============================================
   ADVANCED KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(220,20,60,0.5), 0 0 10px rgba(220,20,60,0.3); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(220,20,60,0.8), 0 0 35px rgba(220,20,60,0.6), 0 0 50px rgba(220,20,60,0.4); 
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(0.9); }
    20%, 40%, 60%, 80% { transform: scale(1.1); }
    50%, 70% { transform: scale(1.05); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    color: #2C3E50;
}

.section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #DC143C, #9B1B30);
    border-radius: 2px;
}

/* ============================================
   NAVBAR
   ============================================ */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.custom-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 0.875rem 0;
    background: rgba(255, 255, 255, 1);
}

.navbar-brand-text {
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 50%, #6B0F1A 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.875rem;
    transition: all 0.3s ease;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

.navbar-brand-text:hover {
    transform: scale(1.08) translateY(-2px);
    filter: brightness(1.3);
}

.nav-link {
    color: #2C3E50;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #9B1B30);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #9B1B30;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 85%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFFFFF 30%, #FFF0F0 60%, #FFFFFF 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    animation: fadeInUp 1.2s ease-out;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    margin-bottom: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    animation: fadeInUp 1.4s ease-out;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex !important;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: block !important;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    display: block !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%);
    transition: width 0.7s, height 0.7s;
    z-index: -1;
}

.btn:hover::before {
    width: 350px;
    height: 350px;
}

.btn-primary {
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 50%, #6B0F1A 100%);
    background-size: 200% 200%;
    color: #2C3E50;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45);
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.65);
    color: #1a1a1a;
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-outline-accent {
    background: transparent;
    color: #9B1B30;
    border: 2px solid #9B1B30;
    position: relative;
    z-index: 1;
}

.btn-outline-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 100%);
    transition: width 0.5s ease;
    z-index: -1;
    border-radius: 10px;
}

.btn-outline-accent:hover {
    color: #2C3E50;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline-accent:hover::after {
    width: 100%;
}

/* ============================================
   INFO BANNER
   ============================================ */
.info-banner {
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 50%, #DC143C 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    padding: 1.5rem;
    border-radius: 15px;
    color: #2C3E50;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shine 3s infinite;
}

.info-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* ============================================
   ADDRESS BOX
   ============================================ */
.address-container {
    perspective: 1000px;
}

.address-box {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFFFFF 50%, #FFF0F0 100%);
    border: 4px solid #DC143C;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 12px 45px rgba(255, 215, 0, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 1s ease-out;
    transform-style: preserve-3d;
}

.address-box::before {
    content: '⭐';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    padding: 0 2rem;
    font-size: 2rem;
    animation: pulse 2.5s infinite, bounce 2s infinite;
}

.address-box:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5);
    border-color: #9B1B30;
    animation: glow 2s infinite;
}

.address-link {
    font-size: 2rem;
    font-weight: 700;
    color: #9B1B30;
    text-decoration: none;
    padding: 1.5rem 3rem;
    background: #FFFFFF;
    border-radius: 15px;
    display: inline-block;
    margin: 2rem 0;
    border: 3px dashed #DC143C;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.address-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220,20,60,0.4), transparent);
    transition: left 0.6s;
}

.address-link:hover {
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 100%);
    color: #1a1a1a;
    border-style: solid;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.address-link:hover::before {
    left: 100%;
}

.copy-btn {
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 100%);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    color: #2C3E50;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(255, 215, 0, 0.35);
    font-size: 1.05rem;
}

.copy-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.55);
}

.copy-btn:active {
    transform: translateY(-1px) scale(0.95);
}

/* ============================================
   CARDS
   ============================================ */
.card-feature {
    border-top: 5px solid #DC143C;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220,20,60,0.15), transparent);
    transition: left 0.6s;
}

.card-feature:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
    border-top-color: #9B1B30;
}

.card-feature:hover::before {
    left: 100%;
}

.card-feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(135deg, #DC143C 0%, #9B1B30 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.35);
    transition: all 0.5s ease;
}

.card-feature:hover .card-feature-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
}

.card-title {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 1.25rem;
    font-weight: 700;
    transition: color 0.3s;
}

.card-feature:hover .card-title {
    color: #9B1B30;
}

.card-text {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   SIDEBAR
   ============================================ */
.custom-sidebar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 110px;
    animation: fadeInRight 1s ease-out;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.custom-sidebar:hover {
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.25);
}

.sidebar-widget {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid #f5f5f5;
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: #2C3E50;
    font-weight: 700;
    position: relative;
    padding-left: 1.25rem;
}

.sidebar-widget h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 75%;
    background: linear-gradient(180deg, #DC143C, #9B1B30);
    border-radius: 3px;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 1rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.quick-links a {
    color: #2C3E50;
    text-decoration: none;
    display: block;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 500;
}

.quick-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #DC143C, #9B1B30);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quick-links a:hover {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFDBDB 100%);
    color: #9B1B30;
    padding-left: 1.75rem;
    transform: translateX(8px);
}

.quick-links a:hover::before {
    transform: scaleY(1);
}

.trust-badge {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFDBDB 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #DC143C;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-badge:hover {
    transform: translateX(8px) scale(1.03);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.35);
    background: linear-gradient(135deg, #DC143C 0%, #FFDBDB 100%);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.stat-item:hover {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFFAED 100%);
    transform: translateX(8px);
    border-bottom-color: #DC143C;
}

.text-accent {
    color: #9B1B30;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFDBDB 100%);
    border-left: 5px solid #DC143C;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.info-box h5 {
    color: #9B1B30;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 1.5rem 0;
    transition: all 0.4s ease;
    border-left: 4px solid #DC143C;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 5rem;
    color: #DC143C;
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.25);
    border-left-width: 6px;
}

.testimonial-text {
    position: relative;
    z-index: 2;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2C3E50;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, #2C3E50 0%, #34495e 50%, #2C3E50 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 4rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220,20,60,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155,27,48,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

.promo-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #DC143C, #9B1B30);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-icon {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2C3E50;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 18px rgba(220,20,60,0.2);
}

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */
.comparison-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.comparison-table th {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    color: #2C3E50;
    padding: 1.25rem;
    font-weight: 700;
    text-align: left;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #f5f5f5;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #FFF0F0;
}

.feature-highlight {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFDBDB 100%);
    border-left: 4px solid #DC143C;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 5px 15px rgba(220,20,60,0.3);
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(220,20,60,0.5);
}

.alert-box {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.alert-box h5 {
    color: #f57c00;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.success-box {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #4caf50;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.success-box h5 {
    color: #2e7d32;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.badge-accent {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    color: #2C3E50;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220,20,60,0.3);
}

.highlight-text {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFDBDB 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    color: #9B1B30;
    font-weight: 600;
    display: inline-block;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #DC143C, transparent);
    margin: 3rem 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    border-left: 5px solid #DC143C;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(220,20,60,0.2);
}

.faq-item h5 {
    font-size: 1.25rem;
    color: #9B1B30;
    margin-bottom: 0.75rem;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #DC143C 0%, #9B1B30 50%, #6B0F1A 100%);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(220,20,60,0.5);
}

/* ============================================
   IMAGES
   ============================================ */
.hero-img,
.section-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   UTILITY CLASSES (replacing inline styles)
   ============================================ */
.text-lead {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.text-accent-heading {
    color: #9B1B30;
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-accent-heading-lg {
    color: #9B1B30;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.375rem;
}

.bg-light-box {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
}

.bg-light-box h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.bg-light-box ul {
    padding-left: 1.25rem;
    font-size: 0.95rem;
}

.external-link {
    color: #9B1B30;
    text-decoration: none;
    transition: color 0.3s;
}

.external-link:hover {
    color: #6B0F1A;
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #2C3E50 0%, #1a1a1a 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC143C, #9B1B30, #DC143C);
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-link:hover {
    color: #DC143C;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .custom-sidebar {
        margin-top: 4rem;
        position: relative;
        top: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .address-link {
        font-size: 1.5rem;
        padding: 1.25rem 2rem;
    }

    .card-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.75rem;
    }

    .sidebar-widget {
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   BLOG CARD GRID
   ============================================ */

.blog-card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-img-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img-placeholder span {
    font-size: 3rem;
    opacity: 0.5;
}

.blog-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-readmore {
    font-size: 0.85rem;
    color: #d4af37;
    font-weight: 600;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    margin-top: auto;
}

.blog-card:hover .blog-card-readmore {
    color: #DC143C;
    letter-spacing: 0.5px;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Blog Card Responsive */
@media (max-width: 768px) {
    .blog-card-img {
        height: 180px;
    }
    .blog-card-title {
        font-size: 1rem;
    }
    .section-heading {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .blog-card-img {
        height: 160px;
    }
}

/* ============================================
   BLOG ARCHIVE PAGE (home.php)
   ============================================ */

.blog-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.blog-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.blog-hero-desc {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
.blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers li {
    list-style: none;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #1a1a2e;
    color: #b0b0b0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.blog-pagination .page-numbers li a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #d4af37;
    border-color: rgba(255, 215, 0, 0.3);
}

.blog-pagination .page-numbers li span.current {
    background: linear-gradient(135deg, #d4af37 0%, #f2d06b 100%);
    color: #0a0a1a;
    border-color: #d4af37;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 1.6rem;
    }
    .blog-hero-desc {
        font-size: 0.95rem;
    }
}
/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.custom-navbar .navbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.custom-navbar .mobile-menu-toggle {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.custom-navbar .hamburger-line {
    width: 26px;
    height: 3px;
    background: #2C3E50;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.custom-navbar .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.custom-navbar .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.custom-navbar .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.custom-navbar .nav-menu-inner {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.mobile-menu-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block !important;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

.custom-navbar .nav-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2C3E50;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.custom-navbar .nav-search-toggle:hover {
    color: #9B1B30;
}

/* Search Overlay */
.custom-navbar .search-overlay {
    display: none !important;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    border-top: 2px solid #DC143C;
    animation: slideDown 0.3s ease;
}

.custom-navbar .search-overlay.active {
    display: block !important;
}

.custom-navbar .search-overlay-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.custom-navbar .search-overlay-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
    font-family: inherit;
}

.custom-navbar .search-overlay-input:focus {
    border-color: #DC143C;
}

.custom-navbar .search-overlay-btn {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border: none;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    color: #2C3E50;
    transition: all 0.3s;
}

.custom-navbar .search-overlay-btn:hover {
    transform: scale(1.05);
}

.custom-navbar .search-overlay-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.5rem;
    transition: color 0.3s;
}

.custom-navbar .search-overlay-close:hover {
    color: #2C3E50;
}

/* Active nav link */
.nav-link.active {
    color: #9B1B30;
}

.nav-link.active::before {
    width: 85%;
}

@media (max-width: 992px) {
    .custom-navbar .mobile-menu-toggle {
        display: flex !important;
    }
    
    .custom-navbar .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 1005;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .custom-navbar .nav-menu.open {
        right: 0;
    }
    
    .custom-navbar .nav-menu-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    
    .custom-navbar .nav-menu .nav-link {
        width: 100%;
        padding: 1rem 0.75rem;
        border-bottom: 1px solid #f5f5f5;
        font-size: 1.05rem;
    }
    
    .custom-navbar .nav-search-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 0.75rem;
        gap: 0.5rem;
    }
    
    .custom-navbar .nav-search-toggle::after {
        content: 'Ara';
        font-size: 1.05rem;
        font-weight: 500;
    }
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.97);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 9998;
    padding: 1.25rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-inner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    min-width: 250px;
}

.cookie-consent-inner a {
    color: #DC143C;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-accent {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    color: #2C3E50;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,20,60,0.4);
    color: #2C3E50;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220,20,60,0.4);
    z-index: 990;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: #2C3E50;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220,20,60,0.6);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.betifa-breadcrumbs {
    background: #f8f9fa;
    padding: 0.875rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    padding: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-item a {
    color: #9B1B30;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #6B0F1A;
}

.breadcrumb-item.active {
    color: #2C3E50;
    font-weight: 500;
}

/* ============================================
   FOOTER ENHANCED
   ============================================ */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col-title {
    color: #DC143C;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #DC143C;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding-left: 0;
}

.footer-nav-link:hover {
    color: #DC143C;
    padding-left: 8px;
}

.footer-newsletter-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(220,20,60,0.3);
}

.footer-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}

.footer-newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border: none;
    padding: 0.75rem 1.25rem;
    color: #2C3E50;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-newsletter-btn:hover {
    background: #DC143C;
}

.footer-newsletter-status {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.footer-newsletter-status.success {
    color: #4caf50;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-disclaimer {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #DC143C;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   SINGLE POST STYLES
   ============================================ */
.post-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 3.5rem 0 3rem;
}

.post-hero-content {
    color: white;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.post-category-badge {
    background: rgba(220,20,60,0.15);
    color: #DC143C;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(220,20,60,0.3);
    transition: all 0.3s;
}

.post-category-badge:hover {
    background: #DC143C;
    color: #0a0a1a;
}

.post-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.post-meta-updated {
    color: rgba(220,20,60,0.7);
}

.post-featured-image {
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.post-thumbnail-figure {
    margin: 0;
}

.post-thumbnail-img {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    height: auto;
}

.post-thumbnail-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.75rem;
    font-style: italic;
}

.post-content-area {
    padding: 2rem 0 3rem;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C3E50;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #2C3E50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #DC143C;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #9B1B30;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content a {
    color: #9B1B30;
    text-decoration: underline;
    text-decoration-color: rgba(155,27,48,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s;
}

.post-content a:hover {
    text-decoration-color: #9B1B30;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 4px solid #DC143C;
    background: #FFF0F0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.post-content ul, .post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Table of Contents */
.toc-wrapper {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 2px solid rgba(220,20,60,0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    transition: all 0.3s;
}

.toc-wrapper:hover {
    border-color: #DC143C;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.toc-toggle {
    font-size: 1.5rem;
    color: #9B1B30;
    font-weight: 700;
    transition: transform 0.3s;
}

.toc-wrapper.collapsed .toc-nav {
    display: none;
}

.toc-wrapper.collapsed .toc-toggle {
    transform: rotate(180deg);
}

.toc-wrapper.collapsed .toc-toggle::after {
    content: '+';
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    counter-reset: toc;
}

.toc-list li {
    counter-increment: toc;
    margin-bottom: 0.5rem;
}

.toc-list li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #2C3E50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.toc-list li a:hover {
    background: rgba(220,20,60,0.1);
    color: #9B1B30;
    padding-left: 1.25rem;
}

.toc-list li.toc-sub a {
    padding-left: 2rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}

.post-tags-label {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.9rem;
}

.post-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.post-tag:hover {
    background: #DC143C;
    color: #2C3E50;
    border-color: #DC143C;
}

/* Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.post-share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2C3E50;
}

.post-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.share-twitter { background: #1DA1F2; }
.share-facebook { background: #1877F2; }
.share-whatsapp { background: #25D366; }
.share-copy { background: #6c757d; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 16px;
    border: 1px solid #eee;
    margin: 2rem 0;
}

.author-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #DC143C;
}

.author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9B1B30;
    font-weight: 600;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.25rem 0 0.5rem;
    color: #2C3E50;
}

.author-bio {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-posts-link {
    color: #9B1B30;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.author-posts-link:hover {
    color: #6B0F1A;
}

/* Post Navigation */
.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.post-nav-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.post-nav-item:hover {
    border-color: #DC143C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220,20,60,0.15);
}

.post-nav-label {
    display: block;
    font-size: 0.8rem;
    color: #9B1B30;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.post-nav-title {
    display: block;
    font-size: 1rem;
    color: #2C3E50;
    font-weight: 600;
    line-height: 1.4;
}

.post-nav-next {
    text-align: right;
}

@media (max-width: 576px) {
    .post-nav-grid {
        grid-template-columns: 1fr;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Related Posts */
.related-posts-section {
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
    padding: 4rem 0;
    margin-top: 3rem;
}

.related-posts-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

/* Single Sidebar */
.single-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-search-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #eee;
    transition: border-color 0.3s;
}

.sidebar-search-form:focus-within {
    border-color: #DC143C;
}

.sidebar-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
}

.sidebar-search-btn {
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: #2C3E50;
    transition: all 0.3s;
}

.sidebar-address-box {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FFF0F0, #FFDBDB);
    border-radius: 12px;
    border: 2px solid #DC143C;
}

.sidebar-address-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #9B1B30;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.sidebar-address-link:hover {
    color: #6B0F1A;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.sidebar-categories .cat-name {
    color: #2C3E50;
    font-weight: 500;
}

.sidebar-categories .cat-count {
    background: #f8f9fa;
    color: #9B1B30;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-categories li a:hover .cat-name {
    color: #9B1B30;
}

.sidebar-recent-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.sidebar-recent-post:hover {
    transform: translateX(5px);
}

.sidebar-recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-title {
    display: block;
    color: #2C3E50;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.sidebar-recent-date {
    font-size: 0.8rem;
    color: #9B1B30;
}

.sidebar-notice-box {
    background: linear-gradient(135deg, #FFF0F0, #FFDBDB);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #DC143C;
}

.sidebar-notice-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-notice-meta {
    background: rgba(220,20,60,0.2);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.sidebar-help-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.error-404-number {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    background: linear-gradient(135deg, #DC143C, #9B1B30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.error-404-desc {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.error-404-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto 3rem;
    gap: 0.5rem;
}

.error-404-search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.error-404-search-input:focus {
    border-color: #DC143C;
}

.error-404-links-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
}

.error-404-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.error-404-link-card {
    background: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.error-404-link-card:hover {
    border-color: #DC143C;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220,20,60,0.15);
}

.error-404-link-icon {
    font-size: 2rem;
}

.error-404-link-text {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .error-404-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-hero {
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e, #16213e);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(220,20,60,0.1);
}

.search-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.search-hero-title strong {
    color: #DC143C;
}

.search-again-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-again-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(220,20,60,0.3);
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    outline: none;
    font-family: inherit;
}

.search-again-input:focus {
    border-color: #DC143C;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 0.75rem;
}

.no-results-desc {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.no-results-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e, #16213e);
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(220,20,60,0.1);
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-hero-desc {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C3E50;
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #2C3E50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #DC143C;
}

.page-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
    color: #9B1B30;
}

.page-updated-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

/* ============================================
   ARCHIVE PAGE ADDITIONS
   ============================================ */
.archive-type-badge {
    display: inline-block;
    background: rgba(220,20,60,0.15);
    color: #DC143C;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(220,20,60,0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.archive-count {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ============================================
   FRONT PAGE SPECIFIC CLEANED CLASSES
   ============================================ */
.address-box-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-box-text {
    line-height: 1.7;
}

.feature-highlight-text {
    line-height: 1.7;
    margin-bottom: 0;
}

.icon-box-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.timeline-text {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-list {
    padding-left: 1.5rem;
    line-height: 1.7;
}

.bg-light-box-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.bg-light-box-list {
    padding-left: 1.25rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.success-box-text {
    line-height: 1.7;
}

.promo-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.promo-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.promo-cta {
    font-size: 1.125rem;
    padding: 1.125rem 3rem;
}

.faq-question {
    font-size: 1.25rem;
    color: #9B1B30;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.faq-answer {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.8;
}

.trust-badge-icon {
    font-size: 1.5rem;
}

.blog-section-frontpage {
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e);
}

/* ============================================
   COPY TOAST NOTIFICATION
   ============================================ */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(40,167,69,0.3);
}

.copy-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   ANIMATION ON SCROLL (universal)
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   REDUCED MOTION PREFERENCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .section, .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
