/* Info Panels Styling */
.info-panel-section {
    position: relative;
    overflow: hidden;
}

.info-panel-content {
    padding: 20px 0;
}

.info-panel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.info-panel-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Info Panels Grid */
.info-panels-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-panel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #e74c3c;
}

.info-panel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.panel-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #ED2057;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.panel-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.panel-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Info Panel Features */
.info-panel-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}
feature-item i {
    margin-right: 0px!important;
}

.feature-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #ED2057;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}
    .feature-icon i {
        color: white !important;
    }
.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Info Panel Image */
.info-panel-image {
    position: relative;
    padding: 20px 0;
}

.info-panel-image img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width:100% !important;
}

.info-panel-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.info-panel-cta {
    margin-top: 2rem;
    text-align: left;
}

.cta-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .info-panel-title {
        font-size: 2rem;
    }
    
    .info-panel-description {
        font-size: 1rem;
    }
    
    .info-panel-item {
        padding: 1.25rem;
    }
    
    .panel-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .panel-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .info-panel-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .info-panel-description {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .info-panel-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .panel-icon {
        align-self: center;
        margin-bottom: 0.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-icon {
        align-self: center;
        margin-bottom: 0.5rem;
    }
    
    .info-panel-cta {
        text-align: center;
    }
    
    .info-panel-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .info-panel-title {
        font-size: 1.5rem;
    }
    
    .info-panel-description {
        font-size: 0.9rem;
    }
    
    .panel-content h4,
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .panel-content p,
    .feature-content p {
        font-size: 0.9rem;
    }
}

/* Animation Enhancements */
.info-panel-item,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Background Variations */
.info-panel-section.section-bg-4 {
    background: #f8f9fa;
}

.info-panel-section.section-bg-4 .info-panel-item {
    background: #fff;
}

.info-panel-section.section-bg-4 .feature-item {
    background: #fff;
    border: 1px solid #e9ecef;
}

.info-panel-section.section-bg-4 .feature-item:hover {
    background: #f8f9fa;
    border-color: #e74c3c;
}

/* Country Section Collapsible Functionality */
.country-section-hidden {
    display: none !important;
}

.country-section-visible {
    display: block !important;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Country Card Hover Effects */
.country-card-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.country-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.country-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.country-card-link:hover .country-card {
    border-color: #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

/* Active Country Card */
.country-card.active {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

/* Close Button for Country Sections */
.country-section-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.country-section-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-cards {
    text-align: center;
    margin: 2rem 0;
}

.back-to-cards .btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-cards .btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}
