/* Unified Country Pages CSS - Modern Design System */

/* Banner Section Styles */
.country-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove background image dependency */
    background: none;
}

/* Country-specific gradient backgrounds with low intensity */
.country-banner.canada {
    background: linear-gradient(135deg, rgba(213, 43, 30, 0.75) 0%, rgba(0, 36, 125, 0.75) 100%);
}

.country-banner.usa {
    background: linear-gradient(135deg, rgba(60, 59, 110, 0.75) 0%, rgba(178, 34, 52, 0.75) 100%);
}

.country-banner.uk {
    background: linear-gradient(135deg, rgba(1, 33, 105, 0.75) 0%, rgba(200, 16, 46, 0.75) 100%);
}

.country-banner.australia {
    background: linear-gradient(135deg, rgba(0, 0, 139, 0.75) 0%, rgba(255, 0, 0, 0.75) 100%);
}

.country-banner.europe {
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.75) 0%, rgba(255, 204, 0, 0.75) 100%);
}

.country-banner.turkey {
    background: linear-gradient(135deg, rgba(227, 10, 23, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%);
}

.country-banner.uae {
    background: linear-gradient(135deg, rgba(0, 115, 47, 0.75) 0%, rgba(206, 17, 38, 0.75) 100%);
}

/* Add subtle pattern overlay */
.country-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.country-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 2;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.banner-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
    position: relative;
}

.banner-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.5s both;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-content p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    color: #ffffff;
}

/* Country Content Container */
.country-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.country-main-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

/* Hero Image Overlay */
.hero-image-overlay {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hero-image-overlay img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
}

.hero-overlay-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-overlay-content p {
    font-size: 18px;
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Benefits Section with Colorful Boxes */
.benefits-section {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-box {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    color: #fff;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.benefit-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.benefit-box p {
    font-size: 16px;
    margin-bottom: 0;
    color: #fff;
    line-height: 1.6;
}

/* Colorful backgrounds for benefit boxes */
.benefit-box.global-recognition {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

.benefit-box.multicultural {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.benefit-box.affordable {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.benefit-box.pathway {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.benefit-box.research {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
}

.benefit-box.support {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

/* Consultation CTA Section */
.consultation-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.consultation-cta h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.consultation-cta p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-cta .cta-button {
    background: #ffffff;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.consultation-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .country-banner {
        height: auto;
        min-height: 400px;
        padding: 40px 0;
    }
    
    .banner-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .banner-content p {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .hero-image-overlay img {
        height: 250px;
    }
    
    .hero-overlay-content h2 {
        font-size: 24px;
    }
    
    .hero-overlay-content p {
        font-size: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-box {
        height: auto;
        min-height: 200px;
        padding: 20px 15px;
    }
    
    .consultation-cta {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .consultation-cta h2 {
        font-size: 26px;
    }
    
    .consultation-cta p {
        font-size: 16px;
    }
    
    .country-content {
        padding: 40px 0;
    }
    
    /* Fix stretch gap in mobile view */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}