/* Two Columns Hero Wireframe Styles */
.two-columns-hero-section {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-main-title {
    font-family: inherit;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: #0f172a !important;
}

.hero-main-title span {
    font-weight: inherit;
}

.hero-main-description {
    color: #475569 !important;
    max-width: 580px;
}

/* Search Bar (Icon strictly inside the right of the input) */
.hero-search-container {
    max-width: 560px;
    width: 100%;
    position: relative;
}

.hero-search-form {
    position: relative;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-search-input {
    height: 52px !important;
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding-left: 18px !important;
    padding-right: 54px !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rtl .hero-search-input {
    padding-left: 54px !important;
    padding-right: 18px !important;
}

.hero-search-input:focus {
    border-color: #64748b !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06) !important;
}

.hero-search-input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.hero-search-btn {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    z-index: 10 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: opacity 0.2s ease;
}

.rtl .hero-search-btn {
    right: auto !important;
    left: 14px !important;
}

.hero-search-btn:hover {
    opacity: 0.75;
}

/* Popular Tag Pills (Matching Screenshot) */
.hero-tag-pill-modern {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px !important;
    color: #1e293b !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.hero-tag-pill-modern:hover {
    background-color: #e2e8f0;
    color: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

/* Right Column Media Card */
.hero-media-wrapper {
    min-height: 320px;
    max-height: 420px;
    height: 340px;
    background-color: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.wireframe-cross-svg {
    border-radius: 18px;
}

.hero-media-cover {
    border-radius: 20px;
    object-fit: cover;
}

/* Play Button */
.hero-play-button {
    width: 68px;
    height: 68px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.hero-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-play-button::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    animation: heroPulse 2s infinite;
    z-index: -1;
}

@keyframes heroPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Video Modal Popup */
.hero-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-video-modal-container {
    width: 100%;
    max-width: 860px;
    height: auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.hero-video-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.hero-video-iframe-wrapper iframe,
.hero-video-iframe-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video-close-btn {
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 991px) {
    .hero-main-title {
        font-size: 32px !important;
    }
    .hero-media-wrapper {
        height: 240px;
        min-height: 240px;
    }
}
