/* UAE Immigration Page Styles */

/* UAE Color Palette - Red, White, Black, Green, Gold */
:root {
    --uae-red: #FF0000;
    --uae-white: #FFFFFF;
    --uae-black: #000000;
    --uae-green: #00732F;
    --uae-gold: #FFD700;
    
    /* Gradient combinations */
    --uae-primary-gradient: linear-gradient(135deg, var(--uae-red) 0%, var(--uae-black) 50%, var(--uae-green) 100%);
    --uae-hero-gradient: linear-gradient(45deg, rgba(255,0,0,0.9) 0%, rgba(0,0,0,0.8) 50%, rgba(0,115,47,0.9) 100%);
    --uae-card-gradient: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadow effects */
    --uae-shadow: 0 10px 30px rgba(255,0,0,0.1);
    --uae-hover-shadow: 0 15px 40px rgba(0,115,47,0.15);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Hero Section */
.uae-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--uae-hero-gradient);
    z-index: 2;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.flag-icon {
    font-size: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, var(--uae-gold), var(--uae-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--uae-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--uae-red), var(--uae-green));
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--uae-gold);
    color: var(--uae-gold);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--uae-gold);
    color: var(--uae-black);
    transform: translateY(-2px);
}

/* Quick Check Card */
.hero-quick-check {
    position: relative;
    z-index: 3;
}

.quick-check-card {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.quick-check-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.quick-check-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 10px;
    padding: 12px 15px;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--uae-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    color: #333;
    outline: none;
}

.form-control:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--uae-gold);
}

.form-control option {
    background: white;
    color: #333;
    padding: 8px 12px;
    font-weight: 500;
}

.form-control option:hover,
.form-control option:selected {
    background: var(--uae-gold);
    color: var(--uae-black);
}

/* Custom Select Styling */
.form-group select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-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='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select.form-control:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Placeholder and default option styling */
.form-control option[value=""] {
    color: #666;
    font-style: italic;
}

.form-control:invalid {
    color: #666;
}

.form-control:valid {
    color: #333;
}

.btn-success {
    background: linear-gradient(45deg, var(--uae-green), var(--uae-gold));
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 115, 47, 0.3);
}

/* Immigration Programs Section */
.immigration-programs {
    padding: 80px 0;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--uae-black);
    margin-bottom: 15px;
}

.section-header .lead {
    font-size: 1.2rem;
    color: #666;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--uae-primary-gradient);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--uae-hover-shadow);
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.golden-visa .program-icon {
    background: linear-gradient(45deg, var(--uae-gold), #FFA500);
}

.work-permit .program-icon {
    background: linear-gradient(45deg, var(--uae-red), #FF4500);
}

.investment-visa .program-icon {
    background: linear-gradient(45deg, var(--uae-green), #32CD32);
}

.family-visa .program-icon {
    background: linear-gradient(45deg, var(--uae-black), #444);
}

.student-visa .program-icon {
    background: linear-gradient(45deg, #0066CC, var(--uae-red));
}

.retirement-visa .program-icon {
    background: linear-gradient(45deg, var(--uae-gold), var(--uae-green));
}

.program-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--uae-black);
}

.program-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.program-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
}

.feature i {
    color: var(--uae-green);
    width: 16px;
}

.eligibility-criteria, .visa-categories, .investment-options, 
.family-categories, .study-benefits, .retirement-options {
    margin-bottom: 25px;
}

.eligibility-criteria h6, .visa-categories h6, .investment-options h6,
.family-categories h6, .study-benefits h6, .retirement-options h6 {
    font-weight: 700;
    color: var(--uae-black);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.eligibility-criteria ul, .visa-categories ul, .investment-options ul,
.family-categories ul, .study-benefits ul, .retirement-options ul {
    list-style: none;
    padding: 0;
}

.eligibility-criteria li, .visa-categories li, .investment-options li,
.family-categories li, .study-benefits li, .retirement-options li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.eligibility-criteria li::before, .visa-categories li::before, .investment-options li::before,
.family-categories li::before, .study-benefits li::before, .retirement-options li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--uae-gold);
    font-weight: bold;
}

/* Process Timeline */
.process-timeline {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--uae-primary-gradient);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--uae-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    margin: 0 20px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--uae-shadow);
    max-width: 400px;
    position: relative;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--uae-black);
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-options, .timeline-docs, .timeline-attestation,
.timeline-permits, .timeline-medical, .timeline-completion {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.doc-type, .authority, .permit-type, .medical-test, .completion-task {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.attestation-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--uae-gold);
    color: var(--uae-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Document Checklist */
.document-checklist {
    padding: 80px 0;
}

.checklist-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--uae-shadow);
    border-top: 4px solid var(--uae-gold);
}

.checklist-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--uae-black);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-card h4 i {
    color: var(--uae-red);
}

.check-item {
    margin-bottom: 20px;
    position: relative;
}

.check-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.check-item label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.check-item label:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.check-item input:checked + label {
    background: rgba(0, 115, 47, 0.05);
    border-color: var(--uae-green);
}

.check-item label i {
    color: var(--uae-red);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.check-item label span {
    font-weight: 600;
    color: var(--uae-black);
    margin-bottom: 5px;
    display: block;
}

.item-details {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.checklist-progress {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--uae-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.checklist-progress h5 {
    font-weight: 700;
    color: var(--uae-black);
    margin-bottom: 20px;
}

.progress {
    height: 12px;
    border-radius: 6px;
    background: #f0f0f0;
}

.progress-bar {
    background: var(--uae-primary-gradient);
    border-radius: 6px;
    position: relative;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

/* Why UAE Section */
.why-uae {
    padding: 80px 0;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--uae-shadow);
    border-top: 4px solid var(--uae-gold);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--uae-hover-shadow);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--uae-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--uae-black);
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--uae-primary-gradient);
    color: white;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-section .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--uae-gold);
    color: var(--uae-black);
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    background: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .quick-check-card {
        padding: 20px;
    }
    
    .program-card {
        padding: 25px 20px;
    }
    
    .checklist-card {
        padding: 20px;
    }
    
    .check-item label {
        padding: 10px;
    }
}
