/**
 * Alshifa MedTour - Hero Section Styles (Production Master v1.0.9)
 * 100% MedTripz Replica + Alshifa Medical Branding
 * Palette: Light Blue (#0E9FDF), Bisleri Green (#00A887), Slate (#1E293B), Pure White (#FFFFFF)
 */

/* ========================================================
   GLOBAL FONT & CONTAINER RESET
   ======================================================== */
.alshifa-hero-section,
.alshifa-hero-section *,
.alshifa-hero-section input,
.alshifa-hero-section select,
.alshifa-hero-section textarea,
.alshifa-hero-section button,
.alshifa-hero-section label,
.alshifa-hero-section span,
.alshifa-hero-section p {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box;
}

.alshifa-hero-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    padding: 90px 0 85px 0;
    background-color: #0F172A;
}

/* ========================================================
   1. BACKGROUND SLIDER (VIBRANT, CLEAR, ZERO BLEACHING)
   ======================================================== */
.alshifa-hero-slider-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.alshifa-hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out, visibility 1s ease;
    transform: scale(1.06);
    z-index: 1;
}

.alshifa-hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.alshifa-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

/* Dark Transparent Clinical Gradient Overlay - Keeps photo 100% crisp & white text readable */
.alshifa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.62) 48%, rgba(14, 159, 223, 0.32) 100%),
                linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.78) 100%);
    z-index: 3;
    pointer-events: none;
}

/* ========================================================
   2. CAROUSEL INDICATOR DOTS (MEDTRIPZ EXACT LEFT VERTICAL)
   ======================================================== */
.alshifa-hero-dots-container {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none;
}

.alshifa-hero-dot-btn {
    all: unset !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    border: 2px solid #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.alshifa-hero-dot-btn:hover {
    background-color: rgba(255, 255, 255, 0.85) !important;
    transform: scale(1.2);
}

.alshifa-hero-dot-btn.active {
    background-color: #0E9FDF !important;
    border-color: #FFFFFF !important;
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(14, 159, 223, 0.8) !important;
}

/* ========================================================
   3. FOREGROUND BANNER CONTAINER
   ======================================================== */
.alshifa-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px 0 65px; /* Room for left vertical dots */
    box-sizing: border-box;
}

.alshifa-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

/* ========================================================
   4. LEFT COLUMN: HEADLINE & TRUST POINTS
   ======================================================== */
.alshifa-hero-col-content {
    flex: 1 1 54%;
    max-width: 650px;
    box-sizing: border-box;
}

.alshifa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 159, 223, 0.25);
    color: #BAE6FD;
    border: 1px solid rgba(186, 230, 253, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.alshifa-hero-badge svg {
    width: 15px;
    height: 15px;
    fill: #38BDF8;
    flex-shrink: 0;
}

.alshifa-hero-title {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.alshifa-hero-title-arabic {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #38BDF8;
    margin: 0 0 16px 0;
    direction: rtl;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.alshifa-hero-desc {
    font-size: 16.5px;
    line-height: 1.6;
    color: #E2E8F0;
    margin: 0 0 26px 0;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Trust features list */
.alshifa-hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alshifa-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F8FAFC;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.alshifa-hero-trust-item svg {
    width: 16px;
    height: 16px;
    fill: #00A887;
    flex-shrink: 0;
}

/* ========================================================
   5. RIGHT COLUMN: NEED HELP? FORM CARD
   ======================================================== */
.alshifa-hero-col-form {
    flex: 1 1 46%;
    max-width: 480px;
    box-sizing: border-box;
}

.alshifa-hero-form-card {
    background: linear-gradient(145deg, rgba(14, 159, 223, 0.95) 0%, rgba(2, 132, 199, 0.92) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 26px 24px 22px 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.alshifa-form-header {
    text-align: center;
    margin-bottom: 16px;
}

.alshifa-form-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.3px;
}

.alshifa-form-header .arabic-sub {
    font-size: 16px;
    color: #E0F2FE;
    font-weight: 700;
    direction: rtl;
    display: inline-block;
    margin-left: 6px;
}

.alshifa-form-header p {
    font-size: 13px;
    color: #F0F9FF;
    margin: 4px 0 0 0;
    opacity: 0.92;
    font-weight: 500;
}

/* ========================================================
   6. CONTACT FORM 7 ULTRA-COMPACT 2-COLUMN STYLING
   ======================================================== */
.alshifa-hero-cf7-wrap {
    width: 100%;
    box-sizing: border-box;
}

.alshifa-hero-cf7-wrap p {
    margin: 0 !important;
    padding: 0 !important;
}

.alshifa-hero-cf7-wrap form.wpcf7-form {
    margin: 0 !important;
}

.alshifa-cf7-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.alshifa-cf7-row {
    display: flex;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.alshifa-cf7-field {
    flex: 1;
    min-width: 0;
    position: relative;
    box-sizing: border-box;
}

.alshifa-cf7-field .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.alshifa-cf7-lbl {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Form Inputs, Selects, and Textareas */
.alshifa-hero-cf7-wrap input[type="text"],
.alshifa-hero-cf7-wrap input[type="email"],
.alshifa-hero-cf7-wrap input[type="tel"],
.alshifa-hero-cf7-wrap input[type="date"],
.alshifa-hero-cf7-wrap select,
.alshifa-hero-cf7-wrap textarea {
    width: 100% !important;
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1E293B !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    margin: 0 !important;
    line-height: normal !important;
    height: 38px !important;
}

.alshifa-hero-cf7-wrap input:focus,
.alshifa-hero-cf7-wrap select:focus,
.alshifa-hero-cf7-wrap textarea:focus {
    border-color: #00A887 !important;
    box-shadow: 0 0 0 3px rgba(0, 168, 135, 0.25) !important;
}

.alshifa-hero-cf7-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748B'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
    cursor: pointer !important;
}

.alshifa-hero-cf7-wrap textarea {
    height: 52px !important;
    min-height: 52px !important;
    resize: none !important;
    padding-top: 8px !important;
}

/* Custom Sleek File Upload Button */
.alshifa-hero-cf7-wrap input[type="file"] {
    width: 100% !important;
    height: 38px !important;
    background-color: #FFFFFF !important;
    border: 1.5px dashed #0E9FDF !important;
    border-radius: 8px !important;
    padding: 4px 6px !important;
    font-size: 11px !important;
    color: #475569 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.alshifa-hero-cf7-wrap input[type="file"]::file-selector-button,
.alshifa-hero-cf7-wrap input[type="file"]::-webkit-file-upload-button {
    all: unset !important;
    background: #0E9FDF !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    margin-right: 6px !important;
    display: inline-block !important;
    transition: background 0.2s ease !important;
}

.alshifa-hero-cf7-wrap input[type="file"]::file-selector-button:hover,
.alshifa-hero-cf7-wrap input[type="file"]::-webkit-file-upload-button:hover {
    background: #0284C7 !important;
}

/* Submit CTA Button (Signature Bisleri Green Pill) */
.alshifa-cf7-submit-wrap {
    margin-top: 3px;
    width: 100%;
}

.alshifa-hero-cf7-wrap input[type="submit"],
.alshifa-hero-cf7-wrap button[type="submit"] {
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background-color: #00A887 !important;
    color: #FFFFFF !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 11px 16px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    text-align: center !important;
    box-shadow: 0 8px 18px -4px rgba(0, 168, 135, 0.45) !important;
    white-space: nowrap !important;
}

.alshifa-hero-cf7-wrap input[type="submit"]:hover,
.alshifa-hero-cf7-wrap button[type="submit"]:hover {
    background-color: #007A62 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 22px -4px rgba(0, 168, 135, 0.55) !important;
}

/* Privacy & Trust Badge */
.alshifa-form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: #E0F2FE;
    margin-top: 8px;
    font-weight: 500;
}

.alshifa-form-privacy svg {
    width: 13px;
    height: 13px;
    fill: #34D399;
}

/* Placeholder box when CF7 shortcode is empty in editor */
.alshifa-cf7-empty-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    color: #FFFFFF;
}

/* CF7 Validation & Alert Messages */
.alshifa-hero-cf7-wrap .wpcf7-not-valid-tip {
    font-size: 11px !important;
    color: #FFD2D2 !important;
    margin-top: 2px !important;
    display: block !important;
}

.alshifa-hero-cf7-wrap .wpcf7-response-output {
    margin: 8px 0 0 0 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    text-align: center !important;
}

.alshifa-hero-cf7-wrap .wpcf7-spinner {
    display: block !important;
    margin: 4px auto 0 auto !important;
    background-color: #FFFFFF !important;
}

/* ========================================================
   7. 100% MOBILE & TABLET RESPONSIVE PERFECTION
   ======================================================== */
@media (max-width: 991px) {
    .alshifa-hero-section {
        padding: 50px 0 70px 0;
        min-height: auto;
    }

    .alshifa-hero-container {
        padding: 0 20px;
    }

    .alshifa-hero-dots-container {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 10px;
    }

    .alshifa-hero-row {
        flex-direction: column;
        gap: 36px;
    }

    .alshifa-hero-col-content,
    .alshifa-hero-col-form {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .alshifa-hero-col-content {
        text-align: center;
    }

    .alshifa-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .alshifa-hero-title-arabic {
        text-align: center;
    }

    .alshifa-hero-trust-list {
        justify-content: center;
    }

    .alshifa-hero-col-form {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .alshifa-hero-section {
        padding: 30px 0 80px 0 !important;
    }

    .alshifa-hero-container {
        padding: 0 14px !important;
    }

    .alshifa-hero-title {
        font-size: 25px;
        line-height: 1.3;
    }

    .alshifa-hero-title-arabic {
        font-size: 18px;
    }

    .alshifa-hero-desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .alshifa-hero-form-card {
        padding: 20px 14px 18px 14px !important;
        border-radius: 18px !important;
        margin-bottom: 25px !important;
    }

    .alshifa-form-header h3 {
        font-size: 20px;
    }

    .alshifa-form-header .arabic-sub {
        font-size: 14px;
    }

    .alshifa-cf7-grid {
        gap: 7px !important;
    }

    /* Keep Country/City & Phone/Email side-by-side even on mobile for ultra-compact look */
    .alshifa-cf7-row {
        gap: 6px !important;
    }

    .alshifa-hero-cf7-wrap input[type="text"],
    .alshifa-hero-cf7-wrap input[type="email"],
    .alshifa-hero-cf7-wrap input[type="tel"],
    .alshifa-hero-cf7-wrap input[type="date"],
    .alshifa-hero-cf7-wrap select {
        padding: 6px 8px !important;
        font-size: 12px !important;
        height: 36px !important;
    }

    .alshifa-hero-cf7-wrap textarea {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 12px !important;
    }

    .alshifa-cf7-submit-wrap input[type="submit"] {
        padding: 10px 14px !important;
        font-size: 13.5px !important;
    }

    .alshifa-hero-dots-container {
        bottom: 22px !important;
    }

    .alshifa-hero-trust-list {
        gap: 8px 12px;
    }

    .alshifa-hero-trust-item {
        font-size: 11.5px;
    }
}
