/* Import Guide Styles */
.import-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.import-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/placeholder.svg?height=800&width=1920") center / cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--main-color);
    text-decoration: none;
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb-nav .current {
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--main-color);
    position: relative;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color), var(--primary-dark));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 5px;
}

.hero-image {
    position: relative;
    z-index: 3;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    /*max-width: 1000px;*/
    margin: 50px auto 0;
}

.process-timeline:before {
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--gray-300);
    z-index: 0;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0px 10px;
    z-index: 1;
    width: 25%;
    float: left;
}

.process-icon {
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: var(--box-shadow-md);
    transition: var(--transition-fast);
}

.process-item:hover .process-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 114, 186, 0.3);
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.process-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}


/* Country Guides */
.country-guides {
    padding: 80px 0;
    background: white;
}

.country-filter {
    margin-bottom: 50px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

.country-grid {
    margin-bottom: 50px;
}

.country-item {
    margin-bottom: 30px;
}

.country-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--main-color);
}

.country-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    gap: 15px;
}

.country-flag img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.country-info h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 5px 0;
}

.difficulty-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-easy {
    background: #d4edda;
    color: #155724;
}

.difficulty-medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty-hard {
    background: #f8d7da;
    color: #721c24;
}

.country-details {
    padding: 20px 25px;
    background: #f8f9fa;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--main-color);
    width: 16px;
}

.country-content {
    padding: 25px;
    display: none;
}

.country-content.expanded {
    display: block;
}

.country-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 20px 0 10px 0;
}

.country-content h5:first-child {
    margin-top: 0;
}

.country-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.country-content li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.country-content li::before {
    content: "•";
    color: var(--main-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.country-actions {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
}

.btn-expand {
    flex: 1;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-expand:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.btn-expand.expanded {
    background: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

.btn-expand.expanded i {
    transform: rotate(180deg);
}

.btn-consult {
    padding: 12px 20px;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-consult:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* General Tips */
.general-tips {
    padding: 80px 0;
    background: #f8f9fa;
}

.tips-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    gap: 30px;
}

.tip-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--main-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tip-content p {
    color: #666;
    margin-bottom: 0;
}

.consultation-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.consultation-card .card-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 35px 10px;
    text-align: center;
}

.consultation-card .card-header i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.consultation-card .card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.consultation-card .card-content {
    padding: 25px;
}

.consultation-card .card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.benefits-list li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: var(--main-color);
    font-size: 0.9rem;
}

/* Guide Stats Section */
.stats-section {
    padding: 50px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.stat-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--main-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #999;
}

.stat-content p {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

/* Guide Details */
.content-section {
    padding: 70px 0;
}

.details-wrapper .content-section:nth-child(even) {
    background-color: var(--bg-light);
}

.content {
    line-height: 2;
}

.content > *:not(:first-child) {
    margin-top: 3rem;
}

.content ul {
    padding-left: 1rem;
}

.import-stats .stat-item {
    background-color: #F8F9FA;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.import-stats .stat-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.import-stats .stat-content p {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

.import-stats svg {
    height: 35px;
    width: 35px;
}

/* Guide Stats Section */
.consultation-section {
    padding: 70px 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.consultation-section #consultationForm label {
    margin-bottom: 4px;
    font-weight: 500;
    color: #e1e1e1;
    font-size: 15px;
}

.consultation-section #consultationForm .form-control {
    border-radius: 5px;
    padding: 0.6rem 1rem;
    border: 1px solid #043C62;
    min-height: calc(2.5em + .75rem + 2px);
    background: white;
    background-color: #04558B;
    color: #FFF;
}

.consultation-section #consultationForm .form-control:focus {
    border-color: #023150;
    background: #044977;
}

.consultation-section #consultationForm .form-control::placeholder {
    color: #CCC;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.5rem;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.form-group label {}

.custom-control-label {
    font-size: 0.9rem;
    color: #666;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
}

.modal-footer .btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--main-color), var(--primary-dark));
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.3);
}

@media (max-width: 992px) {
    .process-section {
        padding: 50px 0;
    }
    
    .process-timeline:before {
        display: none;
    }

    .process-item {
        width: 50%;
        margin-bottom: 40px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .country-actions {
        flex-direction: column;
    }

    .tips-grid {
        gap: 20px;
    }

    .tip-item {
        flex-direction: column;
        text-align: center;
    }

    .consultation-card {
        position: static;
        margin-top: 30px;
    }

    .process-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .process-step {
        padding: 20px 15px;
    }

    .country-header {
        padding: 20px;
    }

    .country-content {
        padding: 20px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }
}

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

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--main-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}


.btn-primary-custom:disabled {
    opacity: 0.5;
    pointer-events: none;
}
