* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.6;
  color: #000000; /* Changed from #333 */
  direction: rtl;
  padding-top: 80px;
}

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

/* Header */
.header {
  background: #ffffff; /* Changed from #fff */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #000000; /* Changed from #333 */
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #02363b; /* Changed from #1a365d */
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  background: #000000; /* Changed from #333 */
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(2, 54, 59, 0.8), rgba(2, 54, 59, 0.8)), url("/public/images/office-location.jpeg"); /* Updated image path */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: #819b9d; /* Changed from #d4af37 */
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #6a8284; /* Darker shade of #819B9D */
  transform: translateY(-2px);
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #02363b; /* Changed from #1a365d */
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #000000; /* Changed from #666 */
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #ffffff; /* Changed from #f8f9fa */
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #ffffff; /* Ensure white background */
  padding: 2.5rem; /* Added padding */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Added shadow */
}

/* Mission, Vision, Values */
.mvv {
  padding: 5rem 0;
  background: #ffffff; /* Changed from white */
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mvv-item {
  text-align: center;
  padding: 2.5rem; /* Increased padding */
  border-radius: 15px; /* More rounded corners */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
  transition: transform 0.3s, box-shadow 0.3s;
  background: #ffffff; /* Ensure white background */
}

.mvv-item:hover {
  transform: translateY(-5px);
}

.mvv-icon {
  font-size: 3rem;
  color: #02363b; /* Changed from #1a365d */
  margin-bottom: 1rem;
}

.mvv-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #02363b; /* Changed from #1a365d */
}

.mvv-item ul {
  list-style: none;
  text-align: right;
}

.mvv-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: #f8f9fa; /* Kept as a light background */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem; /* Increased padding */
  border-radius: 15px; /* More rounded corners */
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: #819b9d; /* Changed from #d4af37 */
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #02363b; /* Changed from #1a365d */
}

/* Why Choose Us */
.why-choose {
  padding: 5rem 0;
  background: #ffffff; /* Changed from white */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: #02363b; /* Changed from #1a365d */
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #02363b; /* Changed from #1a365d */
}

/* Statistics */
.statistics {
  padding: 5rem 0;
  background: #02363b; /* Changed from #1a365d */
  color: white;
}

.statistics .section-title,
.statistics .section-subtitle {
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-number {
  text-align: center;
  padding: 0rem;
  animation: countUp 0.6s ease-out;
  font-size:2rem
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Certifications */
.certifications {
  padding: 5rem 0;
  background: #f8f9fa; /* Kept as a light background */
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-item {
  background: white;
  padding: 2.5rem; /* Increased padding */
  border-radius: 15px; /* More rounded corners */
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
}

.cert-icon {
  font-size: 2.5rem;
  color: #819b9d; /* Changed from #d4af37 */
  margin-bottom: 1rem;
}

.cert-item h4 {
  color: #02363b; /* Changed from #1a365d */
  font-size: 1.1rem;
}

/* Partners */
.partners {
  padding: 5rem 0;
  background: #ffffff; /* Changed from white */
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  text-align: center;
  padding: 1.5rem; /* Increased padding */
  border: 1px solid #f0f0f0; /* Lighter border */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Added subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partner-logo:hover img {
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: #f8f9fa; /* Kept as a light background */
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #ffffff; /* Ensure white background */
  padding: 2.5rem; /* Added padding */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: #02363b; /* Changed from #1a365d */
  margin-left: 1rem;
  margin-top: 0.2rem;
}

.contact-details h4 {
  color: #02363b; /* Changed from #1a365d */
  margin-bottom: 0.5rem;
}

.social-links {
  margin-top: 2rem;
}

.social-links h4 {
  color: #02363b; /* Changed from #1a365d */
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #02363b; /* Changed from #1a365d */
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-icon:hover {
  background: #819b9d; /* Changed from #d4af37 */
}

.contact-map iframe {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Added shadow */
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: #02363b; /* Changed from #1a365d */
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #000000; /* Changed from #0f1419 */
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #819b9d; /* Changed from #d4af37 */
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc; /* Kept as light grey for contrast */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #819b9d; /* Changed from #d4af37 */
}

.footer-logo {
  height: 4rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid #333; /* Kept as #333 for contrast */
  padding-top: 1rem;
  text-align: center;
  color: #ccc; /* Kept as light grey for contrast */
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.whatsapp-button a {
  display: block;
  width: 60px;
  height: 60px;
  background: #25d366; /* Kept WhatsApp green */
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
}

.whatsapp-button a:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: flex;   /* instead of display:none */
    flex-direction: column; /* stack links vertically */
    gap: 1rem;
  }

  .nav-toggle {
    display: none;   /* hide hamburger button */
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Header scroll effect */
.header {
  background: #ffffff; /* Changed from #fff */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: none;
}

.header.scrolled {
  background: #ffffff;
}

/* If nav-brand is removed, ensure navbar content is still centered or aligned as desired */
.navbar .container {
  justify-content: flex-end; /* Align menu to the right if logo is gone from header */
}

/* If you want to keep the nav-brand div but empty, you might need to adjust its width/flex properties */
.nav-brand {
  width: auto;
}


.hero-logo {
  max-width: 295px;
  height: auto;
  margin-bottom: 2.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Add CSS for active navigation link */
.nav-link.active {
  color: #0092a0  !important; /* Changed from #d4af37 */
  font-weight: 600;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff; /* Changed from white */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.nav-menu.active .nav-link {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.stat-label{
  text-align: center;
    padding: 0.5rem;
    
}