/* ============================================
   DUBAI TOURS - MAIN STYLES
   Updated Colors: Deep Blue (#003B73), Sky Blue (#0074D9), Gold (#FFD700)
   ============================================ */

/* ============================================
   HERO SECTION WITH SLIDER
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    height: calc(115vh - 80px);
    max-height: 915px;
    min-height: 650px;
}

/* Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.414) 0%, rgba(0, 116, 217, 0.88) 100%);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 215, 0, 0.95);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


.slider-btn:hover {
    background: #FFD700;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: #FFD700;
    transform: scale(1.3);
    border-color: #FFD700;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 125px;
    transform: translateY(-50%);
    z-index: 5;
    color: #fff;
    max-width: 50%;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    color: #fff;
}

.hero-subtitle {
    font-size: 30px;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 28px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(15px);
    padding: 11px 18px;
    border-radius: 35px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

/* Booking Form - Smaller & Compact */
.booking-form-container {
    position: absolute;
    top: 50%;
    right: 45px;
    transform: translateY(-50%);
    z-index: 5;
    animation: slideInRight 0.8s ease-out;
}

.booking-form {
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    width: 460px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 3px solid #FFD700;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0;
}

.booking-form::-webkit-scrollbar {
    width: 5px;
}

.booking-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.booking-form::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 10px;
}

.booking-form h3 {
    font-size: 16px;
    color: #003B73;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 800;
}

.form-subtitle {
    text-align: center;
    color: #0074D9;
    font-size: 11px;
    margin-bottom: 16px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 7px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: #003B73;
    margin-bottom: 3px;
    font-size: 10.5px;
}

.form-group label svg {
    fill: #0074D9;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 6px 9px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0074D9;
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 50px;
}

.btn-submit {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #003B73;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFC700 0%, #FFB700 100%);
}

.btn-submit svg {
    width: 16px;
    height: 16px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ============================================
   POPUP OFFER MODAL
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    background: #fff;
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    margin: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FFD700;
    color: #003B73;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #FFC700;
    transform: rotate(90deg) scale(1.1);
}

.popup-header {
    background: linear-gradient(135deg, #003B73 0%, #0074D9 100%);
    padding: 25px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '🎉';
    position: absolute;
    font-size: 80px;
    opacity: 0.1;
    top: -15px;
    right: -15px;
}

.popup-header h2 {
    color: #FFD700;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.popup-header p {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.popup-body {
    padding: 30px 25px;
}

.offer-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #003B73;
    padding: 12px 20px;
    border-radius: 50px;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.package-list {
    list-style: none;
    margin-bottom: 20px;
}

.package-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.package-list li::before {
    content: '✓';
    background: #0074D9;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 13px;
}

.package-features {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.package-features h3 {
    color: #003B73;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.feature-item::before {
    content: '✓';
    font-size: 14px;
    color: #0074D9;
    font-weight: bold;
}

.popup-cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.popup-btn {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #20BD5B 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.popup-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.popup-btn-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #003B73;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.popup-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.popup-btn svg {
    width: 18px;
    height: 18px;
}

.popup-footer {
    text-align: center;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    font-size: 12px;
    color: #666;
}

/* ============================================
   TOURS SECTION
   ============================================ */
.tours-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #003B73;
}

.section-subtitle {
    text-align: center;
    font-size: 19px;
    color: #0074D9;
    margin-bottom: 70px;
    font-weight: 600;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.tour-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border: 3px solid transparent;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 116, 217, 0.25);
    border-color: #FFD700;
}

.tour-card.featured {
    border-color: #FFD700;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFC700);
    color: #003B73;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.tour-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 59, 115, 0.7) 100%);
}

.tour-content {
    padding: 30px 25px;
}

.tour-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #003B73;
    font-weight: 800;
}

.tour-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.tour-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.tour-card li {
    padding: 9px 0;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.tour-card li::before {
    content: '✓';
    color: #0074D9;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.tour-price {
    background: linear-gradient(135deg, #003B73, #0074D9);
    color: #FFD700;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 17px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 116, 217, 0.3);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    padding: 90px 20px;
    background: linear-gradient(135deg, #003B73 0%, #0074D9 100%);
    color: #fff;
}

.why-choose .section-title {
    color: #fff;
}

.why-choose .section-subtitle {
    color: #FFD700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s ease;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.feature-icon svg {
    width: 56px;
    height: 56px;
}

.feature-box h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFD700;
    font-weight: 800;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    color: #003B73;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-section p {
    font-size: 22px;
    color: #003B73;
    margin-bottom: 45px;
    font-weight: 600;
}

.contact-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 22px 50px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-btn.call {
    background: #003B73;
    color: #fff;
}

.contact-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.footer-item svg {
    fill: #FFD700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .hero-content {
        left: 40px;
        max-width: 42%;
    }
    
    .booking-form-container {
        right: 25px;
    }
    
    .booking-form {
        width: 420px;
    }
}

@media (max-width: 991px) {
    .hero-content {
        left: 20px;
        max-width: 40%;
        top: 32%;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .booking-form-container {
        right: 15px;
    }
    
    .booking-form {
        width: 360px;
        padding: 12px 14px;
    }

    .tours-section {
        padding-top: 170px;
    }

}

@media (max-width: 767px) {
    .hero-container {
        height: auto;
        min-height: auto;
    }

    /* Slider ko explicit height do taaki content uske andar rahe */
    .hero-slider {
        position: relative;
        height: 100vw;
        min-height: 420px;
    }

    /* Hero content slider ke andar absolutely positioned */
    .hero-content {
        position: absolute;
        left: 0;
        right: 0;
        top: 24%;
        transform: translateY(-50%);
        padding: 20px 18px;
        max-width: 100%;
        text-align: center;
        z-index: 5;
    }

    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-badges {
        justify-content: center;
        gap: 10px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 9px 14px;
    }

    /* Form — slider ke NEECHE, normal flow mein */
    .booking-form-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        padding: 0 14px 30px;
        background: linear-gradient(135deg, rgba(0,59,115,0.95) 0%, rgba(0,116,217,0.95) 100%);
    }

    .booking-form {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        max-height: none;
        padding: 16px 14px;
        border-radius: 18px 18px 18px 18px;
    }

    .form-row-2col {
        grid-template-columns: 1fr 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 12.5px;
    }

    .btn-submit {
        padding: 11px;
        font-size: 13px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        z-index: 10;
    }

    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }

    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }

    .dot { width: 9px; height: 9px; }

    .section-title { font-size: 34px; }
    .section-subtitle { font-size: 16px; margin-bottom: 45px; }

    .tours-grid, .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-options {
        flex-direction: column;
        align-items: stretch;
        max-width: 380px;
        margin: 0 auto;
    }

    .cta-section h2 { font-size: 32px; }
    .cta-section p  { font-size: 17px; }

    .popup-content  { max-width: 100%; margin: auto; max-height: 85vh; }
    .popup-header   { padding: 22px 18px; }
    .popup-header h2{ font-size: 22px; }
    .popup-header p { font-size: 13px; }
    .popup-body     { padding: 25px 18px; }
    .feature-grid   { grid-template-columns: 1fr; }
    .popup-cta      { flex-direction: column; gap: 10px; }
    .tours-section  { padding-top: 0; }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .booking-form {
        padding: 20px 16px;
    }
    
    .booking-form h3 {
        font-size: 20px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        top: 32%;
    }
    
    .slider-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tour-card,
    .feature-box {
        /*padding: 22px 18px;*/
    }
    
    .tour-content {
        padding: 22px 18px;
    }
    
    .footer-info {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .popup-content {
        max-height: 80vh;
    }
    
    .popup-header h2 {
        font-size: 19px;
    }
    
    .popup-body {
        padding: 20px 15px;
    }
    
    .offer-badge {
        font-size: 15px;
        padding: 10px 16px;
    }
    
    .popup-btn {
        font-size: 12px;
        padding: 12px;
    }


    .tours-section {
        padding-top: 170px;
    }
}

html {
    scroll-behavior: smooth;
}



