@import url("./common.css");

/* -------------------------HEADER SECTION----------------------------------- */
.header-section-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  flex-wrap: wrap;
}

.social-icons img {
  width: 24px;
  margin-right: 10px;
}
social-icons a {
  text-decoration: none;
  color: black;
}
.logo img {
  height: 60px;
}

.header-buttons {
  display: flex;
  gap: 5px;
}

.btn a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.nav-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 10px 10px 10px;
  transition: max-height 0.3s ease-in-out;
}

.nav-bar a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  padding: 5px 10px;
}

.nav-bar .active {
  font-weight: 700;
  color: var(--text-colo);
}
.fa {
  color: black !important;
}
.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: white;
  appearance: none;
  background-color: var(--primary-color) !important;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: none;
  outline: 0;
  box-shadow: none;
}

.language-selector {
  background: var(--primary-color);
  color: white !important;
  padding: 4px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
}
.language-selector:hover {
  background: #5a8f2f;
  border: none;
}
.language-selector:hover .form-select {
  background-image: var(--bs-form-select-bg-img);
  background-color: #5a8f2f !important;
  color: white !important;
}

.language-selector {
  width: 100px;
  color: white;
}
.language-selector selector:hover {
  background: #567b37 !;
}

.language-selector select {
  padding: 8px 12px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 14px;
}
.hero-form-control {
  width: 30% !important;
  border-radius: 8px;
  background: #f9f9f9;
}

/* ------------------------------------------------------------------- */
.user-dropdown-container {
  position: relative;
}

.user-toggle,
.menu-toggle {
  cursor: pointer;
  padding: 8px;
}
.user-toggle {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: none;
}
.menu-toggle {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: none;
}


/* Dropdown Menu Hidden by Default */

.user-dropdown-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  display: block;
}

.user-dropdown-menu a:hover {
  background-color: #f4f4f4;
}

/* Show Menu When .show Is Active */
.user-dropdown-container.show .user-dropdown-menu {
  display: flex;
}
.user-dropdown-container {
  display: none;
}

.mobile-icons {
  display: none;
}
.mobile-both-icon {
  display: flex;
  gap: 5px;
}
.logo {
  margin-left: 25%;
}

@media (max-width: 992px) {
  .user-dropdown-container {
    display: block;
  }
  .mobile-icons {
    display: block;
  }
  .user-dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 160px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .user-dropdown-menu a {
    border-top: 1px solid #eee;
  }
  .logo {
    margin-left: 0px;
  }
}
.client-name {
  color: black !important;
}

/* Responsive */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    display: none;
    background-color: #f4f4f4;
    width: 100%;
    position: absolute;
    z-index: 999;
  }

  .nav-bar a {
    padding: 15px 20px;
    width: 100%;
    border-top: 1px solid #ddd;
    border-radius: 2px;
    color: black !important;
  }

  .nav-bar.show {
    display: flex;
  }

  .header-section-data {
    padding-bottom: 20px;
  }

  .header-buttons {
    margin-top: 10px;
  }
  .header-buttons {
    display: none;
  }
  .social-icons {
    display: none;
  }
}
.dropdown-item {
  color: black !important;
}

.facts-figure-img {
  transform: translateX(100px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* When visible, animate in */
.facts-figure-img.animate {
  transform: translateX(0);
  opacity: 1;
}

 .user-toggle,
  .menu-toggle {
    cursor: pointer;
    padding: 0px;
    background: var(--primary-color);
  }
/* -------------------------Hero SECTION----------------------------------- */

/* .hero-section {
    position: relative;
    background-image: url(../Images/her0.webp);
    background-size: cover;
    background-position: center;
    height: 586px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.8; 
    z-index: 1;
}

.hero-section-data {
    position: relative;
    z-index: 2; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
} */

.hero-section {
  position: relative;
  height: 586px;
  overflow: hidden;
}

.hero-section-data {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-section-data::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Optional dark overlay for readability */
  z-index: 1;
}

.hero-section-data > div {
  z-index: 2;
}

.swiper-pagination2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3; /* Ensure it's on top of the images */
}

.swiper-pagination-bullet {
  background: var(--text-color2) !important;
  opacity: 0.7;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #8ddc2f !important; /* Green active bullet color */
}
.swiper-pagination2 {
  left: 50% !important;
}

/* -------------------------Logos SECTION----------------------------------- */

.logo-section-data {
  display: grid;
  grid-template-columns: repeat(5, 1fr);;
  gap: 30px;
  padding: 30px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.logo-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {

  .product-selection-section {
    margin-top: 40px;
  }
  .product-selection-section {
    margin-top: 0px !important;
  }
  .hero-form-control {
    width: 60% !important;
    border-radius: 8px;
    background: #f9f9f9;
  }
  .footer-input {
    margin-top: 20px;
  }
}
.product-selection-header {
  padding-inline: 5px;
}

/* -------------------------facts and figure SECTION----------------------------------- */
.facts-and-figure-section {
  position: relative;
  margin-top: 150px !important;
  padding: 0 15px;
  width: 100%;
  max-width: 1830px;
  margin: auto;
}

.facts-figure-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  height: auto;
  z-index: 0;
}

.facts-and-figure-part-one h3 {
  font-size: 48px;
  font-family: "Inter";
}

.facts-and-figure-part-one p {
  font-size: 16px;
  font-family: "Inter";
}

.facts-and-figure-part-one {
  padding-right: 100px;
}

.facts-figure-img {
  right: -150px;
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

.factandfigure,
.factandfigurelast {
  position: relative;
  padding: 30px 40px;
  text-align: center;
}

.factandfigure::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50px;
  background: var(--text-color2);
  right: 0;
  top: 30%;
}
.facts-inner-section {
  display: flex;
  align-items: center;
}
.factandfigurelast::after {
  content: none;
}

.factandfigure p,
.factandfigurelast p {
  color: var(--text-color2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .facts-and-figure-part-one {
    padding-right: 20px;
  }

  .facts-and-figure-part-one h3 {
    font-size: 36px;
  }

  .factandfigure,
  .factandfigurelast {
    padding: 20px 20px;
  }

  .facts-figure-img {
    right: 0;
    margin-top: 30px;
  }

  .factandfigure::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .facts-and-figure.row {
    flex-direction: column;
    text-align: center;
  }

  .facts-figure-img {
    margin: 30px auto 0;
  }
  .facts-figure-img {
    width: 70%;
  }
  .facts-figure-bg {
    width: 80%;
  }

  .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2300000' stroke='%2300000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: black;
    appearance: none;
    background-color: var(--primary-color) !important;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: none;
  }
}

/* -------------------------Why us SECTION----------------------------------- */
.why-us-section {
  margin-top: 150px;
}
.why-us-cards {
  background: var(--cards-bg) !important;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
}
.why-us-cards h3 {
  background: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}
.why-us-card-heading {
  font-family: var(--font-family-3);
  font-size: 28px;
  color: black;
}
.why-us-cards p {
  font-family: var(--font-family-2);
  font-size: 16px;
  color: var(--card-text);
}
/* .why-us-two{
    padding-left: 80px;
    padding-right: 60px;
} */
.why-us-two-heading {
  font-size: 48px;
  font-family: var(--font-family-2);
}
.why-us-two-para {
  font-size: 16px;

  margin-bottom: 40px;
  margin-top: 10px;
}
/* -------------------------ceo-message SECTION----------------------------------- */

.ceo-message-section {
  background: #639548;
  border-radius: 50px;
  margin-top: 150px;
  overflow: hidden;
}

.ceo-message {
  padding: 40px;
  color: white;
}

.ceo-message h3 {
  font-size: 48px;
  margin-bottom: 40px;
}

.ceo-message-image {
  width: 40%;
}

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

/* -----------------------------Gallary--------------------------------------------- */

.product-selection-section {
  margin-top: 150px;
}
.product-selection-header {
  text-align: center;
}
.product-selection-header h2 {
  font-size: 48px;
}
.product-selection-header p {
  font-size: 16px;
  color: var(--text-color2);
}
.gallery {
  column-count: 3;
  column-gap: 20px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* ----------------------------- Features--------------------------------------------- */
.feature-section {
  margin-top: 150px;
}
.feature-card {
  display: flex;
  gap: 20px;
}
.feature-card-img {
  background: #e2e8e3;
  padding: 20px;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-data h3 {
  font-size: 48px;
}
.feature-data p {
  font-size: 16px;
  color: var(--text-color2);
  padding-right: 40px;
}
.feature-card-data h4 {
  font-size: 24px;
}
.feature-card-data p {
  /*padding-right: 40px;*/
  color: var(--text-color2);
}
.blog-card {
  background: var(--cards-bg);
  border-radius: 20px;
  overflow: hidden;
}
.blog-card img {
  width: 100%;
  object-position: top;
  object-fit: contain;
  height: 300px;
}
.blog-card-text {
  padding: 20px;
}
.blog-card-text > p {
  color: #979797;
}
.blog-card-text h4 {
  color: black;
}
.blog-card-text .date {
  color: var(--text-color2);
}
.partner-section h2 {
  font-size: 48px;
  margin-block: 40px;
}
.blog-btns {
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
  width: 50px;
  background: #f0efef !important;
}
.blog-btns:hover {
  background: gainsboro !important;
  padding: 10px;
  border-radius: 50%;
}
/* ----------------------------------------------------------------------------- */

.swiper-container {
  max-width: 1600px !important;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.testimonial-card {
  background: var(--cards-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.avatar {
  background: #ddd;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.stars {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 30px;
}

.swiper-pagination {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .swiper {
    padding: 0 10px;
  }
}
.swiper-pagination {
  position: relative;
  margin-top: 40px;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #d9d9d9;
  opacity: 1;
  width: 15px;
  height: 15px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}
.testimonial-card h3 {
  font-size: 24px;
  margin-top: 30px;
}
.testimonial-card p {
  font-size: 16px;
  color: var(--text-color2);
}
.read-more {
  color: var(--primary-color);
}
/* ----------------------------Footer------------------------------------------ */
.footer {
  margin-top: 150px;
}
.footer-section-top {
  padding: 40px 0px;
}

.footer-bottom-menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-section-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--text-color2);
  padding: 10px 0px;
  flex-wrap: wrap;
}
.footer-input {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-input button {
  white-space: nowrap;
}
.footer-input input {
  padding: 12px 20px;
  border-radius: 50px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.menu1 {
  position: relative;
}
.menu1:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100px;
  background: var(--text-color2);
  right: 0px;
  top: 30%;
  right: 25%;
}

/* ------------- */

.swiper-pagination3 {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.swiper-pagination2 .swiper-pagination-bullet {
  background: var(--cards-bg);
  opacity: 1;
  margin: 0 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.swiper-pagination2 .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Desktop by default */
.gallery-mobile {
  display: none !important;
}

.gallery-mobile img {
  width: 100%;
  height: 250px; /* or any fixed height you prefer */
  object-fit: cover;
  border-radius: 8px;
}

.gallery {
  column-count: 3;
  column-gap: 20px;
  padding: 20px;
}

.team-hero-mobile {
  display: none;
}

/* Mobile view */
@media (max-width: 576px) {
  .gallery.desktop-gallery {
    display: none;
  }

  .gallery-mobile {
    display: block !important;
  }

  .gallery-mobile img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
  }
  .team-hero-mobile {
    display: block;
  }
}

@media (max-width: 576px) {
  .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .facts-and-figure-section {
    margin-top: 50px !important;
    padding: 0 0px;
  }
  .facts-and-figure-part-one h3 {
    font-size: 24px;
    text-align: start;
  }
  .facts-and-figure-part-one p {
    text-align: start;
  }
  .facts-and-figure-part-one p {
    text-align: start;
    font-size: 12px;
  }
  .facts-inner-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .why-us-two {
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .why-us-two-heading {
    font-size: 24px;
  }
  .product-selection-header h2 {
    font-size: 24px;
    text-align: center;
  }
  .product-selection-header p {
    text-align: center;
  }
  .feature-data h3 {
    font-size: 24px;
    padding-bottom: 10px;
  }
  .feature-card-data p {
    padding-right: 0px;
  }
  .ceo-message {
    padding: 20px;
    color: white;
  }
  .footer-input {
    flex-direction: column;
    align-items: flex-start;
  }
  .accordion-item {
    margin-top: 20px;
  }
  .accordion-item {
    color: black;
    background-color: transparent;
    border: none;
  }
  .accordion-button:not(.collapsed) {
    color: var(--text-color);
    background-color: transparent;
    box-shadow: none;
  }
  .accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
  }
  .swiper-pagination2 .swiper-pagination-bullet {
    opacity: 1;
    margin: 0 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 17px !important;
  }
  .why-us-one {
    margin-top: 30px;
  }
}
.main-section {
  overflow-x: hidden !important;
}

@media (max-width: 600px) {
  .why-us-section,
  .feature-section,
  .product-selection-section,
  .footer {
    padding: 10px !important;
  }
  .ceo-message {
    padding: 20px !important;
  }
  .header-section-data {
    padding-inline: 10px;
  }
}

/* Right-align only specific elements when Arabic is selected */
.lang-ar {
  direction: rtl;
  text-align: right;
}

.lang-en {
  direction: ltr;
  text-align: left;
}

.lang-ar .feature-card {
  direction: rtl;
  text-align: right;
}

@media (max-width: 768px) {
  .lang-ar-mob {
    direction: rtl;
    text-align: right;
  }
}

.lang-en .feature-card {
  direction: ltr;
  text-align: left;
  flex-direction: row;
}

.feature-card-img img {
  width: 32px;
  height: 32px;
}
.footer-bottom-menu a:hover{
   color: var(--primary-color);
}
.menulink:hover{
   color: var(--primary-color);
}
.location-section h2{
  font-size: 48px;
  margin-top: 100px;
  text-align: center;
}
.location-section{
  padding-inline: 10px !important;
}
/* ------------------------- */
@media (max-width: 576px) {
  .user-toggle,
  .menu-toggle {
    cursor: pointer;
    padding: 0px;
    background: none;
  }
  .menu-toggle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: none;
  }
  .navmenuicon {
    font-size: 20px;
    color: var(--text-color) !important;
  }
  .mobile-both-icon {
    gap: 0px !important;
  }
  .language-selector {
    width: 60px;
    color: white;
  }
  .language-selector {
    background: var(--primary-color);
    color: white !important;
    padding: 4px 0px;
    border: none;
    cursor: pointer;
    background: none;
  }
  .form-select {
    background-color: transparent !important;
    color: var(--text-color) !important ;
    font-size: 16px !important;
  }
  .language-selector:hover {
  background: transparent;
  border: none;
}
.language-selector:hover .form-select {
  background-image: var(--bs-form-select-bg-img);
  background-color: #5a8f2f !important;
  color: white !important;
}
.ceo-message-section {
    margin-top: 50px;
}
.feature-section
 {
    margin-top: 50px;
}
.location-section h2 {
  font-size: 24px;
    margin-top: 20px;
}
.footer {
    margin-top: 50px;
}
.why-us-section {
    margin-top: 50px;
}
}

/* RTL override for navbar */
.nav-bar.rtl-nav {
  flex-direction: row-reverse;
  justify-content: center;
}

.nav-bar.rtl-nav a {
  text-align: right;
}
.nav-bar a:hover {
  color: var(--primary-color);
}
.image{
  width: 100% !important;
  height: 100% !important;
}

/* RTL for mobile */
@media (max-width: 992px) {
  .nav-bar.rtl-nav {
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-bar.rtl-nav a {
    text-align: right;
    direction: rtl;
  }
}


/* RTL layout for footer in Arabic */
.rtl-footer {
  direction: rtl;
  text-align: right;
}

.rtl-footer .footer-input {
  flex-direction: row-reverse;
}

.rtl-footer .footer-input input {
  margin-left: 0.5rem;
  margin-right: 0;
}

.rtl-footer .footer-section-bottom {
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .rtl-footer .footer-section-bottom {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .rtl-footer .footer-bottom-menu {
    flex-direction: row-reverse;
  }
}

/* Position arrow on the left */
.rtl-footer .accordion-button::after {
  position: absolute;
  left: 1rem;
  right: auto;
  transform: rotate(0deg);
}

.rtl-footer .accordion-button {
  position: relative;
  text-align: right;
  padding-left: 2.5rem;
  padding-right: 1.25rem;
}

/* Apply RTL alignment */
.rtl-block {
  direction: rtl;
  text-align: right;
}

.rtl-block h1,
.rtl-block p {
  text-align: right;
}

/* Arabic RTL layout for jobs */
.rtl-jobs {
  direction: rtl;
  text-align: right;
}

.rtl-jobs .apply-now-main {
  text-align: left;
}

.flex-row-reverse > [class*="col-"] {
  text-align: right;
}

.why-us-aligned.lang-ar .why-us-one {
  text-align: right;
}

.why-us-aligned.lang-ar .why-us-one > .why-us-cards {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
}

.why-us-aligned.lang-ar .why-us-one > .why-us-cards > div:first-child {
  order: 2;
}

.why-us-aligned.lang-en .why-us-one {
  text-align: left;
}

.why-us-aligned.lang-en .why-us-one > .why-us-cards {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .logo-section-data {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .logo-section-data {
    grid-template-columns: 1fr;
  }
}