/* Xpress Visa Page Styles */

* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    line-height: 1.5;
}

.xpress-visa-page {
    background-color: #f9fafb;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section - UPDATED to match image exactly */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #F8E2C5 0%, #FFFFFF 100%);
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.features-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(249, 115, 22, 0.1);
    padding: 10px;
}

.feature-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.feature-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    white-space: nowrap;
}

/* Main Content Layout */
.main-content {
    padding: 4rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    align-items: start;
}

/* Left Column: Application Form - CORRECTED */
.form-column {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Form Sections - Updated for image icons */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Form Elements - CORRECTED: No blue colors */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: none;
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Dropdown Styles - CORRECTED: No blue colors */
.dropdown-group {
    position: relative;
}

.select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    background: #ffffff;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
    color: #374151;
}

.custom-select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: none;
}

.custom-select:hover {
    border-color: #9ca3af;
    background: #ffffff;
}

.dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.select-wrapper select:focus + .dropdown-arrow,
.select-wrapper select.active + .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #6b7280;
}

/* Contact Information - DESKTOP: All three fields in one row */
.contact-row-desktop {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 1.25rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.mobile-group {
    flex: 1;
}

/* Date Dropdowns - CORRECTED: All dropdowns */
.date-group {
    display: flex;
    flex-direction: column;
}

.date-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.date-dropdowns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.date-select {
    padding: 0.75rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    background: #ffffff;
    appearance: none;
    cursor: pointer;
    color: #374151;
    text-align: center;
    position: relative;
}

.date-select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: none;
}

.date-select:hover {
    border-color: #9ca3af;
}

/* Passport group specific */
.passport-group {
    flex: 2;
}

/* Upload Section - CORRECTED */
.info-message {
    background: #fffbeb;
    border-left: 3px solid #f97316;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 0.375rem 0.375rem 0;
    font-size: 0.875rem;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 1px;
}

.upload-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.upload-group {
    display: grid;
    gap: 1.5rem;
}

.upload-field label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    color: #1f2937;
}

.file-input-wrapper {
    display: flex;
    gap: 0.75rem;
}

.file-display {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 0.9rem;
}

.orange-browse {
    padding: 0.75rem 1.5rem;
    color: #f97316;
    border: 1px solid #f97316;
    border-radius: 0.5rem;
    background: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.orange-browse:hover {
    background: #ea580c;
    border-color: #ea580c;
    color:white ;
}

/* Terms and Actions */
.terms-section {
    padding-top: 1.5rem;
    position: relative;
}

.terms-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.terms-group input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.terms-group label {
    font-size: 0.95rem;
    color: #1f2937;
    cursor: pointer;
    margin: 0;
}

.terms-group label span {
    color: #f97316;
    text-decoration: underline;
    cursor: pointer;
}

/* Additional Applicant Section - CORRECTED */
.applicant-divider {
    position: relative;
    margin: 2rem 0;
    padding-top: 3rem;
}

.applicant-divider::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, #f97316 0%, #f97316 85%, transparent 100%);
}

.remove-applicant-btn {
    position: absolute;
    right: 0;
    top: 1rem;
    padding: 0.375rem 0.75rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-applicant-btn:hover {
    background: #fecaca;
}

.applicant-form {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
}

.applicant-form .form-actions {
    display: none !important;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: #f97316;
    color: white;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary::after {
    content: '→';
    font-size: 1.1rem;
    margin-left: 0.25rem;
}

.btn-primary:hover {
    background-color: #ea580c;
}

.btn-secondary {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #1f2937;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #f97316;
}

/* Right Column: Sidebar Cards */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

/* Express Service Card */
.express-service-card {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.fire-icon {
    width: 2.5rem;
    height: 1.5rem;
}

.express-service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.service-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.service-features-list {
    list-style: none;
    margin-bottom: 1rem;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: #f97316;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.feature-text span {
    font-size: 0.75rem;
    color: #6b7280;
}

.service-note {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Need Help Card */
.help-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.help-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.help-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.help-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.whatsapp-help-btn {
    background: #25D366;
    color: white;
    border: 1px solid #25D366;
}

.whatsapp-help-btn:hover {
    background: #1da851;
    border-color: #1da851;
    transform: scale(1.02);
}

.email-help-btn {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.email-help-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: scale(1.02);
}

/* FAQ Card */
.faq-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.faq-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: none;
    text-align: left;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-chevron {
    font-size: 0.75rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0.75rem 1rem;
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    border-top: 1px solid #e5e7eb;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0;
}

/* Guide Section - UPDATED to match image exactly - CLEAN LAYOUT */
.guide-section {
    padding: 5rem 0;
    background: #ffffff;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.2;
}

.guide-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.guide-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #e5e7eb;
}

.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    flex: 0 0 100px;
    font-size: 1.125rem;
    color: #1f2937;
    font-weight: 400;
    margin-top: 0.25rem;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
}

.step-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar-column {
        position: static;
    }
    
    .features-row {
        max-width: 900px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .feature-item {
        flex: 0 0 calc(50% - 2rem);
        justify-content: flex-start;
    }
    
    .contact-row-desktop {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section,
    .main-content,
    .guide-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
    }
    
    .feature-text h3 {
        white-space: normal;
    }
    
    .form-column {
        padding: 1.5rem;
    }
    
    .form-row,
    .date-row {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Stack contact fields */
    .contact-row-desktop {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: unset;
    }
    
    .date-dropdowns {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guide-title {
        font-size: 2rem;
    }
    
    .guide-subtitle {
        font-size: 1rem;
    }
    
    /* Guide Section Mobile */
    .step-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .step-number {
        flex: 0 0 auto;
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .step-title {
        font-size: 1.125rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .file-input-wrapper {
        flex-direction: column;
    }
    
    .orange-browse {
        width: 100%;
    }
    
    .date-dropdowns {
        grid-template-columns: 1fr;
    }
    
    .guide-title {
        font-size: 1.75rem;
    }
    
    .guide-subtitle {
        font-size: 0.95rem;
    }
}