/* ==========================================================================
   GLOBALS (RTL) — "احجز" Homepage
   Tech: HTML + Bootstrap 5
   Font: GE Dinar One
   ========================================================================== */

/* -------------------- Fonts -------------------- */
@font-face {
  font-family: "GE Dinar One";
  src: url("../fonts/GE-Dinar-One-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE Dinar One";
  src: url("../fonts/GE-Dinar-One/GE-Dinar-One-Bold.woff2") format("woff2"),
    url("../fonts/GE-Dinar-One/GE-Dinar-One-Bold.woff") format("woff"),
    url("../fonts/GE-Dinar-One/GE-Dinar-One-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --gradient-primary: linear-gradient(#01b753, #00000033);
  --clr-primary: #0c9047;
  --clr-secondary: #ffac33;
  --clr-dark: #161616;
  --clr-gray-1: #6d6d6d;
  --clr-gray-2: #b4b4b4;
  --clr-gray-3: #d5d5d5;
  --clr-gray-4: #737373;
  --clr-gray-5: #f3f3f3;
  --clr-gray-6: #6e6e6e;

  --border-lite: 1px solid #e4e6e8;
  --bg-lite: #f8f8f8;

  --drop-shadow: 0 4px 4px #00000040;

  --rounded-24: 24px;
  --rounded-33: 33px;
  --rounded-15: 15px;

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

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "GE Dinar One", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 1%;
  color: #000000;
}

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(1280px, 90%);
  margin: 0 auto;
}

section:not(#hero-home) {
  overflow: hidden;
}

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

.hero-heading {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  text-align: center;
}

.section-heading {
  font-size: clamp(24px, 2.2vw, 44px);
  color: #161616;
  font-weight: 700;
  margin-bottom: 1.6rem;
  line-height: 1;
  letter-spacing: 3px;
}

.section-subheading {
  font-size: clamp(16px, 1.5vw, 29px);
  color: var(--clr-gray-1);
  margin-bottom: 0;
}

.desc {
  font-size: clamp(16px, 1.1vw, 24px);
  color: var(--clr-gray-3);
}

.button {
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  padding: 1.1rem 4.5rem;
  border-radius: var(--rounded-15);
  overflow: hidden;
  position: relative;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition-base);
}

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

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

.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 {
  background-color: #e6e6e64f;
  border: 1px solid #eeeeee80;
  border-radius: var(--rounded-15);
  padding: 14px 20px;
  font-size: 1.6rem;
}

.form-control:focus,
input:focus,
textarea:focus {
  border: 2px solid var(--clr-primary) !important;
  box-shadow: 0 0 4px #01b753a6 !important;
  background-color: #e6e6e64f !important;
  outline: none !important;
}

input[type="checkbox"] {
  display: inline-block;
  height: 1.8rem;
  width: 1.8rem;
  /* appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--clr-gray-3);
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    position: relative; */
}

/* input[type="checkbox"]:checked {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0.5rem;
  width: 0.6rem;
  height: 1.1rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:hover:not(:checked) {
  border-color: var(--clr-primary);
} */

.pagination {
  --bs-pagination-color: #a6a6a6;
  --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: #ecc95c;
}

.page-link {
  border-radius: var(--rounded-15) !important;
  margin-inline: 0.25rem;
  font-size: 1.6rem;
  padding: 5px 1.5rem;
}

/* //////////////////// 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-24 {
  border-radius: var(--rounded-24);
}
.rounded-33 {
  border-radius: var(--rounded-33);
}
.rounded-15 {
  border-radius: var(--rounded-15);
}

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

.clr-secondary {
  color: var(--clr-secondary);
}

.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;
}

.border-lite {
  border: var(--border-lite) !important;
}

.bg-lite {
  background-color: #f8f8f8;
}

[data-animate] {
  opacity: 0;
}

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

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

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

/*////////////////// MEDIA QUERIES /////////////////////*/
@media (min-width: 1600px) {
  html {
    font-size: 80%;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 4rem 0;
  }
}
