/* --- VISA SERVICES PAGE STYLES --- */

/* Visa Search Area */
.visa-search-area {
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 34, 102, 0.08);
    margin-top: -25px; /* Less overlap */
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.visa-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.visa-search-input {
    flex: 1;
    position: relative;
}

.visa-search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
}

.visa-search-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.visa-search-input input:focus {
    border-color: var(--primary);
}

.visa-search-form .btn {
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* Visa Country Grid */
.visa-countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.visa-country-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    position: relative;
}

.visa-country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,34,102,0.1);
    border-color: rgba(0,34,102,0.1);
}

.v-card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.v-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.v-card-flag {
    position: absolute;
    top: 150px; /* 180px (img height) - 30px (half of flag height) */
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--white);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    background: var(--white);
}

.v-card-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-card-content {
    padding: 35px 20px 20px;
}

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

.visa-country-card:hover h3 {
    color: var(--primary);
}

.v-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.v-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-400);
}

.v-meta-item i {
    color: var(--secondary);
    width: 16px;
    text-align: center;
}

.v-card-footer {
    border-top: 1px solid var(--gray-100);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.v-price span {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

.v-btn {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.visa-country-card:hover .v-btn {
    color: var(--secondary);
    gap: 8px;
}

/* Working Process Section */
.process-section {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-style: dashed;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: translateY(-10px);
    background: var(--secondary);
    color: var(--white);
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.process-step:hover .step-num {
    background: var(--white);
    color: var(--primary);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.faq-header:hover {
    color: var(--primary);
}

.faq-header i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header {
    background: rgba(0, 34, 102, 0.03);
    color: var(--primary);
    border-bottom: 1px solid var(--gray-100);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-body {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-body p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .visa-countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid::before {
        display: none;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .visa-countries-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .visa-search-form {
        flex-direction: column;
    }
    .visa-search-form .btn {
        width: 100%;
    }
    .visa-search-area {
        padding: 20px;
        margin-top: -30px;
    }
}
