@import url("bootstrap.rtl.min.css");
@import url("google-tajawal-font.css");

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    -webkit-touch-callout: none;

    -webkit-user-select: none;

    -khtml-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    user-select: none;

}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    color: rgb(34 181 115) !important;
}

/* Disable dragging an image */
img {
    pointer-events: none;
}

.btn-success {
    background-color: rgb(34 181 115) !important;
    /* background-color: #042141 !important;
  border-color: #042141 !important; */
}

.btn-success:hover {
    background-color: rgb(3, 158, 88) !important;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgb(34 181 115) !important;
    /* border: 1px solid #eee;
  border-radius: 20px; */
}

.dropdown a:hover {
    color: black !important;
    background-color: #ececec !important;
}

/* .order-contract {
  transition-delay: 0.1s;
  background: rgb(84, 212, 149);
  background: linear-gradient(
    90deg,
    rgba(84, 212, 149, 1) 0%,
    rgba(9, 128, 17, 1) 100%
  );
}

.order-contract:hover {
  background: rgb(84, 212, 149);
  background: linear-gradient(
    90deg,
    rgba(9, 128, 17, 1) 0%,
    rgba(84, 212, 149, 1) 100%
  );
} */

.download-app-btn,
.order-btn {
    font-weight: 500;
    /* background-color: #042141 !important;
  border-color: #042141 !important; */
    background-color: rgb(34 181 115) !important;
    border-color: rgb(34 181 115) !important;
}

.order-btn {
    position: relative;
    /* background-color: #042141 !important;  */
    background: rgb(34 181 115) !important;
    cursor: pointer;
    outline: none;
    overflow: hidden;
}

.order-btn span {
    position: relative;
}

.order-btn:before {
    --size: 0;
    content: "";
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(
        circle closest-side,
        rgb(108, 212, 165),
        transparent
    );
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
}

.order-btn:hover:before {
    --size: 200px;
}

.features .col {
    /* border-color: #22b473 !important; */
    border-color: #042141 !important;
    border-radius: #042141 !important;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: #ffffff;
}

html::-webkit-scrollbar-track {
    background-color: #ffffff;
    margin-top: 90px;
}

html::-webkit-scrollbar-thumb {
    background: rgb(34 181 115);
    width: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgb(64, 202, 137);
}

/* Articles section */
.articles-section {
    background-color: #ececec;
}

.article-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(4, 33, 65, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(4, 33, 65, 0.12);
}

.article-card-accent {
    height: 4px;
    background: linear-gradient(90deg, rgb(34 181 115), #042141);
}

.article-card-body {
    padding: 1.5rem;
}

.article-tag {
    display: inline-block;
    background-color: rgba(34, 181, 115, 0.12);
    color: rgb(28 150 95);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-left: 0.4rem;
    margin-bottom: 0.4rem;
}

.article-card-title {
    color: #042141;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.article-card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.article-read-btn {
    display: inline-block;
    color: rgb(34 181 115);
    border: 2px solid rgb(34 181 115);
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.article-read-btn:hover {
    background-color: rgb(34 181 115);
    color: #fff;
}
