:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --primary: #6b8afd; /* light pastel blue */
  --primary-600: #5a7cf6;
  --primary-700: #4a6ae6;
  --success: #10b981;
  --error: #ef4444;
  --ring: #dbeafe;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  --radius: 16px;
}

/* Containers */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section {
  padding: 64px 0;
}
.section.alt {
  background: #f2f4fb;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.95rem;
}
.big {
  font-size: 1.2rem;
}
.center {
  text-align: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .container {
    width: 90%; /* narrower than desktop */
  }
  .section {
    padding: 40px 0;
  }
  .section.alt {
    padding: 40px 0;
  }
  .big {
    font-size: 1.1rem;
  }
  .mt-16 {
    margin-top: 12px;
  }
  .mt-24 {
    margin-top: 16px;
  }
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Dubai",
    Arial, sans-serif;
  line-height: 1.8;
}

/* Loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg); /* Site background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Hide loading screen when JS adds class */
.loaded .loading-screen,
.loader-hidden {
  display: none;
}

/* Three dots jumping */
.dots-loader {
  display: flex;
  gap: 12px; /* space between dots */
}

.dots-loader span {
  width: 16px;
  height: 16px;
  background-color: var(--primary); /* main color */
  border-radius: 50%;
  display: inline-block;
  animation: jump 0.6s infinite;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

.dots-loader span:nth-child(1) {
  animation-delay: 0s;
}
.dots-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes jump {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-14px); /* height of the jump */
  }
}
@media (max-width: 768px) {
  .dots-loader {
    gap: 8px; /* reduce spacing between dots */
  }

  .dots-loader span {
    width: 12px; /* smaller dots */
    height: 12px;
    animation: jump-small 0.6s infinite; /* use a smaller jump animation */
  }

  @keyframes jump-small {
    0%,
    80%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px); /* smaller jump for smaller screens */
    }
  }
}

/* --  Service. html -- */

/* hero */
body.service .hero {
  background-image: radial-gradient(
      circle at 25% 25%,
      var(--ring) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 75% 75%, var(--ring) 0%, transparent 50%);
  padding: 80px 0 128px;
}

/* Services Grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 0;
}
.service-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.service-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card h3 {
  margin: 10px 0;
}

/* CTA */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 40px 20px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.cta-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 768px) {
  /* Hero adjustments */
  body.service .hero {
    padding: 50px 0 80px; /* smaller padding on mobile */
    background-size: cover; /* optional for better fit */
  }

  /* Services Grid */
  .services {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 16px; /* slightly smaller gap */
    padding: 30px 0;
  }

  .service-card {
    padding: 16px; /* reduce card padding */
  }

  .service-card i {
    font-size: 24px; /* smaller icon */
  }

  .service-card h3 {
    font-size: 1.1rem; /* slightly smaller heading */
  }

  /* CTA adjustments */
  .cta {
    padding: 30px 15px; /* reduce padding */
  }

  .cta-row {
    flex-direction: column; /* stack items vertically */
    gap: 10px;
    margin-top: 12px;
  }

  .cta-buttons {
    flex-direction: column; /* stack buttons */
    gap: 10px;
    margin-top: 15px;
  }

  .btn {
    width: 100%; /* full-width buttons on mobile */
    text-align: center;
    padding: 12px 0; /* taller buttons for touch */
  }
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--primary-600);
}
.btn-outline {
  background: #fff;
  border-color: #e5e7eb;
  color: #111827;
}
.btn-outline:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.btn-ghost {
  background: transparent;
  border-color: #e5e7eb;
  color: #111827;
}
.btn-ghost:hover {
  background: #f9fafb;
}
@media (max-width: 768px) {
  .btn {
    display: block; /* full width on mobile */
    width: 100%;
    padding: 14px 0; /* taller for easier touch */
    text-align: center; /* center text */
    font-size: 1rem; /* slightly bigger for readability */
  }

  /* Optional: maintain different button types with full width */
  .btn-primary,
  .btn-outline,
  .btn-ghost {
    width: 100%; /* ensure all buttons expand */
  }

  .btn + .btn {
    margin-top: 10px; /* spacing between stacked buttons */
  }
}

/* --  About. html -- */

/* Hero Section */
body.about .hero {
  background-image: radial-gradient(
      circle at 25% 25%,
      var(--ring) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 75% 75%, var(--ring) 0%, transparent 50%);
  padding: 80px 0 128px;
}

body.about .hero-content {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

body.about .hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

body.about .hero-icon {
  color: var(--primary);
}

body.about .hero-title h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
}

body.about .hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

body.about .hero-description {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

body.about .hero-slogan {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

body.about .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-600) 100%
  );
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

body.about .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  /* Hero Section */
  body.about .hero {
    padding: 50px 0 80px; /* reduce vertical padding */
    background-size: cover; /* optional for better fit */
  }

  body.about .hero-content {
    padding: 0 20px; /* add side padding */
  }

  body.about .hero-title {
    flex-direction: column; /* stack icon and title */
    gap: 8px;
    margin-bottom: 24px;
  }

  body.about .hero-title h1 {
    font-size: 32px; /* smaller heading */
    text-align: center;
  }

  body.about .hero-subtitle {
    font-size: 18px; /* smaller subtitle */
    margin-bottom: 16px;
  }

  body.about .hero-description {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  body.about .hero-slogan {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 32px;
    line-height: 1.5;
  }

  body.about .cta-button {
    width: 100%; /* full width button */
    justify-content: center; /* center text and icon */
    padding: 14px 0; /* taller for touch */
    font-size: 16px; /* smaller but readable */
  }
}

/* Section Styles */
body.about .section {
  padding: 80px 0;
}

body.about .section-alt {
  background-color: var(--surface);
}

body.about .section-header {
  text-align: center;
  margin-bottom: 64px;
}

body.about .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

body.about .section-title svg {
  color: var(--primary);
}

body.about .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}

body.about .section-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Story Section */
.story-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-text p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.story-card {
  flex: 1;
  min-width: 220px;
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.story-card svg {
  color: var(--primary);
  margin-bottom: 16px;
}

/* Card Icon */
.story-card-icon {
  font-size: 48px;
  margin-bottom: 12px;
  color: #6b8afd;
}

.story-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f2937;
}

.story-card p {
  font-size: 16px;
  color: #6b7280;
}

.story-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.story-card p {
  color: var(--muted);
}

/* Vision Section */
.vision-card {
  background-color: var(--surface);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  max-width: 1024px;
  margin: 0 auto;
}

.vision-card svg {
  color: var(--primary);
  margin-bottom: 24px;
}

.vision-card p {
  font-size: 20px;
  color: var(--text);
  line-height: 1.7;
}
@media (max-width: 768px) {
  /* Sections */
  body.about .section {
    padding: 50px 20px; /* reduce vertical padding and add side padding */
  }

  body.about .section-header {
    margin-bottom: 40px;
  }

  body.about .section-title {
    flex-direction: column; /* stack icon and title */
    gap: 8px;
    margin-bottom: 16px;
  }

  body.about .section-header h2 {
    font-size: 28px;
  }

  body.about .section-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  /* Story Section */
  .story-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .story-text {
    gap: 16px;
  }

  .story-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .story-cards {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 16px;
  }

  .story-card {
    padding: 20px;
    border-radius: 12px;
  }

  .story-card-icon {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .story-card h3 {
    font-size: 18px;
  }

  .story-card p {
    font-size: 14px;
  }

  /* Vision Section */
  .vision-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .vision-card p {
    font-size: 16px;
    line-height: 1.6;
  }

  .vision-card svg {
    margin-bottom: 16px;
  }
}

/* Mission Section */
.mission-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1024px;
  margin: 0 auto;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--ring);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.mission-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mission-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.mission-item p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1536px;
  margin: 0 auto;
}

.value-card {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.value-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1536px;
  margin: 0 auto;
}

.why-card {
  background-color: var(--ring);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.why-icon {
  width: 56px;
  height: 56px;
  font-size: 25px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.why-card p {
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  /* Mission Section */
  .mission-list {
    gap: 16px;
    padding: 0 20px;
  }

  .mission-item {
    flex-direction: column; /* stack icon and text */
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
  }

  .mission-item svg {
    margin-top: 0;
    font-size: 24px;
  }

  .mission-item p {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Values Grid */
  .values-grid {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 16px;
    padding: 0 20px;
  }

  .value-card {
    padding: 24px;
    border-radius: 12px;
  }

  .value-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .value-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Why Choose Us */
  .why-grid {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 16px;
    padding: 0 20px;
  }

  .why-card {
    padding: 24px;
    border-radius: 12px;
  }

  .why-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 16px;
  }

  .why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .why-card p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Who We Serve */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}

.serve-card {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.serve-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.serve-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-600) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
}

.serve-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.serve-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  /* Who We Serve */
  .serve-grid {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 16px;
    padding: 0 20px;
  }

  .serve-card {
    padding: 20px; /* smaller padding */
    border-radius: 12px;
  }

  .serve-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    font-size: 20px; /* scale icon for mobile */
  }

  .serve-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .serve-card p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* --  Faq. html -- */

/* hero section */
body.faq .hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  text-align: center;
}

body.faq .hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-700);
}

body.faq .hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* faq section */
.faq-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--primary-700);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.faq-question .number {
  background-color: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-left: 10px;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  color: var(--muted);
  font-size: 18px;
  padding: 20px 0;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 20px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 18px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 18px;
}

.list-item i {
  color: var(--primary);
  margin-left: 10px;
  margin-top: 5px;
  font-size: 16px;
}

.highlight {
  background-color: #e6f0ff;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 600;
}
@media (max-width: 768px) {
  /* Hero Section */
  body.faq .hero {
    padding: 50px 20px;
  }

  body.faq .hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  body.faq .hero p {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 24px;
  }

  /* FAQ Section */
  .faq-section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .faq-container {
    width: 100%;
    padding: 0 10px;
  }

  .faq-item {
    margin-bottom: 16px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-question .number {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer p {
    font-size: 16px;
    padding: 16px 0;
    line-height: 1.6;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 16px;
  }

  .faq-question i {
    font-size: 16px;
  }

  .list-item {
    font-size: 16px;
  }

  .list-item i {
    font-size: 14px;
    margin-left: 8px;
    margin-top: 4px;
  }
}

/* cta */
body.faq .cta {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 60px 0;
  margin-top: 80px;
}

body.faq .cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

body.faq .cta p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body.faq .btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-700);
  padding: 12px 30px !important;
  border-radius: 30px !important;
  text-decoration: none;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.faq .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  /* FAQ CTA Section */
  body.faq .cta {
    padding: 40px 20px; /* reduce vertical padding */
    margin-top: 40px;
  }

  body.faq .cta h2 {
    font-size: 28px; /* smaller heading */
    margin-bottom: 16px;
  }

  body.faq .cta p {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  body.faq .btn {
    display: block; /* full-width button */
    width: 100%;
    padding: 14px 0 !important; /* taller for touch */
    border-radius: 24px !important;
    font-size: 16px !important;
    text-align: center;
    margin: 0 auto;
  }
}

/* -- Contact.html -- */

/* hero section */
body.contact .hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-700) 100%
  );
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.contact .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

body.contact .hero-content {
  position: relative;
  z-index: 1;
}

body.contact .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.contact .hero-description {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body.contact .hero-icon {
  font-size: 4rem;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 768px) {
  /* Contact Hero Section */
  body.contact .hero {
    padding: 50px 20px; /* reduce vertical padding */
  }

  body.contact .hero-title {
    font-size: 2rem; /* smaller heading */
    margin-bottom: 1rem;
  }

  body.contact .hero-description {
    font-size: 1rem; /* smaller description */
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  body.contact .hero-icon {
    font-size: 3rem; /* scale icon */
  }
}

/* Section Headers */
body.contact .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

body.contact .section-header i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

body.contact .section-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  /* Section Headers */
  body.contact .section-header {
    margin-bottom: 2rem;
    padding: 0 10px;
  }

  body.contact .section-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  body.contact .section-header h2 {
    font-size: 2rem;
  }
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: var(--surface);
}

.contact-form {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(107, 138, 253, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #e5e7eb;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafbfc;
  font-family: "Cairo", Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
  background: var(--surface);
}

.form-group:focus-within {
  color: var(--primary);
}

.required {
  color: var(--error);
}

body.contact .submit-btn {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-700) 100%
  );
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-shadow: var(--shadow-md);
}

body.contact .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

body.contact .submit-btn:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  /* Contact Form Section - Mobile */
  .contact-form-section {
    padding: 50px 20px;
  }

  .contact-form {
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-row {
    display: flex;
    flex-direction: column; /* stack inputs vertically */
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 8px;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 0.9rem 0;
  }
}

/* Success Message */
.success-message {
  display: none;
  background: var(--success);
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}

.success-message.show {
  display: block;
  animation: slideIn 0.5s ease;
}

.success-message i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Information Section */
.contact-info-section {
  padding: 80px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 15%;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 138, 253, 0.1);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-700) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.contact-card p {
  color: var(--muted);
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  /* Success Message */
  .success-message {
    padding: 1.5rem;
  }

  .success-message i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .success-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  /* Contact Information Section */
  .contact-info-section {
    padding: 50px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr; /* stack contact cards vertically */
    gap: 16px;
  }

  .contact-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .contact-link {
    font-size: 1rem;
  }

  .contact-card p {
    font-size: 14px;
  }
}

/* Social Media */
.social-media {
  text-align: center;
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.social-media h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 15%;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-link.tiktok {
  background: #000;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--surface);
}

.map-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.google-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.google-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(107, 138, 253, 0.1);
}

.location-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.location-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.location-card p {
  color: var(--muted);
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  /* Social Media Section */
  .social-media {
    padding: 1.5rem;
  }

  .social-media h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .social-links {
    gap: 1rem;
    flex-direction: column; /* stack links vertically */
    align-items: center;
  }

  .social-link {
    width: 100%; /* full-width buttons */
    justify-content: center;
    padding: 0.8rem 0;
    border-radius: 12%;
    font-size: 1rem;
  }

  /* Map Section */
  .map-section {
    padding: 50px 20px;
  }

  .map-container {
    grid-template-columns: 1fr; /* stack map and location card vertically */
    gap: 1.5rem;
  }

  .google-map {
    height: 300px;
  }

  .location-card {
    padding: 1.5rem;
  }

  .location-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .location-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .location-card p {
    font-size: 1rem;
  }
}

/* Working Hours Section */
.working-hours-section {
  padding: 80px 0;
  background: var(--bg);
}

.working-hours-card {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(107, 138, 253, 0.1);
}

.hours-grid {
  margin-bottom: 2rem;
}

.day-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.day-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
  color: var(--text);
}

.time {
  color: var(--muted);
}

.status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.status.available {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status.closed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}
@media (max-width: 768px) {
  /* Working Hours Section */
  .working-hours-section {
    padding: 50px 20px;
  }

  .working-hours-card {
    padding: 2rem;
    max-width: 100%;
  }

  .day-row {
    grid-template-columns: 1fr; /* stack day, time, and status vertically */
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .day,
  .time,
  .status {
    text-align: right;
    font-size: 0.95rem;
  }

  .status {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
  }
}
