/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #6C3B8B;
    --primary-dark: #4F2A6A;
    --primary-light: #9B59B6;
    --primary-soft: #F5F0FF;
    --primary-gradient: linear-gradient(135deg, #6C3B8B 0%, #8E44AD 50%, #9B59B6 100%);
    --accent: #E8D5F5;
    --dark: #2C1A3D;
    --text-muted: #7A7A8A;
    --shadow: 0 8px 30px rgba(108, 59, 139, 0.15);
    --shadow-hover: 0 12px 40px rgba(108, 59, 139, 0.25);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f8f6fc;
    color: #1e1e2a;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: var(--primary);
}
a:hover {
    color: var(--primary-dark);
}
.section-padding {
    padding: 90px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.section-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}
.btn-primary-custom {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(108, 59, 139, 0.3);
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 59, 139, 0.4);
    color: #fff;
}
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(108, 59, 139, 0.08);
    padding: 12px 0;
    transition: var(--transition);
}
.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-custom .navbar-brand .logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(108, 59, 139, 0.3);
}
.navbar-custom .navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.navbar-custom .navbar-brand .brand-text .name {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
.navbar-custom .navbar-brand .brand-text .sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.navbar-custom .nav-link {
    font-weight: 500;
    color: #3d3d4a;
    padding: 8px 18px !important;
    border-radius: 50px;
    transition: var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}
.navbar-custom .nav-link i {
    margin-right: 6px;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8f6fc 0%, #f0ebf8 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 59, 139, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero .hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
}
.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 20px 0 32px;
    line-height: 1.7;
}
.hero .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}
.hero .hero-stats .stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}
.hero .hero-stats .stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}
.hero .hero-image {
    position: relative;
    z-index: 2;
}
.hero .hero-image .img-wrapper {
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(108, 59, 139, 0.2);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero .hero-image .img-wrapper i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}
.hero .hero-image .img-wrapper h3 {
    font-weight: 700;
    font-size: 1.8rem;
}
.hero .hero-image .img-wrapper p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 280px;
}

/* ===== COUNTRIES ===== */
.countries-section {
    background: #fff;
}
.country-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(108, 59, 139, 0.06);
    height: 100%;
    text-align: center;
    cursor: default;
}
.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.country-card .flag {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}
.country-card h5 {
    font-weight: 700;
    color: var(--dark);
}
.country-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 8px 0 0;
}
.country-card .badge-visa {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    display: inline-block;
    margin-top: 10px;
}

/* ===== WHAT WE OFFER ===== */
.offer-section {
    background: var(--primary-soft);
}
.offer-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border-bottom: 4px solid transparent;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}
.offer-card .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}
.offer-card:hover .icon {
    background: var(--primary-gradient);
    color: #fff;
    transform: scale(1.05);
}
.offer-card h5 {
    font-weight: 700;
    color: var(--dark);
}
.offer-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 10px 0 0;
}

/* ===== QUOTE / CONTACT ===== */
.quote-section {
    background: #fff;
}
.quote-form-wrapper {
    background: #fff;
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 59, 139, 0.06);
}
.quote-form-wrapper .form-control,
.quote-form-wrapper .form-select {
    border-radius: 12px;
    padding: 14px 18px;
    border: 1.5px solid #e8e4f0;
    transition: var(--transition);
    font-size: 0.95rem;
}
.quote-form-wrapper .form-control:focus,
.quote-form-wrapper .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 59, 139, 0.1);
}
.quote-form-wrapper .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.quote-info {
    padding: 32px;
    background: var(--primary-soft);
    border-radius: var(--radius);
    height: 100%;
}
.quote-info h4 {
    color: var(--dark);
    font-weight: 700;
}
.quote-info .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(108, 59, 139, 0.08);
}
.quote-info .contact-item:last-child {
    border-bottom: none;
}
.quote-info .contact-item i {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== DASHBOARD ===== */
.dashboard-wrapper {
    padding: 120px 0 80px;
    background: #f8f6fc;
    min-height: 100vh;
}
.dashboard-sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.dashboard-sidebar .user-avatar {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 12px;
}
.dashboard-sidebar .user-name {
    font-weight: 700;
    color: var(--dark);
    text-align: center;
}
.dashboard-sidebar .user-email {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
}
.dashboard-sidebar .nav-link-dash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #3d3d4a;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}
.dashboard-sidebar .nav-link-dash:hover,
.dashboard-sidebar .nav-link-dash.active {
    background: var(--primary-soft);
    color: var(--primary);
}
.dashboard-sidebar .nav-link-dash i {
    width: 22px;
    text-align: center;
}
.dashboard-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.dashboard-content .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.dashboard-content .section-header h4 {
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

/* ===== UPLOAD ZONE ===== */
.upload-zone {
    border: 2px dashed #d5cee0;
    border-radius: var(--radius);
    padding: 48px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: #faf8fc;
}
.upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.upload-zone i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}
.upload-zone p {
    color: var(--text-muted);
    margin: 0;
}
.upload-zone .file-types {
    font-size: 0.8rem;
    color: #b0a8c0;
    margin-top: 6px;
}
.file-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary-soft);
    border-radius: 10px;
    margin-bottom: 8px;
}
.file-list .file-item .file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.file-list .file-item .file-info i {
    color: var(--primary);
    font-size: 1.3rem;
}
.file-list .file-item .file-info span {
    font-weight: 500;
    color: var(--dark);
}
.file-list .file-item .file-info small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f6fc 0%, #f0ebf8 100%);
}
.auth-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow);
    max-width: 440px;
    width: 100%;
    border: 1px solid rgba(108, 59, 139, 0.06);
}
.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-card .auth-logo .logo-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(108, 59, 139, 0.25);
}
.auth-card .auth-logo h4 {
    font-weight: 700;
    color: var(--dark);
    margin-top: 12px;
}
.auth-card .auth-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.auth-card .form-control {
    border-radius: 12px;
    padding: 14px 18px;
    border: 1.5px solid #e8e4f0;
    transition: var(--transition);
}
.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 59, 139, 0.1);
}
.auth-card .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.auth-card .btn-primary-custom {
    width: 100%;
    padding: 14px;
}
.auth-card .auth-link {
    text-align: center;
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.auth-card .auth-link a {
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}
.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 8px;
}
.footer a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.6);
}
.footer .social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    .hero .hero-stats {
        gap: 24px;
    }
    .section-title {
        font-size: 2rem;
    }
    .quote-form-wrapper {
        padding: 28px;
    }
    .dashboard-sidebar {
        margin-bottom: 24px;
        position: static;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 110px 0 60px;
        text-align: center;
    }
    .hero p {
        margin: 16px auto 24px;
    }
    .hero .hero-stats {
        justify-content: center;
    }
    .hero .hero-image .img-wrapper {
        min-height: 220px;
        margin-top: 30px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .auth-card {
        padding: 32px 24px;
    }
    .dashboard-content {
        padding: 24px;
    }
}
@media (max-width: 480px) {
    .navbar-custom .navbar-brand .brand-text .name {
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .quote-form-wrapper {
        padding: 20px;
    }
}

/* ===== UTILITY ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-soft-primary {
    background: var(--primary-soft);
}
.shadow-custom {
    box-shadow: var(--shadow);
}
.rounded-custom {
    border-radius: var(--radius);
}
.gap-2 {
    gap: 8px;
}

/* ===== TOAST ===== */
.toast-container-custom {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
}
.toast-custom {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--primary);
    animation: slideInRight 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}
.toast-custom.success {
    border-left-color: #28a745;
}
.toast-custom.error {
    border-left-color: #dc3545;
}
.toast-custom i {
    font-size: 1.3rem;
}
.toast-custom .toast-body {
    flex: 1;
    font-size: 0.95rem;
    color: #1e1e2a;
    margin: 0;
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}