/* Country Page Styles */

/* Hero Section */
.country-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #F58017 0%, #D86A0A 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.country-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.country-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.country-hero .country-flag {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.country-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.country-hero .tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Quick Info Cards */
.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: -40px auto 0;
    position: relative;
    z-index: 1;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Visa Types Section */
.visa-types-section {
    padding: 60px 0;
}

.visa-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.visa-type-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.visa-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.visa-type-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #F58017 0%, #D86A0A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.5rem;
}

.visa-type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.visa-type-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.visa-type-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.visa-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.visa-detail i {
    color: var(--primary-color);
}

.visa-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

/* Requirements Section */
.requirements-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.req-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.req-icon-side {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #F58017 0%, #D86A0A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.req-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

/* Tips Section */
.tips-section {
    padding: 60px 0;
}

.tips-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.tip-item:hover {
    transform: translateX(5px);
}

.tip-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.tip-item p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
}

/* Country FAQ */
.country-faq {
    padding: 60px 0;
    background: var(--light-bg);
}

.country-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.country-faq .faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.country-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.country-faq .faq-question:hover {
    background: var(--light-bg);
}

.country-faq .faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.country-faq .faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.country-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.country-faq .faq-item.active .faq-answer {
    max-height: 500px;
}

.country-faq .faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F58017 0%, #D86A0A 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Country Links (fallback page) */
.country-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.country-link {
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid transparent;
}

.country-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

    .country-hero h1 {
        font-size: 2.5rem;
    }

    .req-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .country-hero {
        padding: 80px 0 50px;
    }

    .country-hero .country-flag {
        font-size: 3.5rem;
    }

    .country-hero h1 {
        font-size: 2rem;
    }

    .country-hero .tagline {
        font-size: 1rem;
    }

    .quick-info {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: -30px;
    }

    .info-card {
        padding: 1rem;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .visa-types-section,
    .requirements-section,
    .tips-section,
    .country-faq {
        padding: 40px 0;
    }

    .visa-type-grid {
        grid-template-columns: 1fr;
    }

    .req-container {
        padding: 1.5rem;
    }

    .tip-item {
        padding: 1rem;
    }

    .tip-number {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 1rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .country-links {
        gap: 0.75rem;
    }

    .country-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
