/* =====================================================
   ARABIC TRAINING ACADEMY — PAGE STYLES
   Direction: RTL | Font: Tajawal
   Primary: #7a0c0c | Accent: #b62b46 | Light: #fff1f4
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  background: #fff;
  color: #0f172a;
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #7a0c0c;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.navbar-logo {
  height: 48px;
  object-fit: contain;
}

.navbar-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-social a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.navbar-social a:hover {
  opacity: 0.6;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  background: #fff1f4;
  padding: 60px 80px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-image {
  flex-shrink: 0;
  width: 380px;
  height: 310px;
  border-radius: 48px;
  object-fit: cover;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  text-align: right;
}

.hero-title {
  font-size: 42px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 400;
}

.hero-title .highlight {
  color: #8a0f0f;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(180deg, #7a0c0c, #b62b46);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 36px;
  height: 56px;
  font-size: 20px;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: #7a0c0c;
  border: 2px solid #7a0c0c;
  border-radius: 8px;
  padding: 0 36px;
  height: 56px;
  font-size: 20px;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-outline:hover { background: rgba(122,12,12,0.05); }

/* ─── SECTION COMMON ─────────────────────────────────── */
.section {
  padding: 70px 80px;
}

.section.bg-white  { background: #fff; }
.section.bg-light  { background: #fff1f4; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.section-title {
  font-size: 36px;
  color: #b62b46;
  font-weight: 400;
}

.section-subtitle {
  font-size: 20px;
  color: #4b5563;
  max-width: 700px;
}

/* ─── CONTACT FORM ───────────────────────────────────── */
.form-section {
  background: #fff;
  padding: 70px 80px;
  position: relative;
}

.form-section-header {
  text-align: center;
  margin-bottom: 44px;
}

.form-section-header h2 {
  font-size: 32px;
  color: #b62b46;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.4;
}

.form-section-header p {
  font-size: 18px;
  color: #4b5563;
}

.form-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 16px;
  color: #b62b46;
  font-family: 'Tajawal', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  color: #0f172a;
  border: 1px solid rgba(56,56,56,0.2);
  border-radius: 6px;
  padding: 0 16px;
  height: 46px;
  background: #fff;
  outline: none;
  text-align: right;
  direction: rtl;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b62b46;
}

.form-group textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-group .select-wrapper {
  position: relative;
}

.form-group .select-wrapper::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #7a0c0c;
  pointer-events: none;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}


.btn-submit {
  background: linear-gradient(180deg, #7a0c0c, #b62b46);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0 80px;
  height: 56px;
  font-size: 20px;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 260px;
}

.btn-submit:hover { opacity: 0.88; }

/* ─── ABOUT / STATS ──────────────────────────────────── */
.about-section {
  background: #fff;
  padding: 70px 80px;
}

.about-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-header h2 {
  font-size: 36px;
  color: #b62b46;
  margin-bottom: 16px;
  font-weight: 400;
}

.about-header p {
  font-size: 20px;
  color: #4b5563;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: #fff1f4;
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.stat-value {
  font-size: 30px;
  color: #b62b46;
  font-weight: 400;
  line-height: 1.2;
}

.stat-label {
  font-size: 16px;
  color: #4b5563;
  text-align: center;
}

/* ─── SERVICES ───────────────────────────────────────── */
.services-section {
  background: #fff1f4;
  padding: 70px 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 15px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}

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

.service-icon-box {
  width: 60px;
  height: 60px;
  background: #fff1f4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  color: #b62b46;
}

.service-title {
  font-size: 20px;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.service-desc {
  font-size: 15px;
  color: #4b5563;
  text-align: right;
  line-height: 1.7;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  font-size: 15px;
  color: #4b5563;
}

.bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b62b46;
  flex-shrink: 0;
}

/* ─── WHY US ─────────────────────────────────────────── */
.whyus-section {
  background: #fff;
  padding: 70px 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.feature-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7a0c0c, #b62b46);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-circle svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.feature-title {
  font-size: 18px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.4;
}

.feature-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testimonials-section {
  background: #fff;
  padding: 70px 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 10px 15px rgba(0,0,0,0.07);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

.person-info {
  text-align: right;
}

.person-name {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
}

.person-title {
  font-size: 13px;
  color: #b62b46;
}

.person-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f1f1;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-size: 15px;
  color: #4b5563;
  text-align: right;
  font-style: italic;
  line-height: 1.8;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-filled {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #7a0c0c, #b62b46);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 36px;
  height: 52px;
  font-size: 17px;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 220px;
  justify-content: center;
}

.btn-cta-filled:hover { opacity: 0.88; }

.btn-cta-outline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #7a0c0c;
  border: 2px solid #7a0c0c;
  border-radius: 8px;
  padding: 0 36px;
  height: 52px;
  font-size: 17px;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 220px;
  justify-content: center;
}

.btn-cta-outline:hover { background: rgba(122,12,12,0.05); }

/* ─── PARTNERS ───────────────────────────────────────── */
.partners-section {
  background: #fff1f4;
  padding: 70px 80px;
}

.partners-text {
  font-size: 16px;
  color: #383838;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.partners-text .accent { color: #8a0f0f; }

.partners-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.partner-card {
  background: #fff;
  border-radius: 14px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}

.partner-card img {
  max-height: 65px;
  max-width: 100%;
  object-fit: contain;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #7a0c0c;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 44px;
  object-fit: contain;
}

.footer-brand-logo {
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 0.6; }

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 12px 48px;
  background: #7a0c0c;
  text-align: center;
}

.footer-copyright p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-family: 'Tajawal', sans-serif;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar { padding: 0 24px; }
  .hero { padding: 48px 32px; gap: 48px; }
  .hero-image { width: 300px; height: 240px; }
  .hero-title { font-size: 32px; }
  .section { padding: 56px 32px; }
  .form-section { padding: 56px 32px; }
  .about-section { padding: 56px 32px; }
  .services-section { padding: 56px 32px; }
  .whyus-section { padding: 56px 32px; }
  .testimonials-section { padding: 56px 32px; }
  .partners-section { padding: 56px 32px; }
  .footer { padding: 16px 24px; }
  .footer-copyright { padding: 12px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partners-row { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { flex-direction: column-reverse; padding: 40px 20px; gap: 32px; }
  .hero-image { width: 100%; height: 220px; border-radius: 28px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 16px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .form-section { padding: 40px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .about-section { padding: 40px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 16px; }
  .services-section { padding: 40px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .whyus-section { padding: 40px 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .testimonials-section { padding: 40px 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .partners-section { padding: 40px 16px; }
  .partners-row { grid-template-columns: repeat(3, 1fr); }
  .footer { flex-direction: column; gap: 16px; padding: 20px 16px; text-align: center; }
  .footer-copyright { padding: 12px 16px; }
  .navbar { padding: 0 16px; }
}


@media (max-width: 480px) {
  .partners-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
}

