/* ----- root variables ----- */
:root {
  --primary-blue: #00B0FF;
  --primary-brown: #984E29;
  --dark-bg: #1D1D1D;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 176, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f8f6f4;
  color: #222;
  direction: rtl;
  line-height: 1.6;
  transition: direction 0.3s ease;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- Scroll Reveal Animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ----- header ----- */
header {
  background: var(--dark-bg);
  color: #fff;
  border-bottom: 4px solid var(--primary-brown);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
#branding {
  display: flex;
  align-items: center;
  gap: 12px;
}
#branding img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  padding: 3px;
  background: #fff;
  object-fit: contain;
}
#branding h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}
#branding h1 .brand-last {
  color: var(--primary-blue);
}

/* ----- navigation ----- */
header nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
  flex-wrap: wrap;
}
header nav ul li a {
  display: inline-block;
  padding: 8px 24px;
  background: transparent;
  border: 2px solid var(--primary-blue);
  border-radius: 50px;
  color: #D3CDFF;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
header nav ul li a:hover {
  background: var(--primary-blue);
  color: #1D1D1D;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
header nav ul li a.active {
  background: var(--primary-blue);
  color: #1D1D1D;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-hover);
}

/* ----- language switcher ----- */
.lang-switch {
  display: flex;
  gap: 5px;
  background: #2a2a2a;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid #444;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: #aaa;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.lang-switch button:hover {
  color: #fff;
  background: #444;
}
.lang-switch button.active-lang {
  background: var(--primary-brown);
  color: #fff;
  box-shadow: 0 2px 8px rgba(152, 78, 41, 0.4);
}

/* ----- hero ----- */
#pres {
  text-align: center;
  padding: 40px 20px 20px;
  background: #fff;
  margin: 30px auto 20px; 
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--primary-blue);
  max-width: 1200px;
}
#pres h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 6px;
}
#pres h2 .highlight {
  color: var(--primary-blue);
}
#pres p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #444;
}

/* ----- Features Strip ----- */
#features {
  margin: 30px auto; 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  border-top: 3px solid var(--primary-blue);
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  display: block;
}
.feature-card h4 {
  font-size: 1.2rem;
  color: var(--dark-bg);
  margin-bottom: 5px;
}
.feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ----- slideshow ----- */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 20px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mySlides img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 20px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
  border: none;
  line-height: 1;
  z-index: 10;
}
.prev {
  left: 0;
  border-radius: 0 12px 12px 0;
}
.next {
  right: 0;
  border-radius: 12px 0 0 12px;
}
.prev:hover, .next:hover {
  background: var(--primary-blue);
  color: #1D1D1D;
}
.numbertext {
  color: #fff;
  font-size: 14px;
  padding: 6px 14px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  backdrop-filter: blur(2px);
  z-index: 10;
}
.dot-container {
  text-align: center;
  padding: 12px 0 6px;
}
.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.dot.active, .dot:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: scale(1.15);
}

/* ----- brand banner ----- */
#brand {
  background: var(--dark-bg);
  padding: 30px 20px;
  margin: 40px auto 20px; 
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ----- Location & Map Section ----- */
#location {
  margin: 60px auto 80px; 
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: stretch;
}
.location-info {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--primary-brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h3 {
  font-size: 1.8rem;
  color: var(--dark-bg);
  margin-bottom: 15px;
  font-weight: 800;
}
.location-info p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
}
.directions-btn {
  display: inline-block;
  background: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  align-self: flex-start;
}
.directions-btn:hover {
  background: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}
.location-map iframe:hover {
  box-shadow: var(--shadow-hover);
}

/* ----- Floating WhatsApp Button ----- */
.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  left: 25px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform 0.3s;
}
.float-wa:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}
.float-wa svg {
  width: 35px;
  height: 35px;
  fill: #fff;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ----- Footer Layout ----- */
.footer-distributed {
  background: var(--dark-bg);
  color: #fff;
  padding: 50px 0;
  border-top: 4px solid var(--primary-brown);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr; 
  gap: 40px;
  align-items: start;
}
.footer-left h3 {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin: 0 0 15px 0;
}
.footer-left h3 .brand-last {
  color: var(--primary-blue);
  font-weight: 700;
}
.footer-left .footer-links {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-left .footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}
.footer-left .footer-links a:hover {
  color: var(--primary-blue);
}
.footer-left .footer-company-name {
  color: #8f9296;
  font-size: 0.9rem;
}

.footer-center > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-center i {
  width: 40px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--primary-blue);
  font-size: 1.2rem;
  transition: 0.3s;
  flex-shrink: 0;
}
.footer-center i:hover {
  background: var(--primary-blue);
  color: #1D1D1D;
}
.footer-center p {
  margin: 0;
  color: #ddd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Phone & WhatsApp Blocks */
.phone-container {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.phone-block {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #222;
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid #444;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4CAF50;
  text-decoration: none;
  font-weight: 600;
}
.phone-num {
  direction: ltr; 
  unicode-bidi: embed;
}
.wa-link {
  display: inline-flex;
  align-items: center;
  color: #25D366;
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-link:hover {
  transform: scale(1.15);
}
.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* About Us Section Colors */
.footer-right .footer-company-about span {
  display: block;
}
.footer-right .footer-company-about span[data-key="about-title"] {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-blue);
}
.footer-right .footer-company-about span[data-key="about-text"] {
  color: #ffffff;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-icons {
  display: flex;
  gap: 10px;
}
.footer-icons a {
  background: #2a2a2a;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}
.footer-icons a:hover {
  background: var(--primary-blue);
  color: #1D1D1D;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ----- responsive tweaks ----- */
@media (max-width: 880px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  #branding {
    justify-content: center;
  }
  .lang-switch {
    justify-content: center;
    margin: 5px auto;
  }
  header nav ul {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-left .footer-links {
    justify-content: center;
  }
  .footer-center > div {
    justify-content: center;
  }
  .footer-icons {
    justify-content: center;
  }
  #pres h2 {
    font-size: 2rem;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .directions-btn {
    align-self: center;
  }
  #features {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .prev, .next {
    padding: 8px 12px;
    font-size: 18px;
  }
  header nav ul li a {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
}