/* Canada Immigration Page Styles */

/* CSS Variables for Canada Theme */
:root {
    --canada-red: #FF0000;
    --canada-red-dark: #CC0000;
    --canada-white: #FFFFFF;
    --canada-grey: #F5F5F5;
    --canada-dark: #2C3E50;
    --canada-accent: #E74C3C;
    --maple-gold: #FFD700;
    --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 */
.canada-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--canada-red) 0%, var(--canada-red-dark) 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(255, 0, 0, 0.9) 0%,
        rgba(204, 0, 0, 0.8) 50%,
        rgba(231, 76, 60, 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, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 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.3);
}

.gradient-text {
    background: linear-gradient(45deg, var(--maple-gold), #FFF);
    -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(--maple-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.2);
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* 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, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quick-check-card h3 {
    color: var(--canada-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(--canada-dark);
}

.quick-check-form .form-control {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.quick-check-form .form-control:focus {
    border-color: var(--canada-red);
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

/* Immigration Programs Section */
.immigration-programs {
    background: #FAFAFA;
}

.section-header h2 {
    color: var(--canada-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(--canada-red), var(--maple-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(--canada-red), var(--canada-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(--canada-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(--canada-red);
    width: 20px;
    text-align: center;
}

.sub-programs, .popular-pnp, .quebec-programs, .family-categories, .caregiver-types, .business-programs {
    margin-bottom: 1.5rem;
}

.sub-programs h6, .popular-pnp h6, .quebec-programs h6, .family-categories h6, .caregiver-types h6, .business-programs h6 {
    color: var(--canada-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.sub-programs ul, .popular-pnp ul, .quebec-programs ul, .family-categories ul, .caregiver-types ul, .business-programs ul {
    list-style: none;
    padding: 0;
}

.sub-programs li, .popular-pnp li, .quebec-programs li, .family-categories li, .caregiver-types li, .business-programs li {
    padding: 5px 0;
    border-bottom: 1px solid #F0F0F0;
    color: #666;
}

.sub-programs li:last-child, .popular-pnp li:last-child, .quebec-programs li:last-child, .family-categories li:last-child, .caregiver-types li:last-child, .business-programs li:last-child {
    border-bottom: none;
}

/* Program Specific Colors */
.express-entry .program-icon {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.pnp .program-icon {
    background: linear-gradient(135deg, #27AE60, #229954);
}

.quebec .program-icon {
    background: linear-gradient(135deg, #3498DB, #2980B9);
}

.family .program-icon {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.caregiver .program-icon {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.business .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(--canada-red), var(--maple-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(--canada-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--canada-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(--canada-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-tools, .timeline-actions, .timeline-features, .timeline-stats, .timeline-checklist {
    margin-top: 1rem;
}

.timeline-tools .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-actions .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-features .feature, .timeline-checklist .check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.timeline-features .feature i, .timeline-checklist .check-item i {
    color: var(--canada-red);
    width: 20px;
}

.timeline-stats .stat {
    text-align: center;
}

.timeline-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--canada-red);
}

.timeline-celebration {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--canada-red), var(--maple-gold));
    color: white;
    border-radius: 10px;
    font-weight: 600;
}

.timeline-celebration i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 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(--canada-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-card h4 i {
    color: var(--canada-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(--canada-red);
    border-radius: 4px;
    background: white;
}

.check-item input[type="checkbox"]:checked + label::before {
    background: var(--canada-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(--canada-red);
    background: rgba(255, 0, 0, 0.05);
}

.check-item label i {
    color: var(--canada-red);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.check-item label span {
    font-weight: 600;
    color: var(--canada-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(--canada-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.progress {
    height: 20px;
    border-radius: 10px;
    background: #E9ECEF;
}

.progress-bar {
    background: linear-gradient(90deg, var(--canada-red), var(--maple-gold));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    line-height: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Why Canada Section */
.why-canada {
    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(--canada-red), var(--canada-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(--canada-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(--canada-red), var(--canada-red-dark));
    color: white;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    background: white;
    color: var(--canada-red);
    border: none;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: var(--maple-gold);
    color: var(--canada-dark);
}

/* 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;
    }
}
