/* ==========================================================================
   SERVICE DETAIL PAGES — Shared Responsive Stylesheet (Sleek Dark Theme)
   Signcore UAE | Clean, high-performance, glassmorphic layout
   ========================================================================== */

/* ---- Base body configuration for a glowing space theme ---- */
body {
    background: radial-gradient(circle at 50% 0%, #0f172a 0%, #050a14 100%) !important;
    color: #e2e8f0 !important;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   HERO BANNER
   -------------------------------------------------------------------------- */
.service-detail-hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 12rem 1.5rem 8rem !important;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(5, 10, 20, 0.15) 0%,
            rgba(5, 10, 20, 0.55) 100%);
    z-index: 1;
}

.service-detail-hero .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-detail-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem) !important;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    color: #ffffff !important;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---- Breadcrumb navigation ---- */
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    color: #00b0ff !important;
    opacity: 0.95;
}

.breadcrumb a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 176, 255, 0.6);
}

.breadcrumb span {
    color: #ffffff;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   MAIN LAYOUT — Balanced columns with deep spacing
   -------------------------------------------------------------------------- */
.detail-container {
    display: grid;
    grid-template-columns: 1.75fr 1.1fr;
    gap: 5.5rem;
    padding: 6rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   MAIN CONTENT TYPOGRAPHY & ELEMENTS
   -------------------------------------------------------------------------- */
.service-main-content {
    box-sizing: border-box;
}

.service-main-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.25;
    color: #ffffff !important;
}

.service-main-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem) !important;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
}

.service-main-content p {
    font-size: 1.08rem !important;
    line-height: 1.85 !important;
    margin-bottom: 1.8rem;
    color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   FEATURES GRID — High-fidelity glass cards
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin: 3.5rem 0;
}

.service-main-content>.features-grid:first-child {
    margin-top: 0;
}

.feature-item {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid #00547b !important;
    border-radius: 18px !important;
    padding: 2.2rem 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 176, 255, 0.4) !important;
    border-left-color: #00b0ff !important;
    box-shadow: 0 20px 40px rgba(0, 176, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.feature-item i,
.feature-item svg {
    color: #00b0ff !important;
    width: 32px !important;
    height: 32px !important;
    filter: drop-shadow(0 0 10px rgba(0, 176, 255, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover i,
.feature-item:hover svg {
    transform: scale(1.18) rotate(6deg);
}

.feature-item h4 {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700;
    margin: 0 0 0.6rem 0 !important;
}

.feature-item p {
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   TECHNICAL SPECIFICATION LISTS — Clean glass stripes
   -------------------------------------------------------------------------- */
.service-main-content ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0;
    margin-top: 2.2rem;
    list-style: none;
}

.service-main-content ul li {
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-left: 4px solid #00547b !important;
    border-radius: 14px !important;
    padding: 1.25rem 2rem !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center;
    gap: 1.8rem;
    box-sizing: border-box;
}

.service-main-content ul li:hover {
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(0, 176, 255, 0.3) !important;
    border-left-color: #00b0ff !important;
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 176, 255, 0.08);
}

.service-main-content ul li i,
.service-main-content ul li svg {
    color: #00b0ff !important;
    width: 24px !important;
    height: 24px !important;
    filter: drop-shadow(0 0 6px rgba(0, 176, 255, 0.35));
}

.service-main-content ul li span:first-of-type {
    font-weight: 800 !important;
    color: #ffffff !important;
    min-width: 170px;
    font-size: 0.98rem;
}

.service-main-content ul li span:last-of-type {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   SIDEBAR & ENQUIRY FORM — Fixed sticky offset with glass elements
   -------------------------------------------------------------------------- */
.sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    z-index: 10;
}

.sidebar-card {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    padding: 2.8rem 2.4rem !important;
    margin-bottom: 2.2rem !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    transition: border-color 0.4s ease;
}

.sidebar-card:hover {
    border-color: rgba(0, 176, 255, 0.25) !important;
}

.sidebar-card h4 {
    color: #ffffff !important;
    font-size: 1.35rem !important;
    font-weight: 800;
    border-bottom: 2px solid #00b0ff !important;
    padding-bottom: 8px !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
}

.sidebar-card p {
    color: #94a3b8 !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.8rem !important;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 1.1rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    background: rgba(10, 15, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.96rem;
    outline: none;
    box-sizing: border-box;
    display: block;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #00b0ff !important;
    background: rgba(10, 15, 30, 0.85) !important;
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1.1rem 2rem !important;
    background: linear-gradient(135deg, #00547b 0%, #00b0ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 176, 255, 0.22) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(0, 176, 255, 0.38) !important;
    filter: brightness(1.12);
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Fluid Grid Reductions)
   -------------------------------------------------------------------------- */

/* ---- Tablet Landscape : ≤1100px ---- */
@media (max-width: 1100px) {
    .detail-container {
        gap: 3.5rem;
        padding: 5rem 1.5rem;
    }

    .service-detail-hero {
        padding: 11rem 1.5rem 7rem !important;
        min-height: 380px;
    }
}

/* ---- Tablet Portrait / Narrow Desktop : ≤992px — Shift to elegant 1 column ---- */
@media (max-width: 992px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4rem 2rem;
    }

    .sidebar {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .sidebar-card {
        margin-bottom: 0 !important;
        height: 100%;
    }
}

/* ---- Mobile Landscape : ≤768px ---- */
@media (max-width: 768px) {
    .service-detail-hero {
        padding: 9.5rem 1.2rem 5.5rem !important;
        min-height: 300px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        gap: 4px 10px;
        margin-bottom: 1.5rem;
    }

    .detail-container {
        padding: 3.5rem 1.25rem;
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.8rem 1.5rem !important;
    }

    .service-main-content ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1.4rem 1.6rem !important;
    }

    .service-main-content ul li span:first-of-type {
        min-width: auto;
    }

    .sidebar {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .sidebar-card {
        padding: 2.2rem 1.8rem !important;
    }
}

/* ---- Small Mobile : ≤480px ---- */
@media (max-width: 480px) {
    .service-detail-hero {
        padding: 8.5rem 1rem 4.5rem !important;
        min-height: 260px;
    }

    .service-detail-hero h1 {
        font-size: 1.8rem !important;
    }

    .detail-container {
        padding: 2.5rem 1rem;
        gap: 2.5rem;
    }

    .service-main-content h2 {
        font-size: 1.65rem !important;
        margin-bottom: 1.5rem;
    }

    .service-main-content h3 {
        font-size: 1.3rem !important;
        margin-top: 2.5rem;
    }

    .service-main-content p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    .sidebar-card {
        padding: 1.8rem 1.4rem !important;
    }

    .enquiry-form input,
    .enquiry-form textarea {
        padding: 0.95rem 1.1rem !important;
        font-size: 0.92rem;
    }

    .btn-submit {
        padding: 0.95rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   NEW SIDEBAR IMAGE SHOWCASE & CONTACT STYLES
   ========================================================================== */

/* ---- Sidebar Image Showcase Card (SEO & AEO Optimized Figcaption) ---- */
.sidebar-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.2rem;
    aspect-ratio: 4 / 3;
    /* Elegant landscape ratio */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #0f172a;
    display: block;
    margin-top: 0;
}

.sidebar-image-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 176, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 176, 255, 0.15);
}

.sidebar-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.sidebar-image-card:hover .sidebar-showcase-img {
    transform: scale(1.08);
}

.sidebar-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.5rem;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.95) 0%, rgba(5, 10, 20, 0.6) 60%, rgba(5, 10, 20, 0) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    /* Let hovers pass through */
    transition: all 0.4s ease;
}

.sidebar-image-overlay .tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00b0ff;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.sidebar-image-overlay h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar-image-overlay p {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* Quick Contact / Whatsapp Card Styles */
.quick-contact-card {
    text-align: center;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.whatsapp-cta:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45) !important;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .sidebar-image-card {
        margin-bottom: 0 !important;
    }

    .quick-contact-card {
        grid-column: span 2;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .quick-contact-card {
        grid-column: span 1;
    }
}