/* Default 75% zoom effect */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.33vw;
    height: auto;
}

.hero-banner-two {
    background-image: url('/assets/images/web-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    padding-top: 200px;
}

/* Make logo smaller */
.theme-main-menu .logo img {
    max-height: 35px;
    width: auto;
}

.hero-banner-two .container {
    position: relative;
    z-index: 2;
}

.hero-banner-two .client-logo-wrapper {
    position: relative;
    z-index: 2;
}

/* Enhanced header styling */
.theme-main-menu {
    position: relative;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.9) 0%, rgba(0, 40, 80, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced text styling for better readability */
.hero-banner-two .hero-heading {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    margin-top: 60px;
}

.hero-banner-two p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure shapes are visible */
.hero-banner-two .shapes {
    position: relative;
    z-index: 2;
}

/* Style adjustments for better contrast */
.hero-banner-two .btn-three {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.client-logo-wrapper p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Remove extra space below footer */
.footer-three {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.main-page-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
}

.scroll-top {
    bottom: 20px !important;
}

/* Criminal Search Form Styles */
.criminal-search-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto 12.5vh auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
}

.search-form-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-section {
    margin-bottom: 2rem;
    padding: 2rem 2rem 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-title {
    color: #1e5bbf;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(30, 91, 191, 0.3);
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1e5bbf;
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Dark mode styling for select dropdown */
.form-input select,
select.form-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem !important;
}

.form-input select:focus,
select.form-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #1e5bbf !important;
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3) !important;
    outline: none !important;
}

/* Dark mode for select options */
.form-input select option,
select.form-input option {
    background: #1a1a1a !important;
    color: white !important;
    padding: 0.5rem !important;
}

.form-input select option:hover,
select.form-input option:hover {
    background: #2d2d2d !important;
}

.form-input select option:checked,
select.form-input option:checked {
    background: #1e5bbf !important;
    color: white !important;
}

/* Style the default/placeholder option */
.form-input select option[value=""],
select.form-input option[value=""] {
    color: rgba(255, 255, 255, 0.5) !important;
}

.search-button {
    background: linear-gradient(135deg, #1e5bbf 0%, #003f96 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(30, 91, 191, 0.4);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 191, 0.5);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Category Types Checkboxes */
.category-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 1rem 0;
    justify-items: center;
    padding: 0 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
}

.form-check:hover {
    transform: scale(1.02);
}

.form-check-input {
    margin-right: 0.7rem;
    accent-color: #1e5bbf;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
}

/* Results Styles */
.results-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.found-message {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.blurred-content {
    padding: 2rem;
    filter: blur(1px);
    opacity: 0.7;
    pointer-events: none;
}

.unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.free-notice {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.unlock-btn {
    background: linear-gradient(135deg, #1e5bbf 0%, #003f96 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 91, 191, 0.4);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 191, 0.5);
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* FAQ Styling - WHITE TEXT */
.faq-section-two h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-section-two p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.faq-section-two .accordion-button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    margin-bottom: 0.5rem;
    font-weight: 500;
    padding: 1.5rem 2rem !important;
    font-size: 1.1rem;
}

.faq-section-two .accordion-button:not(.collapsed) {
    background: rgba(30, 91, 191, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(30, 91, 191, 0.3) !important;
    box-shadow: none !important;
    padding: 1.5rem 2rem !important;
}

.faq-section-two .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3) !important;
    border-color: rgba(30, 91, 191, 0.5) !important;
}

.faq-section-two .accordion-body {
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 2rem 2.5rem !important;
}

.faq-section-two .accordion-body p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.faq-section-two .accordion-item {
    background: transparent !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
    padding: 0.5rem;
    border-radius: 15px;
}

.faq-section-two .accordion {
    padding: 1rem 0;
}

/* ============================================
   MAINTENANCE POPUP STYLES - TOP POSITIONED
   ============================================ */

.maintenance-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.maintenance-popup {
    background: linear-gradient(135deg, rgba(30, 91, 191, 0.15) 0%, rgba(0, 40, 80, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 550px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    margin-top: 100px;
    position: relative;
    animation: popupSlideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.maintenance-popup-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.maintenance-popup-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.maintenance-popup-content .register-link {
    color: #4da3ff;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.maintenance-popup-content .register-link:hover {
    color: #66b3ff;
    text-shadow: 0 0 10px rgba(77, 163, 255, 0.5);
}

.close-popup-btn {
    background: linear-gradient(135deg, #1e5bbf 0%, #003f96 100%);
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(30, 91, 191, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.close-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 191, 0.6);
    background: linear-gradient(135deg, #2568d4 0%, #004aa8 100%);
}

.close-popup-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fix zoom effect spacing issues */
@media (max-width: 768px) {
    body {
        transform: scale(0.85);
        width: 117.65vw;
        height: auto;
    }
    
    .hero-banner-two {
        min-height: 80vh;
        padding-top: 150px;
    }
    
    .hero-banner-two .hero-heading {
        margin-top: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .criminal-search-container {
        padding: 2rem;
        margin: 1rem 1rem 10vh 1rem;
    }

    .category-types-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-section {
        padding: 1.5rem 1rem 2rem 1rem;
    }
    
    .maintenance-popup {
        margin-top: 60px;
        padding: 2rem;
        max-width: 90%;
    }
    
    .maintenance-popup-content h2 {
        font-size: 1.5rem;
    }
    
    .maintenance-popup-content p {
        font-size: 1rem;
    }
    
    .close-popup-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        transform: scale(0.9);
        width: 111.11vw;
        height: auto;
    }
    
    .hero-banner-two {
        padding-top: 120px;
    }
    
    .hero-banner-two .hero-heading {
        margin-top: 30px;
    }

    .criminal-search-container {
        padding: 1.5rem;
        margin-bottom: 7.5vh;
    }
    
    .maintenance-popup {
        margin-top: 40px;
        padding: 1.5rem;
    }
    
    .maintenance-popup-content h2 {
        font-size: 1.3rem;
    }
    
    .maintenance-popup-content p {
        font-size: 0.95rem;
    }
}