/* ----------------------------------------------------
   Services Pages Style System
   Libyan Center for Consultations & Human Development
---------------------------------------------------- */

/* Hero Banner */
.services-hero-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-corporate));
    padding: 90px 6% 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-premium);
}
.services-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(182, 141, 46, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.services-hero-section h1 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.services-hero-section p {
    font-family: 'Almarai', sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Layout and Grid */
.services-container {
    padding: 60px 6%;
    background-color: var(--cream-clean);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
}

/* Premium Service Card */
.service-card-premium {
    background-color: var(--white);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.service-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(182, 141, 46, 0.09);
    border-color: rgba(182, 141, 46, 0.25);
}

.service-card-top-stripe {
    height: 5px;
    background: linear-gradient(90deg, var(--gold-premium), var(--gold-glow));
    width: 100%;
}

.service-card-img-wrap {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #eee;
}
.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-card-premium:hover .service-card-img-wrap img {
    transform: scale(1.08);
}

.service-card-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(182, 141, 46, 0.08);
    color: var(--gold-premium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 30px 30px 10px;
    transition: var(--transition-smooth);
    border: 1.5px solid rgba(182, 141, 46, 0.15);
}
.service-card-premium:hover .service-card-icon-wrap {
    background: var(--gold-premium);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card-body {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-corporate);
    margin-bottom: 15px;
}
.service-card-body p {
    font-family: 'Almarai', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.85;
    text-align: justify;
}

/* Feature Badges */
.service-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.service-feature-badge {
    background: rgba(20, 31, 54, 0.03);
    color: var(--navy-corporate);
    border: 1px solid rgba(20, 31, 54, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Cairo', sans-serif;
}
.service-feature-badge i {
    color: var(--gold-premium);
    font-size: 11px;
}

/* CTA / Enquiry Block */
.service-cta-block {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    padding: 0;
    color: var(--navy-corporate);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.10);
    position: relative;
    border: 1px solid rgba(182, 141, 46, 0.18);
    overflow: hidden;
}
.service-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-glow), var(--gold-premium));
    pointer-events: none;
}
.service-cta-header {
    position: relative;
    padding: 34px 42px 30px;
    text-align: start;
    margin-bottom: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(212,175,55,.12), transparent 28%),
        linear-gradient(135deg, #101c33, #1e3357);
    border-bottom: 3px solid var(--gold-premium);
}
.service-request-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(212,175,55,.4);
    border-radius: 999px;
    color: var(--gold-glow);
    background: rgba(212,175,55,.08);
    font: 700 12px 'Cairo', sans-serif;
}
.service-cta-header h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    margin: 0 0 10px;
    color: #fff;
}
.service-cta-header h2 span {
    color: var(--gold-glow);
}
.service-cta-header p {
    font-family: 'Almarai', sans-serif;
    color: rgba(255,255,255,0.7);
    font-size: .95rem;
    line-height: 1.9;
    max-width: 760px;
    margin: 0;
}
.service-request-form { padding: 38px 42px 42px; position: relative; z-index: 1; }
.service-request-form .row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px 20px;
    margin: 0;
}
.service-request-form .col-md-3 { grid-column: span 3; }
.service-request-form .col-md-6 { grid-column: span 6; }
.service-request-form .col-12 { grid-column: 1 / -1; }
.service-request-form .text-center { text-align: center; }

/* Form Styling */
.service-form-label {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 8px;
    color: #24324a;
    display: block;
}
.service-form-input {
    background: #f8fafc;
    border: 1.5px solid #dce3ec;
    border-radius: 12px;
    color: #172033 !important;
    padding: 13px 15px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    width: 100%;
    min-height: 50px;
}
.service-form-input:focus {
    background: #fff;
    border-color: var(--gold-premium);
    box-shadow: 0 0 0 4px rgba(182, 141, 46, 0.11);
    outline: none;
}
.service-form-input::placeholder {
    color: #8995a8;
}
select.service-form-input option {
    background-color: #fff;
    color: #172033;
}
textarea.service-form-input { min-height: 135px; resize: vertical; line-height: 1.8; }

.btn-service-submit {
    background: linear-gradient(135deg, #13223e, #0b1528);
    color: var(--white) !important;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    min-width: 280px;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}
.btn-service-submit:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    box-shadow: 0 12px 28px rgba(182, 141, 46, 0.28);
}

.btn-service-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-service-whatsapp:hover {
    background: #1eb954;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .services-hero-section { padding: 62px 20px 56px; }
    .services-hero-section h1 { font-size: 1.85rem; }
    .services-container { padding: 38px 16px 60px; }
    .services-grid { grid-template-columns: 1fr; gap: 22px; margin-bottom: 42px; }
    .service-cta-header { padding: 28px 24px 24px; }
    .service-request-form { padding: 26px 22px 30px; }
    .service-request-form .col-md-3,
    .service-request-form .col-md-6,
    .service-request-form .col-12 { grid-column: 1 / -1; }
    .btn-service-submit,
    .btn-service-whatsapp { width: 100%; min-width: 0; }
}

/* =======================================================
   Interactive Halls & Labs Showcase Styles
   ======================================================= */
.halls-showcase-wrapper {
    margin-bottom: 60px;
}
.halls-showcase-header {
    text-align: center;
    margin-bottom: 35px;
}
.halls-showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(182, 141, 46, 0.12);
    color: var(--gold-premium);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 12px;
    border: 1px solid rgba(182, 141, 46, 0.25);
}
.halls-showcase-header h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--navy-corporate);
    margin-bottom: 10px;
}
.halls-showcase-header h2 span {
    color: var(--gold-premium);
}
.halls-showcase-header p {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.85;
}

/* Filter Bar */
.halls-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.halls-filter-btn {
    background: #ffffff;
    color: var(--navy-corporate);
    border: 1.5px solid rgba(19, 34, 62, 0.12);
    border-radius: 50px;
    padding: 10px 22px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.halls-filter-btn:hover {
    border-color: var(--gold-premium);
    color: var(--gold-premium);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(182, 141, 46, 0.15);
}
.halls-filter-btn.active {
    background: linear-gradient(135deg, var(--navy-corporate), #0e1a2f);
    color: #ffffff;
    border-color: var(--navy-corporate);
    box-shadow: 0 8px 20px rgba(19, 34, 62, 0.25);
}
.halls-filter-btn.active .badge-count {
    background: var(--gold-premium);
    color: #ffffff;
}
.halls-filter-btn .badge-count {
    background: rgba(19, 34, 62, 0.08);
    color: var(--navy-corporate);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Halls Grid */
.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.hall-card-premium {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(19, 34, 62, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.hall-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(182, 141, 46, 0.35);
}
.hall-card-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #111e33;
}
.hall-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hall-card-premium:hover .hall-card-img-wrap img {
    transform: scale(1.06);
}
.hall-overlay-actions {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.15) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 16px;
}
.hall-badge-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(19, 34, 62, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
[dir="ltr"] .hall-badge-type {
    right: auto;
    left: 15px;
}
.hall-badge-type i {
    color: var(--gold-premium);
}
.hall-overlay-btns {
    display: flex;
    gap: 10px;
    z-index: 2;
    width: 100%;
    justify-content: flex-end;
}
.btn-overlay-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-corporate);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn-overlay-circle:hover {
    background: var(--gold-premium);
    color: #ffffff;
    transform: scale(1.12);
}
.btn-overlay-video {
    background: #e11d48;
    color: #ffffff;
    position: relative;
}
.btn-overlay-video:hover {
    background: #be123c;
    color: #ffffff;
}
.btn-overlay-video::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(225, 29, 72, 0.5);
    animation: hallPulse 2s infinite;
}
@keyframes hallPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.hall-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hall-card-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--navy-corporate);
    margin-bottom: 10px;
    line-height: 1.4;
}
.hall-card-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 18px;
    opacity: 0.88;
}
.hall-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    margin-top: auto;
}
.hall-feat-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hall-feat-tag i {
    color: var(--gold-premium);
    font-size: 10px;
}

.hall-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.btn-hall-book-now {
    flex: 1;
    background: linear-gradient(135deg, var(--gold-premium), var(--gold-glow));
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(182, 141, 46, 0.28);
}
.btn-hall-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(182, 141, 46, 0.4);
    background: linear-gradient(135deg, #a47c23, #b68d2e);
}
.btn-hall-tour-link {
    background: rgba(19, 34, 62, 0.05);
    color: var(--navy-corporate);
    border: 1px solid rgba(19, 34, 62, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.btn-hall-tour-link:hover {
    background: var(--navy-corporate);
    color: #ffffff;
    border-color: var(--navy-corporate);
}

/* Modals */
.hall-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 35, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hall-modal-backdrop.active {
    display: flex;
    opacity: 1;
}
.hall-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.hall-modal-backdrop.active .hall-modal-content {
    transform: scale(1);
}
.hall-modal-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--navy-corporate), #0b1528);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hall-modal-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hall-modal-title i {
    color: var(--gold-premium);
}
.btn-hall-modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s ease;
}
.btn-hall-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}
.hall-modal-body {
    padding: 0;
    overflow-y: auto;
    background: #000000;
}
.hall-modal-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.hall-modal-video-wrap video,
.hall-modal-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.hall-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Lightbox image view */
.hall-lightbox-img-wrap {
    width: 100%;
    text-align: center;
    background: #0b1323;
    padding: 10px;
}
.hall-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Selected Hall Alert Badge in Form */
.selected-hall-alert {
    background: linear-gradient(135deg, rgba(182, 141, 46, 0.12), rgba(19, 34, 62, 0.05));
    border: 1.5px solid var(--gold-premium);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: fadeInSlide 0.4s ease;
}
.selected-hall-alert.active {
    display: flex;
}
.selected-hall-alert-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-corporate);
    display: flex;
    align-items: center;
    gap: 10px;
}
.selected-hall-alert-text i {
    color: var(--gold-premium);
    font-size: 1.2rem;
}
.selected-hall-badge-pill {
    background: var(--navy-corporate);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .halls-grid {
        grid-template-columns: 1fr;
    }
    .halls-showcase-header h2 {
        font-size: 1.7rem;
    }
    .hall-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
}

