/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.95) 0%, rgba(45, 138, 168, 0.9) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Country Cards */
.country-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.country-flag {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 500ms ease;
}

.country-card:hover .country-flag img {
    transform: scale(1.1);
}

.country-flag .emoji-flag {
    font-size: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-light);
}

.country-content {
    padding: 1.5rem;
    text-align: center;
}

.country-content h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Scholarship Cards */
.scholarship-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--primary-color);
    height: 100%;
}

body[dir="ltr"] .scholarship-card {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scholarship-card .badge {
    background: var(--accent-gradient);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.scholarship-card h4 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.scholarship-card .deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin: 1rem 0;
}

.scholarship-card .deadline i {
    color: var(--secondary-color);
}

/* Vision Mission Values */
.vision-mission-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vision-mission-card i {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.vision-mission-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

body[dir="ltr"] .values-list {
    text-align: left;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.values-list li i {
    font-size: 1rem;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

/* Additional Services */
.additional-service {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.additional-service h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.additional-service h3 i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.additional-service ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-service ul li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.additional-service ul li i {
    color: var(--primary-color);
}

/* Contact */
.contact-info-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.contact-info-item a {
    color: var(--text-secondary);
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.whatsapp {
    background: #25d366;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding-top: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
}

.footer-logo .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
}

body[dir="ltr"] .footer h5::after {
    right: auto;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a i {
    font-size: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: 150ms ease;
    color: var(--text-secondary);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .section-padding {
        padding: 3rem 0;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    body[dir="ltr"] .whatsapp-float {
        left: auto;
        right: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Alert */
.alert-custom {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
}

.alert-success-custom {
    background: #d1fae5;
    color: #065f46;
}

.alert-error-custom {
    background: #fee2e2;
    color: #991b1b;
}