@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "NotoNaskhArabic";
  src: url("/fonts/NotoNaskhArabic-VariableFont_wght.ttf") format("truetype"); /* not "ttf" */
  font-weight: 100 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  direction: ltr;
}

/* RTL (Arabic) layout */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: "NotoNaskhArabic", serif; /* FIXED: match font-face name exactly */
}

/* Optional RTL fixes */
[dir="rtl"] .text-end {
  text-align: left !important;
}

.btn {
  padding: 10px 15px;
}
/* General navbar style */
.navbar {
  border-radius: 40px;
  margin-top: 2vh !important;
  margin: auto;
  max-width: 80% !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  background-color: rgb(255, 255, 255) !important;
  box-shadow: none;
  z-index: 333 !important;
}

/* Style when scrolled */
.navbar.scrolled {
  background-color: #ffffffce !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: none !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar.scrolled .navbar-brand {
  color: #000000;
}

/* Nav link colors */
.navbar .nav-link {
  color: #000000 !important;
  font-weight: 600;
}

.navbar.scrolled .nav-link {
  color: #000000 !important;
}

/* Dropdown Menu Blur Background */
.navbar .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.425);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dropdown item text (both service menu & language menu) */
.navbar:not(.scrolled) .dropdown-menu .dropdown-item {
  color: #ffffff;
}

.navbar.scrolled .dropdown-menu {
  background-color: #000000e0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
}

.navbar.scrolled .dropdown-menu .dropdown-item {
  color: #ffffff !important;
}

/* Dropdown hover effect */
.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.hero {
  min-height: 100vh;
}
.hero-img {
  background-image: url(images/sms-services-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-buttons a {
  opacity: 0;
  width: 200px;
  height: auto;
}

.tital-wrapper {
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 177px;
  row-gap: 40px;
}
.hero-icon {
  mix-blend-mode: multiply; /* or darken */
  background-color: transparent;
}
.card-wrapper-hero {
  margin-top: 80px;
}
.tital-wrapper h1 {
  font-size: 4rem;
  font-weight: 600;
  color: #1f1f20 !important;
}
.tital-wrapper p {
  font-size: 1.2rem;
  color: #000000 !important;
  font-weight: 500;
}

.cardA {
  color: #000000;
  text-align: center !important;
}

/* services */
.service-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* features section  */
.feature-bg {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.feature1:hover {
  transform: translateY(-10px);
  transition: all 0.5s ease-in-out;
  background-image: url(images/sms-services-bg.webp);
  background-size: fill;
  background-position: top;
}

.feature1 {
  min-height: 280px;
  padding: 35px 30px;
  cursor: pointer;
  border-radius: 1rem;
  color: #000000;
}
.feature1:nth-child(2) {
  transform: translateY(-8px);
  background-image: url(images/sms-services-bg.webp);
  background-size: fill;
  background-position: top;
}
.feature1:nth-child(4) {
  transform: translateY(-8px);
  background-image: url(images/sms-services-bg.webp);
  background-size: fill;
  background-position: top;
}
.feature1:nth-child(6) {
  transform: translateY(-8px);
  background-image: url(images/sms-services-bg.webp);
  background-size: fill;
  background-position: top;
}

.feature1 h4 {
  font-size: 23px;
}

.feature1 i {
  font-size: 40px;
}

.feature1 p {
  font-size: 16px;
}
.service-wrapper {
  background-color: #000000;

  padding: 100px 0px;
}
.service-bg {
  min-height: 100vh;
  background-image: url(images/sms-services-dark.webp);
  background-size: cover;
}
.about-qalama {
  min-height: 90vh;
}
.feature-bg {
  min-height: 100vh;
}
.service1 {
  cursor: pointer;
}
.service1:hover .price-card {
  transform: scale(1.02);
}
.service1:hover .price-card::before {
  transform: rotate(25deg) translateX(100%);
  opacity: 1;
}
.price-card {
  position: relative;
  background-color: #ffffff19;
  backdrop-filter: blur(5px);
  border-radius: 15px;
  color: #ffffff;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(35deg) translateX(-100%);
  transition: transform 2s ease, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 15px;
}

/* --- PRICING SECTION --- */
.pricing-bg {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  padding-top: 60px;
}

/* Card container */
.price-cards {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Headings */
.price-cards h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-cards h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #dddddd;
  margin-bottom: 1rem;
}

/* Price */

/* Features List */
.price-cards ul {
  padding: 0;
  margin-top: 1.5rem;
}

.price-cards li {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #ffffff;
  text-align: left;
}

/* Icons */
.price-cards li i {
  font-size: 1.3rem;
  color: #ffc107;
  flex-shrink: 0;
}

/* CTA Button */
.price-cards .btn {
  margin-top: 20px;
  font-weight: 600;
  padding: 10px 25px;
  transition: all 0.3s ease;
  border: none;
  background-color: #ffffff;
  color: #000000;
  border-radius: 30px;
}

.price-cards .btn:hover {
  background-color: #f56262;
  color: #000000;
}
.icon-box {
  font-size: 2.2rem;
  color: #ffc107;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-style {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

/* English (LTR) – Align features list to left */
[dir="ltr"] .price-cards ul,
[dir="ltr"] .price-cards ul li,
[dir="ltr"] .price-cards ul li span {
  text-align: left;
  direction: ltr;
}

/* Arabic (RTL) – Align features list to right */
[dir="rtl"] .price-cards ul,
[dir="rtl"] .price-cards ul li,
[dir="rtl"] .price-cards ul li span {
  text-align: right;
  direction: rtl;
}

/* Base: layout as flex row */
.feature-list li {
  display: flex;
  align-items: center;
}

/* English (LTR): icon left, text right */
[dir="ltr"] .feature-list li {
  flex-direction: row;
}
[dir="ltr"] .feature-list li i {
  margin-right: 0.5rem;
  margin-left: 0;
}

/* Arabic (RTL): icon right, text left */
[dir="rtl"] .feature-list li {
  flex-direction: row-reverse;
}
[dir="rtl"] .feature-list li i {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* about section */

.our-customers {
  padding: 15px 0px;
}

.slide-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  will-change: transform;
  cursor: pointer;
}

.carousel-slide {
  min-width: 150px;
  margin: 0 5px;
}

.carousel-slide img {
  width: 100px;
  height: 40px;
  filter: grayscale(1);
}
.carousel-slide img:hover {
  width: 100px;
  height: 40px;
  filter: grayscale(0);
}
.contact-bg {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(images/sms-services-dark.webp);
  background-repeat: no-repeat;
  background-size: cover;
}

.submit-button button {
  border-radius: 25px !important;
}

/* form */
.form-body {
  background-color: #000000;
  backdrop-filter: blur(30px);
  border-radius: 15px;
}

.form-control {
  background: none;
  border: 1px solid #a1a1a1;
  color: #ffffff;
  font-size: 0.9rem;
}
.form-label {
  color: #ffffff;
}

::placeholder {
  font-size: 0.9rem; /* You can adjust this to your preferred size */
  color: #ffffff !important; /* Optional: placeholder text color */
}
.form-control:focus {
  color: #ffffff;
  background-color: #020202;
  border: 1px solid #ffffff6a;
}
textarea::placeholder {
  font-size: 0.95rem; /* Slightly larger for textareas, if needed */
  color: #ffffff;
}
#country option {
  font-size: 0.95rem !important; /* Slightly larger for textareas, if needed */
}

.accordion-body {
  background-color: #e8e8e8;
  color: #000000;
}
.accordion-button:not(.collapsed) {
  color: #ffffff;
  background-color: #000000;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
    var(--bs-accordion-border-color);
}
.about-qalama {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fotter-wrapper {
  margin-top: 5vh;
}

@media (max-width: 500px) {
  .navbar {
    border-radius: 0px !important;
    margin-top: 0vh !important;
    margin: auto;
    padding: 5px !important;
    max-width: 100% !important;
  }
  .hero {
    height: auto !important;
  }
  .card-wrapper-hero {
    display: flex !important;
    gap: 40px !important;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  .navbar {
    border-radius: 0px;
    margin-top: 0vh !important;
    margin: auto;
    max-width: 100% !important;
    background-color: rgb(255, 255, 255) !important;
    box-shadow: none;
    z-index: 333 !important;
  }
  .navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: none !important;
  }
  .navbar.scrolled .nav-link {
    color: #000000 !important;
  }

  .tital-wrapper {
    height: 100% !important;
    width: 90% !important;
    padding-top: 50px;
  }
  .tital-wrapper h1 {
    width: 100%;
    font-size: 2rem;
  }
  .tital-wrapper p {
    font-size: 1rem;
  }

  .navbar {
    width: 100% !important;
  }
  .navbar-toggler {
    margin-right: 10px;
  }
  .nav-link {
    width: 95%;
  }
  .hero {
    justify-content: center !important;
    align-items: center !important;
  }
  .hero-wrapper {
    row-gap: 10px !important;
  }

  .service-bg {
    height: auto;
    padding: 20px 0px;
  }
  .feature-bg {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 0px 10px !important;
  }

  .feature1 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
    width: 95%;

    cursor: pointer;
  }
  #services {
    height: auto !important;
  }
  .pricing {
    height: auto;
  }
  .contact-left {
    width: 95% !important;
    margin: auto;
    text-align: center;
  }
  .contact-right {
    width: 95% !important;
  }
  .pricing-bg {
    height: auto;
  }
  .about-qalama {
    height: auto;
  }
}

@media (min-width: 1024px) {
  .navbar {
    max-width: 80% !important;
    padding: 15px;
    border-radius: 50px;
  }

  .service-bg {
    height: auto;
    padding: 30px 0px;
  }

  .pricing-bg {
    height: auto;
  }

  .price-card {
    min-height: 15vw !important;
  }
  .about-qalama {
    height: auto;
  }
}
@media (min-width: 2000px) and (max-width: 2560px) {
  .navbar {
    max-width: 55% !important;
  }
  .hero {
    height: 90vh !important;
  }
  .hero-wrapper {
    height: 100%;
  }

  .tital-wrapper {
    padding-top: 350px;
  }
  .service-bg {
    height: 60vh !important;
  }
  .service-wrapper {
    height: auto !important;
    background-color: #000000 !important;
    background: none;
  }
  .price-card {
    height: 24vh !important;
  }
  .feature-bg {
    width: 85%;
  }
  .feature1 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
    width: 25%;
    gap: 30px;
    cursor: pointer;
  }
  .cardA {
    width: 330px;
    height: 160px;
  }
}

.pricing-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}
.pricing-swiper {
  width: 100% !important;
}
.price-cards {
  background: #6a6a6aaa;
  color: white;
  border-radius: 20px;
  height: 90%;
  width: 98%;
  user-select: none;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 30 30 20px rgba(21, 21, 21, 0.634);
}

.swiper-button-prev {
  color: #000000 !important;
  background-color: #ffc107;
  padding: 30px 30px;
  border-radius: 50%;
  scale: 0.6;
}
.swiper-button-next {
  color: #000000 !important;
  background-color: #ffc107;
  padding: 30px 30px;
  border-radius: 50%;
  scale: 0.6;
}

.swiper-pagination {
  margin-top: 30px;
}

/* Mobile fallback: show cards stacked */
@media (max-width: 767px) {
  .pricing-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .pricing-swiper .swiper-slide {
    width: 100% !important;
  }
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
}

/* modalform popup */
#getStartedModal .modal-content {
  border-radius: 15px;
  overflow: hidden;
}

#getStartedModal .modal-header {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 0;
}

#getStartedModal .modal-header .btn-close {
  font-size: 1.5rem;
  padding: 0.5rem;
  filter: invert(1);
  color: #000000 !important;
}

#getStartedModal .form-control-lg {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

#getStartedModal .invalid-feedback {
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #getStartedModal .modal-body {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  #getStartedModal .modal-body {
    padding: 1.5rem;
  }

  #getStartedModal .form-control-lg {
    font-size: 0.9rem;
  }
}
