@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --primary-color: #ffffff;
  --secondary-color: #101010;
  --accent-color: #0ca94b;
  --text-color: #101010;
  --light-shade: #e3f3e9;
  --light-gray: #f2f2f2;
  --footer-color: #181823;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Roboto Mono", monospace;
}
body {
  font-size: 16px;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
/* =============Containers Styles============ */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.section-container {
  padding: 32px 0;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 0;
  }
  .section-container {
    padding: 64px 0;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
@media screen and (min-width: 640px) and (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}
@media screen and (min-width: 768px) and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1280px) {
  .container {
    padding: 0 20px;
  }
}
@media screen and (min-width: 1536px) and (max-width: 1536px) {
  .container {
    padding: 0 20px;
  }
}
/* ===================Navbar Style===================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar {
  background-color: rgb(51, 51, 51);
  padding: 16px 0;
  width: 100%;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  z-index: 9999;
  background-color: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.5s ease;
}
.navbar .logo {
  width: 222px;
  height: auto;
  object-fit: cover;
}

.navbar-container {
  display: flex;
  gap: 6%;
  align-items: center;
  margin: auto;
}

.brand-title {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}
.navbar-links ul {
  list-style: none;
  display: flex;
}
.navbar-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: all 0.3s linear;
}

.navbar-links ul li {
  margin-left: 32px;
  position: relative;
}
.navbar-links ul li::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  border-radius: 0px 0px 4px 4px;
}

.navbar-links ul li:hover::before {
  transform: scaleX(1);
}

.navbar-links ul li:hover a {
  color: var(--accent-color);
}

.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 21px;
  width: 25px;
  cursor: pointer;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

.close-button {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  text-align: right;
  margin: 20px 20px;
}
.navbar-links ul li.selected a,
.navbar-links ul li:hover a {
  color: var(--accent-color);
}

@media (max-width: 1024px) {
  .navbar-container .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 16, 16, 0.5);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  .overlay.active {
    opacity: 1;
    z-index: 10;
    pointer-events: all;
    animation: fadeIn 0.5s ease forwards;
  }
  .overlay.inactive {
    opacity: 0;
    z-index: -1;
    animation: fadeOut 0.5s ease forwards;
    pointer-events: none;
  }

  .navbar-container {
    justify-content: space-between;
  }

  .toggle-button {
    display: flex;
  }
  .navbar-links {
    position: static;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background-color: #333;
    z-index: 20;
    transition: right 0.5s ease;
    display: flex;
    flex-direction: column;
  }
  .navbar-links.active {
    right: 0;
    animation: slideIn 0.5s ease forwards;
  }

  .navbar-links.inactive {
    right: -100%;
    animation: slideOut 0.5s ease forwards;
  }

  @keyframes slideIn {
    from {
      right: -100%;
    }
    to {
      right: 0;
    }
  }

  @keyframes slideOut {
    from {
      right: 0;
    }
    to {
      right: -100%;
    }
  }
  .navbar-links ul {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    margin-top: 50px;
  }

  .navbar-links li {
    text-align: right;
    margin: 10px 20px;
  }
  .close-button {
    display: block;
  }
  .close-button img {
    width: 24px;
    height: auto;
    object-fit: cover;
  }
  .navbar-links ul li::before {
    bottom: 0px;
    left: -32px;
    width: 3px;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    border-radius: 0px 0px 4px 4px;
  }
}
@media (max-width: 768px) {
  .navbar .logo {
    width: 200px;
    height: auto;
    object-fit: cover;
  }
  .navbar-links {
    width: 90%;
  }
}
/* ==========================Case Hero Container=========================== */

.case-hero-container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.case-hero-content {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 88px;
}
.case-hero-content p {
  color: #747474;
  padding-top: 32px;
  padding-bottom: 52px;
}
.case-hero-content a {
  outline: none;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  color: white;
  border-radius: 96px;
  transition: all 0.3s linear;
  background-color: var(--secondary-color);
  transition: all 0.3s linear;
}

.case-hero-content a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.7);
}
/* --- images-hero----- */
.images-hero-contaner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 100px;
  gap: 30px;
}
.images-hero-contaner .card1 {
  background-image: url("../assets/Case Studies/hero1.svg");
  background-position: center;
  background-size: cover;
}
.images-hero-contaner .card2 {
  background-image: url("../assets/Case Studies/hero2.svg");
  background-position: center;
  background-size: cover;
}
.images-hero-contaner div {
  background-color: var(--secondary-color);
  width: 100%;
  border-radius: 32px;
}
.images-hero-contaner div:nth-child(1) {
  height: 320px;
}
.images-hero-contaner div:nth-child(2) {
  height: 440px;
}

@media (min-width: 640px) {
  .images-hero-contaner div:nth-child(1) {
    height: 520px;
  }
  .images-hero-contaner div:nth-child(2) {
    height: 540px;
  }
}

@media (min-width: 768px) {
  .case-hero-content p {
    font-size: 18px;
  }
  .images-hero-contaner div:nth-child(1) {
    height: 520px;
  }
  .images-hero-contaner div:nth-child(2) {
    height: 540px;
  }
}
@media (min-width: 1024px) {
  .case-hero-content p {
    font-size: 20px;
  }
  .case-hero-content {
    max-width: 50%;
  }
  .images-hero-contaner div:nth-child(1) {
    width: 50%;
  }
  .images-hero-contaner div:nth-child(2) {
    width: 44%;
  }
  .case-hero-container {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .images-hero-contaner div:nth-child(1) {
    height: 420px;
  }
  .images-hero-contaner div:nth-child(2) {
    height: 540px;
  }
}

@media (min-width: 1280px) {
  .case-hero-content h1 {
    max-width: 80%;
  }
  .images-hero-contaner div:nth-child(1) {
    height: 520px;
  }
  .images-hero-contaner div:nth-child(2) {
    height: 640px;
  }
}

@media (min-width: 1536px) {
  .case-hero-content h1 {
    max-width: 65%;
  }
  .images-hero-contaner div:nth-child(1) {
    height: 620px;
  }
  .images-hero-contaner div:nth-child(2) {
    height: 740px;
  }
}
/* ======================================Cases Component========================== */
.cases-component-container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.filter-cases-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.filter-cases-tabs button {
  outline: none;
  padding: 10px 20px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  border-radius: 96px;
  transition: all 0.3s linear;
  cursor: pointer;
}
.filter-cases-tabs button:not(.selected-case):hover {
  color: #0ca94b;
  border-color: #0ca94b;
}
.filter-cases-tabs .selected-case {
  background-color: #0ca94b;
  border: none;
}
.case-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 32px;
  padding: 32px 0;
}
.case-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.card-categories {
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-category {
  text-transform: uppercase;
  color: #747474;
  background-color: #181823;
  border-radius: 32px;
  padding: 10px 20px;
}
.case-card p {
  color: white;
  font-size: 18px;
  margin: 20px 0;
}
.case-btn {
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 600;
  outline: none;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  cursor: pointer;
}
.case-btn img {
  transition: all 0.3s linear;
  width: 20px;
  height: 20px;
  object-fit: cover;
}
.case-btn:hover img {
  transform: translateX(14px);
}
.card-image-container {
  width: 100%;

  background-color: white;
  border-radius: 32px;
  margin-bottom: 20px;
}
.case-card:nth-child(2n + 1) .card-image-container {
  height: 350px;
}
.case-card:nth-child(2n) .card-image-container {
  height: 350px;
}
/* Case card initial styles */
.case-card {
  opacity: 0;              /* Initially hidden */
  transform: translateY(20px); /* Slide down effect */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

/* Case card visible state */
.case-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.case-card {
  opacity: 0;
  transform: translateY(20px); /* Slide effect */
}

/* Button styles */
.action-btn {
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.action-btn.show {
  opacity: 1;
  pointer-events: auto;
}

/* .cases-component-container .case-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cases-component-container .case-card.show {
  opacity: 1;
  transform: translateY(0);
}

.cases-component-container button {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cases-component-container button.show {
  opacity: 1;
} */
/* -------------modal--------------- */
#eventModal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  justify-content: center;
  overflow-y: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#modalContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 40px;
  background-color: #fefefe;
  width: 90%;
  height: fit-content;
  margin: 10% 0;
}

.close {
  align-self: flex-end;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: 4px;
  margin-right: 10px;
}
.case-img-1 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Lucki\ Robot\ Welcomes\ Visitors\ at\ Gitex\ Global\ 2023.webp");
  background-position: center;
  background-size: cover;
}
.case-img-2 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Mini\ Robot\ Enhances\ Basmat\ Khair\ 2023\ at\ UAQ\ University.webp");
  background-position: center;
  background-size: cover;
}
.case-img-3 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Mini\ &\ Lucki\ Robots\ Revolutionize\ Dining\ at\ Hotoven\ Restaurant.webp");
  background-position: center;
  background-size: cover;
}
.case-img-4 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Mini\ Robot\ Enhances\ Visitor\ Experience\ at\ Hajj\ Exhibition\ Nusak.webp");
  background-position: center;
  background-size: cover;
}
.case-img-5 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Mini\ Robot\ Engages\ Attendees\ at\ GCC\ Biodiversity\ Workshop\ in\ Oman.webp");
  background-position: center;
  background-size: cover;
}
.case-img-6 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Muscat\ International\ Book\ Fair\ 2024.webp");
  background-position: center;
  background-size: cover;
}
.case-img-7 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/AI\ in\ Healthcare.webp");
  background-position: center;
  background-size: cover;
}
.case-img-8 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Tamkeen.webp");
  background-position: center;
  background-size: cover;
}
.case-img-9 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Altkamul\ Altiqani\ Showcases.webp");
  background-position: center;
  background-size: cover;
}
.case-img-10 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Wubar\ Coffee.webp");
  background-position: center;
  background-size: cover;
}
.case-img-11 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/Altkamul\ Altiqani\ Unveils.webp");
  background-position: center;
  background-size: cover;
}
.case-img-12 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/B2BROKER.webp");
  background-position: center;
  background-size: cover;
}
.case-img-13 {
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/SSI\ &\ MBPS.webp");
  background-position: center;
  background-size: cover;
}
.case-img-14{
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/RAK.webp");
  background-position: center;
  background-size: cover;
}
.case-img-15{
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/MetaSoilVerse.webp");
  background-position: center;
  background-size: cover;
}
.case-img-16{
  background-image: url("../assets/Case Studies/Case Study Thumbnail Images/OQ.webp");
  background-position: center;
  background-size: cover;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 300px;
  border-radius: 32px;
}
.action-btn {
  border: none;
  outline: none;
  background-color: var(--accent-color);
  color: white;
  font-size: 18px;
  padding: 14px 20px;
  cursor: pointer;
  border-radius: 30px;
  margin: 20px auto;
}
#modalContent svg {
  width: 32px;
  height: 32px;
}
.modal-content {
  display: flex;
  flex-direction: column-reverse;

  flex-wrap: wrap;
  gap: 20px;
}
.item-modal {
  width: 100%;
}
#categoriesModal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-category {
  text-transform: uppercase;
  text-align: center;
  color: white;
  flex-wrap: wrap;
  width: fit-content;
  background-color: #181823;
  border-radius: 32px;
  padding: 10px 20px;
}
.info-modal p:last-child {
  font-size: 16px;
  padding-top: 20px;
  border-top: 1px dashed #adacac;
  color: var(--secondary-color);
}
.info-modal {
  background-color: #f9f9f9;
  height: auto;
  padding: 20px;
  margin-top: 20px;
  border-radius: 32px;
}
.item-info-event {
  color: var(--secondary-color);
  font-size: 18px;
  margin: 10px 0;
  font-weight: 600;
}
#modalEventRobots {
  color: #0ca94b;
  font-size: 28px;
  width: 100%;
  font-weight: 600;
}
.icon-location {
  width: 20px;
  height: 20px;
}
.locaion-flex {
  display: flex;
  gap: 10px;
}
@media (min-width: 640px) {
}

@media (min-width: 768px) {
  .case-card {
    width: 47.6%;
  }
  .case-card:nth-child(2n + 1) .card-image-container {
    height: 300px;
  }
  .case-card:nth-child(2n) .card-image-container {
    height: 350px;
  }
}
@media (min-width: 1024px) {
  iframe {
    height: 524px;
  }
  #modalContent {
    width: 90%;
    max-width: 1400px;
    padding: 20px;
    padding-bottom: 40px;
  }
  .modal-content {
    display: flex;
    flex-direction: row-reverse;
  }
  .cases-component-container {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .case-card {
    width: 31%;
  }
  .case-card p {
    color: white;
    font-size: 20px;
  }
  .case-btn {
    font-size: 24px;
  }
  .case-btn img {
    width: 28px;
    height: 28px;
  }
  .item-modal {
    width: 48%;
  }
  .case-cards-container {
    gap: 32px;
  }
}
@media (min-width: 1280px) {
  .case-card:nth-child(2n + 1) .card-image-container {
    height: 400px;
  }
  .case-card:nth-child(2n) .card-image-container {
    height: 450px;
  }
  #modalContent {
    max-width: 1440px;
    margin: 5% 0;
  }
}

@media (min-width: 1536px) {
  .case-card {
    width: 30%;
  }
  .case-card:nth-child(2n + 1) .card-image-container {
    height: 400px;
  }
  .case-card:nth-child(2n) .card-image-container {
    height: 500px;
  }
  .case-cards-container {
    gap: 62px;
  }
  iframe {
    width: 100%;
    height: 524px;
    border-radius: 32px;
  }
  #modalContent {
    max-width: 1440px;
    margin: 0;
  }
  .item-info-event {
    font-size: 20px;
  }
  #modalEventRobots {
    color: #0ca94b;
    font-size: 40px;
    width: 100%;
    font-weight: 600;
  }
  .icon-location {
    width: 24px;
    height: 24px;
    margin-top: 4px;

  }
  #eventModal {
    align-items: center;
  }
}
@media (min-width: 1536px) {
}
/*===========================Get in toush========================= */
.get-in-toush-container {
  min-height: 600px;
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-sales-img {
  margin: 0 auto;
}
.get-in-toush-content {
  display: flex;
  background-color: #e3f3e9;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  width: 100%;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
}
.get-in-toush-content h3 {
  font-size: 40px;
  margin-bottom: 20px;
}
.get-in-toush-content a {
  margin: 0 auto;
  margin-top: 30px;
  text-decoration: none;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}
.right-get-in-touch {
  text-align: center;
}
@media (min-width: 640px) {
}

@media (min-width: 768px) {
}
@media (min-width: 1024px) {
  .get-in-toush-content a {
    margin: 0;
    margin-top: 30px;
  }
  .get-in-toush-content {
    width: 70%;
    padding: 60px;
    gap: 0px;
  }
  .right-get-in-touch {
    width: 60%;
    text-align: left;
  }
}

@media (min-width: 1280px) {
}

@media (min-width: 1536px) {
  .get-in-toush-content {
    width: 60%;
  }
}

/*  =======================footer=============================*/
.footer-container {
  display: flex;
  padding-top: 60px;
  padding-bottom: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  font-size: 16px;
}
.footer-container p {
  color: #dfdfdf;
}
.pargraph-under-logo {
  margin: 32px 0;
}
.footer-item h4 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-item ul li a {
  margin-left: 0px;

  color: white;
  transition: all 0.3s ease-in;
}
.footer-item ul li {
  font-size: 16px;
  margin-top: 20px;
  transition: all 0.3s ease-in;
}
.footer-item ul li:hover a {
  color: var(--accent-color);
}
.footer-item ul li:hover {
  margin-left: 16px;
}
.footer-item .address-pargraph {
  max-width: 277px;
  line-height: 2.5;
}

.icon-social {
  width: 34px;
  height: 34px;
  object-fit: contain;
  fill: white;
  color: white;
  transition: all 0.3s linear;
}
.icon-social.linked-in {
  width: 30px;
  height: 30px;
}
.icon-social:hover {
  fill: #0ca94b;
}
.footer-icons-container a {
  transition: all 0.3s linear;
}
.footer-icons-container a:hover {
  margin-top: -10px;
}
.footer-icons-container {
  display: flex;

  /* align-items: center; */
  gap: 10px;
}
.bottom-bar-container {
  padding-top: 20px;
  font-size: 14px;
  padding-bottom: 20px;
  color: #747474;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.bottom-bar-container a:nth-child(1) {
  border-right: 1px solid #747474;
}
.bottom-bar-container a {
  color: #747474;
  padding: 0 10px;
  transition: all 0.2s linear;
}
.bottom-bar-container a:hover {
  color: var(--accent-color);
}
.list-footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) {
  .bottom-bar-container {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
  .footer-item {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .bottom-bar-container a {
    padding: 0 20px;
  }
}

@media (min-width: 1536px) {
}
