/*--------start of index styles--------*/
body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p,
a,
head,
header,
section,
option,
select,
div,
select,
text,
title,
.st-gray-bg2,
.st-hero-title,
.st-hero-subtitle,
.st-section-heading-title,
.st-pink,
.st-section-heading-title,
style {
  font-family: "Cairo", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.custom-select,
.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 135px;
  background-color: #ffffff;
}
img {
  max-height: 110%;
}

/* Hero Section Styles */
.hero {
  display: flex;
  min-height: calc(100vh - 120px);
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #ffffff;
  text-align: center;
}

.hero-left h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.hero-left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ffffff;
  max-width: 500px;
  line-height: 1.6;
}

.cta-button {
  padding: 1.5rem 3rem;
  font-size: 1.9rem;
  background-color: #f0f0f0;
  color: #cbaf8c;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #fff;
}
.hero-right {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* يمنع أي تمرير زائد للصورة */
  padding-bottom: 15px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* يجعل الصورة تظهر بالكامل دون قص */
  display: block; /* يزيل أي فراغات أسفل الصورة */
}

/* Mobile View Adjustments */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column; /* Stack sections vertically for smaller screens */
  }

  .hero-left {
    padding: 1rem; /* Reduce padding for mobile */
  }

  .hero-left h1 {
    font-size: 2rem; /* Adjust title font size for mobile */
  }

  .hero-left p {
    font-size: 1rem; /* Adjust paragraph font size for mobile */
    max-width: 100%; /* Allow the text to span the full width */
  }

  .cta-button {
    padding: 1rem 2rem; /* Adjust button padding for mobile */
    font-size: 1.5rem; /* Adjust button font size for mobile */
  }
}

/* Footer Styles */
footer {
  background-color: #ffffff;
  color: #f9f9f9;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 1rem;
}

/* Social Media Icons */
.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #f9f9f9;
  font-size: 1.5rem;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #4d4144;
}

.image-container87 {
  display: flex;
  gap: 10px; /* Space between images */
}

.image-container87 img {
  width: 100%; /* Ensure each image scales properly */
  max-width: calc(33.33% - 10px); /* Divide container into 3 equal parts */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure images fill their allocated space */
  border-radius: 5px; /* Optional: Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Shadow for a modern look */
  transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

/* Zoom effect on hover */
.image-container87 img:hover {
  transform: scale(1.1); /* Increase size by 10% */
}

.reviews-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Reviews Gallery */
.reviews-gallery {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 20px;
  justify-items: center;
}

/* Review Card */
.review-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile View Adjustments */
@media screen and (max-width: 480px) {
  .reviews-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px; /* Reduce gap between cards */
  }

  /* Force the first 3 cards into the first row */
  .review-card:nth-child(1),
  .review-card:nth-child(2),
  .review-card:nth-child(3) {
    grid-column: span 1; /* Each card takes 1 column */
  }

  /* Force the next 2 cards into the second row */
  .review-card:nth-child(4),
  .review-card:nth-child(5) {
    grid-column: span 1; /* Each card takes 1 column */
  }

  /* Adjust card sizes for mobile */
  .review-card {
    padding: 15px; /* Reduce padding for smaller screens */
  }
}

/* General Section Styles */
.services-section {
  padding: 60px 0;
  background-color: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #cbaf8c;
  text-transform: uppercase;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(280px, 1fr)
  ); /* Responsive grid */
  gap: 30px;
  justify-items: center;
}

/* Service Card */
.service-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
  overflow: hidden;
  max-width: 350px;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background-color: #cbaf8c; /* Change background color to #a1858a on hover */
  color: white; /* Change text color to white on hover */
}

.service-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}

/* Service Title */
.service-title {
  font-size: 1.5rem;
  color: #cbaf8c;
  margin-bottom: 15px;
  font-weight: 500;
  text-transform: capitalize;
  transition: color 0.3s ease; /* Added color transition */
}

.service-card:hover .service-title {
  color: white; /* Change title color to white on hover */
}

/* Service Description */
.service-description {
  font-size: 1rem;
  color: #cbaf8c;
  line-height: 1.5;
  transition: color 0.3s ease; /* Added color transition */
}

.service-card:hover .service-description {
  color: white; /* Change description color to white on hover */
}

/* Mobile View Adjustments */
@media screen and (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px; /* Reduce gap between cards */
  }

  /* Force the first 3 cards into the first row */
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    grid-column: span 1; /* Each card takes 1 column */
  }

  /* Force the next 2 cards into the second row */
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1; /* Each card takes 1 column */
  }

  /* Adjust card sizes for mobile */
  .service-card {
    padding: 2px; /* Reduce padding for smaller screens */
  }

  .service-title {
    font-size: 1.2rem; /* Smaller font size for mobile */
  }

  .service-description {
    font-size: 0.9rem; /* Smaller font size for mobile */
  }
}

/* General Section Styles */
.custom-split-section {
  display: flex;
  height: 100vh; /* Full height of the viewport */
  align-items: center; /* Vertically center the content */
  justify-content: center;
  background-color: #f7f7f7;
}

.custom-container {
  width: 100%;
  max-width: 1200px; /* Limit the width for larger screens */
  padding: 0 20px;
}

.custom-split-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.custom-left-part {
  flex: 1;
  position: relative;
}

.custom-image-cover {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.custom-right-part {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.custom-heading {
  font-size: 3rem;
  color: #cbaf8c;
  margin-bottom: 5px;
  font-weight: 700;
  padding-top: 10px;
}

.custom-paragraph {
  font-size: 1.25rem;
  color: #cbaf8c;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-split-content {
    flex-direction: column;
    height: auto;
  }

  .custom-left-part,
  .custom-right-part {
    flex: none;
    height: 350px; /* Adjust height on smaller screens */
  }

  .custom-heading {
    font-size: 2rem;
  }

  .custom-paragraph {
    font-size: 1rem;
  }
}

/* Sticky WhatsApp Button */
.whatsapp-btn {
  position: fixed; /* Make the button sticky */
  bottom: 20px; /* 20px from the bottom */
  right: 20px; /* 20px from the right */
  background-color: #25d366; /* WhatsApp color */
  padding: 15px;
  border-radius: 50%; /* Circle button */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  z-index: 9999; /* Ensure the button stays on top */
}

.whatsapp-btn:hover {
  background-color: #128c7e; /* Darker shade on hover */
}

.whatsapp-btn i {
  font-size: 2rem; /* WhatsApp icon size */
  color: #fff; /* White icon */
}

/* Optional: Adjust on mobile */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
  }
}

* {
  font-family: "Cairo", sans-serif;
  /* Fallback font is sans-serif in case Mercellus doesn't load */
}

/* Main Form Container */
.appointment-form {
  background-color: #ffffff;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
  height: 100%;
  max-height: fit-content;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

/* All Form Inputs */
.form-control {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #cbaf8c;
  border-radius: 5px;
  font-size: 16px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

/* Submit Button */
#submit {
  width: 60%;
  padding: 12px 20px;
  background-color: #c11761;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: block;
  margin: 20px auto 0;
}

#submit:hover {
  background-color: #cbaf8c;
  transform: translateY(-2px);
}

/* Additional Service Dropdown Container */
#additional-service {
  width: 100%;
  padding: 10px 15px;
  background-color: #ffffff;
  color: #cbaf8c;
  border: 1px solid #ffffff;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: block;
  margin-bottom: 15px;
  box-sizing: border-box;
}

/* Dropdown Select Element */
#additional-service select {
  width: 100%;
  padding: 8px 0;
  background-color: transparent;
  color: #cbaf8c;
  border: none;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}

/* Dropdown Options */
#additional-service select option {
  color: #cbaf8c;
  background-color: #ffffff;
  padding: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .appointment-form {
    padding: 30px;
    margin-top: 0;
  }

  #submit {
    width: 80%;
  }

  #additional-service {
    width: 100%;
    padding: 10px;
  }
}
/* Machines Section */
.machines-section {
  padding: 50px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

.machines-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #063d1d;
}

.machines-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns by default */
  gap: 20px; /* Space between cards */
  justify-items: right; /* Center items */
}

.machine-card {
  background-color: #cbaf8c;
  color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.machine-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.machine-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.machine-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f9f9f9;
}

/* Slider controls styling */
.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.slider-btn {
  background-color: #cbaf8c;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: #cbaf8c;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #cbaf8c;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .machines-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .machines-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .machines-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .machines-container {
    grid-template-columns: 1fr;
  }
}

/*--------end of index styles--------*/

/*--------start of whatsApp styles--------*/

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;700&display=swap");

body {
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p,
a,
head,
header,
section,
option,
select,
div,
select,
text,
title,
.st-gray-bg2,
.st-hero-title,
.st-hero-subtitle,
.st-section-heading-title,
.st-pink,
.st-section-heading-title,
style {
  font-family: "Cairo", sans-serif;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #cbaf8c;
  border-radius: 5px;
  font-size: 16px;
  background-color: #eeeeee;
  transition: all 0.3s ease-in-out;
}

.appointment-form {
  background-color: #f0f0f0;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-top: -50px;
  z-index: 10;
  position: relative;
}

#submit {
  width: 60%;
  padding: 10px 20px;
  background-color: #cbaf8c;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  display: block;
  margin: 0 auto;
}

#additional-service {
  width: 102.3%;
  padding: 10px 15px;
  background-color: #ffffff;
  color: #cbaf8c;
  border: 1px solid #ffffff;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: block;
  margin-bottom: 15px;
  box-sizing: border-box;
  text-align: center;
  direction: ltr;
}

#additional-service select {
  width: 100%;
  padding: 0px 0px;
  background-color: #ffffff;
  color: #cbaf8c;
  border: 1px solid #ffffff;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
  display: block;
  position: relative;
}

#additional-service select option {
  color: #cbaf8c;
  background-color: #ffffff;
  padding: 10px;
}

@media (max-width: 768px) {
  #additional-service {
    width: 109.8%;
    padding: 10px;
    font-size: 14px;
  }
}

.st-hero-wrap {
  background-color: #003f4f !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header,
nav,
.st-content {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/*--------end of whatsApp styles--------*/

/*--------start of thankyou styles--------*/

/* Improved Header */
.st-main-header {
  background-color: #ffffff !important; /*the little square around the logo in privacy policy*/
  height: 100px !important;
}

.st-main-header img {
  height: 90px;
  max-width: 100%;
}

/* Hero Section */
.st-hero {
  background-color: #cbaf8c !important;
  padding: 100px 0;
}

.st-hero-title {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.st-hero-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  color: #fff;
  text-align: center;
  opacity: 0.8;
  margin-top: 15px;
}

.st-content {
  padding: 50px 0;
}

/* Footer Section */
footer.st-site-footer {
  background-color: #000;
  color: white;
  padding: 20px 0;
}

footer .st-copyright-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

footer .st-copyright-text {
  font-size: 14px;
}

footer .st-right-copyright #st-backtotop {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

footer .st-right-copyright #st-backtotop:hover {
  transform: scale(1.2);
}

/* General Adjustments */
h1 {
  color: white;
}

/* Buttons and Links */
.st-btn {
  background-color: #484849;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.st-btn:hover {
  background-color: #333;
}

/* Ensure all text has proper line spacing */
body {
  line-height: 1.6;
  overflow-x: hidden;
}

/*--------end of thankyou styles--------*/

/*--------start of privacy-policy styles--------*/

h1 {
  color: white;
}

p {
  color: white;
}

.uly {
  color: white;
}
.text-blak {
  color: black;
}

.white-text {
  color: white;
}

.st-main-header {
  display: flex;
  justify-content: center; /* Centers the logo horizontally */
  align-items: center; /* Centers the logo vertically */
  height: 100px; /* Optional: to control the height of the header */
}

.st-main-header-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*--------end of privacy-policy styles--------*/

/*---------start of big whatsapp button--------*/

.whatsapp-container {
  text-align: center;
  margin-top: 20px;
}

.whatsapp-button {
  display: inline-block;
  background-color: #25d365c5;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}

/*---------end of big whatsapp button--------*/

/*---------start of call us button--------*/
.call-container {
  text-align: center;
  margin-top: 20px;
}

.call-button {
  display: inline-block;
  background-color: #006eff;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.call-button:hover {
  background-color: #05465a;
}

/*---------end of call us button--------*/
