/* Visit Visa Page Styles */

/* Reset body padding for visit visa page */
body {
    padding-top: 0;
}

/* Hero Section - positioned right below header */
.visit-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px; /* Space for fixed header */
    margin-top: 0;
}

.visit-hero .container {
    position: relative;
    z-index: 3;
    padding-top: 40px;
    padding-bottom: 40px;
}

.visit-hero .row {
    align-items: flex-start !important;
    min-height: auto !important;
}

.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: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Hero content positioning */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding-top: 20px; /* Small top padding for content */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: 600;
}

.hero-badge .flag-icon {
    font-size: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffeb3b, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Quick Check Form - Right side panel */
.hero-quick-check {
    position: relative;
    z-index: 3;
    margin-top: 80px; /* Space from header */
}

.quick-check-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0;
}

.quick-check-card h3 {
    color: #333;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 700;
}

.quick-check-card p {
    color: #666;
    margin-bottom: 30px;
}

/* Service Highlights */
.service-highlights {
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.highlight-icon {
    flex: 0 0 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.highlight-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.highlight-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Testimonial Quote */
.testimonial-quote {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-quote p {
    color: #333;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.quote-author {
    text-align: center;
}

.quote-author strong {
    color: #333;
    font-size: 0.9rem;
}

.rating {
    margin-top: 8px;
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
    margin: 0 2px;
}

/* Main Content Sections */
.main-content {
    padding: 80px 0;
    background: #f8f9fa !important;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-header .lead {
    font-size: 1.2rem;
    color: #666;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Form and Info Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.form-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.form-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.phone-group {
    display: flex;
    gap: 10px;
}

.country-code {
    flex: 0 0 120px;
}

.phone-number {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Info Section */
.info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.country-info {
    display: none;
}

.country-info.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.info-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.info-section p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.visa-types {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.visa-types h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.visa-list {
    list-style: none;
}

.visa-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 20px;
}

.visa-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.visa-list li:last-child {
    border-bottom: none;
}

.requirements {
    background: #fff3cd;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}

.requirements h4 {
    color: #856404;
    margin-bottom: 15px;
    font-weight: 600;
}

.requirements ul {
    color: #856404;
    padding-left: 20px;
}

.requirements li {
    margin-bottom: 8px;
}

.processing-info {
    background: #d1ecf1;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #17a2b8;
}

.processing-info h4 {
    color: #0c5460;
    margin-bottom: 15px;
    font-weight: 600;
}

.processing-info p {
    color: #0c5460;
    margin-bottom: 10px;
}

.default-info {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.default-info .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #667eea;
}

.default-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: none;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-section,
    .info-section {
        padding: 30px 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .phone-group {
        flex-direction: column;
    }
    
    .country-code {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .form-section,
    .info-section {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .form-control {
        padding: 12px 15px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .quick-check-card {
        padding: 30px 25px;
    }
    
    /* Mobile specific spacing adjustments */
    .hero-quick-check {
        margin-top: 40px; /* Reduced spacing on mobile */
    }
    
    .hero-badge {
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .visit-hero {
        padding-top: 80px; /* Reduced padding for mobile */
    }
}

/* Additional responsive improvements */
