/* Germany Immigration Page Styles */

/* CSS Variables for Germany Theme */
:root {
    --germany-black: #000000;
    --germany-red: #DD0000;
    --germany-gold: #FFD700;
    --germany-dark: #1C1C1C;
    --germany-grey: #F5F5F5;
    --germany-accent: #CC0000;
    --eagle-gold: #FFA500;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
}

/* Hero Section */
.germany-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--germany-black) 0%, var(--germany-dark) 50%, var(--germany-red) 100%);
}

.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(0, 0, 0, 0.9) 0%,
        rgba(221, 0, 0, 0.8) 50%,
        rgba(255, 215, 0, 0.9) 100%);
    z-index: 2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-badge .flag-icon {
    font-size: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(45deg, var(--germany-gold), var(--eagle-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--germany-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Quick Check Card */
.hero-quick-check {
    position: relative;
    z-index: 3;
}

.quick-check-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quick-check-card h3 {
    color: var(--germany-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.quick-check-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.quick-check-form .form-group {
    margin-bottom: 1rem;
}

.quick-check-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--germany-dark);
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.quick-check-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(221, 0, 0, 0.5);
    border-radius: 10px;
    padding: 12px 15px;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.quick-check-form .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--germany-red);
    box-shadow: 0 0 0 0.2rem rgba(221, 0, 0, 0.25);
    color: #333;
    outline: none;
}

.quick-check-form .form-control:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--germany-red);
}

.quick-check-form .form-control option {
    background: white;
    color: #333;
    padding: 8px 12px;
    font-weight: 500;
}

.quick-check-form .form-control option:hover,
.quick-check-form .form-control option:selected {
    background: var(--germany-red);
    color: white;
}

/* Custom Select Styling for Germany */
.quick-check-form select.form-control {
    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='%23DD0000' 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;
}

.quick-check-form 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='%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");
}

/* Placeholder and default option styling */
.quick-check-form .form-control option[value=""] {
    color: #666;
    font-style: italic;
}

.quick-check-form .form-control:invalid {
    color: #666;
}

.quick-check-form .form-control:valid {
    color: #333;
}

/* Submit Button Styling */
.quick-check-form .btn-success {
    background: linear-gradient(45deg, var(--germany-red), var(--germany-gold));
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    transition: all 0.3s ease;
}

.quick-check-form .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 0, 0, 0.3);
    background: linear-gradient(45deg, #AA0000, var(--germany-gold));
}

/* Immigration Programs Section */
.immigration-programs {
    background: #FAFAFA;
}

.section-header h2 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--germany-black), var(--germany-red), var(--germany-gold));
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--germany-red), var(--germany-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 2rem;
    color: white;
}

.program-card h4 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    margin-bottom: 1.5rem;
}

.program-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 10px;
}

.program-features .feature i {
    color: var(--germany-red);
    width: 20px;
    text-align: center;
}

.eligibility-criteria, .criteria-points, .visa-benefits, .popular-fields, .family-types, .study-benefits {
    margin-bottom: 1.5rem;
}

.eligibility-criteria h6, .criteria-points h6, .visa-benefits h6, .popular-fields h6, .family-types h6, .study-benefits h6 {
    color: var(--germany-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.eligibility-criteria ul, .criteria-points ul, .visa-benefits ul, .popular-fields ul, .family-types ul, .study-benefits ul {
    list-style: none;
    padding: 0;
}

.eligibility-criteria li, .criteria-points li, .visa-benefits li, .popular-fields li, .family-types li, .study-benefits li {
    padding: 5px 0;
    border-bottom: 1px solid #F0F0F0;
    color: #666;
}

.eligibility-criteria li:last-child, .criteria-points li:last-child, .visa-benefits li:last-child, .popular-fields li:last-child, .family-types li:last-child, .study-benefits li:last-child {
    border-bottom: none;
}

/* Program Specific Colors */
.eu-blue-card .program-icon {
    background: linear-gradient(135deg, #003DA5, #0056D3);
}

.skilled-immigration .program-icon {
    background: linear-gradient(135deg, var(--germany-red), var(--germany-accent));
}

.job-seeker .program-icon {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
}

.ausbildung .program-icon {
    background: linear-gradient(135deg, #228B22, #32CD32);
}

.family-reunification .program-icon {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.student-visa .program-icon {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

/* Process Timeline */
.process-timeline {
    background: #F8F9FA;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--germany-black), var(--germany-red), var(--germany-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--germany-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--germany-red);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid #F0F0F0;
}

.timeline-content h4 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-options, .timeline-authorities, .timeline-languages, .timeline-platforms, .timeline-docs, .timeline-tasks {
    margin-top: 1rem;
}

.timeline-options .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-authorities .authority, .timeline-languages .language-level, .timeline-platforms .platform, .timeline-docs .doc-category {
    margin-bottom: 0.5rem;
    padding: 8px 12px;
    background: #F8F9FA;
    border-radius: 8px;
}

.timeline-tasks .task {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.timeline-tasks .task i {
    color: var(--germany-red);
}

/* Document Checklist */
.document-checklist {
    background: white;
}

.checklist-card {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #E9ECEF;
    margin-bottom: 1rem;
}

.checklist-card h4 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-card h4 i {
    color: var(--germany-red);
}

.checklist-items {
    margin-bottom: 1rem;
}

.check-item {
    position: relative;
    margin-bottom: 1rem;
}

.check-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.check-item label {
    display: block;
    padding: 15px 15px 15px 45px;
    background: white;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.check-item label::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--germany-red);
    border-radius: 4px;
    background: white;
}

.check-item input[type="checkbox"]:checked + label::before {
    background: var(--germany-red);
}

.check-item input[type="checkbox"]:checked + label::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
}

.check-item input[type="checkbox"]:checked + label {
    border-color: var(--germany-red);
    background: rgba(221, 0, 0, 0.05);
}

.check-item label i {
    color: var(--germany-red);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.check-item label span {
    font-weight: 600;
    color: var(--germany-dark);
    display: block;
}

.item-details {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
    margin-top: 5px;
}

.checklist-progress {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #E9ECEF;
}

.checklist-progress h5 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.progress {
    height: 20px;
    border-radius: 10px;
    background: #E9ECEF;
}

.progress-bar {
    background: linear-gradient(90deg, var(--germany-black), var(--germany-red), var(--germany-gold));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    line-height: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Why Germany Section */
.why-germany {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--germany-red), var(--germany-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    color: var(--germany-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--germany-black), var(--germany-red));
    color: white;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    background: var(--germany-gold);
    color: var(--germany-dark);
    border: none;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--eagle-gold);
    color: var(--germany-black);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-icon {
        left: 30px;
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        padding: 1.5rem;
    }
    
    .checklist-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .quick-check-card {
        padding: 1.5rem;
    }
}
