/* MUSAFAT Student Consultants - Custom Styles */

:root {
    --primary-blue: #007BA7;
    --accent-yellow: #FFBF00;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --dark-gray: #333333;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Navigation Styles */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-yellow) !important;
    transform: translateY(-2px);
}

.apply-link {
    background-color: var(--accent-yellow);
    color: var(--primary-blue) !important;
    border-radius: 20px;
    margin-left: 10px;
}

.apply-link:hover {
    background-color: #e6ac00;
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005580 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    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 1000 1000"><polygon fill="%23FFBF00" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>') no-repeat center center;
    background-size: cover;
}

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

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 167, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 0 auto 2rem;
}

/* Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 167, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Country Cards */
.country-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 167, 0.2);
}

.country-flag {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-blue), #005580);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-name {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1rem;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 167, 0.25);
}

.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 167, 0.25);
}

/* Mission Statement Box */
.mission-box {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-yellow);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Contact Info Box */
.contact-info-box {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.contact-info-box h5 {
    color: var(--accent-yellow);
}

/* WhatsApp and Phone Links */
.contact-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link {
    background-color: #25D366;
    color: white;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    color: white;
}

.phone-link {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.phone-link:hover {
    background-color: #e6ac00;
    color: var(--primary-blue);
}

/* Stats Section */
.stats-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .country-flag {
        height: 150px;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Success and Error Messages */
.alert-custom-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert-custom-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}
