:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Poppins", "Georgia", serif;
  --font-ar: "Cairo", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

body {
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
}

header .logo,
.hero h1,
.section h2,
.product-card h3,
.service-card h3,
.about-text h2 {
  font-family: var(--font-heading);
}

.arabic {
  font-family: var(--font-ar);
}

header {
  width: 100%;
  height: 80px;
  background-color: #282c34;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1001;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.arabic {
  font-size: 43px;
  font-weight: 700;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  position: sticky;
  top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.2);
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
}

nav li {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  position: relative;
  display: flex;
  align-items: center;
}

nav li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

nav li a:hover {
  color: #ff5722;
}

.nav-icon {
  font-size: 20px;
  color: #ff5722;
}

.nav-icon:hover {
  color: #ff5722;
}

.hero {
  background-image: url("https://img.freepik.com/premium-photo/illustration-people-traditional-muslim-clothing_1088041-81035.jpg?semt=ais_incoming&w=740&q=80");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  font-size: 24px;
  margin-top: 10px;
}

.cta-button {
  background-color: #ff5722;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #e64a19;
}

.main-content {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  color: #282c34;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(25% - 20px);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card .info {
  padding: 15px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-card p {
  font-size: 16px;
  color: #666;
}

.product-card .price {
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  color: #ff5722;
}

.price-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5722;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

/* About Us Section */
.about-section {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 60px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.value-card {
  flex: 1;
  min-width: 200px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.value-card i {
  font-size: 40px;
  color: #ff5722;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #282c34;
}

.value-card p {
  font-size: 14px;
  color: #666;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
}

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

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.service-card i {
  font-size: 50px;
  color: #ff5722;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #282c34;
}

.service-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Modern Testimonials Section */
.customer-testimonials {
  background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
  padding: 60px 20px;
  position: relative;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 350px;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

/* .testimonial-card::before {
        content: """;
        font-size: 80px;
        color: #ff5722;
        position: absolute;
        top: -20px;
        left: 20px;
        opacity: 0.3;
      } */

.testimonial-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff5722;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.author-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #282c34;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: #888;
  margin: 0;
  font-style: normal;
}

.rating {
  color: #ffc107;
  margin-top: 5px;
}

/* Contact Section with Map */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form h2 {
  text-align: left;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #282c34;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff5722;
  outline: none;
}

.contact-form button {
  background-color: #ff5722;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background-color: #e64a19;
}

.contact-form button i {
  margin-right: 8px;
  vertical-align: middle;
}

.map-container {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Review Form Section */
.review-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20, 20, 40, 0.08);
  padding: 32px;
  margin-bottom: 60px;
}

.review-section h2 {
  text-align: left;
  margin-bottom: 20px;
  color: #1f2a44;
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
}

.review-form {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(30, 40, 60, 0.04);
}

.review-form .form-group {
  margin-bottom: 14px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e6e9ee;
  background: #fbfcfe;
  font-size: 15px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #d16a39;
  box-shadow: 0 6px 18px rgba(209, 106, 57, 0.08);
}

.rating-group label {
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
  color: #2b364f;
}

.rating-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.rating-input input {
  display: none;
}

.rating-input label {
  cursor: pointer;
  color: #d8dbe0;
  font-size: 22px;
  transition: transform 0.12s ease, color 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfbff);
  border: 1px solid #eef0f3;
  box-shadow: 0 6px 16px rgba(10, 14, 30, 0.04);
}

.rating-input label:hover,
.rating-input label.active {
  color: #ffb347;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 179, 71, 0.08);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(90deg, #ff6a2b, #ff5722);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.btn-link {
  background: none;
  border: none;
  color: #607089;
  cursor: pointer;
}

.reviews-preview {
  background: linear-gradient(180deg, #ffffff, #fffefe);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(30, 40, 60, 0.04);
  min-height: 220px;
}

.reviews-preview h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  color: #1f2a44;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}

.review-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fcfcff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #eef1f6;
  box-shadow: 0 6px 18px rgba(12, 18, 36, 0.04);
}

.review-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a50, #ff5722);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.review-body h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  color: #142033;
}

.review-body .meta {
  font-size: 13px;
  color: #7b8aa1;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.review-body p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.4;
}

.review-stars {
  color: #ffb347;
  display: inline-flex;
  gap: 4px;
}

.no-reviews {
  color: #8892a6;
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .reviews-preview {
    order: 2;
  }
}

/* Footer */
footer {
  background-color: #282c34;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-link-section {
  max-width: 200px;
}

.footer-link-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

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

.footer-link-section ul li {
  margin-bottom: 8px;
}

.footer-link-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link-section ul li a:hover {
  color: #ff5722;
}

.footer-bottom {
  margin-top: 20px;
}

.newsletter {
  margin-bottom: 20px;
}

.newsletter h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  width: 250px;
}

.newsletter-form button {
  background-color: #ff5722;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e64a19;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff5722;
}

footer p {
  font-size: 14px;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-card {
    flex: 1 1 calc(33.333% - 20px);
  }

  nav ul {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 1 1 calc(50% - 20px);
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav {
    height: 80px;
    padding: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .contact-section {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-link-section {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 24px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 1002;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 28px;
  }

  nav ul {
    display: none;
  }

  nav ul.show {
    display: flex;
  }
}

/* Section IDs for navigation */
section {
  scroll-margin-top: 100px;
}
