/* Study Countries Section Styles */
.study-countries-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.study-country-box {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    /* background-position: center; */
    color: #fff;
    display: flex;
    align-items: center;
    padding: 30px;
}

.study-country-content {
    position: relative;
    z-index: 2;
}

.study-country-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.study-country-content {
    position: relative;
    z-index: 2;
    padding: 15px;
    width: 80%;
}

.study-country-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.apply-btn {
    display: inline-block;
    background-color: #fff;
    color: #333;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Country-specific styles */
.uk-box {
    background-color: #e52d27;
    background-image: url('../images/uk.png');
}

.uk-box::before {
    background: linear-gradient(to right, rgba(229, 45, 39, 0.9) 0%, rgba(229, 45, 39, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

.usa-canada-box {
    background-color: #6a1b9a;
    background-image: url('../images/usa.png');
}

.usa-canada-box::before {
    background: linear-gradient(to right, rgba(106, 27, 154, 0.9) 0%, rgba(106, 27, 154, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

.australia-box {
    background-color: #ff8f00;
    background-image: url('../images/aus.png');
}

.australia-box::before {
    background: linear-gradient(to right, rgba(255, 143, 0, 0.9) 0%, rgba(255, 143, 0, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

.europe-box {
    background-color: #e91e63;
    background-image: url('../images/eur.png');
}

.europe-box::before {
    background: linear-gradient(to right, rgba(233, 30, 99, 0.9) 0%, rgba(233, 30, 99, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

.uae-box {
    background-color: #2196f3;
    background-image: url('../images/uae.png');
}

.uae-box::before {
    background: linear-gradient(to right, rgba(33, 150, 243, 0.9) 0%, rgba(33, 150, 243, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

.turkey-box {
    background-color: #4caf50;
    background-image: url('../images/tur.png');
}

.turkey-box::before {
    background: linear-gradient(to right, rgba(76, 175, 80, 0.9) 0%, rgba(76, 175, 80, 0.6) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 60% 0%, 80% 100%, 0% 100%);
}

/* Responsive styles */
@media (max-width: 767px) {
    .study-country-box {
        margin-bottom: 20px;
        height: 200px;
    }
    
    .study-country-box h2 {
        font-size: 24px;
    }
}

/* Why Choose MMI Section Styles */
.why-choose-mmi-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-choose-mmi-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-mmi-section .title-section {
    margin-bottom: 60px;
    text-align: center;
}

.why-choose-mmi-section .title-section h1 {
    font-size: 42px;
    font-weight: 700;
    color: #FE0000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.why-choose-mmi-section .title-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FE0000, #ff6b6b);
    border-radius: 2px;
}

.why-choose-mmi-section .title-section p {
    font-size: 20px;
    color: #666666;
    margin-bottom: 0;
    font-weight: 300;
}

.why-choose-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-choose-item:hover::before {
    left: 100%;
}

.why-choose-item:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(254, 0, 0, 0.2);
    border-color: rgba(254, 0, 0, 0.3);
}

.why-choose-item .icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #FE0000 0%, #ff4757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(254, 0, 0, 0.3);
}

.why-choose-item:hover .icon-wrapper {
    background: linear-gradient(135deg, #ff4757 0%, #FE0000 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(254, 0, 0, 0.4);
}

.why-choose-item .icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FE0000, #ff4757);
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.why-choose-item:hover .icon-wrapper::before {
    opacity: 0.3;
    transform: scale(1.3);
}

.why-choose-item .icon-wrapper i {
    font-size: 36px;
    color: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.why-choose-item:hover .icon-wrapper i {
    transform: scale(1.1);
}

.why-choose-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.why-choose-item:hover h3 {
    color: #FE0000;
}

.why-choose-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.why-choose-item:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* New Why Choose MMI Showcase Styles */
.why-choose-showcase {
    margin-bottom: 80px;
    position: relative;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.line {
    position: absolute;
    background: #e0e0e0;
    z-index: 1;
}

.line-1 {
    top: 25%;
    left: 50%;
    width: 2px;
    height: 50%;
    transform: translateX(-50%);
}

.line-2 {
    top: 50%;
    left: 25%;
    width: 50%;
    height: 2px;
    transform: translateY(-50%);
}

.line-3 {
    top: 75%;
    left: 50%;
    width: 2px;
    height: 25%;
    transform: translateX(-50%);
}

.choose-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 35px 30px;
    margin-bottom: 40px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.choose-card:hover {
    transform: translateY(-5px);
    border-color: #FE0000;
    box-shadow: 0 10px 30px rgba(254, 0, 0, 0.1);
}

.choose-card .card-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.choose-card:hover .card-icon {
    background: #FE0000;
    border-color: #FE0000;
}

.choose-card .card-icon i {
    font-size: 24px;
    color: #FE0000;
    transition: color 0.3s ease;
}

.choose-card:hover .card-icon i {
    color: #ffffff;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #FE0000;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}



/* Stats Section */
.choose-stats {
    background: #FE0000;
    border-radius: 15px;
    padding: 50px 40px;
    border: 1px solid #e9ecef;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .why-choose-mmi-section {
        padding: 60px 0;
    }
    
    .why-choose-mmi-section .title-section h1 {
        font-size: 32px;
    }
    
    .why-choose-mmi-section .title-section p {
        font-size: 18px;
    }
    
    .why-choose-item {
        margin-bottom: 25px;
        padding: 35px 25px;
    }
    
    .why-choose-item .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .why-choose-item .icon-wrapper i {
        font-size: 32px;
    }
    
    .why-choose-item h3 {
        font-size: 20px;
    }
    
    .why-choose-item p {
        font-size: 15px;
    }
    
    /* New responsive styles */
    .choose-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }
    
    .card-content h3 {
        font-size: 20px;
    }
    
    .connection-lines {
        display: none;
    }
    
    .choose-stats {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
}
