/* =========================================
   DIGITAL MARKETING HERO (CHARCOAL & RED)
   (Custom mapped to your specific HTML)
   ========================================= */

/* 1. Base Banner & Background Overlay */
.banner_sec .carousel-item { 
    min-height: 650px; 
    display: flex; 
    align-items: center; 
    position: relative; /* Required for the overlay */
}

/* Dark gradient overlay over your background image so white text is readable */
.banner_sec .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.95) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* 2. Left Side: Text Box */
.banner_text { 
    background: rgba(255, 255, 255, 0.05); /* Slight glass effect */
    padding: 3rem; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    border-left: 5px solid #eb1e24; /* Red Border */
    backdrop-filter: blur(10px); 
    position: relative;
    z-index: 2; /* Sits above the overlay */
}

/* Sub-head text (Digital Marketing Solutions...) */
.banner_text > span {
    color: #eb1e24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
}

.banner_text h1 {
    color: #fff !important; 
    font-weight: 800;
    margin-bottom: 20px;
    display: block; 
    font-size: clamp(2rem, 3.5vw, 3.2rem); 
    line-height: 1.2;
}

.banner_text p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Premium Authority Badge */
.premium-authority-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(235, 30, 36, 0.2), rgba(35, 31, 32, 0.6));
    border: 1px solid rgba(235, 30, 36, 0.6);
    padding: 8px 16px;
    border-radius: 50px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(235, 30, 36, 0.2);
}
.premium-authority-badge i { color: #eb1e24; }

/* Gradient Text (Replaced Gold with Red) */
.gold-text {
    background: linear-gradient(135deg, #ff4d4d 0%, #eb1e24 50%, #8b1014 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(235, 30, 36, 0.2));
}

/* Call to Action Buttons */
.banner_cta { display: flex; gap: 15px; flex-wrap: wrap; }
.orng_cta { background: #eb1e24; color: #fff !important; padding: 14px 32px; border-radius: 50px; font-weight: 700; transition: 0.3s; text-decoration: none; border: none; }
.orng_cta:hover { background: #fff; color: #eb1e24 !important; transform: translateY(-3px); }
.blue_cta { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.3); padding: 14px 32px; border-radius: 50px; font-weight: 700; transition: 0.3s; text-decoration: none; }
.blue_cta:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-3px); }

/* =========================================
   3. RIGHT VISUAL: MAP HERO INTEGRATION
   ========================================= */
.riyadh-digital-map {
    position: relative;
    width: 100%;
    height: 500px; 
    /* Deep Charcoal to Black Gradient */
    background: radial-gradient(circle at center, #4a4244 0%, #000000 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 40px rgba(235, 30, 36, 0.15); /* Red inset shadow */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.riyadh-digital-map::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px; z-index: 0; pointer-events: none;
}

/* === MARKETING BADGES === */
.marketing-badge {
    position: absolute; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); padding: 10px 15px; border-radius: 12px;
    display: flex; align-items: center; gap: 12px; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatBadge 6s ease-in-out infinite; min-width: 140px;
}
.marketing-badge i { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.marketing-badge div { display: flex; flex-direction: column; line-height: 1.2; }
.marketing-badge span { font-size: 10px; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; font-weight: 600; }
.marketing-badge strong { font-size: 14px; color: #fff; font-weight: 700; }

.badge-seo { top: 15%; left: 10%; border-left: 3px solid #eb1e24; }
.badge-seo i { background: linear-gradient(135deg, #ff4d4d 0%, #eb1e24 100%); }
.badge-ads { bottom: 8%; right: 5%; border-left: 3px solid #28a745; animation-delay: 1s; }
.badge-ads i { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }
.badge-social { top: 20%; right: 10%; border-left: 3px solid #e83e8c; animation-delay: 2s; }
.badge-social i { background: linear-gradient(135deg, #e83e8c 0%, #c2185b 100%); }

@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* === MAP LOCATION LABEL & PULSE EFFECTS === */
.riyadh-pulse-container { position: absolute; top: 52%; left: 53%; width: 0; height: 0; z-index: 10; }

/* Map Dot Glowing Red */
.map-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; background: #fff; border-radius: 50%; box-shadow: 0 0 20px #fff, 0 0 40px #eb1e24; z-index: 12; }
.beacon-beam { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 0; background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent); animation: beamGrow 3s ease-out infinite; z-index: 11; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
@keyframes beamGrow { 0% { height: 0; opacity: 0; } 20% { height: 100px; opacity: 1; } 100% { height: 150px; opacity: 0; } }

.pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); box-shadow: 0 0 15px rgba(235, 30, 36, 0.5); animation: ripple 2.5s linear infinite; opacity: 0; }
.pulse-ring:nth-child(3) { animation-delay: 0.8s; }
.pulse-ring:nth-child(4) { animation-delay: 1.6s; }
@keyframes ripple { 0% { width: 10px; height: 10px; opacity: 1; border-width: 3px; } 100% { width: 200px; height: 200px; opacity: 0; border-width: 0px; } }

.label-connector { position: absolute; top: 10px; left: 50%; width: 2px; height: 50px; background: linear-gradient(to bottom, #fff, transparent); transform: translateX(-50%); z-index: 9; }
.riyadh-label { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.5); border-left: 4px solid #eb1e24; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; box-shadow: 0 15px 40px rgba(0,0,0,0.4); z-index: 12; display: flex; align-items: center; gap: 10px; }
.riyadh-label i { color: #eb1e24; font-size: 10px; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Skyline Divider */
.custom-shape-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 3; }
.custom-shape-divider svg { position: relative; display: block; width: calc(150% + 1.3px); height: 60px; }
.custom-shape-divider .shape-fill { fill: #fcfcfc; } /* Adjust this if the section below has a different bg color */

/* Mobile Fixes */
@media (max-width: 767px) {
    .banner_text { padding: 2rem 1.5rem !important; }
    .banner_cta { flex-direction: column; align-items: flex-start; gap: 10px; }
    .banner_cta a { width: 100%; text-align: center; }
}