/* Base Styles - Arabic */
:root {
  --primary-color: #478a1d;
  --secondary-color: #585858;
  --white-color: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  text-align: right;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--dark-gray);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding-right: 0;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0; /* Arabic doesn't use letter spacing */
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  margin: 10px 0 10px 10px; /* Reverse margin */
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: var(--transition);
  width: 100%;
}

.submit-button:hover {
  opacity: 0.9;
}

/* Header */
header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  margin-left: 20px; /* Reverse margin */
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation */
nav {
  flex-grow: 1;
  min-width: 0;
  margin: 0 20px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0 10px;
}

nav ul li {
  margin: 0;
  white-space: nowrap;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
  font-size: 0.85rem;
  padding: 5px 8px;
}

nav ul li a.active,
nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a.active:after,
nav ul li a:hover:after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0; /* Change from left to right */
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 15px; /* Reverse margin */
  flex-shrink: 0;
}

.language-switcher a {
  padding: 0 3px;
  font-size: 0.85rem;
}

.language-switcher a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 20px; /* Reverse margin */
  order: 1;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero10.png') no-repeat center center/cover;
  color: var(--white-color);
  text-align: center;
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Hero Section - Perfectly Aligned Xplore */
.company-name {
  font-size: 5.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white-color);
  display: inline-block;
  position: relative;
  direction: ltr;
  animation: fadeInDown 1s ease;
}

.x-letter {
  color: var(--primary-color);
  font-size: 1.0em;
  position: relative;
  display: inline-block;
  transform: translateY(0);
  animation: fadeInDown 1s ease;
}

.company-name-text {
  display: inline-block;
  position: relative;
  animation: neonGlow 1.5s ease-in-out infinite alternate;
  vertical-align: baseline;
  top: 0;
}

/* Enhanced Neon Glow */
@keyframes neonGlow {
  from {
    text-shadow: 
      0 0 5px rgba(71, 138, 29, 0.5),
      0 0 15px rgba(71, 138, 29, 0.3);
  }
  to {
    text-shadow: 
      0 0 15px rgba(71, 138, 29, 0.8),
      0 0 25px rgba(71, 138, 29, 0.6),
      0 0 35px rgba(71, 138, 29, 0.4);
  }
}

.hero h1 {
  font-size: 5rem;
  color: var(--white-color);
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInDown 1s ease;
}

.hero a {
  animation: fadeInDown 1s ease;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-title {
  color: #478a1d;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #478a1d;
  margin: 15px auto 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 800px;
  margin: 0 auto 50px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-list > *:nth-child(n+7) {
  display: none;
}

.service-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: right;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-img-container {
  height: 220px;
  overflow: hidden;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover img {
  transform: scale(1.05);
}

.service-text-content {
  padding: 25px;
}

.service-text-content h3 {
  color: #478a1d;
  margin: 15px 0 10px;
  font-size: 1.4rem;
}

.service-text-content p {
  color: #585858;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Why Egypt Section */
.why-egypt {
  padding: 80px 0;
  text-align: center;
  background-color: var(--white-color);
}

.why-egypt h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.why-egypt .section-subtitle {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--secondary-color);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--light-gray);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.benefit-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.benefit-item p {
  color: var(--secondary-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.stat-item {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  letter-spacing: 0;
}

/* Future Clients Section */
.future-clients {
  padding: 80px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.future-clients h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.future-clients p {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--secondary-color);
}

.client-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.profile {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: right;
}

.profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.profile i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.profile h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.profile p {
  color: var(--secondary-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.modal-content {
  background-color: var(--white-color);
  margin: 50px auto;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: modalopen 0.5s;
  text-align: right;
}

@keyframes modalopen {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-logo {
  text-align: center;
  margin-bottom: 30px;
}

.modal-logo img {
  height: 80px;
}

.close {
  position: absolute;
  top: 20px;
  left: 20px; /* Reverse position */
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Tajawal', sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer - Arabic (RTL) */
footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 70px 0 30px;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0; /* Changed from left to right for RTL */
  width: 100%;
  height: 10px;
  background: linear-gradient(to left, rgba(71,138,29,0.8), rgba(255,255,255,0.3), rgba(71,138,29,0.8)); /* Reversed gradient direction */
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

/* Left Section - Now on the right in RTL */
.footer-left {
  text-align: left; /* Maintain original alignment */
}

/* Middle Section - Centered */
.footer-middle {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right Section - Now on the left in RTL */
.footer-right {
  text-align: right; /* Maintain original alignment */
}

.contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--white-color);
}

/* Adjusted icon positioning for RTL */
.contact-item i {
  margin-left: 12px; /* Changed from margin-right */
  font-size: 1.1rem;
  color: var(--white-color);
}

.contact-button {
  display: inline-block;
  background-color: var(--white-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 30px;
  margin: 15px 0 25px;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--white-color);
}

.contact-button:hover {
  background-color: transparent;
  color: var(--white-color);
}

footer p {
  color: var(--white-color);
  opacity: 0.9;
}

.footer-middle .tagline {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--white-color);
  line-height: 1.3;
}

.footer-right h3 {
  color: var(--white-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-end; /* Adjusted for RTL */
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white-color);
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsive Footer Adjustments for RTL */
@media (max-width: 992px) {
  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-left,
  .footer-right {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  nav ul {
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-left,
  .footer-right {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 0 15px;
  }
  
  .hamburger {
    display: block;
  }

  .footer-left {
    justify-items: center;
  }
  
  nav {
    position: fixed;
    top: 80px;
    right: -100%; /* Reverse direction */
    left: auto;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white-color);
    transition: all 0.3s ease;
    overflow-y: auto;
    margin: 0;
  }
  
  nav.active {
    right: 0; /* Reverse direction */
    left: auto;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .language-switcher {
    margin-right: auto; /* Reverse margin */
    margin-left: 0;
    padding: 15px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .company-name {
    font-size: 3rem;
  }
  
  .logo img {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .service-list {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-left {
    justify-items: center;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .company-name {
    font-size: 2.5rem;
  }
  
  .cta-button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
}

@media (max-width: 992px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-left {
    justify-items: center;
  }
}

@media (max-width: 576px) {
  .benefits {
    grid-template-columns: 1fr;
  }

  .footer-left {
    justify-items: center;
  }
}
/*-------------------------------------------------------------------------------------------------*/
/* Why Egypt Hero Section */
.why-egypt-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/egypt2.jpg') no-repeat left center/cover;
  color: var(--white-color);
  text-align: center;
  padding: 180px 0 100px;
  position: relative;
}

.why-egypt-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
  color: var(--white-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 50px;
  opacity: 0.9;
  animation: fadeIn 1.5s ease;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 20px 30px;
  border-radius: 10px;
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(71, 138, 29, 0.7);
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Advantages Section - RTL */
.advantages-section {
  padding: 80px 0;
  background-color: var(--white-color);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background: var(--white-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: right;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-left: 15px; /* RTL adjustment */
  margin-right: 0;
}

.advantage-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.advantage-image {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.advantage-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.advantage-card:hover .advantage-image img {
  transform: scale(1.05);
}

/* Cost Comparison Chart - RTL Adjusted */
.cost-comparison-chart {
  margin: 25px 0;
  direction: rtl; /* Changed to RTL */
}

.cost-bar {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.cost-bar span {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-align: right;
}

.cost-bar .bar {
  height: 30px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align text to the end */
  padding: 0 10px;
  border-radius: 4px;
  font-weight: 500;
  transition: width 1s ease;
}

/* Specific bar colors */
.cost-bar.eu .bar {
  background: #585858;
  margin-left: auto; /* Push EU bar to the left */
  width: 100%; /* Full width for EU */
}

.cost-bar.egypt .bar {
  background: var(--primary-color);
  margin-left: 0; /* Egypt bar starts from right */
  width: 40%; /* Percentage width for Egypt */
}

/* Languages Grid - RTL */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.language {
  background: rgba(71, 138, 29, 0.1);
  color: var(--primary-color);
  padding: 8px;
  text-align: center;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Incentives List - RTL */
.incentives-list {
  margin: 20px 0 0;
  padding-right: 5px; /* RTL adjustment */
}

.incentives-list li {
  margin-bottom: 10px;
  position: relative;
  padding-right: 25px; /* RTL adjustment */
}

.incentives-list li i {
  color: var(--primary-color);
  position: absolute;
  right: 0; /* RTL adjustment */
  top: 4px;
}

/* Infrastructure Highlights - RTL */
.infrastructure-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.infrastructure-highlights div {
  text-align: center;
  padding: 15px 10px;
  background: rgba(71, 138, 29, 0.05);
  border-radius: 6px;
}

.infrastructure-highlights i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.infrastructure-highlights span {
  font-size: 0.8rem;
  display: block;
}

/* Growth Metrics - RTL */
.growth-metrics {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  text-align: center;
  direction: ltr; /* Keep numbers LTR */
}

.growth-metrics div {
  flex: 1;
}

.growth-metrics span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.growth-metrics small {
  font-size: 0.7rem;
  color: var(--secondary-color);
  display: block;
}

/* Data Section - RTL */
.data-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.data-card {
  background: var(--white-color);
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  opacity: 1 !important; /* Override any JS animations initially */
  transform: none !important;
  display: block !important;
}

.data-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.data-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  direction: ltr; /* Keep numbers LTR */
  display: inline-block;
}

.data-label {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-icon {
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.7;
}

/* CTA Section - RTL */
.why-egypt-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #3a7518);
  color: var(--white-color);
  text-align: center;
}

.why-egypt-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--white-color);
}

.cta-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  margin: 0 0 10px 10px; /* RTL adjustment */
}

.cta-button.primary {
  background: var(--white-color);
  color: var(--primary-color);
}

.cta-button.primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Modal - RTL */
.modal-content {
  text-align: right;
}

.form-group input,
.form-group select,
.form-group textarea {
  text-align: right;
}

/* Responsive Adjustments for RTL */
@media (max-width: 1200px) {
  .advantages-grid {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-stats .stat-item {
    min-width: 160px;
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .why-egypt-hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

@media (max-width: 576px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats .stat-item {
    min-width: 140px;
    padding: 10px 15px;
  }
  
  .why-egypt-hero {
    padding: 150px 0 80px;
  }
  
  .why-egypt-cta h2 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}