/* UK Immigration Services Styles */

.uk-immigration-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-12 {
    width: 100%;
    padding: 0 15px;
}

.col-lg-3, .col-md-4 {
    width: 25%;
    padding: 0 15px;
}

.col-lg-9, .col-md-8 {
    width: 75%;
    padding: 0 15px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 300;
}

/* Services Sidebar */
.services-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.services-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-item {
    margin-bottom: 4px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
}

.tab-item:hover {
    transform: translateX(5px);
}

.tab-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
}

.tab-link:hover {
    background: #f7fafc;
    color: #667eea;
    text-decoration: none;
}

.tab-item.active .tab-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.tab-icon {
    margin-right: 8px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.external-indicator {
    margin-left: auto;
    font-size: 1rem;
    opacity: 0.7;
}

.has-external .tab-link {
    border-left: 3px solid #667eea;
}

/* Main Content Area */
.services-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: 600px;
    position: relative;
}

.tab-content {
    display: none;
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}


.content-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.content-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0;
}

.content-body {
    color: #4a5568;
    line-height: 1.6;
}

.content-body p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0;
}

/* Service Details */
.service-details {
    margin-top: 25px;
}

.service-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.service-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-details li {
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.service-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.service-details li:last-child {
    border-bottom: none;
}

/* Visa Types Cards */
.visa-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.visa-type-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.visa-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.visa-type-card h4 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 10px;
}

.visa-type-card p {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Assessment Cards */
.assessment-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.assessment-card {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.assessment-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.assessment-card h4 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 15px;
}

.assessment-card p {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    background: #f7fafc;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

/* Buttons */
.cta-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

/* Processing Time */
.processing-time {
    background: #e6fffa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #38b2ac;
}

.processing-time h4 {
    color: #234e52;
    margin-bottom: 10px;
}

.processing-time p {
    color: #234e52;
    margin-bottom: 0;
    font-weight: 500;
}

/* Process Steps */
.process-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.process-steps li {
    counter-increment: step-counter;
    padding: 15px 0 15px 45px;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.process-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    background: #667eea;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Eligibility Info */
.eligibility-info, .requirements-section, .citizenship-requirements {
    background: #f0fff4;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #48bb78;
}

.eligibility-info h4, .requirements-section h4, .citizenship-requirements h4 {
    color: #22543d;
    margin-bottom: 15px;
}

.eligibility-info ul, .requirements-section ul, .citizenship-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-info li, .requirements-section li, .citizenship-requirements li {
    padding: 8px 0 8px 25px;
    color: #22543d;
    position: relative;
}

.eligibility-info li:before, .requirements-section li:before, .citizenship-requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2rem;
}

.mobile-menu-toggle {
    display: block;
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.95rem;
}

.mobile-menu-toggle:hover {
    background: #5a6fd8;
}

@media (max-width: 768px) {
    .services-sidebar.mobile-hidden {
        display: none;
    }
    
    .services-sidebar.mobile-visible {
        display: block;
        position: relative;
        z-index: 1000;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .col-lg-3, .col-md-4, .col-lg-9, .col-md-8 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .services-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 30px;
        padding: 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-link {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .services-content {
        min-height: 500px;
    }
    
    .features-grid, .visa-types, .assessment-types {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .uk-immigration-container {
        padding: 20px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .page-header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .services-sidebar {
        padding: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .content-header h2 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
.tab-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .services-sidebar {
        display: none;
    }
    
    .col-lg-9, .col-md-8 {
        width: 100%;
    }
    
    .tab-content {
        display: block !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}