/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: linear-gradient(to right, #9333ea, #8b5cf6, #3b82f6);
  color: white;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: brightness(0.9) contrast(1.25);
}

.company-name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.company-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  color: #ffffff;
}

@media (min-width: 768px) {
  .company-name {
    font-size: 3rem;
  }
  .company-subtitle {
    font-size: 1.5rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f3e8ff, #faf5ff, #eff6ff);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: right;
  }
}

.experience-badge {
  background-color: #fed7aa;
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.experience-badge p {
  color: #ea580c;
  font-weight: bold;
  font-size: 1.125rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: right;
}

.feature-icon {
  background-color: #f97316;
  color: white;
  border-radius: 50%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  margin-right: 1rem;
}

.feature-content p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .feature-content p {
    font-size: 1rem;
  }
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-text {
  text-align: right;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-text h3 {
    font-size: 1.875rem;
  }
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .contact-buttons {
    flex-direction: row;
    justify-content: flex-end;
  }
}

.contact-label {
  font-size: 0.875rem;
  color: #4b5563;
  order: 3;
}

@media (min-width: 640px) {
  .contact-label {
    order: 1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
}

.btn-whatsapp:hover {
  background-color: #16a34a;
}

.btn-whatsapp img {
  margin-left: 0;
  margin-right: 5px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.btn-instagram {
  background: linear-gradient(to right, #ec4899, #a855f7);
  color: white;
}

.btn-instagram:hover {
  opacity: 0.9;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .services-header h3 {
    font-size: 1.875rem;
  }
}

.services-header p {
  color: #4b5563;
  max-width: 32rem;
  margin: 0 auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-header p {
    font-size: 1rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  max-width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.service-card h4 {
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Certification Section */
.certification {
  padding: 5rem 0;
  background-color: white;
}

.certification-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .certification-content {
    grid-template-columns: 1fr 1fr;
  }
}

.certification-image {
  text-align: center;
}

.certification-image img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.certification-text {
  text-align: right;
}

.certification-badge {
  background-color: #fef3c7;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: #d97706;
}

.certification-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .certification-text h3 {
    font-size: 1.875rem;
  }
}

.certification-text > p {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .certification-text > p {
    font-size: 1rem;
  }
}

.certification-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cert-feature svg {
  background-color: #f97316;
  color: white;
  border-radius: 50%;
  padding: 0.25rem;
  flex-shrink: 0;
}

.cert-feature span {
  color: #374151;
  font-size: 0.875rem;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .cert-feature span {
    font-size: 1rem;
  }
}

.contact-info {
  background-color: #fed7aa;
  padding: 1rem;
  border-radius: 0.5rem;
}

.contact-info-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-content svg {
  color: #ea580c;
  flex-shrink: 0;
}

.contact-info-content p:first-of-type {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .contact-info-content p:first-of-type {
    font-size: 1rem;
  }
}

.phone-number {
  font-size: 1.125rem;
  font-weight: bold;
  color: #ea580c;
}

/* Contact Section */
.contact {
  background: linear-gradient(to right, #2563eb, #3b82f6, #8b5cf6);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.contact h3 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-buttons-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-buttons-main {
    flex-direction: row;
  }
}

.contact-buttons-main .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.license-info {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 24rem;
  margin: 0 auto;
}

.license-info h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.license-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.license-details span:first-child {
  color: white;
}

.license-number {
  font-weight: bold;
  color: white;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

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

.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: brightness(0.9) contrast(1.25);
}

.footer-company-info h4 {
  font-weight: bold;
  font-size: 3.125rem;
}

.footer-company-info p {
  font-size: 1.675rem;
  color: #9ca3af;
}

.copyright {
  color: #9ca3af;
  font-size: 1.2rem;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  height: 3rem;
}

.floating-call {
  background-color: #2563eb;
}

.floating-call:hover {
  background-color: #1d4ed8;
}

.floating-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
}

.floating-whatsapp:hover {
  background-color: #16a34a;
}

.floating-whatsapp span {
  color: #dcfce7;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-content,
  .about-content,
  .certification-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text,
  .about-text,
  .certification-text {
    text-align: center;
  }

  .feature,
  .cert-feature {
    justify-content: center;
  }

  .contact-buttons {
    justify-content: center;
  }
  h1 {
    font-size: 52px;
    font-weight: bold;
    color: #1a4d2e;
    text-align: center;
  }
}

/* زرار واتساب للابتوب */
@media (min-width: 768px) {
  .btn-whatsapp,
  .floating-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
  }
}

/* منع Safari من تحويل النص إلى إيموجي */
.wa-text {
  font-family: Arial, sans-serif;
  -webkit-text-size-adjust: none;
  -webkit-font-feature-settings: "liga" off;
  font-feature-settings: "liga" off;
  text-rendering: optimizeSpeed;
  font-variant-emoji: text;
}

/* منع Safari من تحويل النص إلى إيموجي في جميع أزرار واتساب */
.btn-whatsapp .wa-text,
.floating-whatsapp .wa-text {
  -webkit-text-size-adjust: none;
  -webkit-font-feature-settings: "liga" off;
  font-feature-settings: "liga" off;
  text-rendering: optimizeSpeed;
  font-variant-emoji: text;
}
