/* Main Application Styles */

/* Global Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #20bf6b;
    --warning-color: #feca57;
    --danger-color: #ff6b6b;
    --info-color: #54a0ff;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Utility Classes */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f5576c 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-custom {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    border: none;
    transition: var(--transition);
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-custom {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #0fb9b1);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(135deg, var(--danger-color), #ee5a24);
    color: white;
}

/* Navigation Styles */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Form Styles */
.form-control-custom {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.input-group-custom {
    position: relative;
}

.input-group-custom .form-control {
    padding-left: 3rem;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 3;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.alert-success-custom {
    background: rgba(32, 191, 107, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.alert-danger-custom {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--danger-color);
    color: var(--danger-color);
}

.alert-info-custom {
    background: rgba(84, 160, 255, 0.1);
    border-left: 4px solid var(--info-color);
    color: var(--info-color);
}

/* Modal Styles */
.modal-custom .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-custom .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-custom .modal-body {
    padding: 2rem;
}

.modal-custom .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

/* Progress Bars */
.progress-custom {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-bar-custom {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Tables */
.table-custom {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table-custom thead th {
    background: var(--light-color);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.table-custom tbody tr {
    transition: var(--transition);
}

.table-custom tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* Badges */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.badge-primary-custom {
    background: var(--primary-color);
    color: white;
}

.badge-success-custom {
    background: var(--success-color);
    color: white;
}

.badge-warning-custom {
    background: var(--warning-color);
    color: white;
}

.badge-danger-custom {
    background: var(--danger-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn-custom {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .card-custom {
        margin: 0.5rem;
    }
    
    .modal-custom .modal-body {
        padding: 1.5rem;
    }
    .bt-consultans {
        margin-top: 10px;
        width: 265px;
        margin-right: 17px;
    }
    .consultant-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .evatuation-btn {
        width: 265px;
        margin-left: 15px;
    }
}

@media (max-width: 576px) {
    .btn-custom {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #343a40;
        --dark-color: #f8f9fa;
    }
    
    .navbar-custom {
        background: rgba(33, 37, 41, 0.95);
    }
    
    .card-custom {
        background: #1e1e1e;
        color: var(--dark-color);
    }
    
    .form-control-custom {
        background: #2d2d2d;
        border-color: #495057;
        color: var(--dark-color);
    }
    
    .table-custom {
        background: #1e1e1e;
        color: var(--dark-color);
    }
    
    .table-custom thead th {
        background: #2d2d2d;
    }
    
    .modal-custom .modal-content {
        background: #1e1e1e;
        color: var(--dark-color);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

.zoom-in {
    animation: zoomIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Print Styles */
@media print {
    .navbar-custom,
    .modal-custom {
        display: none !important;
    }
    
    .card-custom {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Consultant Avatar Styles */
.consultant-avatar i {
    color: #28a745;
    transition: color 0.3s ease;
}

.nav-link:hover .consultant-avatar i {
    color: #34ce57;
}

.consultant-menu .dropdown-toggle {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.consultant-menu .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.consultant-menu .dropdown-menu {
    min-width: 200px;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.consultant-menu .dropdown-header {
    border-radius: 0.25rem 0.25rem 0 0;
    margin: -0.5rem -1rem 0.5rem -1rem;
    padding: 0.75rem 1rem;
}

.consultant-menu .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.consultant-menu .dropdown-item:hover {
    transform: translateX(3px);
}

.consultant-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Footer visa links styles */
.footer-visa-link {
    color: #6c757d !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-visa-link:hover,
.footer-visa-link:focus,
.footer-visa-link:active {
    color: #0d6efd !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.footer-visa-link:visited {
    color: #6c757d !important;
}

/* Override Bootstrap default link styles for footer */
footer a.footer-visa-link:hover {
    color: #0d6efd !important;
    background-color: transparent !important;
}

/* Pricing dropdown styles */
.pricing-dropdown {
    min-width: 320px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none;
    border-radius: 10px;
}

.pricing-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 2px 8px;
    transition: all 0.2s ease;
}

.pricing-dropdown .dropdown-item:hover {
    transform: translateX(3px);
}

.pricing-dropdown .popular-package {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-left: 3px solid #28a745;
}

.pricing-dropdown .popular-package:hover {
    background: linear-gradient(135deg, #d4edda, #e8f5e8);
}

.pricing-dropdown .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.pricing-dropdown small {
    font-size: 0.7rem;
}

.pricing-menu .nav-link {
    position: relative;
}

.pricing-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    transition: width 0.3s ease;
}

.pricing-menu:hover .nav-link::after {
    width: 80%;
}

.stat-item {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

  .hero-pricing {
        color: white;
        padding: 4rem 0;
    }
    
    .pricing-hero-content {
        text-align: center;
    }
    
    .pricing-stats {
        background: rgba(255, 255, 255, 0.1) ;
        border-radius: 15px;
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: bold;
        display: block;
    }
    
    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
    }
    
    .pricing-comparison {
        padding: 3rem 0;
    }
    
    .comparison-table {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        overflow: hidden;
        margin-top: 2rem;
    }
    
    .table th {
        border: none;
        font-weight: 600;
        text-align: center;
        padding: 1rem;
    }
    
    .table td {
        text-align: center;
        padding: 1rem;
        vertical-align: middle;
        border: none;
        border-bottom: 1px solid #eee;
    }
    
    .feature-included {
        color: #28a745;
        font-size: 1.2rem;
    }
    
    .feature-not-included {
        color: #dc3545;
        font-size: 1.2rem;
    }
    
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-item {
        border-radius: 10px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .money-back-banner {
        color: white;
        padding: 3rem 0;
        text-align: center;
    }
    
    .testimonial-pricing {
        border-radius: 10px;
        padding: 2rem;
        margin: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    .cookie-option-title {
        color: #333;
    }