* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mada", sans-serif;
}

:root {
  /* Colors */
  --white-color: #fff;
  --dark-color: #252525;
  --primary-color: #252525;
  --secondary-color: #cc027a;
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;

  /* Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

html {
  scroll-behavior: smooth;
}

/* Styling for whole site */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  width: 100%;
}

.section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-width);
}

.section-title {
  font-family: "Noto Kufi Arabic", sans-serif;
  text-align: center;
  padding: 60px 0 100px;
  text-transform: uppercase;
  font-size: var(--font-size-xl);
}

.section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  display: block;
  margin: 10px auto 0;
  border-radius: var(--border-radius-s);
  background: var(--secondary-color);
}

/* Navbar styling */
header {
  position: fixed;
  width: 100%;
  z-index: 5;
  background: var(--primary-color);
}

header .navbar {
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
}

.navbar .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
  display: flex;
  gap: 10px;
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  font-size: var(--font-size-m);
  color: var(--white-color);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
  color: var(--white-color);
  background: var(--secondary-color);
}

.navbar :where(#menu-close-button, #menu-open-button) {
  display: none;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  background: var(--primary-color);
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: var(--white-color);
  justify-content: space-between;
}

.hero-section .hero-details .title {
  font-size: var(--font-size-xxl);
  color: var(--secondary-color);
  font-family: "Noto Kufi Arabic", sans-serif;
}

.hero-section .hero-details .subtitle {
  font-family: "Noto Kufi Arabic", sans-serif;

  margin-top: 8px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
  max-width: 70%;
  margin: 24px 0 40px;
  font-size: var(--font-size-l);
}

.hero-section .hero-details .button {
  display: flex;
  gap: 23px;
}

.hero-section .hero-details .buttonn {
  padding: 10px 26px;
  border: 2px solid transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

.hero-section .hero-details .button:hover {
  color: var(--white-color);
  border-color: var(--white-color);
  background: transparent;
}

/* National Day Button */
.hero-buttons {
  margin-top: 20px;
}

.national-day-button {
  display: inline-block;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  color: var(--white-color);
  padding: 15px 30px;
  border-radius: var(--border-radius-m);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-m);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  border: 2px solid transparent;
  animation: pulse-glow 2s infinite;
}

.national-day-button:hover {
  background: transparent;
  color: #ef4444;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-glow {
  0% { 
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  }
  50% { 
    box-shadow: 0 4px 25px rgba(239, 68, 68, 0.5);
  }
  100% { 
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  }
}

.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
}

/* Clients */

.clients-section .client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 110px;
  align-items: center;
  justify-content: space-between;
}

.clients-section .client-list .client-item {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% / 4 - 110px);
}

.clients-section .client-list .client-item .client-image {
  max-width: 83%;
  aspect-ratio: 1;
  margin-bottom: 15px;
  object-fit: contain;
}

/* Service  */

.menu-section,
.clients-section {
  color: var(--dark-color);
  background: var(--white-color);
  padding: 50px 0 100px;
}

.menu-section .menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.menu-section .menu-list .menu-item {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% / 3 - 40px);
}

.menu-section .menu-list .menu-item .menu-image {
  max-width: 83%;
  aspect-ratio: 1;
  /* margin-bottom: 15px; */
  padding-top: 20px;
  object-fit: contain;
}

.menu-section .menu-list .menu-item .name {
  margin: 12px 0;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
}

.menu-section .menu-list .menu-item .text {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: var(--font-size-m);
}

/* Testimonials  */

.testimonials-section {
  padding: 50px 0 100px;
  background: var(--light-pink-color);
}
.testimonials-section .slider-wrapper {
  overflow: hidden;
  margin: 0 60px 50px;
}

.testimonials-section .testimonial {
  user-select: none;
  display: flex;
  padding: 35px;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.testimonials-section .testimonial .user-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 50px;
  border-radius: var(--border-radius-circle);
}

.testimonials-section .testimonial .name {
  margin-bottom: 16px;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: var(--font-size-l);
}

.testimonials-section .testimonial .feedback {
  line-height: 25px;
  font-size: var(--border-radius-m);
  font-family: "Noto Kufi Arabic", sans-serif;
}

.testimonials-section .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  opacity: 1;
  background: var(--secondary-color);
}

.testimonials-section .swiper-slide-button {
  margin-top: -50px;
  color: var(--secondary-color);
  transition: 0.3s ease;
}

.testimonials-section .swiper-slide-button:hover {
  color: var(--primary-color);
}

/* Gallery */

.gallery-section {
  padding: 50px 0 100px;
}

.gallery-section .gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.gallery-section .gallery-list .gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius-s);
  width: calc(100% / 4 - 32px);
}

.gallery-section .gallery-item .gallery-image {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  transition: 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-image {
  transform: scale(1.3);
}

.gallery-section .section-content .buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 20px;
}

.gallery-section .section-content .buttons .active {
  color: var(--dark-color);
  border-color: var(--secondary-color);
  background: transparent;
}

.gallery-section .section-content .hide {
  display: none;
}

.gallery-section .section-content .button {
  font-family: "Noto Kufi Arabic", sans-serif;
  padding: 15px 30px;
  border: 2px solid transparent;
  color: var(--white-color);
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

.gallery-section .section-content .button:hover {
  color: var(--dark-color);
  border-color: var(--secondary-color);
  background: transparent;
}

.gallery-section .section-content .boxes {
  display: flex;
}

/* contact Info */

.contact-section {
  display: flex;
  gap: 32px;
  padding: 50px 0 100px;
  justify-content: center;
}

.contact-info {
  display: flex;
  width: 100%;
  /* max-width: 1200px; */
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.box {
  background: #2f3542;
  padding: 0 20px;
  margin: 0 10px;
  width: calc(100% / 4 - 32px);
  max-width: 400px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.box-icon {
  font-size: 28px;
  background: var(--secondary-color);
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px !important;
  border-radius: 50%;
  transition: 0.3s linear;
}

.box:hover .box-icon {
  background: none;
  color: var(--secondary-color);
  transform: scale(1.6);
}

.box p {
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  max-height: 0;
  opacity: 0;
  transition: 0.3s linear;
}

.box p {
  max-height: none;
  opacity: 1;
  transition: none; /* Disable transition for better performance on small devices */
}

.box:hover p {
  max-height: none;
  opacity: 1;
}

.box-icon {
  transform: none; /* Prevent scaling effect on small devices */
}

.box:hover .box-icon {
  transform: none;
}

/* ...existing code... */

/* About Us section */
.about-section {
  padding: 70px 20px;
  background-color: var(--light-pink-color);
  text-align: center;
}

.about-section .section-title {
  font-size: 2.5em;
  /* margin-bottom: 20px; */
  color: #333;
}

.about-section .section-content {
  /* max-width: 800px; */
  margin: 0 auto;
}

.about-section .description {
  font-family: "Noto Kufi Arabic", sans-serif;
  font-size: 1.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

/* ...existing code... */

/* Footer */

.footer-section {
  padding: 20px 0;
  background: var(--dark-color);
}

.footer-section .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-l);
}

.footer-section :where(.copyright-text, .phone) {
  color: var(--white-color);
}

.footer-section .phone .icon {
  padding-right: 10px;
}

/* Whatsapp icon */

#whatsapp .wtsapp {
  position: fixed;
  transform: all 0.5s ease;
  background-color: #25d366;
  display: block;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  border-right: none;
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  bottom: 70px;
  left: 20px;
  border: 0;
  z-index: 9999;
  width: 50px;
  height: 50px;
  line-height: 50px;
}

#whatsapp .wtsapp:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  -webkit-animation: pulse-border 1500ms ease-out infinite;
  animation: pulse-border 1500ms ease-out infinite;
}

#whatsapp .wtsapp:focus {
  border: none;
  outline: none;
}

@media screen and (max-width: 1024px) {
  .menu-section .menu-list,
  .clients-section .client-list {
    gap: 60px;
  }
  .menu-section .menu-list .menu-item,
  .clients-section .client-list .client-item {
    width: calc(100% / 3 - 60px);
  }

  .contact-info {
    /* flex-direction: column; */
    gap: 15px;
  }
  .box {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
  }
  .box p {
    max-height: none;
    opacity: 1;
    transition: none; /* Disable transition for better performance on small devices */
  }

  .box:hover p {
    max-height: none;
    opacity: 1;
  }

  .box-icon {
    transform: none; /* Prevent scaling effect on small devices */
  }

  .box:hover .box-icon {
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  body.show-mobile-menu header::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
  }

  .navbar :where(#menu-close-button, #menu-open-button) {
    display: block;
    font-size: var(--font-size-l);
  }

  .navbar #menu-close-button {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar #menu-open-button {
    color: var(--white-color);
  }

  .navbar .nav-menu {
    display: block;
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background: var(--white-color);
    transition: left 0.2s ease;
  }

  body.show-mobile-menu .navbar .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    color: var(--dark-color);
    display: block;
    margin-top: 17px;
    font-size: var(--font-size-l);
  }

  .hero-section .section-content {
    gap: 50px;
    text-align: center;
    padding: 30px 20px 20px;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .hero-section .hero-details :is(.subtitle, .description) {
    max-width: 100%;
  }

  .hero-section .hero-details .buttons {
    justify-content: center;
  }
  
  .hero-buttons {
    text-align: center;
  }
  
  .national-day-button {
    font-size: var(--font-size-s);
    padding: 12px 20px;
  }
  .hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
  }

  .menu-section .menu-list,
  .clients-section .client-list {
    gap: 30px;
  }
  .menu-section .menu-list .menu-item,
  .clients-section .client-list .client-item {
    width: calc(100% / 2 - 30px);
  }

  .clients-section .client-list .client-item {
    width: calc(100% / 4 - 30px);
  }

  .menu-section .menu-list .menu-item .menu-image,
  .clients-section .client-list .client-item .client-image {
    max-width: 200px;
  }

  .gallery-section .gallery-list {
    gap: 30px;
  }

  .gallery-section .gallery-list .gallery-item {
    width: calc(100% / 3 - 30px);
  }

  .gallery-section .section-content .buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 10px;
  }

  .gallery-section .section-content .button {
    font-size: var(--font-size-m);
  }
  .contact-info {
    gap: 15px;
  }
  .box p {
    max-height: none;
    opacity: 1;
    transition: none; /* Disable transition for better performance on small devices */
  }

  .box:hover p {
    max-height: none;
    opacity: 1;
  }

  .box-icon {
    transform: none; /* Prevent scaling effect on small devices */
  }

  .box:hover .box-icon {
    transform: none;
  }
}

@media screen and (max-width: 640px) {
  .menu-section .menu-list,
  .clients-section .client-list {
    gap: 60px;
  }
  .menu-section .menu-list .menu-item,
  .clients-section .client-list .client-item,
  .gallery-section .gallery-list .gallery-item {
    width: calc(100% / 2 - 30px);
  }

  .testimonials-section .slider-wrapper {
    margin: 0 0 30px;
  }
  .testimonials-section .swiper-slide-button {
    display: none;
  }

  .footer-section .section-content {
    flex-direction: column;
    gap: 20px;
  }

  .gallery-section .section-content .buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 10px;
  }

  .gallery-section .section-content .button {
    font-size: var(--font-size-m);
  }

  .contact-info {
    flex-direction: column;
  }
  .box p {
    max-height: none;
    opacity: 1;
    transition: none; /* Disable transition for better performance on small devices */
  }

  .box:hover p {
    max-height: none;
    opacity: 1;
  }

  .box-icon {
    transform: none; /* Prevent scaling effect on small devices */
  }

  .box:hover .box-icon {
    transform: none;
  }
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

.gallery-section .gallery-item {
  position: relative; /* Needed for absolute positioning of card-keywords */
}

.gallery-section .gallery-item .card-keywords {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
  color: var(--white-color);
  padding: 10px;
  font-size: var(--font-size-s);
  text-align: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease;
  border-bottom-left-radius: var(--border-radius-s);
  border-bottom-right-radius: var(--border-radius-s);
  box-sizing: border-box; /* Include padding in width */
}

.gallery-section .gallery-item:hover .card-keywords {
  opacity: 1; /* Show on hover */
}


#whatsapp #toggle2 {
  bottom: 130px;
  background-color: #007bff;
}

#whatsapp #toggle2:before {
  background-color: #007bff;
}