/* Arabic Fonts */
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,500,300,700);

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Droid Arabic Naskh', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

@keyframes l1 {
  to {
    transform: rotate(.5turn)
  }
}

/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
  display: none;
}

.loader-hidden {
  display: none;
}

.loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
  border-width: 6px 4px 6px 4px;
  border-style: solid dotted solid dotted;
  border-color: #ff9900 rgba(255, 255, 255, 0.3) #333 rgba(151, 107, 93, 0.3);
  border-radius: 50%;
  box-sizing: border-box;
  animation: 1s rotate linear infinite;
}

.loader:before,
.loader:after {
  content: '';
  top: 0;
  left: 0;
  position: absolute;
  border: 10px solid transparent;
  border-bottom-color: #333;
  transform: translate(-10px, 19px) rotate(-35deg);
}

.loader:after {
  border-color: #ff9900 #0000 #0000 #0000;
  transform: translate(32px, 3px) rotate(-35deg);
}

@keyframes rotate {
  100% {
    transform: rotate(360deg)
  }
}

/* -- Navbar -- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  transition: ease-in-out 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Add bottom box shadow */
}

.navbar .right {
  display: flex;
  align-items: center;
  flex: 1;
  margin-right: 5%;
}

.left-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Space between language button and start now button */
  margin-left: 8%;
}

.navbar img {
  width: 100px;
}

.navbar .btn {
  background-color: transparent;
  border: 2px solid #ff9900;
  color: #000;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.navbar .btn:hover {
  background-color: #ff9900;
  color: white;
}

/* language toggle */
.language-toggle {
  background-color: #ffffff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: inherit;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.language-icon {
  width: 25px;
  height: 22px;
}

.mobile-language {
  display: none;
}

.menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 0 30px;
}

.menu li a {
  text-decoration: none;
  color: inherit;
  font-size: 20px;
  font-weight: bold;
  transition: ease-in 0.2s;
  position: relative;
  /* Add this line to position the border-bottom */
}

.menu li a.active::after {
  content: "";
  position: absolute;
  bottom: -41px;
  /* Adjust the distance from the navbar bottom */
  left: 0;
  width: 100%;
  height: 10px;
  /* Adjust the thickness of the line */
  background-color: #000;
  /* Set the color of the line */
}

.menu a:hover {
  color: #ff9900;
}

.menu a:hover::after {
  content: "";
  position: absolute;
  bottom: -41px;
  /* Adjust the distance from the navbar bottom */
  left: 0;
  width: 100%;
  height: 10px;
  /* Adjust the thickness of the line */
  background-color: #ff99009a;
  /* Set the color of the line */
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #000;
  margin: 4px 0;
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  transition: ease-in 0.2s;
  direction: inherit;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: -50px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
  padding: 0;
  width: 200px;
}

.dropdown-menu li {
  list-style: none;
  text-align: center;
}

.dropdown-menu li a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: normal;
  display: block;
  padding: 10px 0;
  width: 100%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  color: #ff9900;
}

.dropdown-menu li:hover {
  background-color: #f5f5f5;
}

.dropdown-menu a:hover::after,
.dropdown a:hover::after {
  display: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.mobile-only {
  display: none;
  /* Hide individual items */
}

@media (max-width: 768px) {
  .dropdown {
    display: none;
    /* Hide the dropdown menu */
  }

  .mobile-only {
    display: block;
    /* Show individual items */
  }

  .left-buttons {
    gap: 20px;
    /* Reduced space between elements */
    margin-left: 5%;
    /* Adjust for mobile */
  }

  .language-toggle {
    display: none;
  }

  .mobile-language {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Style for the button on mobile */
  .language-toggle-mobile {
    border: 0;
    padding: 0;
    background: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
  }

  /* Style for the image inside the button */
  .language-icon-mobile {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .logo {
    padding-top: 5%;
  }

  .navbar img {
    width: 90px;
  }

  .menu {
    color: #fff;
    max-height: 0;
    /* Initially hidden */
    overflow: hidden;
    /* Prevent content overflow */
    background-color: #333;
    position: absolute;
    top: 121px;
    left: 0;
    width: 100%;
    flex-direction: column;
    transition: max-height 0.5s ease-in-out;
    /* Smooth animation */
    z-index: 999;
    text-align: center;
  }

  .menu a:hover {
    color: #ddd;
  }

  .menu a:hover::after {
    display: none;
  }

  .menu-icon {
    display: block;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    /* Adjust based on your icon size */
    transition: transform 0.3s ease;
    /* Smooth transition for transform */
  }

  .bar {
    background-color: #000;
    height: 4px;
    width: 30px;
    border-radius: 5px;
    transition: transform 0.3s ease;
    /* Smooth transition for transform */
  }

  /* When menu is active, transform bars to an 'X' shape in arabic language */
  .menu-icon.active .bar:nth-child(1).ar {
    transform: rotate(-45deg) translateY(11px);
    /* Top bar rotates and moves down */
  }

  .menu-icon.active .bar:nth-child(2).ar {
    opacity: 0;
    /* Hide the middle bar */
  }

  .menu-icon.active .bar:nth-child(3).ar {
    transform: rotate(45deg) translateY(-11px);
    /* Bottom bar rotates and moves up */
  }

  /* When menu is active, transform bars to an 'X' shape */
  .menu-icon.active .bar:nth-child(1).en {
    transform: rotate(45deg) translateY(11px);
    /* Top bar rotates and moves down */
  }

  .menu-icon.active .bar:nth-child(2).en {
    opacity: 0;
    /* Hide the middle bar */
  }

  .menu-icon.active .bar:nth-child(3).en {
    transform: rotate(-45deg) translateY(-11px);
    /* Bottom bar rotates and moves up */
  }

  /* When menu is not active, bars revert to the hamburger shape */
  .menu-icon .bar {
    transform: rotate(0) translateY(0);
    /* Revert any transformations */
    opacity: 1;
    /* Make sure the middle bar is visible */
  }

  .menu.active {
    max-height: 600px;
    /* Set to a height that accommodates all menu items */
    z-index: 999;
    text-align: center;
  }

  .menu.active li,
  .menu li {
    padding: 20px;
  }

  .menu li a {
    font-size: 16px;
  }

  .menu li a.active::after {
    content: "";
    display: none;
    position: absolute;
    bottom: -52px;
    /* Adjust the distance from the navbar bottom */
    left: 0;
    width: 100%;
    height: 10px;
    /* Adjust the thickness of the line */
    background-color: #000;
    /* Set the color of the line */
  }

  .navbar .btn {
    background-color: transparent;
    border: 2px solid #ff9900;
    color: #000;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }
}

/* -- Hero -- */

.hero {
  padding: 50px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background-size: cover;
}

.hero img {
  max-width: 500px;
}

.hero .text {
  max-width: 600px;
}

.hero h1 {
  font-size: 33px;
}

.hero p {
  font-size: 20px;
  color: #333;
}

.hero .btn {
  background-color: transparent;
  border: 1px solid #ff9900;
  color: #92999f;
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.8);
  }

  100% {
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
  }
}

.hero .btn:hover {
  background: #ff9900;
  color: #fff;
}

@media (max-width: 768px) {
  .hero img {
    width: 100%;
    margin-top: 20px;
  }

  .hero .text {
    padding: 10px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .btn {
    font-size: 14px;
  }
}

/* -- About -- */

.about {
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #1b262c;
  color: #f0f0f0;
}

.about .content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.about .text {
  max-width: 800px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 52px;
  font-weight: bold;
  color: #ff9900;
}

.stat-label {
  font-size: 20px;
  font-weight: bold;
}

.about h2 {
  position: relative;
  display: inline-block;
  font-size: 30px;
}

.about p {
  font-size: 18px;
  color: #f0f0f0;
}

.about .btn {
  background-color: transparent;
  border: 1px solid #ff9900;
  color: #f0f0f0;
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.about .btn:hover {
  background: #ff9900;
  color: #fff;
}

.about .image {
  display: flex;
  flex-direction: column;
}

.about img {
  width: 500px;
  margin-right: 20px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .about img {
    width: 100%;
    margin: 0;
  }

  .about h2 {
    font-size: 28px;
  }

  .about p {
    font-size: 16px;
  }

  .stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #ff9900;
  }

  .stat-label {
    font-size: 14px;
    font-weight: bold;
  }

  .about .btn {
    font-size: 14px;
  }
}

/* --- Services --- */

.services-section {
  text-align: center;
  padding: 50px 15px;
}

.services-section .btn {
  background-color: transparent;
  border: 1px solid #ff9900;
  color: #92999f;
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin-bottom: 10px;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.8);
  }

  100% {
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
  }
}

.services-section .btn:hover {
  background: #ff9900;
  color: #fff;
}

.services-header h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 20px;
  color: #000;
  margin-bottom: 30px;
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  padding: 10px;
  width: 350px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
}

.service-card p {
  font-size: 16px;
  color: #666;
  padding: 0 15px 15px;
}

@media (max-width: 768px) {
  .service-card {
    width: 100%;
  }
}

/* --- Product Options --- */

.product-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 50px 15px;
}

.product-options-text {
  flex-basis: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-options-text h5 {
  font-size: 22px;
  margin-bottom: 10px;
  margin-top: 0;
}

.product-options-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.product-options-header {
  flex-basis: 50%;
}

.product-options-header h4 {
  font-size: 24px;
  margin: 0;
}

.product-options-header h2 {
  font-size: 32px;
  margin: 0;
}

.product-options img {
  width: 500px;
}

.product-options .btn {
  background-color: transparent;
  border: 1px solid #ff9900;
  color: #f0f0f0;
  padding: 5px 25px;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.product-options .btn:hover {
  background: #ff9900;
  color: #fff;
}

@media (max-width: 768px) {
  .product-options {
    flex-direction: column-reverse;
    text-align: center;
  }

  .product-options-text {
    flex-basis: auto;
    align-items: center;
    margin-bottom: 30px;
  }

  .product-options-header {
    flex-basis: auto;
    text-align: center;
  }

  .product-options-text h5 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .product-options-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
  }

  .product-options-header h4 {
    font-size: 22px;
  }

  .product-options-header h2 {
    font-size: 28px;
  }

  .product-options img {
    width: 100%;
  }
}

/* --- Success Stories --- */

.success-stories-section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.success-story-image {
  flex-basis: 40%;
}

.success-story-image h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.success-story-image img {
  margin: 10px;
  max-width: 500px;
  height: auto;
  border-radius: 3%;
  box-shadow: 10px -10px 10px 0px rgb(0 0 0 / 17%)
}

.success-story-details {
  flex-basis: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.detail-item {
  flex-basis: 45%;
}

.detail-item h5 {
  font-size: 24px;
  margin-bottom: 10px;
}

.detail-item p {
  font-size: 16px;
  color: #666;
}

.success-story-summary {
  flex-basis: 100%;
  margin-top: 30px;
}

.success-story-summary h5 {
  font-size: 22px;
  margin-bottom: 10px;
}

.success-story-summary p {
  font-size: 16px;
  color: #666;
}

@media (max-width: 768px) {
  .success-stories-section {
    flex-direction: column;
  }

  .success-story-image {
    flex-basis: auto;
    margin-bottom: 30px;
  }

  .success-story-image img {
    width: 100%;
    margin: 0;
  }

  .success-story-details {
    flex-basis: auto;
  }

  .detail-row {
    flex-direction: column;
  }

  .detail-item {
    flex-basis: auto;
    margin-bottom: 20px;
  }
}

/* --- Contact --- */
.contact {
  background: #fff;
  padding: 50px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.contact img {
  width: 200px;
}

.contact a {
  border-bottom: 2px solid #1474bb;
  transition: ease-in-out 0.1s;
  margin: 5px;
}

.contact a:hover {
  padding-bottom: 5px;
}

.contact .socials img {
  width: 32px;
}

.contact i {
  color: #1474bb;
  font-size: 32px;
  margin: 20px;
}

.contact i:hover {
  color: #1474bbcc;
}

.contact img {
  margin: 0 20px
}

.contact p {
  font-size: 20px;
}

.contact-info ul {
  list-style: none;
}

.contact-info ul li {
  margin-bottom: 10px;
}

.contact-info ul li i {
  margin-right: 5px;
}

.contact-form {
  width: 700px;
  border-radius: 5px;
  text-align: right;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  padding: 5px 0;
  width: 100%;
  cursor: pointer;
  border: none;
  background: #1474bb;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  transition: ease-in-out 0.3s;
  font-family: 'Droid Arabic Kufi', serif;
}

.contact-form button:hover {
  background: #1474bbcc;
}

@media (max-width: 800px) {
  .contact-form {
    width: 90%;
  }

  .contact-form input[type="text"],
  .contact-form textarea {
    padding: 5px 0;
  }

  .contact i {
    font-size: 22px;
  }

  .contact-form label {
    font-size: 14px;
  }
}

/* -- Footer -- */

.site-footer {
  padding: 50px 0;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #dddd;
}

.footer-branding {
  max-width: 500px;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 10px;
}

.footer-branding p {
  font-size: 16px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: inherit;
}

.footer-links ul li a:hover {
  color: #ccc;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact a {
  font-size: 16px;
  color: inherit;
  text-decoration: none;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .footer-branding {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-logo {
    max-width: 200px;
  }

  .footer-branding p {
    font-size: 14px;
    /* Adjust font size for mobile */
  }

  .footer-links {
    display: none;
    /* Hide the footer links on mobile */
  }

  .footer-contact {
    align-items: center;
  }

  .footer-contact a {
    font-size: 14px;
    /* Adjust font size for mobile */
    margin-bottom: 8px;
    /* Reduced margin for mobile */
  }

  .copyright-section {
    text-align: center;
    margin-top: 20px;
  }

  .copyright-section p {
    font-size: 14px;
  }
}

.copyright-section {
  background-color: #444;
  color: #eee;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.copyright-section p {
  margin: 0;
}

/* -- Social media --*/

/* Styles for the WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  /* Default position for Arabic (RTL) */
  width: 60px;
  height: 60px;
  background-color: #4dc247;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgb(4, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

/* WhatsApp Icon Styling */
.whatsapp-button img {
  width: 30px;
  height: 30px;
}

/* Hover Animation */
.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Animation for opening and closing */
@keyframes slideOpen {
  from {
    transform: translateX(0);
    opacity: 0;
  }

  to {
    transform: translateX(70px);
    /* Distance buttons slide out */
    opacity: 1;
  }
}

@keyframes slideClose {
  from {
    transform: translateX(70px);
    /* Starting point when closing */
    opacity: 1;
  }

  to {
    transform: translateX(0);
    opacity: 0;
  }
}

/* Styles for additional buttons container */
.floating-buttons-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* Position adjustment for English (LTR) */
.floating-buttons-container.ltr {
  left: unset;
  /* Unset left positioning */
  right: 30px;
  /* Move to the right for English */
}

/* Animation for sliding buttons */
@keyframes slideOpenLeft {
  from {
    transform: translateX(0);
    /* Start at the same position as WhatsApp button */
    opacity: 0;
  }

  to {
    transform: translateX(-70px);
    /* Slide left */
    opacity: 1;
  }
}

@keyframes slideCloseLeft {
  from {
    transform: translateX(-70px);
    /* Start at the expanded position */
    opacity: 1;
  }

  to {
    transform: translateX(0);
    /* Slide back to WhatsApp button */
    opacity: 0;
  }
}

@keyframes slideOpenRight {
  from {
    transform: translateX(0);
    /* Start at the same position as WhatsApp button */
    opacity: 0;
  }

  to {
    transform: translateX(70px);
    /* Slide right */
    opacity: 1;
  }
}

@keyframes slideCloseRight {
  from {
    transform: translateX(70px);
    /* Start at the expanded position */
    opacity: 1;
  }

  to {
    transform: translateX(0);
    /* Slide back to WhatsApp button */
    opacity: 0;
  }
}

/* Initially hide the additional buttons */
#additional-buttons {
  display: none;
  gap: 15px;
  position: absolute;
  bottom: 0;
  transition: all 0.3s ease-in-out;
}

/* When additional buttons are visible, show them */
#additional-buttons.visible {
  display: flex;
  animation: none;
  /* Ensure no animation runs automatically when showing */
}

/* Animation for sliding buttons (when the 'visible' class is added) */
#additional-buttons[data-slide-direction="left"].visible {
  animation: slideOpenLeft 0.3s forwards;
}

#additional-buttons[data-slide-direction="right"].visible {
  animation: slideOpenRight 0.3s forwards;
}

/* Hidden state when the additional buttons should slide back */
#additional-buttons[data-slide-direction="left"].hidden {
  animation: slideCloseLeft 0.3s forwards;
  display: none;
}

#additional-buttons[data-slide-direction="right"].hidden {
  animation: slideCloseRight 0.3s forwards;
  display: none;
}

/* Styles for all social buttons */
.social-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgb(4, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button img {
  width: 50px;
  height: 50px;
}

.social-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .floating-buttons-container {
    left: 15px;
    right: 15px;
    justify-content: space-between;
    /* Spread out buttons for better mobile alignment */
    width: auto;
    /* Ensure container width doesn't overflow */
    flex-direction: column;
    /* Stack the buttons vertically */
    gap: 10px;
    /* Adjust space between buttons */
  }

  /* Adjust the size of the WhatsApp button for mobile */
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button img {
    width: 25px;
    height: 25px;
  }

  /* Adjust the size and spacing of social media buttons */
  .social-button {
    width: 50px;
    height: 50px;
  }

  .social-button img {
    width: 40px;
    height: 40px;
  }

  /* Adjust visibility and slide-in/out animation for mobile */
  #additional-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 60px;
    /* Move the buttons above the WhatsApp button */
  }
}