/* ==========================================================================
   UAE Travel Page Styles (uae-travel.css) - Pixel-Perfect & Fully Responsive
   ========================================================================== */

.uae-page-body {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.uae-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.uae-hero {
    position: relative;
    min-height: 460px;
    background-image: url('../images/uae-image/uaebg.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 40px 40px 220px;
    box-sizing: border-box;
}

.uae-hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

/* Hero Badge */
.uae-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.uae-badge-flag {
    font-size: 15px;
}

/* Hero Title */
.uae-hero-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    color: #0b192c;
    margin: 0 0 14px 0;
    letter-spacing: -0.6px;
    text-align: left;
}

.uae-hero-title .text-blue {
    color: #1d4ed8;
}

.uae-hero-title .underline-curved {
    position: relative;
    display: inline-block;
}

.uae-hero-title .underline-curved::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 50 20, 100 10' stroke='%231d4ed8' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: contain;
}

.uae-hero-subtitle {
    font-size: clamp(13.5px, 1.5vw, 15px);
    line-height: 1.6;
    color: #0b192c;
    font-weight: 600;
    margin: 0 0 24px 0;
    max-width: 480px;
    text-align: left;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Hero Feature Pills */
.uae-hero-features {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.uae-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.uae-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ==========================================================================
   Section Title Common Component
   ========================================================================== */
.uae-section-title-wrap {
    text-align: center;
    margin: 48px 0 32px 0;
}

.uae-section-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0;
}

.uae-section-title::before,
.uae-section-title::after {
    content: '';
    width: 38px;
    height: 3px;
    background: #2563eb;
    display: inline-block;
    border-radius: 3px;
}

/* ==========================================================================
   Why Visit UAE Section
   ========================================================================== */
.why-uae-card {
    background: #f4f8ff;
    border: 1px solid #e0ecfb;
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.why-uae-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: 260px;
}

.why-uae-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.why-uae-heading {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    position: relative;
    display: inline-block;
}

.why-uae-heading::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    margin-top: 6px;
}

.why-uae-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 12px 0;
}

.why-uae-map-svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 85%;
    width: auto;
    opacity: 0.35;
    pointer-events: none;
}

/* ==========================================================================
   Top Attractions Grid (6 Columns on Desktop)
   ========================================================================== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.attraction-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.attraction-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.attraction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-icon-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.attraction-body {
    padding: 16px 12px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.attraction-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.attraction-desc {
    font-size: 11.5px;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   Travel Essentials Section
   ========================================================================== */
.essentials-wrapper {
    background: #f4f8ff;
    border: 1px solid #e0ecfb;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 50px;
}

.essentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.6fr;
    gap: 16px;
}

.essential-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.essential-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.essential-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.essential-desc {
    font-size: 11.5px;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
}

/* Wide Card 4 (Emirates to Visit) */
.essential-card.wide-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    padding: 20px 20px;
    align-items: center;
}

.essential-card.wide-card .essential-icon-circle {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    font-size: 20px;
}

.essential-card.wide-card .essential-content {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.uae-cta-banner {
    background: linear-gradient(135deg, #0265dc 0%, #0052cc 100%);
    border-radius: 18px;
    padding: 28px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 24px rgba(2, 101, 220, 0.2);
}

.uae-cta-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 48%;
    object-fit: cover;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.85;
}

.uae-cta-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.uae-cta-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.uae-cta-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #e0f2fe;
    margin: 0;
}

.uae-cta-action {
    position: relative;
    z-index: 2;
}

.uae-whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #0f172a;
    padding: 8px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.uae-whatsapp-cta-btn:hover {
    transform: translateY(-2px);
}

.uae-whatsapp-icon {
    font-size: 26px;
    color: #25d366;
}

.uae-whatsapp-info {
    display: flex;
    flex-direction: column;
}

.uae-whatsapp-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.uae-whatsapp-phone {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   Full Page Responsive Media Queries
   ========================================================================== */
@media (max-width: 1280px) {
    .uae-hero {
        padding: 90px 30px 40px 80px;
    }
}

@media (max-width: 1100px) {
    .uae-hero {
        padding: 80px 24px 30px 50px;
        min-height: 400px;
    }

    .attractions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .essentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .essential-card.wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .why-uae-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .why-uae-image-wrap {
        height: 220px;
    }

    .why-uae-map-svg {
        display: none;
    }
}

@media (max-width: 768px) {
    .uae-hero {
        min-height: auto;
        padding: 70px 20px 36px 24px;
    }

    .uae-hero-content {
        max-width: 100%;
    }

    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .essentials-grid {
        grid-template-columns: 1fr;
    }

    .essential-card.wide-card {
        grid-column: span 1;
    }

    .uae-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
    }

    .uae-cta-bg-img {
        width: 100%;
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .uae-hero {
        padding: 60px 16px 30px 16px;
    }

    .uae-hero-content {
        align-items: center !important;
        text-align: center !important;
    }

    .uae-hero-title,
    .uae-hero-subtitle {
        text-align: center !important;
    }

    .uae-hero-features {
        justify-content: center !important;
    }

    .attractions-grid {
        grid-template-columns: 1fr;
    }

    .uae-container {
        padding: 0 16px;
    }
}