/* ==========================================================================
   GLOBALS (RTL) — "كويك" 
   Tech: HTML + Bootstrap 5
   Font: IBM Plex Sans Arabic

   ========================================================================== */

/* -------------------- Design Tokens -------------------- */

:root {
  --clr-primary: #009fd9;
  --clr-black-1: #363636;
  --clr-black-2: #1c1c1c;
  --clr-black-3: #161c24;
  --clr-gray-1: #868686;
  --clr-gray-2: #727272;
  --clr-gray-3: #6e6e6e;
  --clr-gray-4: #d3d3d3;
  --clr-gray-5: #637381;
  --clr-gray-6: #e4e4e4d1;

  --border-lite: 2px solid #ededed99;
  --bg-lite: #fafafa;

  --drop-shadow-1: 0 0 80px #02020212;
  --drop-shadow-2: 0 0 68px #c2c2c240;
  --drop-shadow-3: 0 0 24px #00000014;

  --rounded-16: 16px;
  --rounded-30: 30px;
  --rounded-24: 24px;
  --rounded-21: 21px;

  --transition-base: all 0.3s linear;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  position: relative;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol,
li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

figure {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

img.fill {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

.main-container {
  width: min(128rem, 90%);
  margin: 0 auto;
}

section {
  overflow: hidden;
}

.section-padding {
  padding: 4rem 0;
}

.section-header-wrap {
  margin-bottom: 3rem;
}

.hero-heading {
  font-size: clamp(28px, 3vw, 56px);
  font-weight: 600;
  color: #1c1c1c;
  line-height: 1.5;
  max-width: 540px;
}

.section-heading {
  font-size: clamp(28px, 3vw, 56px);
  color: #1c1c1c;
  font-weight: 600;
  line-height: 1;
}

.section-subheading {
  font-size: clamp(16px, 1.5vw, 36px);
  color: #367fa9;
  margin-bottom: 1.4rem;
  font-weight: 400;
}

button {
  background-color: transparent;
  border: none;
  outline: none;
}

.button {
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  padding: 14px 30px;
  border-radius: var(--rounded-24);
  overflow: hidden;
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition-base);
}

.button span {
  display: inline-block;
  transform: rotate(-45deg);
}

.primary-btn {
  background: var(--clr-primary);
  color: #ffffff;
  border: 1px solid var(--clr-primary);
}

.secondary-btn {
  background: #ffffff;
  color: var(--clr-primary);
  border: 1px solid #ffffff;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px rgba(201, 14, 14, 0.6);
}

.form-control,
select {
  display: block;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  border-radius: var(--rounded-16);
  padding: 14px 20px;
  font-size: 1rem;
  color: #898989;
  width: 100%;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23898989' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: 16px 12px;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--clr-primary) !important;
  box-shadow: 0 0 4px var(--clr-primary) !important;
  outline: none !important;
}

input[type="checkbox"] {
  display: inline-block;
  height: 1rem;
  width: 1rem;
}

.pagination {
  --bs-pagination-color: #1c1c1c;
  --bs-pagination-bg: #dbdbdb1c;
  --bs-pagination-border-color: #c5c5c5a6;
  --bs-pagination-hover-color: #fff;
  --bs-pagination-hover-bg: var(--clr-primary);
  --bs-pagination-hover-border-color: var(--clr-primary);
  --bs-pagination-focus-shadow: none;
  --bs-pagination-disabled-color: #555;
  --bs-pagination-disabled-bg: #dbdbdb1c;
  --bs-pagination-disabled-border-color: #2a2a2a;
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-active-bg: var(--clr-primary);
  --bs-pagination-active-border-color: var(--clr-primary);
}

.page-link {
  border-radius: 11px !important;
  margin-inline: 0.25rem;
  font-size: 1rem;
  padding: 5px 1rem;
}

/* //////////////////// HELPER CLASSES ////////////////////// */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* //////////////////// UTILITY CLASSES ////////////////// */
.rounded-16 {
  border-radius: var(--rounded-16);
}
.rounded-30 {
  border-radius: var(--rounded-30);
}
.rounded-24 {
  border-radius: var(--rounded-24);
}
.rounded-21 {
  border-radius: var(--rounded-21);
}

.clr-primary {
  color: var(--clr-primary) !important;
}

.clr-gray-1 {
  color: var(--clr-gray-1) !important;
}
.clr-gray-2 {
  color: var(--clr-gray-2) !important;
}
.clr-gray-3 {
  color: var(--clr-gray-3) !important;
}
.clr-gray-4 {
  color: var(--clr-gray-4) !important;
}
.clr-gray-5 {
  color: var(--clr-gray-5) !important;
}
.clr-gray-6 {
  color: var(--clr-gray-6) !important;
}

.clr-black-1 {
  color: var(--clr-black-1);
}
.clr-black-2 {
  color: var(--clr-black-2);
}
.clr-black-3 {
  color: var(--clr-black-3);
}

.border-lite {
  border: var(--border-lite) !important;
}
.bg-lite {
  background-color: #f8f8f8;
}

.shadow-1 {
  box-shadow: var(--drop-shadow-1);
}
.shadow-2 {
  box-shadow: var(--drop-shadow-2);
}
.shadow-3 {
  box-shadow: var(--drop-shadow-3);
}

[data-animate] {
  opacity: 0;
}

[data-animate].animated {
  opacity: 1;
}

.fast-animation {
  --animate-duration: 0.5s;
}

.slow-animation {
  --animate-duration: 2s;
}

/*////////////////// MEDIA QUERIES /////////////////////*/
@media (max-width: 991px) {
  .section-padding {
    padding: 2rem 0;
  }
}
