/* ==========================================================================
   Base & Medical Circle Theme Layout + Law & Justice Civil Movement Styles
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
    line-height: 1.75;
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "PT Sans", "Open Sans", sans-serif;
    font-weight: 700;
}

a {
    color: #088edd;
    transition: all 0.25s ease-in-out;
}

a:hover,
a:focus {
    color: #0b3c5d;
    text-decoration: none;
}

.btn-primary {
    background-color: #088edd;
    border-color: #088edd;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0b3c5d;
    border-color: #0b3c5d;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Top Header Bar (#0b3c5d)
   -------------------------------------------------------------------------- */
.top-header {
    background-color: #0b3c5d;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.top-header a {
    color: #e2e8f0;
}

.top-header a:hover {
    color: #f3d266;
}

.notice-badge {
    display: inline-block;
    background-color: #088edd;
    color: #ffffff;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   Header 4-Column Basic Info Bar
   -------------------------------------------------------------------------- */
.header-bi-bar {
    background-color: #f8fafc;
    border-bottom: 1px solid #eaeef2;
    padding: 16px 0;
}

.header-bi-item,
.footer-bi-item {
    display: flex;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

.bi-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background-color: #088edd;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
}

.bi-text h6 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #0b3c5d;
}

.bi-text span {
    font-size: 13px;
    color: #5a6a7e;
}

/* --------------------------------------------------------------------------
   Sticky Main Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    flex-wrap: wrap;
}

.navbar-header {
    display: flex;
    align-items: center;
    float: none;
}

.navbar-header .custom-logo-link {
    float: left;
    margin-right: 12px;
}

.navbar-header .custom-logo {
    max-height: 58px;
    width: auto;
}

.site-branding-text .site-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.site-branding-text .site-title a {
    color: #0b3c5d;
}

.site-branding-text .site-description {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
}

.navbar-menu-wrap {
    display: flex;
    align-items: center;
}

#primary-menu {
    margin: 0;
}

#primary-menu > li > a {
    color: #0b3c5d;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    background: transparent;
}

#primary-menu > li > a:hover,
#primary-menu > li > a:focus {
    color: #088edd;
    background: transparent;
}

.header-cta-btn {
    display: inline-block;
    background-color: #088edd;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 4px;
    margin-left: 10px;
}

.header-cta-btn:hover {
    background-color: #0b3c5d;
}

.navbar-toggle {
    border-color: #0b3c5d;
    margin-right: 12px;
}

.navbar-toggle .icon-bar {
    background-color: #0b3c5d;
}

/* --------------------------------------------------------------------------
   Hero Slider & Three Feature Columns
   -------------------------------------------------------------------------- */
.hero-slider-wrapper {
    position: relative;
}

.hero-slider {
    position: relative;
    height: 540px;
    overflow: hidden;
    background-color: #0b3c5d;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.84) 0%, rgba(20, 83, 116, 0.78) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 860px;
    padding: 0 20px;
}

.slider-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.slider-excerpt {
    font-size: 18px;
    color: #f1f5f9;
    margin-bottom: 28px;
    line-height: 1.6;
}

.slider-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-btn-primary {
    background-color: #088edd;
    border-color: #088edd;
    color: #ffffff;
    padding: 12px 26px;
    font-size: 15px;
}

.slider-btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
}

.slider-btn-secondary:hover {
    background-color: #ffffff;
    color: #0b3c5d;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 60, 93, 0.65);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-arrow:hover {
    background: #088edd;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Feature Columns below Slider */
.feature-columns-wrap {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.feature-columns-row {
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 10px 30px rgba(11, 60, 93, 0.16);
    border-radius: 6px;
    overflow: hidden;
}

.feature-col {
    color: #ffffff;
    padding: 32px 28px;
    min-height: 190px;
}

.feature-col h3 {
    color: #ffffff;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
}

.feature-col p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Exact Landing Page Styles from tmb (ljcm-*)
   -------------------------------------------------------------------------- */
.ljcm-landing {
    font-family: "Open Sans", sans-serif;
    color: #2c3e50;
    line-height: 1.75;
}

.ljcm-section {
    padding: 55px 0;
    border-bottom: 1px solid #eaeef2;
}

.ljcm-section:last-child {
    border-bottom: none;
}

.ljcm-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ljcm-section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0b3c5d;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ljcm-section-title .ljcm-subtitle {
    font-size: 16px;
    color: #c59b27;
    font-weight: 600;
}

.ljcm-verse-box {
    background: linear-gradient(135deg, #0b3c5d 0%, #145374 100%);
    color: #ffffff;
    padding: 36px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(11, 60, 93, 0.14);
    border-top: 4px solid #c59b27;
}

.ljcm-verse-box .arabic-verse {
    font-size: 26px;
    margin-bottom: 12px;
    color: #f3d266;
    font-weight: 700;
}

.ljcm-verse-box .verse-translation {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 6px;
}

.ljcm-card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-top: 4px solid #088edd;
    border-radius: 6px;
    padding: 28px 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    min-height: 250px;
}

.ljcm-card h4 {
    color: #0b3c5d;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 19px;
}

.ljcm-card .ljcm-badge {
    display: inline-block;
    background: #088edd;
    color: #fff;
    font-weight: 700;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 14px;
}

.ljcm-founder-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 35px;
    border: 1px solid #e2e8f0;
}

.ljcm-founder-img {
    width: 100%;
    max-width: 340px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 4px solid #c59b27;
    margin-bottom: 20px;
}

.ljcm-quote-banner {
    background: #fff9e6;
    border-left: 5px solid #c59b27;
    padding: 20px 24px;
    margin: 22px 0;
    font-weight: 600;
    color: #0b3c5d;
    font-size: 16px;
}

.ljcm-doc-card {
    background: #ffffff;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    padding: 26px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.ljcm-doc-card i {
    font-size: 42px;
    color: #c59b27;
    margin-bottom: 15px;
}

.ljcm-doc-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0b3c5d;
    margin-bottom: 12px;
}

.ljcm-structure-list {
    list-style: none;
    padding-left: 0;
}

.ljcm-structure-list li {
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #f4f8fb;
    border-left: 4px solid #088edd;
    font-weight: 600;
    color: #0b3c5d;
    border-radius: 0 4px 4px 0;
}

/* --------------------------------------------------------------------------
   Footer (#0b3c5d & #072a42)
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #0b3c5d;
    color: #ffffff;
    margin-top: 40px;
}

.footer-top {
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bi-item .bi-text h6 {
    color: #ffffff;
}

.footer-bi-item .bi-text span {
    color: #cbd5e1;
}

.footer-bottom {
    background-color: #072a42;
    padding: 18px 0;
    font-size: 14px;
    color: #cbd5e1;
}

.footer-bottom p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .site-branding-text .site-description {
        display: none;
    }

    .feature-columns-wrap {
        margin-top: 20px;
    }

    .feature-col {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .top-header-right {
        text-align: left;
        margin-top: 4px;
    }

    .navbar-header {
        width: 100%;
    }

    .navbar-menu-wrap {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 12px;
        border-top: 1px solid #eaeef2;
        margin-top: 10px;
    }

    .navbar-menu-wrap.open {
        display: flex;
    }

    #primary-menu {
        width: 100%;
    }

    .header-cta-btn {
        margin: 10px 0 4px;
    }

    .hero-slider {
        height: 460px;
    }

    .slider-title {
        font-size: 26px;
    }

    .slider-excerpt {
        font-size: 15px;
    }

    .ljcm-founder-box {
        padding: 20px;
    }
}
