/* Documents Clearing Page CSS */

.page-header {
    background: linear-gradient(rgba(207, 228, 253, 0.7), rgba(16, 73, 138, 0.536)), url('serv-bg.webp') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-top: 0;
    /* Navbar offset */
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.page-breadcrumb {
    font-size: 1.1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-header {
        height: auto;
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-breadcrumb {
        font-size: 0.9rem;
    }

    .service-cards-section {
        padding: 2.5rem 0;
    }

    .service-card-item {
        margin-bottom: 15px;
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-brief {
        font-size: 0.85rem;
    }

    .card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .page-header {
        height: auto;
        min-height: 45vh;
        padding-top: 100px;
    }

    .page-title {
        font-size: 2.8rem;
    }

    .service-cards-section {
        padding: 4rem 0;
    }
}

/* Service Cards Section */
.service-cards-section {
    padding: 5rem 0;
    background: white;
}

.service-card-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.service-card-item:hover::before {
    transform: scaleX(1);
}

.service-card-item.active-card {
    border-color: var(--color-accent-cyan);
    background: #f0fdff;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.service-card-item:hover .card-icon,
.service-card-item.active-card .card-icon {
    color: var(--color-accent-cyan);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-brief {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Detailed Content Section */
.details-display-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 3rem 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-out;
}

.service-detail-content:last-child {
    border-bottom: none;
}

/* Animation for headers */
.detail-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
}

.detail-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent-cyan);
}

.detail-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
    font-weight: bold;
}

.detail-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-image-box img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    transition: transform 0.3s;
}

.detail-image-box:hover img {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-image-box {
        display: none;
    }
}

/* WhatsApp Inquiry Modal */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.inquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.inquiry-modal {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.inquiry-modal-overlay.active .inquiry-modal {
    transform: scale(1) translateY(0);
}

.inquiry-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.inquiry-modal-close:hover {
    color: #333;
    background: #f0f0f0;
}

.inquiry-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.inquiry-modal-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

.inquiry-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inquiry-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.inquiry-option:hover {
    background: #e8f8ff;
    border-color: var(--color-accent-cyan);
    transform: translateX(5px);
}

.inquiry-option i {
    font-size: 1.25rem;
    color: var(--color-accent-cyan);
    width: 30px;
    text-align: center;
}

.inquiry-option-text {
    flex: 1;
}

.inquiry-option-text strong {
    display: block;
    color: var(--color-primary-dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.inquiry-option-text span {
    font-size: 0.85rem;
    color: #888;
}

.inquiry-option .fa-whatsapp {
    color: #25D366;
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .inquiry-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .inquiry-modal-title {
        font-size: 1.5rem;
    }

    .inquiry-option {
        padding: 0.875rem 1rem;
    }
}