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

:root {
  --primary-color: #1e40af;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #3b82f6 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #fbbf24 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    #34d399 100%
  );
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  /* تحسين الخطوط مع إضافة خطوط احتياطية أكثر للتوافق مع هوستينجر */
  font-family: "Cairo", "Tajawal", "Segoe UI", "Tahoma", "Geneva", "Verdana",
    "Arial", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  direction: rtl;
  background-color: var(--bg-white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* حذف جميع أنماط اللودر كما طلب المستخدم */

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
  min-height: 80px;
}

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

.logo i {
  font-size: 2.5rem;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.logo-text h1 {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.logo-text span {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--primary-color);
  background: rgba(30, 64, 175, 0.1);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 80%;
}

.header-contact .phone-btn {
  background: var(--gradient-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  white-space: nowrap;
}

.header-contact .phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.header-contact .phone-btn i {
  font-size: 1.25rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background-color: rgba(30, 64, 175, 0.1);
}

/* Hero Section */
.hero {
  /* تحسين القسم الرئيسي ليبدأ مباشرة تحت الهيدر كما طلب المستخدم */
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: 2rem 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.3;
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.9;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease;
}

.hero-badge i {
  color: var(--secondary-color);
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.2;
}

.hero-content > p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.4s both;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.feature {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.feature h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem auto;
  animation: fadeInUp 0.8s ease 0.8s both;
  flex-wrap: wrap;
  max-width: 600px;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  justify-content: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: #3654c4;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: #20ba59;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease 1s both;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.2;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.service-card.featured::before {
  height: 6px;
  background: var(--gradient-secondary);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.service-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

/* AC Types Section */
.ac-types {
  padding: 6rem 0;
  background: var(--bg-white);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.type-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease;
  border: 1px solid var(--border-color);
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.type-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  background: var(--bg-light);
  border-radius: 10px 10px 0 0;
}

.type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
  background: var(--bg-light);
  display: block;
}

.type-card:hover .type-image img {
  transform: scale(1.05);
}

/* إضافة أنماط للصور البديلة */
.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
}

.type-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.type-content {
  padding: 2rem;
}

.type-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.type-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.type-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.type-specs span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
}

.type-specs i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

.price-range {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}

/* Why Choose Us Section */
.why-choose {
  padding: 6rem 0;
  background: var(--bg-light);
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-choose-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.why-choose-text p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.reasons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reason {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.reason:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.reason-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.reason-content h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.reason-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.why-choose-image {
  position: relative;
}

.why-choose-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
}

.image-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-secondary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-info > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-methods {
  margin: 2rem 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-5px);
}

.method-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.method-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.method-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.method-info a:hover {
  color: white;
}

.method-info span {
  display: block;
  opacity: 0.8;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  line-height: 1.2;
}

.service-areas {
  margin-top: 3rem;
}

.service-areas h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.areas-list span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.areas-list span:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  color: var(--text-dark);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.form-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  /* تحسين الخطوط في النماذج للتوافق مع هوستينجر */
  font-family: "Cairo", "Tajawal", "Arial", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.form-note i {
  color: var(--accent-color);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo i {
  font-size: 2rem;
  color: var(--primary-color);
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.footer-logo span {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.2;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  transition: color 0.3s ease;
  line-height: 1.4;
}

.footer-section ul li:hover {
  color: white;
}

.footer-section ul li i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.social-link.whatsapp {
  background: var(--gradient-accent);
}

.contact-info-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact-item i {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item div span:first-child {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.footer-contact-item div span:last-child,
.footer-contact-item div a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.footer-contact-item div a:hover {
  color: var(--secondary-color);
}

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

.footer-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  transition: color 0.3s ease;
  line-height: 1.4;
}

.footer-feature:hover {
  color: white;
}

.footer-feature i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: white;
}

/* Floating Contact Buttons */
.floating-contacts {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
  direction: ltr; /* لضمان عرض صحيح للأزرار */
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.floating-btn:hover .floating-text {
  opacity: 1;
  transform: translateX(-100%);
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #20ba59;
}

.phone-btn {
  background: #4a6cf7;
  color: white;
}

.phone-btn:hover {
  background: #3654c4;
}

.floating-text {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: inherit;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
    margin: 0 auto;
  }

  .why-choose-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat {
    min-width: 180px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 800px;
    margin: 0 auto;
  }

  .types-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 70px;
    padding: 0.75rem 0;
    justify-content: space-between;
  }

  .nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav.mobile-active {
    display: flex;
  }

  .nav a {
    padding: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    padding: 1rem 0;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    min-width: 250px;
    padding: 1rem 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-grid,
  .types-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-contacts {
    right: 1rem;
    bottom: 1rem;
    left: auto;
  }

  .floating-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .floating-text {
    display: none;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .services,
  .ac-types,
  .why-choose,
  .contact {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .hero-content > p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .service-card,
  .contact-form-container {
    padding: 1.5rem 1.25rem;
    border-radius: 15px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    min-width: auto;
    width: 100%;
  }

  .hero-buttons {
    gap: 0.75rem;
    width: 90%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    gap: 1rem;
  }

  .feature {
    padding: 0.75rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .areas-list {
    gap: 0.5rem;
  }

  .areas-list span {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .logo-text h1 {
    font-size: 1.25rem;
  }

  .logo-text span {
    font-size: 0.75rem;
  }

  .header-contact .phone-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    background: var(--primary-color);
    color: white;
  }

  .header-contact .phone-btn div {
    display: none;
  }

  .header-contact .phone-btn i {
    margin: 0;
  }

  .footer-content {
    gap: 2rem;
  }

  /* تحسين للصور في الأجهزة الصغيرة */
  .type-image {
    height: 200px;
  }
}

/* Print Styles */
@media print {
  .header,
  .floating-contacts,
  .hero-buttons,
  .contact-form-container {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  * {
    box-shadow: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #333333;
    --border-color: #000000;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* إضافة تحسينات إضافية للتوافق مع هوستينجر */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  hyphens: auto;
}

p {
  word-wrap: break-word;
  hyphens: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

button,
.btn {
  cursor: pointer;
  user-select: none;
}

*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
