.community-intro-text {
    font-size: 17px;
    color: #222;
    line-height: 1.7;
    margin-bottom: 30px;
}/* Custom global styles */
 

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #fff;
    color: #212529;
}

html[dir="rtl"] body, html[dir="ltr"] .lang-switch {
    font-family: 'Cairo', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

/* Navbar adjustments */
.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-weight: 500;
}

.navbar .nav-link {
    color: #000;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: all 0.2s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

 .navbar-toggler {
    border: 0;
}


/* Remove navbar toggler border + default background */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.5rem;
}

/* Optional: resize or style toggler icon */
.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%230299cd' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Optional: reduce space between menu items on mobile */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}


.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    border-color:var(--primary-color);
    color: #fff;
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

 

.nav-link.active {
    font-weight: 600;
    color: var(--primary-color) !important;
}


/* Animated underline navigation */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 6px;
    font-weight: 500;
    transition: color 0.3s ease;font-size: 14px;
}

 

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Active menu item */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .lang-switch {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color) !important;
    border-color:var(--secondary-color) !important;
    color: #fff !important;
}


html[dir="rtl"] .lang-switch i {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .lang-switch i {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* Remove native underline from language link */
.lang-switch a {
    text-decoration: none !important;
}
 
  /* -----------------------------------
   HERO SECTION 
----------------------------------- */

.bc-hero {
    padding-top: 60px;
    padding-bottom: 60px;
    display: block;
}

.bc-hero h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* When Arabic, text aligns right automatically */
html[dir="rtl"] .bc-hero h1 {
    text-align: right;
}

/* -----------------------------------
   BREADCRUMB 
----------------------------------- */

.bc-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
}

.bc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 16px;
    opacity: 0.6;
    margin: 0 8px;
}

.bc-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.bc-breadcrumb .breadcrumb-item.active {
    opacity: 0.9;
    font-weight: 600;
}

/* RTL Breadcrumb */
html[dir="rtl"] .breadcrumb {
    justify-content: flex-end;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    content: "‹";
}

/* -----------------------------------
   PAGE BODY
----------------------------------- */

.bc-page-body {
    padding-top: 40px;
    padding-bottom: 60px;
}

.bc-page-body p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* -----------------------------------
   IMAGE IN HERO
----------------------------------- */

.bc-hero img {
    max-width: 160px;
    height: auto;
    border-radius: 12px;
}

  
  
  /* ---------------------------------------
   Premium Business Cloud Service Card
----------------------------------------*/

.bc-service-card {
    background: #ffffff;
    border: 1px solid #ececec;
    transition: 0.25s ease;
    border-radius: 20px;
}

.bc-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: #e2e2e2;
}

/* Icon container */
.bc-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f8f9fc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef1f5;
}

.bc-icon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* Category */
.bc-category {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary-color) !important;
}

/* Title */
.bc-title {
    font-weight: 700;
    font-size: 18px; 
    color: #222;
}

/* Description */
.bc-description {
    font-size: 14px;
    line-height: 1.55;
    color: #6c757d;
}

.btn  {border-radius:50px;}
/* Provider label */
.bc-provider-label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
}

/* Provider Chips */
.bc-chip {
    background: var(--secondary-color) !important;;
    border-radius: 25px;
    padding: 5px 12px;
    font-size: 12px;
    color: #fff; 
    display: inline-block;
    white-space: nowrap;
    transition: 0.2s;
}

.bc-chip:hover {
    background: #e9e9ef;
}

.bc-premium-badge {
    display: inline-block;
    margin-top: -6px;
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #5c4500;
    background: linear-gradient(135deg, #ffe8a3, #ffd77d, #ffcc66);
    border-radius: 10px;
    border: 1px solid #e6c160;
    box-shadow: 0 2px 5px rgba(255, 203, 100, 0.3);
}

.bc-service-card.premium {
    border: 1.5px solid #ffcc66;
    box-shadow: 0 12px 30px rgba(255, 200, 80, 0.18);
}


.bc-premium-inline-badge {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #5c4500;
    background: linear-gradient(135deg, #ffe8a3, #ffd77d, #ffcc66);
    border-radius: 8px;
    border: 1px solid #e6c160;
    white-space: nowrap;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
}


.bc-premium-corner {
    position: absolute;
    top: -4px;
    padding: 3px 10px;
    font-size: 8px;
    font-weight: 700;
    color: #5c4500;
    background: linear-gradient(135deg, #ffe8a3, #ffd77d, #ffcc66);
    border-radius: 12px;
    border: 1px solid #e6c160;
    white-space: nowrap;
    box-shadow: 0px 2px 4px rgba(255, 215, 80, 0.35);
}

.bc-premium-corner.right {
    right: -4px;
}

.bc-premium-corner.left {
    left: -4px;
}

.bc-td-block h3 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.bc-td-block p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}


.bc-hero-section {
    position: relative;
}

.bc-hero-section .dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.bc-hero-section .hero-content {
    position: relative;
    z-index: 2; /* <-- ALWAYS above overlay */
}



/* ================================
   BUSINESS OPPORTUNITIES — FULL WIDTH
   ================================ */

.op-sections-wrapper {
    width: 100%;
    margin-top: 40px;
}

.op-section {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 70px 0;
    gap: 60px;
    border-bottom: 1px solid #eee;
}

.op-section.reverse {
    flex-direction: row-reverse;
}

.op-image-box {
    flex: 1;
}

.op-image-box img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    
}

/* CONTENT */
.op-content {
    flex: 1;
    padding-right: 40px;
}

.op-section.reverse .op-content {
    padding-right: 0;
    padding-left: 40px;
}

.op-category {
    font-size: 13px;
    font-weight: 700;
    color: #c78900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.op-title {
    font-weight: 800;
    font-size: 32px;
    color: #222;
    margin-bottom: 18px;
}

.op-description {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.op-meta-row {
    display: flex;
    gap: 40px;
    font-size: 14px;
    color: #222;
    margin-bottom: 24px;
}

.op-meta strong {
    color: #000;
}

/* TAGS */
.op-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.op-tag {
    padding: 6px 14px;
    background: #f5f7fb;
    border: 1px solid #e1e5eb;
    border-radius: 18px;
    font-size: 13px;
    color: #555;
    display: inline-block;
    white-space: nowrap;
}

 

/* MOBILE */
@media (max-width: 992px) {
    .op-section,
    .op-section.reverse {
        flex-direction: column;
        text-align: center;
    }

    .op-content {
        padding: 0;
    }

    .op-meta-row {
        flex-direction: column;
        gap: 10px;
    }

    .op-tags {
        justify-content: center;
        flex-wrap: wrap;
    }
}






/* -----------------------------------
  Community
----------------------------------- */



/* Container */
.community-plans {
    padding: 30px 0;
}

/* Each Card */
.community-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all .3s ease;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Image */
.community-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Content Area */
.community-card-body {
    padding: 22px;
}

/* Golden Badge */
.community-type-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, #fce9b4, #cba15b, #fce9b4);
    border: 1px solid #d8b16a;
    margin-bottom: 12px;
}

/* Title */
.community-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

/* Description */
.community-desc {
    color: #222;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Bullet list */
 

.community-features li {
    margin-bottom: 6px;
}

 
 
 

/* Mobile */
@media (max-width: 768px) {
    .community-card img {
        height: 160px;
    }
    .community-title {
        font-size: 18px;
    }
}

 /* Image wrapper */
.community-img {
    position: relative;
    width: 100%; 
    overflow: hidden;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

/* Actual image */
.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom gradient overlay */
.community-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}


.community-card-body {
    padding: 22px;
    position: relative;
    z-index: 2; margin-top: -63px;
}



.community-inline-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 0 15px 0;
}

.feature-left, .feature-right {
    font-size: 13px;
    font-weight: 500;
    color: #b07000;
    white-space: nowrap;
    background: #f6f6f6;
    border-radius: 50px;
    padding: 1px 7px;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .community-inline-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}


.community-intro-text {
    font-size: 17px;
    color: #222;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;        /* desktop center */
    justify-content: center;
    z-index: 99999;
    overflow-y: auto;           /* allow scroll on mobile */
              /* space for mobile */
}


/* Modal Box */
.lead-modal-box {
    background: #fff;
    width: 95%;
    max-width: 480px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    position: relative;
}

.lead-modal-box.rtl {
    direction: rtl;
    text-align: right;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #333;
    cursor: pointer;
}

/* Titles */
.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bc-primary, #0b3c6f);
}
.modal-subtitle {
    color: #666;
}

/* Darken background scroll lock */
body.modal-open {
    overflow: hidden;
}

 

/* EN → close button on RIGHT */
.lead-modal-box:not(.rtl) .close-btn {
    right: 15px;
}

/* AR → close button on LEFT */
.lead-modal-box.rtl .close-btn {
    left: 15px;
}


/* Allow scrolling inside modal on small screens */
.lead-modal-box {
    max-height: 90vh;              /* Popup never exceeds screen height */
    overflow-y: auto;              /* Enable scrolling inside modal */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Prevent body from scrolling behind modal */
.modal-open {
    overflow: hidden;
}

/* Mobile fine-tuning */
@media (max-width: 576px) {
    .lead-modal-box {
        width: 92%;
        padding: 15px;
        border-radius: 18px;
    }
}
 
 .lead-modal-box .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
}
 
 .lead-modal-box.rtl .close-btn {
    right: auto !important;
    left: 15px !important;     /* Show at top-left in Arabic */
}