/* =====================================================
   Skylarcity Custom Frontend Styles
   Premium, modern, polished for all inner pages
   ===================================================== */

/* ─── CSS Custom Properties ─────────────────────────── */
:root {
    --skc-red: #005EB8;
    --skc-dark: #002854;
    --skc-mid: #1a2236;
    --skc-light-bg: #f8f9fc;
    --skc-border: #eaedf3;
    --skc-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --skc-hover-shadow: 0 16px 48px rgba(235, 41, 44, 0.14);
    --skc-radius: 14px;
    --skc-radius-sm: 8px;
    --skc-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Page Title / Banner ────────────────────────────── */
.page-title {
    position: relative;
    background-color: var(--skc-dark);
    overflow: hidden;
}

/* Stronger, more dramatic dark overlay */
.page-title .bg-layer:before {
    background: linear-gradient(
        160deg,
        rgba(10, 15, 32, 0.88) 0%,
        rgba(10, 15, 32, 0.6) 100%
    );
}

/* Glassmorphism content card */
.page-title .content-box {
    position: relative;
    z-index: 5;
    display: inline-block;
    padding: 36px 70px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.page-title h1 {
    font-size: 54px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.page-title h1 span {
    color: var(--skc-red);
}

.page-title .bread-crumb li {
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.page-title .bread-crumb li a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--skc-transition);
}

.page-title .bread-crumb li a:hover {
    color: var(--skc-red);
}

/* ─── Sidebar ────────────────────────────────────────── */
.service-sidebar {
    position: sticky;
    top: 20px;
}

.service-sidebar .sidebar-widget {
    background: #ffffff !important;
    border-radius: var(--skc-radius) !important;
    box-shadow: var(--skc-shadow) !important;
    border: 1px solid var(--skc-border) !important;
    padding: 32px 28px !important;
    margin-bottom: 30px !important;
    transition: var(--skc-transition) !important;
    overflow: hidden;
}

.service-sidebar .sidebar-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--skc-hover-shadow) !important;
}

.service-sidebar .sidebar-widget:last-child {
    margin-bottom: 0 !important;
}

/* Widget title */
.service-sidebar .widget-title {
    position: relative;
    margin-bottom: 24px !important;
    padding-bottom: 16px;
}

.service-sidebar .widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--skc-red);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.service-sidebar .sidebar-widget:hover .widget-title::after {
    width: 100%;
}

.service-sidebar .widget-title h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--skc-dark);
    line-height: 1.3;
}

/* ─── Category / Nav List ────────────────────────────── */
.category-widget .category-list li {
    margin-bottom: 10px !important;
    list-style: none;
}

.category-widget .category-list li:last-child {
    margin-bottom: 0 !important;
}

.category-widget .category-list li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: var(--skc-light-bg);
    border-radius: var(--skc-radius-sm);
    color: var(--skc-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--skc-transition);
    overflow: hidden;
}

.category-widget .category-list li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--skc-red), #c01214);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 0;
}

.category-widget .category-list li a:hover::before,
.category-widget .category-list li a.current::before {
    transform: translateX(0);
}

.category-widget .category-list li a span,
.category-widget .category-list li a i {
    position: relative;
    z-index: 1;
}

.category-widget .category-list li a i {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--skc-transition);
}

.category-widget .category-list li a:hover i,
.category-widget .category-list li a.current i {
    opacity: 1;
    transform: translateX(0);
}

.category-widget .category-list li a:hover,
.category-widget .category-list li a.current {
    color: #ffffff;
    border-color: transparent;
}

/* ─── Contact Widget ─────────────────────────────────── */
.contact-widget {
    background: linear-gradient(
        135deg,
        var(--skc-dark) 0%,
        var(--skc-mid) 100%
    ) !important;
    border: none !important;
}

.contact-widget .widget-title h3 {
    color: #ffffff !important;
}

.contact-widget .widget-title::after {
    background: var(--skc-red);
}

.contact-widget .widget-content {
    text-align: center;
}

.contact-widget .widget-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.contact-widget .widget-content h3 {
    margin-bottom: 0;
}

.contact-widget .widget-content h3 a {
    display: inline-block;
    color: var(--skc-red);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    padding: 10px 22px;
    border: 2px solid rgba(235, 41, 44, 0.4);
    border-radius: 50px;
    transition: var(--skc-transition);
}

.contact-widget .widget-content h3 a:hover {
    background: var(--skc-red);
    color: #ffffff;
    border-color: var(--skc-red);
    transform: scale(1.04);
}

/* Contact widget icon decoration */
.contact-widget::before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

/* ─── Service / Content Area ─────────────────────────── */
.service-details-content {
    position: relative;
}

/* Main header image */
.service-details-content figure.image-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--skc-radius);
    box-shadow: var(--skc-shadow);
    margin-bottom: 0;
}

.service-details-content figure.image-box img {
    width: 100%;
    border-radius: var(--skc-radius);
    display: block;
    transition: transform 0.6s ease;
}

.service-details-content figure.image-box:hover img {
    transform: scale(1.03);
}

/* Inline images */
.service-details-content .content-one .text-box,
.service-details-content .content-two .text-box,
.service-details-content .content-three .text-box,
.service-details-content .content-four .text-box {
    padding: 0;
}

.service-details-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--skc-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.service-details-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--skc-dark);
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
}

.service-details-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--skc-red);
    border-radius: 4px;
}

.service-details-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #666;
    margin-bottom: 14px;
}

/* ─── Text column cards inside content sections ──────── */
.service-details-content .text-column .text-box {
    background: var(--skc-light-bg);
    border-radius: var(--skc-radius);
    padding: 28px 24px;
    height: 100%;
    border-left: 4px solid var(--skc-red);
    transition: var(--skc-transition);
}

.service-details-content .text-column .text-box:hover {
    background: #fff;
    box-shadow: var(--skc-shadow);
    transform: translateY(-3px);
}

/* ─── Feature Lists ──────────────────────────────────── */
.list-style-one {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.list-style-one li {
    position: relative;
    padding: 10px 0 10px 34px;
    font-size: 15px;
    color: #444;
    font-weight: 500;
    border-bottom: 1px solid var(--skc-border);
    transition: var(--skc-transition);
}

.list-style-one li:last-child {
    border-bottom: none;
}

.list-style-one li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--skc-red), #c01214);
    box-shadow: 0 3px 8px rgba(235, 41, 44, 0.3);
}

.list-style-one li::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #ffffff;
}

.list-style-one li:hover {
    color: var(--skc-red);
    padding-left: 38px;
}

/* ─── CTA Button ─────────────────────────────────────── */
.service-details-content .btn-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--skc-border);
}

.theme-btn.btn-one {
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 15px;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(235, 41, 44, 0.3);
    transition: var(--skc-transition);
}

.theme-btn.btn-one:hover {
    box-shadow: 0 10px 28px rgba(235, 41, 44, 0.5);
    transform: translateY(-2px);
}

/* ─── About Page Enhancements ────────────────────────── */
.about-section .sec-title h6 {
    color: var(--skc-red);
    font-weight: 700;
    letter-spacing: 2px;
}

.about-section .sec-title h2 {
    font-size: 42px;
}

/* About text paragraphs */
.about-section .text-box p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 16px;
    color: #555;
}

/* Single feature items */
.content_block_one .content-box .inner-box .single-item {
    background: var(--skc-light-bg);
    border-radius: var(--skc-radius);
    padding: 22px 22px 22px 90px;
    transition: var(--skc-transition);
}

.content_block_one .content-box .inner-box .single-item:hover {
    background: #fff;
    box-shadow: var(--skc-shadow);
    transform: translateX(5px);
}

.content_block_one .content-box .inner-box .single-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    padding-left: 0;
}

.content_block_one .content-box .inner-box .single-item h3::before {
    display: none;
}

/* ─── Feature Blocks (Why Choose Us) ────────────────── */
.feature-block-one .inner-box {
    border-radius: var(--skc-radius) !important;
    transition: var(--skc-transition) !important;
}

.feature-block-one .inner-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--skc-hover-shadow) !important;
}

/* ─── Funfact Section ────────────────────────────────── */
.funfact-section.about-page .funfact-block-one .inner-box {
    border-radius: var(--skc-radius);
    padding: 30px;
    background: #fff;
    box-shadow: var(--skc-shadow);
    transition: var(--skc-transition);
}

.funfact-section.about-page .funfact-block-one .inner-box:hover {
    box-shadow: var(--skc-hover-shadow);
    transform: translateY(-4px);
}

/* ─── Sidebar page container layout ─────────────────── */
.sidebar-page-container {
    background: #f8f9fc;
}

.sidebar-page-container .content-side {
    padding-right: 20px;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1199px) {
    .page-title h1 {
        font-size: 46px;
    }

    .service-details-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .service-sidebar {
        position: static;
        margin-top: 50px;
    }

    .sidebar-page-container .content-side {
        padding-right: 15px;
    }

    .page-title .content-box {
        padding: 26px 36px;
    }
}

@media (max-width: 767px) {
    .page-title h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .page-title .content-box {
        padding: 22px 24px;
        border-radius: 14px;
    }

    .service-details-content h2 {
        font-size: 26px;
    }

    .service-details-content h3 {
        font-size: 19px;
    }

    .service-details-content .text-column .text-box {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 30px;
    }
}
