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

html {
  font-family: 'Tajawal', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  color: #1e293b;
  line-height: 1.6;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #2563eb;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1), rgba(20, 184, 166, 0.1));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

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

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

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

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

.btn-secondary {
  background: #10b981;
  color: white;
}

.btn-secondary:hover {
  background: #059669;
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .services {
    padding: 6rem 0;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@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: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-card-header {
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

.service-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-card-header img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.service-card p {
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-actions {
  display: flex;
  gap: 0.5rem;
}

.service-actions .btn {
  flex: 1;
  text-align: center;
}

/* Why Choose Us */
.why-choose {
  padding: 4rem 0;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .why-choose {
    padding: 6rem 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.feature-card p {
  color: #64748b;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .contact {
    padding: 6rem 0;
  }
}

.contact-box {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.contact-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-box p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
}

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

footer p {
  margin: 0.5rem 0;
}

footer .company-name {
  font-weight: 600;
}

footer .tagline {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  z-index: 40;
}

.whatsapp-btn:hover {
  background: #059669;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* Service Detail Page */
.service-detail {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .service-detail {
    padding: 6rem 0;
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.detail-content p {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.detail-content ul {
  list-style: none;
  margin-bottom: 2rem;
  padding-right: 1.5rem;
}

.detail-content li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-right: 1.5rem;
}

.detail-content li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #2563eb;
  font-weight: bold;
}

.cta-box {
  background: #f3f4f6;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
}

.cta-box h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.service-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.service-actions .btn {
  flex: 1;
  text-align: center;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.process-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.process-number {
  width: 48px;
  height: 48px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Back Button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: #1d4ed8;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-banner .cta-buttons {
  max-width: 32rem;
  margin: 0 auto;
}

.cta-banner .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .cta-banner .btn {
    width: auto;
  }
}

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

.cta-banner .btn-primary:hover {
  background: #f1f5f9;
}

/* Responsive */
@media (max-width: 640px) {
  .hero h2 {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions .btn {
    width: 100%;
  }
}
