/**
 * Arwad Hero Section Styling
 * Apply class "arwad-hero-section" to any Divi Section to get hero styling
 * 
 * Usage in Divi:
 * 1. Add a Section
 * 2. Go to Advanced > CSS ID & Classes
 * 3. Add "arwad-hero-section" to CSS Class
 * 4. Add any modules inside (Title, CategoryPills, etc.)
 */

/* ==========================================
   ARWAD HERO SECTION - Base Styling
   ========================================== */
.arwad-hero-section {
    position: relative !important;
    padding: 48px 0 40px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e6 50%, #ebe5d9 100%) !important;
    border: none !important;
}

/* Pattern Overlay */
.arwad-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 20% 30%, #42164B 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, #A54055 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Glow Effect */
.arwad-hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    left: -150px;
    top: -200px;
    background: radial-gradient(circle, rgba(165, 64, 85, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above background effects */
.arwad-hero-section>.et_pb_row,
.arwad-hero-section .et_pb_row {
    position: relative;
    z-index: 1;
}

/* ==========================================
   ARWAD HERO TITLE - Gradient Text
   ========================================== */
.arwad-hero-section .arwad-hero-title,
.arwad-hero-section h1.arwad-hero-title,
.arwad-hero-section .et_pb_text h1,
.arwad-hero-section .et_pb_text.arwad-hero-title-module h1 {
    font-family: 'Cairo', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
    background: linear-gradient(135deg, #42164B 0%, #A54055 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* ==========================================
   ARWAD HERO DESCRIPTION
   ========================================== */
.arwad-hero-section .arwad-hero-desc,
.arwad-hero-section .et_pb_text.arwad-hero-desc-module p {
    font-family: 'Cairo', sans-serif !important;
    font-size: 18px !important;
    color: #666 !important;
    max-width: 500px !important;
    margin: 0 auto 40px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

/* ==========================================
   ARWAD BREADCRUMB
   ========================================== */
.arwad-hero-section .arwad-breadcrumb,
.arwad-hero-section .et_pb_text.arwad-breadcrumb-module {
    margin-bottom: 24px !important;
    text-align: center !important;
}

.arwad-hero-section .arwad-breadcrumb a,
.arwad-hero-section .et_pb_text.arwad-breadcrumb-module a {
    color: #666 !important;
    text-decoration: none !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.arwad-hero-section .arwad-breadcrumb a:hover,
.arwad-hero-section .et_pb_text.arwad-breadcrumb-module a:hover {
    color: #42164B !important;
}

.arwad-hero-section .arwad-breadcrumb .breadcrumb-separator {
    color: #999 !important;
    margin: 0 8px !important;
}

.arwad-hero-section .arwad-breadcrumb .breadcrumb-current {
    color: #42164B !important;
    font-weight: 600 !important;
}

/* ==========================================
   ANIMATION
   ========================================== */
.arwad-hero-section .et_pb_row {
    animation: arwadHeroFadeUp 0.6s ease-out;
}

@keyframes arwadHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .arwad-hero-section {
        padding: 32px 0 24px !important;
    }

    .arwad-hero-section .arwad-hero-title,
    .arwad-hero-section .et_pb_text h1 {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
    }

    .arwad-hero-section .arwad-hero-desc,
    .arwad-hero-section .et_pb_text.arwad-hero-desc-module p {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }
}