* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Cairo ,sans-serif;
    line-height: 2;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 100px; /* same as navbar height + some padding */
}
.container { max-width: 1200px; margin: auto; padding: 1rem; }

.navbar {   
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}
.nav-links {   display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0; 
}
.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #b7ab9b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: black;
  cursor: pointer;
}
.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: left;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

.hero {
    position: relative;   
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); 
    z-index: 1;
}

.hero-text {
    z-index: 2;
    position: relative;
}

.about, .services, .industries ,.mvv, .stats, .reviews, .contact { padding: 2rem 0;}

.about {
    background-color: #1b2540;
    color: white;
}
.about h1{
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.about p {
    font-size: 1.2rem;
}

.mvv {
  padding: 60px 0;
  background-color: white;
  text-align: center;
}

.mvv-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.mvv .card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 12px;
  flex: 1 1 calc(33.33% - 20px); /* 3 columns */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.mvv .card h3{
    font-weight: bold;
    color: #1b2540;
    padding-bottom: 2rem;
}
.mvv .card p {
    color: #555;
}
.mvv .card:hover {
  transform: translateY(-5px);
}

.mvv .icon {
  font-size: 36px;
  color: #b7ab9b;
  margin-bottom: 15px;
}

.services {
  background: #b7ab9b;
  color:#1b2540;
}
.services h1{
    font-weight: bold;
    color: #1b2540;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2rem;
}
.services p {
    font-size: 1.2rem;
}
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.tab {
  padding: 10px 25px;
  border: none;
  background-color: white;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.tab.active,
.tab:hover {
  background-color: #1b2540;
  color: white;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-card {
  background: #1b2540;
  padding: 25px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  font-size: 14px;
  text-align: justify;
}
.service-card a {
  margin-top: auto;
  display: block;
}
.service-card button {
  background-color: white;
  color: #1b2540;
  border:none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.service-card button:hover {
  background-color: #b7ab9b;
  color:white
}

.stats-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.stats-section h2 {
  font-weight: bold;
  color: #1b2540;
  text-align: center;
  font-size: 2rem;
  padding-bottom: 2rem;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 220px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box .icon {
  font-size: 36px;
  color: #b7ab9b;
  margin-bottom: 10px;
}

.stat-box .number {
  font-size: 32px;
  font-weight: bold;
  color: #1b2540;
}

.stat-box .label {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.industries {
  background-color: #1b2540;
  color:white;
  text-align: center;
}

.industries h1{
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.industries p {
    font-size: 1.2rem;
    text-align: justify;
}

.industries-slider .swiper-slide {
  display: flex;
  height: auto;
  margin-top: 30px;
}

.industry-card {
  background: white;
  color:#1b2540;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
}

.industry-card .icon {
  font-size: 3rem;
  color: #b7ab9b;
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.industry-card p {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
  text-align: justify;
}

.reviews {
  background-color: white;
  color:#1b2540
}

.reviews h1 {
    font-weight: bold;
    color: #1b2540;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.review-card {
  background: #b7ab9b;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color:white
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color:#1b2540
}


.hidden {
  display: none;
}

.contact .container { display: flex; flex-wrap: wrap; gap: 2rem; }
.contact .info, .contact .form { flex: 1; }
.contact .form input, .contact .form textarea, .contact .form button {
  display: block; width: 100%; margin: 0.5rem 0; padding: 0.75rem;
}
.form button {
    background-color: #b7ab9b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form button:hover {
    background-color: #9c8c7a;
}
.site-footer {
  background: 0#2c3857;
  color: white;
  padding-top: 30px;
  font-size: 0.95rem;
}

.footer-top {
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand .footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-brand p {
  line-height: 1.6;
  color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  color: #ccc;
  display: block;
  padding: 5px 0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #b7ab9b;
}

.footer-contact p {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: #b7ab9b;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #b7ab9b;
}

.footer-bottom {
  background: #000;
  text-align: center;
  color: #aaa;
  border-top: 1px solid #222;
}

[dir="rtl"] .navbar .container .service-card .industry-card .industries-slider .site-footer {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  text-align: right;
}

@media (max-width: 992px) {
  .mvv .card {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
.nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  .nav-links.open {
    max-height: 500px;
  }
  .menu-toggle {
    display: block;
  }
  .lang-switcher{
    margin-bottom: 1rem;
  }
  .certificate{
    min-height: 30vh;
  }
  .hero-text h1 {
    font-size: 2rem;
    }
  .hero-text h2 {
    font-size: 1.25rem;
    }
  .hero-text p {
    font-size: 1rem;
    }
  .cards, .contact .container { flex-direction: column; }
  .logo img {
    height: 30px;
  }
  .stat-box {
    width: 100%;
    max-width: 300px;
  }
  .service-card {
    width: 90%;
  }
  .footer-grid {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .about p {
    font-size: 1rem;
}
.services p {
    font-size: 1rem;
}
.industries p {
    font-size: 1rem;
}
}

.strengths-section {
  padding: 60px 20px;
  background-color: #1b2540;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: white;
}

.strengths-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.strength-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

.strength-card i {
  font-size: 32px;
  color: #b7ab9b;
  margin-bottom: 15px;
}

.strength-card h3 {
  font-size:  1.3rem;
  margin-bottom: 10px;
  color: #1b2540;
  font-weight: bold;
}

.strength-card p {
  font-size: 14px;
  color: #555;
  text-align: justify;
}
