/**
 * SuperCoding Car Frontend Custom CSS
 *
 * Note: CSS variables (--sk-primary, --sk-secondary, --sk-gradient)
 * are dynamically set from admin settings in header.php
 */

/* General */
body {
    font-family: 'Inter', sans-serif;
}

/* Header */
.page-header__scroll {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 10px 0;
}
img.logo__img {
        height: 40px;
}

.page-header .uk-navbar-nav > li > a {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s;
}

.page-header .uk-navbar-nav > li > a:hover,
.page-header .uk-navbar-nav > li.uk-active > a {
    color: var(--sk-primary);
}

.page-header .uk-navbar-nav > li > a i {
    margin-right: 6px;
}

.page-header__phone .uk-button-danger {
    background: var(--sk-gradient);
    border-radius: 8px;
    font-weight: 500;
}

.page-header__btn .uk-button-danger {
    background: var(--sk-gradient);
    border-radius: 8px;
}

/* Banner */
.section-banner {
    min-height: 70vh;
    position: relative;
}

.section-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-banner__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.section-banner__title h1 {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .section-banner__title h1 {
        font-size: 28px;
    }

    .section-banner {
        min-height: 60vh;
    }
}

/* Steps */
.step-item {
    text-align: center;
    padding: 20px;
}

.step-item__icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-item__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a202c;
}

.step-item__text {
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
}

/* School Cards */
.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Review Cards */
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Footer */
.page-footer {
    background: #1a1f2e;
    color: #fff;
    padding: 60px 0 0;
}

.footer-columns {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 24px;
    color: var(--sk-primary);
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--sk-primary);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

@media (max-width: 959px) {
    .footer-columns > div {
        margin-bottom: 30px;
    }

    .footer-brand {
        padding-right: 0;
    }
}

/* Mobile menu */
.uk-offcanvas-bar {
    background: linear-gradient(180deg, #1a202c 0%, #2d3748 100%);
}

.uk-offcanvas-bar .uk-nav a {
    color: rgba(255,255,255,0.8);
    padding: 12px 0;
    font-size: 16px;
}

.uk-offcanvas-bar .uk-nav a:hover {
    color: #fff;
}

.uk-offcanvas-bar .uk-nav a i {
    margin-right: 10px;
    width: 20px;
}

/* Forms */
.uk-input,
.uk-select,
.uk-textarea {
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    border-color: var(--sk-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.uk-button-danger {
    background: var(--sk-gradient);
}

.uk-button-danger:hover {
    opacity: 0.9;
}

.uk-button-default {
    border: 2px solid var(--sk-primary);
    color: var(--sk-primary);
}

.uk-button-default:hover {
    background: var(--sk-primary);
    color: #fff;
}

/* Pagination */
.uk-pagination > li > a {
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s;
}

.uk-pagination > li.uk-active > a {
    background: var(--sk-gradient);
    color: #fff;
}

.uk-pagination > li > a:hover {
    background: #edf2f7;
}

/* RTL Support */
[dir="rtl"] .page-header .uk-navbar-nav > li > a i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .uk-offcanvas-bar .uk-nav a i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .fa-arrow-right::before {
    content: "\f060"; /* fa-arrow-left */
}

/* Loader */
#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}

#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Language Switcher - Mobile Menu */
.lang-switcher-mobile {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.lang-switcher-mobile .uk-button-default {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .search-filter-box {
        padding: 15px !important;
    }

    .search-filter-box .uk-grid > div {
        margin-bottom: 10px;
    }

    .stat-item .stat-number {
        font-size: 32px !important;
    }

    .section-stats {
        padding: 30px 0 !important;
    }
}

/* Register link in mobile menu */
.register-mobile-link {
    background: var(--sk-gradient) !important;
    color: #fff !important;
    padding: 12px 15px !important;
    border-radius: 8px;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.register-mobile-link:hover {
    opacity: 0.9;
}

/* =============================================
   Select2 Custom Styling - SuperCoding Car Frontend
   ============================================= */

/* Base Container */
.select2-container {
    width: 100% !important;
}

/* Single Selection */
.select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    padding: 0 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #c5cee0;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--sk-primary, var(--sk-primary));
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    outline: none;
}

/* Rendered Text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 0;
    padding-right: 35px;
    color: #4a5568;
    font-size: 15px;
    font-weight: 400;
}

/* Placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    width: 30px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #a0aec0 transparent transparent transparent;
    border-width: 5px 5px 0 5px;
    margin-left: -5px;
    margin-top: -3px;
    transition: all 0.2s ease;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--sk-primary, var(--sk-primary)) transparent;
    border-width: 0 5px 5px 5px;
    margin-top: 3px;
}

/* Clear Button (X) */
.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 50%;
    color: #718096;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    background: #fc8181;
    color: #fff;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
    overflow: hidden;
    z-index: 9999;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #e2e8f0;
}

/* Search Field */
.select2-container--default .select2-search--dropdown {
    padding: 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #4a5568;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--sk-primary, var(--sk-primary));
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Results Options */
.select2-results__options {
    max-height: 250px;
    overflow-y: auto;
}

.select2-container--default .select2-results__option {
    padding: 12px 15px;
    font-size: 14px;
    color: #4a5568;
    transition: all 0.15s ease;
    cursor: pointer;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--sk-gradient, linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%));
    color: #fff;
}

.select2-container--default .select2-results__option--selected {
    background: #f1f5f9;
    color: var(--sk-primary, var(--sk-primary));
    font-weight: 500;
}

.select2-container--default .select2-results__option--selected:hover,
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background: var(--sk-gradient, linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%));
    color: #fff;
}

/* No results message */
.select2-container--default .select2-results__message {
    color: #a0aec0;
    padding: 20px 15px;
    text-align: center;
    font-size: 14px;
}

/* =============================================
   Homepage Search Filter Box Select2
   ============================================= */
.search-filter-box .select2-container--default .select2-selection--single {
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.search-filter-box .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    font-size: 15px;
}

.search-filter-box .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.search-filter-box .select2-container--default.select2-container--focus .select2-selection--single,
.search-filter-box .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--sk-primary, var(--sk-primary));
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

/* =============================================
   Sidebar Filter Select2
   ============================================= */
.filters-sidebar .select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.filters-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 43px;
    font-size: 14px;
}

.filters-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

.filters-sidebar .select2-container--default .select2-selection--single .select2-selection__clear {
    right: 28px;
    width: 18px;
    height: 18px;
    font-size: 12px;
}

/* =============================================
   Multiple Selection (if needed)
   ============================================= */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    min-height: 48px;
    padding: 6px 10px;
    background: #fff;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--multiple:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--sk-primary, var(--sk-primary));
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--sk-gradient, linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%));
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    margin: 3px;
    font-size: 13px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 6px;
    font-size: 14px;
    border-right: none;
    padding-right: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
    background: transparent;
}

/* =============================================
   Custom Select2 Theme Classes
   ============================================= */

/* SuperCoding Car Custom Select2 Container */
.sk-select2-container.select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.sk-select2-container.select2-container--default:hover .select2-selection--single {
    border-color: #cbd5e0;
}

.sk-select2-container.select2-container--default.select2-container--focus .select2-selection--single,
.sk-select2-container.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--sk-primary, var(--sk-primary));
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Sidebar specific */
.sk-select2-sidebar.select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 8px;
}

.sk-select2-sidebar.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
}

.sk-select2-sidebar.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

/* Custom Dropdown */
.sk-select2-dropdown {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.sk-select2-dropdown .select2-search--dropdown {
    padding: 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.sk-select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fff;
}

.sk-select2-dropdown .select2-results__option {
    padding: 12px 16px;
}

/* =============================================
   School Page Select2
   ============================================= */
.school-sidebar .select2-container--default .select2-selection--single,
.school-section .select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.school-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered,
.school-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 43px;
    font-size: 14px;
    color: #4a5568;
}

.school-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow,
.school-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

/* =============================================
   UK Section Select2 (general pages)
   ============================================= */
.uk-section .select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.uk-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 43px;
    font-size: 14px;
    color: #4a5568;
}

.uk-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

/* =============================================
   Force Styles Override (for stubborn cases)
   ============================================= */
.select2-container--default .select2-selection--single {
    height: 45px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.2 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #4a5568 !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #a0aec0 transparent transparent transparent !important;
    margin-top: 0 !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--sk-primary) transparent !important;
}

/* Dropdown fixes */
.select2-container--open .select2-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    margin-top: 4px !important;
}

.select2-container--default .select2-results__option {
    padding: 10px 14px !important;
    font-size: 14px !important;
    text-align: left !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%) !important;
    color: #fff !important;
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 640px) {
    .select2-container--default .select2-selection--single {
        height: 42px !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 13px !important;
    }

    .search-filter-box .select2-container--default .select2-selection--single {
        height: 45px !important;
    }
}

/* Dashboard Icon in Header */
.page-header__dashboard {
    margin-left: 15px;
}

.dashboard-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--sk-gradient);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.dashboard-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Language Dropdown */
.page-header__lang {
    max-width: 120px;
    margin-left: 10px;
}

.page-header__lang .lang-dropdown {
    display: block;
    box-shadow: unset;
    padding: 0;
}

.page-header__lang .lang-dropdown .lang-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    margin-top: 5px;
    background: #fff;
}

.page-header__lang .lang-dropdown .lang-dropdown-menu.uk-open {
    display: block;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
    background: #fff;
    border-color: var(--sk-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lang-dropdown-btn .lang-flag,
.lang-dropdown-btn .lang-flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.lang-dropdown-btn i {
    font-size: 10px;
    color: #a0aec0;
    transition: transform 0.3s;
}

.lang-dropdown.uk-open .lang-dropdown-btn i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    min-width: 160px !important;
    padding: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border: 1px solid #e2e8f0 !important;
}

.lang-dropdown-menu .uk-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #4a5568;
    font-size: 14px;
    transition: all 0.2s;
}

.lang-dropdown-menu .uk-nav li a:hover {
    background: #f8fafc;
    color: var(--sk-primary);
}

.lang-dropdown-menu .uk-nav li.uk-active a {
    background: var(--sk-gradient);
    color: #fff;
}

.lang-dropdown-menu .lang-flag,
.lang-dropdown-menu .lang-flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Mobile Controls */
.page-header__mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.mobile-dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--sk-gradient);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-dashboard-icon:hover {
    color: #fff;
    opacity: 0.9;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
}

.mobile-lang-btn .lang-flag,
.mobile-lang-btn .lang-flag-img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
}

.mobile-lang-btn i {
    font-size: 9px;
    color: #a0aec0;
}

.mobile-lang-dropdown {
    position: relative;
}

.mobile-lang-dropdown .lang-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    margin-top: 5px;
}

.mobile-lang-dropdown .lang-dropdown-menu.uk-open {
    display: block;
}

/* Responsive - Show/Hide Controls */
@media (max-width: 959px) {
    .page-header__dashboard,
    .page-header__lang {
        display: none;
    }

    .page-header__mobile-controls {
        display: flex;
    }
}

@media (min-width: 960px) {
    .page-header__mobile-controls {
        display: none;
    }

    .page-header__dashboard,
    .page-header__lang {
        display: block;
    }
}

/* Header Inner Flex Alignment */
.page-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 959px) {
    .page-header__menu {
        display: none;
    }
}

/* Sticky Header - CSS Based */
.page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.page-header__scroll {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.page-header.scrolled .page-header__scroll {
    box-shadow: 0 2px 15px rgba(0,0,0,0.12);
}
button {
    gap: 8px;
}

button i {
    margin: 0 !important;
}

/* =============================================
   UIKit Override Fixes for SuperCoding Car Pages
   ============================================= */

/* School Detail Page - Hero Section */
section.sk-school-hero {
    position: relative !important;
    min-height: 400px !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%) !important;
    overflow: hidden !important;
}

/* School Logo Box */
.sk-school-logo {
    width: 140px !important;
    height: 140px !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 8px !important;
}

/* Contact List - Remove UIKit bullets */
ul.sk-contact-list,
.sk-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sk-contact-list > li {
    list-style: none !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.sk-contact-list > li::before {
    display: none !important;
}

.sk-contact-list > li:last-child {
    border-bottom: none !important;
}

/* School Info Name - Override UIKit h1 */
h1.sk-school-info__name {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 12px 0 !important;
}

/* Filters Sidebar */
.sk-filters {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 25px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 100px !important;
}

.sk-filters__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.sk-filters__select,
.sk-filters input[type="text"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    background: #fff !important;
}

.sk-filters__btn {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.sk-filters__reset {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 12px !important;
    background: transparent !important;
    color: #718096 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    text-decoration: none !important;
}

/* Page Header */
.sk-page-header {
    background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%) !important;
    padding: 60px 0 !important;
    text-align: center !important;
}

h1.sk-page-header__title {
    color: #fff !important;
    font-size: 36px !important;
    margin: 0 0 10px 0 !important;
}

p.sk-page-header__subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* School Card Fixes */
.sk-school-card {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    height: auto !important;
}

/* Hero Section for Homepage */
section.sk-hero {
    position: relative !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
}

.sk-hero__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

.sk-hero__bg-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #2563eb5c;
}

.sk-hero__content {
    position: relative !important;
    z-index: 10 !important;
    padding: 60px 0 120px !important;
}

h1.sk-hero__title {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.2 !important;
}

p.sk-hero__subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 20px !important;
    margin: 0 0 40px 0 !important;
}

/* Search Box */
.sk-search-box {
    max-width: 950px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Section Headers */
.sk-section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

h2.sk-section-header__title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 15px 0 !important;
}

p.sk-section-header__subtitle {
    color: #718096 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* Featured Schools Grid */
.sk-featured__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 960px) {
    .sk-featured__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .sk-featured__grid {
        grid-template-columns: 1fr !important;
    }
}

/* Reviews Grid for Slider */
ul.sk-reviews__grid {
    list-style: none !important;
    padding: 10px 0 !important;
    margin: 0 !important;
}

ul.sk-reviews__grid > li {
    list-style: none !important;
}

ul.sk-reviews__grid > li::before {
    display: none !important;
}

/* CTA Section */
section.sk-cta {
    background: #1a202c !important;
    padding: 80px 0 !important;
}

h2.sk-cta__title {
    color: #fff !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

p.sk-cta__text {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 18px !important;
    margin-bottom: 30px !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.sk-cta__buttons {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.sk-cta__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 35px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.sk-cta__btn--primary {
    background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-secondary) 100%) !important;
    color: #fff !important;
}

.sk-cta__btn--outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

/* Utility Classes */
.sk-hidden {
    display: none !important;
}

.sk-message--hidden {
    display: none;
}

@media(max-width: 768px) {
.sk-search-box {
    margin: 0 15px !important;
}

.sk-stats__grid {
        grid-template-columns: repeat(2, 2fr) !important;
}
.sk-stats__item--light {
    padding: 0 !important;
}
.sk-stats__number {
    font-size: 30px !important;
}
.sk-cta__buttons a {
    width: 100%;
    display: flex;
    justify-content: center;
}
.footer-columns > div {
    width: 50%;
}

}

/* ==================== 404 Page ==================== */
.sk-404-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.sk-404-number {
    font-size: 120px;
    font-weight: 700;
    color: var(--sk-primary);
    line-height: 1;
    margin-bottom: 20px;
}

.sk-404-title {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 15px;
}

.sk-404-text {
    color: #718096;
    font-size: 16px;
    margin-bottom: 30px;
}

.sk-404-btn {
    background: var(--sk-gradient) !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
}

/* ==================== Page Header (FAQ, Privacy, Terms) ==================== */
.sk-page-header-gradient {
    background: var(--sk-gradient);
    padding: 60px 0;
    text-align: center;
}

.sk-page-header-gradient h1 {
    color: #fff;
    font-size: 36px;
    margin: 0 0 10px 0;
}

.sk-page-header-gradient p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
}

/* ==================== Legal Content ==================== */
.sk-legal-content {
    color: #4a5568;
    line-height: 1.8;
}

/* ==================== Layout Components ==================== */
.sk-logo-text {
    font-size: 24px;
    font-weight: 700;
}

.sk-logo-text--primary {
    color: var(--sk-primary);
}

.sk-logo-text--white {
    color: #fff;
}

.sk-lang-button {
    width: 48%;
}

/* Language Dropdown Flag Images */
.page-header__lang .lang-dropdown .lang-dropdown-menu img.lang-flag-img {
    width: 20px;
}