* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 7px;
  left: 20px;
  z-index: 1100;
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
  background: white;
  color: #2c5530;
}

.ltr {
  direction: ltr;
}

/* Header */
header {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(44, 85, 48, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #f4a261;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  scale: 1.2;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f4a261;
}

.mobile-menu-btn {
  display: none
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(74, 124, 89, 0.8)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a7c59" width="1200" height="600"/><path fill="%23f4a261" opacity="0.1" d="M0,200 Q300,100 600,200 T1200,200 V600 H0 Z"/></svg>');
  background-image: url('./images/hero.jpg');
  background-size: cover;
  background-position: left;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="%23f4a261" opacity="0.3"/><circle cx="75" cy="75" r="2" fill="%23f4a261" opacity="0.3"/><circle cx="75" cy="25" r="1" fill="%23f4a261" opacity="0.2"/><circle cx="25" cy="75" r="1" fill="%23f4a261" opacity="0.2"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: slideInUp 1s ease-out 0.3s both;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 1s ease-out 0.6s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.9s both;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  color: white;
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(244, 162, 97, 0.6);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2c5530;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid #f4a261;
}

.btn-outline:hover {
  background: #f4a261;
  color: white;
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f4f1eb 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23000" opacity="0.02"/><circle cx="80" cy="40" r="1" fill="%23000" opacity="0.02"/><circle cx="40" cy="80" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.about .section-title p {
  color: #666;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e76f51, #f4a261, #4a7c59);
}

.about-text h3 {
  font-size: 2.2rem;
  color: #2c5530;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.8;
}

.why-us {
  margin-top: 30px;
}

.why-us h4 {
  font-size: 1.5rem;
  color: #2c5530;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 15px;
  padding-right: 30px;
  position: relative;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e76f51, #f4a261);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.features-list li strong {
  color: #2c5530;
  font-weight: 600;
}

.about-image {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.1), rgba(244, 162, 97, 0.1));
}

.closing-text {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #2c5530, #4a7c59);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.closing-text p {
  color: #fff
}

.closing-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.closing-text p {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.closing-text .company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f4a261;
}

.section-separator {
  text-align: center;
  margin-top: 60px;
  position: relative;
}

.separator-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #e76f51, #f4a261, #4a7c59);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.separator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: flow 3s infinite;
}

@keyframes flow {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.separator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bdc3c7;
  animation: pulse 2s infinite;
}

.dot:nth-child(1) {
  animation-delay: 0s;
  background: #e76f51;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
  background: #f4a261;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
  background: #4a7c59;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* .fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
} */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .section-title p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-image {
    display: none;
  }

  .about-text {
    padding: 30px 25px;
  }

  .about-text h3 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .features-list li {
    font-size: 0.95rem;
  }

  .closing-text p {
    font-size: 1.1rem;
  }

  .closing-text .company-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .about-text {
    padding: 25px 20px;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .about-text h3 {
    font-size: 1.6rem;
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services .section-title p {
  color: #666
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: white;
}

.portfolio .section-title h2 {
  color: white;
}

.portfolio .section-title h2::after {
  background: linear-gradient(135deg, #f4a261, #e76f51);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid #f4a261;
  background: transparent;
  color: #f4a261;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: #f4a261;
  color: white;
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portfolio-item {
  opacity: 1;
  transition: all 0.5s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.portfolio-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.portfolio-image:hover {
  transform: translateY(-10px);
}

.portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 85, 48, 0.9), rgba(244, 162, 97, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-image:hover img {
  transform: scale(1.1);
}

.portfolio-content {
  text-align: center;
  color: white;
}

.portfolio-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-content p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.view-btn {
  padding: 10px 20px;
  background: white;
  color: #2c5530;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #f4a261;
  color: white;
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  background: white;
  border-radius: 15px;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #f4a261;
}

#modalImage {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-info h3 {
  color: #2c5530;
  margin-bottom: 10px;
}

.modal-info p {
  color: #666;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 25px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f4a261, #e76f51);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: #dbdbdb;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f4a261, #e76f51);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5530, #4a7c59);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #2c5530;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.7;
}

/* Features Section */

.features {
  padding: 100px 0;
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('./images/cover.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  color: white;
}

.features .section-title h2 {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-number {
  width: 60px;
  height: 60px;
  background: #f4a261;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h3 {
  font-size: 2rem;
  color: #2c5530;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f4a261, #e76f51);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c5530;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f4a261;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #2c5530;
  color: white;
  text-align: center;
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #f4a261;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f4a261;
}

.footer-bottom {
  border-top: 1px solid #4a7c59;
  padding-top: 20px;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .language-switcher {
    top: 85px;
    left: 15px;
  }

  .hero {
    background-position: center;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(44, 85, 48, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1rem;
    width: 80%;
    max-width: 280px;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .service-card,
  .contact-form {
    padding: 25px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Hamburger Menu Icon */
.hamburger {
  display: inline-block;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 8px;
}

.hamburger span:nth-child(4) {
  top: 16px;
}

.hamburger.active span:nth-child(1) {
  top: 8px;
  width: 0%;
  left: 50%;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(4) {
  top: 8px;
  width: 0%;
  left: 50%;
}

/* Language-specific styles */
/* [lang="en"] {
  direction: ltr;
  text-align: left;
}

[lang="en"] .section-title h2::after {
  left: 0;
  transform: none;
}

[lang="en"] .hero-description,
[lang="en"] .section-title p {
  margin-left: 0;
  margin-right: 0;
}

[lang="en"] .contact-grid {
  direction: ltr;
}

[lang="en"] .contact-item {
  direction: ltr;
  text-align: left;
}

[lang="en"] .form-group label {
  text-align: left;
}

[lang="en"] .portfolio-filters {
  direction: ltr;
}

[lang="en"] .filter-btn {
  direction: ltr;
}

[lang="en"] .portfolio-content {
  direction: ltr;
}

[lang="en"] .modal-content {
  direction: ltr;
  text-align: left;
}

[lang="en"] .close-modal {
  right: auto;
  left: 20px;
}

[lang="en"] .footer-content {
  direction: ltr;
}

[lang="en"] .footer-section {
  text-align: left;
} */