:root {
  --brand-dark:   #0F172A;
  --brand-primary:#0DB39E;
  --brand-primary-hover:#0A8C7C;
  --brand-accent: #FFB703;
  --brand-light:  #F6F7FB;
  --brand-text:   #111827;
}

/* خط عربي مناسب (بعد ما تضيفه من Google Fonts مثلاً Tajawal) */
body {
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-text);
  background-color: #ffffff;
}

/* sections فاتحة مشتركة */
.section-light {
  background-color: var(--brand-light);
}
.section-dark {
  background-color: var(--brand-dark);
  color: #F9FAFB;
}

.border-primary {
    border-color: #0DB39E !important;
}
.text-primary {
    color: #0DB39E !important;
}
.bg-primary {
    background-color: #0DB39E !important;
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    font-family: "Changa", sans-serif !important;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--brand-light);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--brand-primary);
}

.btn.btn-light {
    color: var(--brand-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--brand-light);
    background: var(--brand-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--brand-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--brand-primary);
    color: var(--brand-light);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: "Changa", sans-serif !important;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--brand-light);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--brand-light);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--brand-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--brand-primary);
    color: var(--brand-light);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--brand-light);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--brand-primary);
        color: var(--brand-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--brand-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--brand-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--brand-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
	height: 700px;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--brand-primary);
    color: var(--brand-light);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    right: 30px;
    margin-right: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--brand-light);
    color: var(--brand-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    font-family: "Changa", sans-serif !important;
}
.header-carousel .header-carousel-item .carousel-caption h4 {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}
@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        right: 50%;
        transform: translateX(50%);
        margin-right: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        right: 50%;
        transform: translateX(50%);
        margin-right: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/



/********************************************************
 * ABOUT SECTION – Premium layout for Gomhoria Express
 ********************************************************/

.container-fluid.about {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 55%),
        #f9fafb;
    font-family: "Changa", sans-serif !important;
}

/* Subtle pattern overlay */
.container-fluid.about::before {
    content: "";
    position: absolute;
    inset-inline-end: -140px;
    inset-block-start: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.12), transparent 55%);
    opacity: 0.55;
    pointer-events: none;
}

/* Keep inner content above overlay */
.container-fluid.about .container {
    position: relative;
    z-index: 1;
}

/* Title styling */
.container-fluid.about h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.container-fluid.about h2.display-5 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

/* Body text */
.container-fluid.about p {
    color: #4b5563;
    line-height: 1.9;
    font-size: 0.97rem;
}

/* Main content card (text column) */
.container-fluid.about .col-xl-7 > div {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.75rem 1.25rem;
    border-inline-end: 4px solid var(--brand-primary);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.02);
}

/* About features (icon + text rows) */
.container-fluid.about .row.g-4 > .col-md-6 .d-flex {
    align-items: flex-start;
}

/* Icon circle */
.container-fluid.about .row.g-4 .d-flex i {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), #2563eb);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

/* Icon text */
.container-fluid.about .row.g-4 .d-flex .ms-4 h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-weight: 700;
}

.container-fluid.about .row.g-4 .d-flex .ms-4 p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* CTA (phone + coverage) blocks */
.container-fluid.about .col-sm-6 .d-flex i {
    background: rgba(37, 99, 235, 0.06);
    color: var(--brand-primary) !important;
    box-shadow: none;
}

/* Phone number emphasis */
.container-fluid.about .col-sm-6 .fs-5 {
    font-weight: 700;
    letter-spacing: 0.16em !important;
    color: #111827;
}

/* Right image column: elevate image card */
.container-fluid.about .col-xl-5 .bg-primary {
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
}

.container-fluid.about .col-xl-5 img {
    mix-blend-mode: normal;
    opacity: 0.98;
    transform: scale(1.02);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.container-fluid.about .col-xl-5:hover img {
    transform: scale(1.04);
    opacity: 1;
}

/* About responsive tweaks */
@media (max-width: 991.98px) {
    .container-fluid.about .col-xl-7 > div {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .container-fluid.about h2.display-5 {
        font-size: 1.6rem;
    }

    .container-fluid.about {
        padding-block: 3rem;
    }
}

@media (max-width: 575.98px) {
    .container-fluid.about .col-xl-7 > div {
        padding: 1.25rem 1.1rem;
    }

    .container-fluid.about .row.g-4 .d-flex {
        gap: 0.75rem;
    }
}


/********************************************************
 * FACTS SECTION – Premium stats strip
 ********************************************************/

/* Whole facts area background */
#facts.facts-area {
    background: #020617;
    padding-block: 3rem;
}

/* Wrapper: gradient card with glass effect */
.facts-wrapper {
    position: relative;
    text-align: center;
    background: linear-gradient(120deg, #020617, #0f172a, #020617);
    border-radius: 22px;
    padding: 32px 18px;
    margin-bottom: 20px;
    font-family: "Changa", sans-serif !important;
    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.8),
        0 0 0 1px rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

/* Gradient accents inside facts bar */
.facts-wrapper::before,
.facts-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
}
.facts-wrapper::before {
    inset-inline-start: -80px;
    inset-block-start: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 60%);
}
.facts-wrapper::after {
    inset-inline-end: -80px;
    inset-block-end: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 60%);
}

/* Ensure content sits above glow */
.facts-wrapper .row {
    position: relative;
    z-index: 1;
}

/* Each fact item */
.facts-wrapper .ts-facts {
    color: #e5e7eb;
    padding-inline: 10px;
    padding-block: 12px;
}

/* Vertical divider between items on desktop */
@media (min-width: 768px) {
    .facts-wrapper .ts-facts:not(:last-child) {
        border-inline-end: 1px solid rgba(148, 163, 184, 0.35);
    }
}

/* Small icon image above number */
.facts-wrapper .ts-facts-img {
    margin-bottom: 0.5rem;
}
.facts-wrapper .ts-facts-img img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(15, 23, 42, 0.8));
}

/* Counter number */
.ts-facts .ts-facts-content .ts-facts-num {
    color: #f9fafb;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0 6px;
}
.ts-facts .ts-facts-content .ts-facts-num span {
    display: inline-block;
}

/* Label under number */
.ts-facts .ts-facts-content .ts-facts-title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin: 0;
}

/* Mobile behaviour: no dividers, more spacing */
@media (max-width: 767.98px) {
    .facts-wrapper {
        padding: 26px 18px;
        border-radius: 18px;
    }

    .facts-wrapper .ts-facts {
        margin-bottom: 1.2rem;
        border-inline-end: none !important;
    }

    .facts-wrapper .ts-facts:last-child {
        margin-bottom: 0;
    }

    .ts-facts .ts-facts-content .ts-facts-num {
        font-size: 1.9rem;
    }
}

/********************************************************
 * SERVICES SECTION – Premium cards for Gomhoria Express
 ********************************************************/

.container-fluid.service {
    background: #f9fafb;
    font-family: "Changa", sans-serif !important;
}

.container-fluid.service h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.container-fluid.service h1.display-5 {
    font-weight: 800;
    color: #0f172a;
}

/* Service card base */
.service .service-item {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Hover effect */
.service .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    border-color: rgba(13, 179, 158, 0.55);
}

/* Image wrapper */
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* Service image */
.service .service-item .service-img img {
    width: 100%;
    transition: transform 0.6s ease;
}

/* Dark overlay on hover */
.service .service-item .service-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Zoom + overlay on hover */
.service .service-item:hover .service-img img {
    transform: scale(1.08);
}
.service .service-item:hover .service-img::after {
    opacity: 1;
}

/* Top-left tag (e.g. "الأكثر طلبًا") */
.service .service-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Body of card */
.service .service-body {
    padding: 1.4rem 1.4rem 1.5rem;
}

/* Title link */
.service .service-body .h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}
.service .service-body .h4:hover {
    color: var(--brand-primary);
}

/* Description text */
.service .service-body p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Bullet list (key points) */
.service .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service .service-list li {
    position: relative;
    padding-right: 1.2rem;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}
.service .service-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-primary);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .container-fluid.service {
        padding-block: 3rem;
    }
}
@media (max-width: 575.98px) {
    .service .service-item .service-body {
        padding: 1.2rem 1.1rem 1.3rem;
    }
}

/********************************************************
 * FEATURES SECTION – Why choose Gomhoria Express
 ********************************************************/

.container-fluid.feature {
    background: #ffffff;
    font-family: "Changa", sans-serif !important;
}

.container-fluid.feature h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.container-fluid.feature h2.display-5 {
    font-weight: 800;
    color: #0f172a;
}

/* Feature card */
.feature .feature-item {
    text-align: center;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 24px 18px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient glow on hover */
.feature .feature-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center,
        rgba(13, 179, 158, 0.18),
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature .feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
    border-color: rgba(13, 179, 158, 0.6);
}

.feature .feature-item:hover::before {
    opacity: 1;
}

/* Icon wrapper */
.feature .feature-item .feature-icon {
    background: #ffffff;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    margin-bottom: 14px;
}

/* Title & text */
.feature .feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.feature .feature-item p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0;
}


/********************************************************
 * BLOG SECTION – Tips & articles
 ********************************************************/

.container-fluid.blog {
    background: #f3f4f6;
    font-family: "Changa", sans-serif !important;
}

.container-fluid.blog h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.container-fluid.blog h2.display-5 {
    font-weight: 800;
    color: #0f172a;
}

/* Blog card */
.blog .blog-item {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
    height: 100%;
}

/* On hover */
.blog .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

/* Image wrapper */
.blog .blog-img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* Image */
.blog .blog-img img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

/* Overlay tint */
.blog .blog-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.05),
        rgba(15, 23, 42, 0.55));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Category pill */
.blog .blog-title {
    position: absolute;
    right: 14px;
    bottom: 14px;
}

.blog .blog-title .btn {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #f9fafb;
    border: none;
    font-size: 0.8rem;
}

/* Hover effects */
.blog .blog-item:hover .blog-img img {
    transform: scale(1.06);
}
.blog .blog-item:hover .blog-img::before {
    opacity: 1;
}

/* Title & excerpt */
.blog .blog-item a.h4 {
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}
.blog .blog-item a.h4:hover {
    color: var(--brand-primary);
}

.blog .blog-item p {
    font-size: 0.95rem;
    color: #4b5563;
}

/********************************************************
 * TESTIMONIAL SECTION – Client reviews
 ********************************************************/

.container-fluid.testimonial {
    background: #f9fafb;
    font-family: "Changa", sans-serif !important;
}

.container-fluid.testimonial h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.container-fluid.testimonial h2.display-5 {
    font-weight: 800;
    color: #0f172a;
}

/* Card base (override القديمة لو موجودة) */
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 24px 24px 26px;
    font-family: "Changa", sans-serif !important;
    transition: 0.3s ease;
}

/* Background shape */
.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    inset: 18px 0 0 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    z-index: -1;
}

/* Quotes */
.testimonial-quote-left,
.testimonial-quote-right {
    color: rgba(148, 163, 184, 0.7);
}

/* Avatar/logo */
.testimonial .testimonial-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    margin-bottom: 12px;
}
.testimonial .testimonial-img img {
    max-width: 36px;
    object-fit: contain;
}

/* Text */
.testimonial .testimonial-text p {
    font-size: 0.96rem;
    color: #4b5563;
}

/* Name + stars */
.testimonial .testimonial-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
}
.testimonial .testimonial-title h4 {
    font-size: 1rem;
    color: #0f172a;
}
.testimonial .testimonial-title .d-flex i {
    color: #facc15;
}

/* Hover */
.testimonial .testimonial-item:hover {
    transform: translateY(-5px);
}
.testimonial .testimonial-item:hover::before {
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

/********************************************************
 * CONTACT SECTION – Get in touch
 ********************************************************/

.container-fluid.contact {
    background: #ffffff;
    font-family: "Changa", sans-serif !important;
}

.container-fluid.contact h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Card wrapper */
.container-fluid.contact .bg-light {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

/* Single contact item */
.contact-add-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Icon circle */
.contact-add-item .contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-add-item .contact-icon i {
    color: var(--brand-primary);
}

/* Text */
.contact-add-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.contact-add-item p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Small note at bottom */
.container-fluid.contact p.small,
.container-fluid.contact .text-muted.small {
    font-size: 0.85rem;
    color: #6b7280;
}

/********************************************************
 * FAQ SECTION – Accordion styling
 ********************************************************/

.faq-section {
    background: #ffffff;
    font-family: "Changa", sans-serif !important;
}

.faq-section h4.text-primary {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(13, 179, 158, 0.08);
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.faq-section h2.display-5 {
    font-weight: 800;
    color: #0f172a;
}

/* Accordion card */
.faq-section .accordion {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

/* Accordion item */
.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}
.faq-section .accordion-item:last-child {
    border-bottom: none;
}

/* Button */
.faq-section .accordion-button {
    background: transparent;
    font-weight: 600;
    color: #0f172a;
    padding: 1rem 1.25rem;
}
.faq-section .accordion-button:not(.collapsed) {
    background: rgba(13, 179, 158, 0.06);
    color: var(--brand-primary);
    box-shadow: inset 0 -1px 0 rgba(209, 213, 219, 0.7);
}

/* Remove default focus ring */
.faq-section .accordion-button:focus {
    box-shadow: none;
}

/* Body text */
.faq-section .accordion-body {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
}

/* Right image card */
.faq-section .bg-primary {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.55);
}
.faq-section .bg-primary img {
    opacity: 0.98;
    transform: scale(1.02);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.faq-section .bg-primary:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/********************************************************
 * ADDITIONAL STYLES
 ********************************************************/
/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../imgs/carousel-1.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
    font-family: "Changa", sans-serif !important;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--brand-light);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--brand-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/




/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--brand-light);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--brand-light);
    background: var(--brand-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--brand-light);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--brand-light);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
    font-family: "Changa", sans-serif !important;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--brand-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--brand-light);
    background: var(--brand-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--brand-primary);
    color: var(--brand-light);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--brand-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--brand-primary);
    color: var(--brand-light);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--brand-primary);
}
/*** Blog End ***/


/* News Listing
================================================== */
.breadcrumb-item + .breadcrumb-item::before {
	float: right !important;
}
.post {
	border-bottom: 1px solid #dadada;
	padding: 0 0 30px;
	margin: 0 0 45px;
  }

  .post.last {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
  }

  .post-body {
	padding: 20px 0;
  }

  .entry-header .entry-title {
	font-size: 24px;
	margin: 5px 0 15px;
	position: relative;
	line-height: 34px;
	font-family: "Changa", sans-serif !important;
  }

  .entry-header .entry-title a {
	color: #303030;
  }


  .entry-header .entry-title a:hover {
	color: var(--brand-primary);;
  }

  .post-single .entry-header .entry-title {
	font-size: 28px;
  }

  /* Meta */
  .post-meta {
	padding-bottom: 10px;
  }

  .post-meta a {
	color: #303030;
  }

  .post-meta a:hover {
	color: var(--brand-primary);
  }

  .post-meta span {
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px solid #dadada;
	line-height: 12px;
	display: inline-block;
  }

  .post-meta i {
	color: #bbb;
	margin-right: 3px;
  }

  .post-meta .post-comment {
	border-right: 0;
  }

  .post-meta .post-comment .comments-link {
	margin-left: 5px;
  }

  .entry-content {
	padding: 5px 10px;
  }

  .post-footer .btn.btn-primary {
	font-size: 12px;
	margin-top: 10px;
  }

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
    font-family: "Changa", sans-serif !important;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--brand-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--brand-light);
    border-style: double;
    background: var(--brand-light);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--brand-primary);
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--brand-primary);
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--brand-primary);
    color: var(--brand-light);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--brand-light);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--brand-primary);
    color: var(--brand-light);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--brand-light);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--brand-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--brand-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--brand-light);
    transition: 0.5s;
}

/*** Testimonial End ***/

/* =========================
   GENERAL SINGLE WRAPPER
   ========================= */

#single-wrapper {
    background-color: #f5f7fb;
}

.single-post-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* =========================
   HERO / BREADCRUMB SECTION
   ========================= */

.single-post-hero {
    position: relative;
    background: linear-gradient(135deg, #002b5c, #01579b);
    color: #ffffff;
    overflow: hidden;
}

.single-post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
}

.single-post-hero .container {
    position: relative;
    z-index: 2;
}

.single-post-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.single-post-hero .badge {
    font-size: 0.85rem;
}

/* breadcrumb override for hero */
.single-post-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.single-post-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

.single-post-hero .breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.single-post-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.single-post-hero .breadcrumb-item.active {
    color: #ffca28; /* ممكن تعدلها حسب ألوان البراند */
}

/* =========================
   MAIN ARTICLE CARD
   ========================= */

.premium-post-card {
    border-radius: 1.25rem;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.premium-post-card .single-featured-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.premium-post-card .single-featured-image {
    border-radius: 1rem;
    overflow: hidden;
}

/* Content typography */
.kayan-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #1f2933;
}

.kayan-content p {
    margin-bottom: 1.1rem;
}

.kayan-content h2,
.kayan-content h3,
.kayan-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #102a43;
}

.kayan-content h2 {
    font-size: 1.35rem;
}

.kayan-content h3 {
    font-size: 1.18rem;
}

/* Default lists inside content */
.kayan-content ul,
.kayan-content ol {
    margin-bottom: 1.2rem;
    padding-right: 1.2rem; /* RTL */
}

.kayan-content li {
    margin-bottom: 0.35rem;
}

/* =========================
   POST META (CATEGORY / TAGS TOP)
   ========================= */

.single-post-meta {
    border-bottom: 1px solid rgba(15,23,42,0.06);
    padding-bottom: 0.75rem;
}

/* =========================
   TAGS PILL STYLE (BOTTOM)
   ========================= */

.single-post-tags h3 {
    font-weight: 700;
    color: #102a43;
}

.single-post-tags .badge {
    background-color: #f3f4ff;
    border-color: #d0d3f0;
    font-size: 0.85rem;
    transition: all 0.2s ease-in-out;
}

.single-post-tags .badge:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

/* =========================
   AUTHOR BOX
   ========================= */

.single-author-box {
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,0.06);
}

.single-author-box .single-author-avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

/* =========================
   POST NAVIGATION
   ========================= */

.single-post-nav {
    border-top: 1px solid rgba(15,23,42,0.06);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.single-post-nav a {
    color: #1d4ed8;
    text-decoration: none;
}

.single-post-nav a:hover {
    text-decoration: underline;
}

/* =========================
   RELATED POSTS
   ========================= */

.single-related-posts h2 {
    font-weight: 700;
    color: #102a43;
}

.related-post-card {
    border-radius: 0.9rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.10);
    border-color: rgba(55,65,81,0.25);
}

.related-post-card h3 {
    font-weight: 600;
}

.related-post-card p {
    min-height: 2.7em;
}

/* =========================
   SIDEBAR
   ========================= */

.single-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .single-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* =========================
   KAYAN CONTENT UTILITIES
   (اللى بنستخدمها جوه المقالات)
   ========================= */

/* Checklist style bullets */
.kayan-checklist {
    list-style: none;
    margin: 0 0 1.2rem 0;
    padding: 0;
}

.kayan-checklist li {
    position: relative;
    padding-right: 1.8rem; /* RTL */
    margin-bottom: 0.55rem;
}

.kayan-checklist li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e0ecff;
    color: #1d4ed8;
}

/* Note / info box */
.kayan-note {
    background-color: #f3f4ff;
    border-radius: 0.9rem;
    padding: 1rem 1.25rem;
    border: 1px solid #d0d3f0;
    font-size: 0.95rem;
    color: #111827;
}

.kayan-note-center {
    text-align: center;
}

/* Steps (ordered list) */
.kayan-steps {
    counter-reset: kayan-step;
    list-style: none;
    margin: 0 0 1.2rem 0;
    padding: 0;
}

.kayan-steps li {
    counter-increment: kayan-step;
    position: relative;
    padding-right: 2.2rem; /* RTL */
    margin-bottom: 0.65rem;
}

.kayan-steps li::before {
    content: counter(kayan-step);
    position: absolute;
    right: 0;
    top: 0.1rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1d4ed8;
    color: #ffffff;
}

/* Gallery highlight (3 صور في صف واحد) */
.kayan-gallery-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.kayan-gallery-highlight figure {
    margin: 0;
    border-radius: 0.9rem;
    overflow: hidden;
    background-color: #f9fafb;
    border: 1px solid rgba(15,23,42,0.04);
}

.kayan-gallery-highlight img {
    display: block;
    width: 100%;
    height: auto;
}

.kayan-gallery-highlight figcaption {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    color: #4b5563;
}

/* Single image card */
.kayan-image-card {
    border-radius: 1rem;
    background-color: #f9fafb;
    border: 1px solid rgba(15,23,42,0.06);
    padding: 0.75rem;
    margin: 1.5rem 0;
    text-align: center;
}

.kayan-image-card img {
    border-radius: 0.8rem;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}

.kayan-image-card figcaption {
    font-size: 0.85rem;
    color: #4b5563;
}

/* =========================
   PRICING TABLE (لو استخدمته في البوستات)
   ========================= */

.kayan-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.kayan-pricing-table thead {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
}

.kayan-pricing-table th,
.kayan-pricing-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}

.kayan-pricing-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.kayan-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.kayan-pricing-table th:first-child,
.kayan-pricing-table td:first-child {
    text-align: right; /* RTL */
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */

@media (max-width: 767.98px) {

    .single-post-hero h1 {
        font-size: 1.6rem;
    }

    .premium-post-card {
        padding: 1.5rem;
    }

    .kayan-gallery-highlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-post-meta {
        flex-direction: column;
        gap: 0.4rem;
    }
}


/********************************************************
 * FOOTER – Gomhoria Express
 ********************************************************/

/* Main footer wrapper */
.container-fluid.footer {
    background: radial-gradient(circle at top, #020617, #020617 60%, #020617);
    color: #e5e7eb;
    font-family: "Changa", sans-serif !important;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

/* Inner footer items */
.footer .footer-item {
    color: #e5e7eb;
}

/* Paragraphs */
.footer .footer-item p {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* Logo spacing */
.footer .footer-item img {
    margin-bottom: 0.75rem;
}

/* Headings */
.footer .footer-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f9fafb;
}

/* Footer links (pages / categories) */
.footer .footer-item a {
    display: block;
    font-size: 0.95rem;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer .footer-item a:hover {
    color: var(--brand-primary);
    transform: translateX(-3px);
}

/* Footer menu lists (if using wp_nav_menu with <ul>) */
.footer .footer-links li {
    margin-bottom: 0.35rem;
}

.footer .footer-links li a {
    display: inline-flex;
    align-items: center;
}

/* Icons inside links */
.footer .footer-item i.fa-angle-right {
    font-size: 0.8rem;
}

/* Contact rows */
.footer .footer-item .d-flex.align-items-center i {
    font-size: 1rem;
}

/* Social buttons (rounded circles) */
.footer .btn.btn-primary.btn-sm-square {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px !important;
    background: rgba(13, 179, 158, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.footer .btn.btn-primary.btn-sm-square i {
    font-size: 0.9rem;
    color: #e5e7eb;
}

.footer .btn.btn-primary.btn-sm-square:hover {
    background: var(--brand-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Copyright bar */
.container-fluid.copyright {
    background: #020617;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    font-family: "Changa", sans-serif !important;
}

.container-fluid.copyright .text-body {
    font-size: 0.9rem;
}

.container-fluid.copyright span,
.container-fluid.copyright a {
    color: #9ca3af;
}

.container-fluid.copyright a.border-bottom {
    border-color: rgba(156, 163, 175, 0.6) !important;
}

.container-fluid.copyright a.border-bottom:hover {
    color: #f9fafb;
    border-color: var(--brand-primary) !important;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .container-fluid.footer .footer-item {
        text-align: right;
    }

    .footer .footer-item a {
        margin-bottom: 0.25rem;
    }
}


/********************************************************
 * FLOATING CONTACT BUTTONS – Gomhoria Express
 ********************************************************/

/* Container: fixed bottom-right on desktop */
.footer-contact-btns {
    position: fixed;
    inset-inline-end: 1.4rem;   /* right in RTL */
    bottom: 1.4rem;
    z-index: 999;
    pointer-events: none;       /* inner handles clicks */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    visibility: visible !important; /* override old visibility:hidden */
    font-family: "Changa", sans-serif !important;
}

/* Visible state (will be toggled by JS) */
.footer-contact-btns.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Inner wrapper */
.footer-contact-btns .floating-contact-inner {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

/* Base button style */
.footer-contact-btns a.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse; /* icon on the right in RTL */
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.8);
    position: relative;
    overflow: hidden;
}

/* Phone button colors */
.footer-contact-btns .floating-btn-phone {
    background: linear-gradient(135deg, var(--brand-primary, #0DB39E), #059669);
}

/* WhatsApp button colors */
.footer-contact-btns .floating-btn-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Icon circle */
.footer-contact-btns .floating-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-btns .floating-btn-icon i {
    font-size: 1rem;
}

/* Label text */
.footer-contact-btns .floating-btn-label {
    white-space: nowrap;
}

/* Subtle shine effect on hover */
.footer-contact-btns a.floating-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.22),
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.12)
    );
    opacity: 0;
    transform: translateX(40%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hover effects (desktop) */
@media (min-width: 768px) {
  .footer-contact-btns a.floating-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 45px rgba(15, 23, 42, 0.75);
  }

  .footer-contact-btns a.floating-btn:hover::before {
      opacity: 1;
      transform: translateX(-10%);
  }
}

/* Make sure old bootstrap theme styles don't mess our layout */
.footer-contact-btns a {
    height: auto;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* But re-apply our own for .floating-btn */
.footer-contact-btns a.floating-btn {
    padding: 0.45rem 0.95rem;
}

/* Mobile layout: full-width bar with 2 buttons */
@media (max-width: 767.98px) {
    .footer-contact-btns {
        inset-inline: 0.75rem;
        bottom: 0.75rem;
    }

    .footer-contact-btns .floating-contact-inner {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-contact-btns a.floating-btn {
        flex: 1;
        justify-content: center;
        border-radius: 999px;
        font-size: 0.9rem;
        padding-inline: 0.75rem;
    }

    .footer-contact-btns .floating-btn-label {
        font-size: 0.88rem;
    }

    .footer-contact-btns .floating-btn-icon {
        width: 30px;
        height: 30px;
    }
}
