
/* --- Global Imports (Start) --- */
/* ✅ 1. Import Font Awesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ✅ 2. Import Google Fonts (Tajawal & Cairo) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Cairo:wght@300;400;600;700;900&display=swap');

/* ✅ 3. Import Pico.css Framework */
@import url('https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css');
/* --- Global Imports (End) --- */


:root {
  
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --glass-bg: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
  --shadow-heavy: 0 20px 60px rgba(31, 38, 135, 0.5);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
}

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

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  direction: rtl;
  background: var(--gradient-bg);
  min-height: 100vh;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: backgroundMove 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes backgroundMove {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

nav {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-light);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav:hover {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-heavy);
}

.brand-logo {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.4rem;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5)); }
  50% { filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.8)); }
}

nav ul li a {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav ul li a:hover::before {
  width: 15%;
}

main {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 4rem;
  margin: 3rem auto;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

h1, h2, h3, p {
  text-align: right;
}

main h2,h1 {
  color: var(--text-primary);
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3)); }
  to { filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6)); }
}

  main > section > p {
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 1.2rem;
      line-height: 1.8;
      text-align: center;
      margin-bottom: 2.5rem;
    }

    .contact-info {
      background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
      padding: 2.5rem;
      border-radius: 20px;
      border-right: 5px solid var(--primary-color);
      box-shadow: var(--shadow-light);
      border: 1px solid rgba(78, 115, 223, 0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
    }

    .contact-info::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 4px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .contact-info:hover::before {
      transform: scaleX(1);
    }

    .contact-info:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-heavy);
      background: rgba(255, 255, 255, 0.99);
    }

    .contact-info h3 {
      color: var(--text-primary);
      font-weight: 700;
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
    }

    .contact-info p {
      margin: 1.2rem 0;
      padding: 1.2rem;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      color: var(--text-secondary);
      font-weight: 500;
      transition: all 0.3s ease;
      font-size: 1.1rem;
    }

    .contact-info p:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
      background: rgba(255, 255, 255, 1);
    }

    article {
      background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
      border-radius: 20px;
      padding: 3rem;
      margin-top: 3rem;
      box-shadow: var(--shadow-light);
      border: 1px solid rgba(78, 115, 223, 0.1);
      transition: all 0.3s ease;
    }

    article:hover {
      box-shadow: var(--shadow-heavy);
    }

    article h3 {
      color: var(--text-primary);
      font-weight: 700;
      font-size: 1.6rem;
      margin-bottom: 1.2rem;
    }

    article p {
      color: var(--text-secondary);
      font-weight: 500;
      line-height: 1.8;
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }

    /* إصلاح النموذج الشفاف */
    form {
      background: rgba(255, 255, 255, 0.95);
      padding: 2rem;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    form input, form textarea {
      background: rgba(255, 255, 255, 0.9) !important;
      border: 2px solid rgba(102, 126, 234, 0.3) !important;
      border-radius: 10px !important;
      padding: 1rem 1.5rem !important;
      font-size: 1rem !important;
      color: var(--text-primary) !important;
      font-weight: 500 !important;
      transition: all 0.3s ease !important;
      margin-bottom: 1rem !important;
    }

    form input:focus, form textarea:focus {
      background: rgba(255, 255, 255, 1) !important;
      border-color: var(--primary-color) !important;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
      outline: none !important;
    }

    form input::placeholder, form textarea::placeholder {
      color: var(--text-secondary) !important;
      opacity: 0.8 !important;
    }

    form button {
      background: var(--gradient-primary) !important;
      color: white !important;
      border: none !important;
      border-radius: 50px !important;
      padding: 1rem 2.5rem !important;
      font-weight: 700 !important;
      font-size: 1.1rem !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4) !important;
    }

    form button:hover {
      transform: translateY(-3px) !important;
      box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6) !important;
    }

    figure {
      text-align: center;
    }

    figure img {
      border-radius: 20px;
      box-shadow: var(--shadow-light);
      transition: all 0.3s ease;
    }

    figure img:hover {
      transform: scale(1.05);
      box-shadow: var(--shadow-heavy);
    }





footer {
  margin-top: 4rem;
  padding: 3rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--glass-border);
}

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

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

.footer-section p, .footer-section a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-bottom small {
  color: var(--text-primary);
  font-weight: 500;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

@media (max-width: 768px) {
  main { padding: 2rem; }
  main h2 { font-size: 2rem; }
  .footer-content { grid-template-columns: 1fr; }
        form { padding: 1.5rem; }

}




    /* قسم الاشتراك المحسن */
    .cta-section {
      background: var(--gradient-primary);
      border-radius: 25px;
      margin: 4rem 0;
      box-shadow: var(--shadow-heavy);
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      animation: rotate 15s linear infinite reverse;
    }

    .cta-section article {
      padding: 3rem;
      position: relative;
      z-index: 1;
    }

    .cta-section h2 {
      color: white;
      font-weight: 800;
      font-size: 2rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .cta-section h3 {
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
      font-size: 1.2rem;
    }

    .cta-form {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 1rem;
      margin-top: 2rem;
    }

    .cta-form input {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: white;
      border-radius: 50px;
      padding: 1rem 1.5rem;
      font-size: 1rem;
    }

    .cta-form input::placeholder {
      color: rgba(255, 255, 255, 0.8);
    }

    .cta-form button {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: white;
      border-radius: 50px;
      padding: 1rem 2rem;
      font-weight: 700;
      transition: all 0.3s ease;
    }

    .cta-form button:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-2px);
    }

    /* فوتر محسن */
    footer {
      margin-top: 4rem;
      padding: 3rem 0;
      background: var(--glass-bg);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      box-shadow: var(--shadow-light);
      border: 1px solid var(--glass-border);
    }

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

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

    .footer-section p, .footer-section a {
      color: var(--text-secondary);
      font-weight: 500;
      text-decoration: none;
      margin-bottom: 0.5rem;
      display: block;
      transition: all 0.3s ease;
    }

    .footer-section a:hover {
      color: var(--primary-color);
      transform: translateX(-5px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid rgba(102, 126, 234, 0.2);
    }

    .footer-bottom small {
      color: var(--text-primary);
      font-weight: 500;
    }

    .footer-bottom a {
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .footer-bottom a:hover {
      color: var(--secondary-color);
      text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }

    /* استجابة للشاشات الصغيرة */
    @media (max-width: 768px) {
      .hero-section h1 { font-size: 2rem; }
      .hero-section { padding: 2rem; }
      .services-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-form { grid-template-columns: 1fr; }
    }

    /* تأثيرات التمرير */
    .scroll-reveal {
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.8s ease;
    }

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* نموذج التواصل المحسن */
    .contact-form-container {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(15px);
      padding: 2.5rem;
      border-radius: 20px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
      margin-top: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .contact-form {
      width: 100%;
    }

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

    .form-group {
      position: relative;
    }

    .form-input, .form-textarea {
      width: 100%;
      background: rgba(255, 255, 255, 0.9) !important;
      border: 2px solid rgba(102, 126, 234, 0.2) !important;
      border-radius: 12px !important;
      padding: 1.2rem 1.5rem !important;
      font-size: 1rem !important;
      color: var(--text-primary) !important;
      font-weight: 500 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      transition: all 0.3s ease !important;
      outline: none !important;
      direction: rtl !important;
      text-align: right !important;
    }

    .form-input::placeholder, .form-textarea::placeholder {
      color: var(--text-secondary) !important;
      opacity: 0.8 !important;
    }

    .form-input:focus, .form-textarea:focus {
      background: rgba(255, 255, 255, 1) !important;
      border-color: var(--primary-color) !important;
      box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1) !important;
      transform: translateY(-2px) !important;
    }

    .form-textarea {
      resize: vertical !important;
      min-height: 120px !important;
      max-height: 200px !important;
    }

    .form-submit-btn {
      width: 100%;
      background: var(--gradient-primary) !important;
      border: none !important;
      border-radius: 50px !important;
      padding: 1.2rem 2.5rem !important;
      font-weight: 700 !important;
      font-size: 1.1rem !important;
      color: white !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
      position: relative !important;
      overflow: hidden !important;
      margin-top: 1rem !important;
    }

    .form-submit-btn:hover {
      transform: translateY(-3px) !important;
      box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4) !important;
      background: var(--gradient-secondary) !important;
    }

    .form-submit-btn:active {
      transform: translateY(-1px) !important;
    }

    .form-submit-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .form-submit-btn:hover::before {
      left: 100%;
    }

    /* زر العودة للأعلى */
    .back-to-top {
      position: fixed;
      bottom: 2rem;
      left: 2rem;
      background: var(--gradient-primary);
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: var(--shadow-light);
      transition: all 0.3s ease;
      opacity: 0;
      visibility: hidden;
      z-index: 1000;
    }

    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-heavy);
    }

    /* استجابة للشاشات الصغيرة - تحديث النموذج */
    @media (max-width: 768px) {
      .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .contact-form-container {
        padding: 1.5rem;
      }
    }



/* --- New Homepage Sections Styling (Start) --- */

/* General Section Title Styling */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* 1. Target Audience (Info Section) */
.info-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--glass-border);
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--text-primary);
}
.info-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 2. Popular Services (Interactive Grid) */
.popular-section {
    padding: 4rem 0;
}
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.popular-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 150px;
}
.popular-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    background: rgba(255, 255, 255, 1);
}
.popular-item i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}
.popular-item:hover i {
    transform: scale(1.2);
}
.popular-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* --- New Homepage Sections Styling (End) --- */



/* --- Contact Us Page Specific Styling (Start) --- */
.contact-hero {
    text-align: center;
    padding: 2rem 0;
}
.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
}
.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-decoration: none;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}
.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2.5rem;
}
.contact-icon.whatsapp { background: #25D366; }
.contact-icon.email { background: #667eea; }
.contact-icon.info { background: #764ba2; }

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 50px;
}
.contact-card .contact-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-form-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-heavy);
}
.form-container h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-primary);
}
.form-container p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.form-container form small {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    opacity: 0.8;
}
.form-container form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.map-section {
    margin: 4rem 0;
}
.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}
.map-container {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--glass-border);
}
/* --- Contact Us Page Specific Styling (End) --- */


/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES - MOVED FROM INDEX.HTML
   ========================================================================== */

/* --- Hero Section Styling (Start) --- */
.hero-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 4rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-section h1 {
  color: var(--text-primary);
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3)); }
  to { filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6)); }
}

.hero-section h2 {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
  color: white;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before {
  left: 100%;
}
/* --- Hero Section Styling (End) --- */


/* --- Featured Services Cards Styling (Start) --- */
.services-container {
  margin: 4rem 0;
}

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

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: cardSlideIn 0.8s ease-out;
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(50px) rotateX(-20deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 60px rgba(31, 38, 135, 0.4);
  background: rgba(255, 255, 255, 0.99);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iconFloat 3s ease-in-out infinite;
  display: block;
  text-align: center;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.service-card h3 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.service-card p {
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  font-size: 1.05rem;
}
/* --- Featured Services Cards Styling (End) --- */


/* --- Stats Section Styling (Start) --- */
/* الحاوية الجديدة التي ستحمل الخلفية 
.stats-container {
  /* استخدم صورة خلفية أو لون متدرج هنا */
  background-image: url('path/to/your/background-image.jpg'); /* <-- غيّر هذا المسار */
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem; /* مساحة لرؤية الخلفية حول العنصر الزجاجي */
  display: flex;
  justify-content: center;
  align-items: center;
}
*/
/* الكود الخاص بك مع تعديل بسيط */
.stats-section {
  background: rgba(255, 255, 255, 0.15); /* خلفية بيضاء شبه شفافة لتعزيز التأثير */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* لدعم متصفح Safari */
  border-radius: 25px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2); /* إضافة حدود اختيارية */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* ظل لتعزيز العمق */
  max-width: 900px; /* تحديد عرض أقصى للحفاظ على التصميم */
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 100%);
  /* 🎯 التعديل: بدلنا الخلفية لتكون أغمق قليلاً عشان يوضح النص */
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
  /* 🎯 التعديل: نفس الشي عند الهوفر، أغمق */
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff; /* 🎯 التعديل: بدلنا الـ gradient إلى لون أبيض صريح */
  text-shadow: 0 0 6px rgba(0,0,0,0.6); /* 🎯 التعديل: أضفنا ظل لتحسين الوضوح */
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #f1f1f1; /* 🎯 التعديل: بدلنا النص للون أبيض فاتح */
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,0.5); /* 🎯 التعديل: ظل خفيف للنص */
}
/* --- Stats Section Styling (End) --- */

/* --- General Homepage Sections Styling (Start) --- */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
/* --- General Homepage Sections Styling (End) --- */


/* --- Target Audience (Info Section) Styling (Start) --- */
.info-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--glass-border);
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--text-primary);
}
.info-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}
/* --- Target Audience (Info Section) Styling (End) --- */


/* --- Popular Services (Interactive Grid) Styling (Start) --- */
.popular-section {
    padding: 4rem 0;
}
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.popular-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 150px;
}
.popular-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    background: rgba(255, 255, 255, 1);
}
.popular-item i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}
.popular-item:hover i {
    transform: scale(1.2);
}
.popular-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}
/* --- Popular Services (Interactive Grid) Styling (End) --- */


/* --- Final Call to Action Section Styling (Start) --- */
.final-cta-section {
    background: var(--gradient-primary );
    border-radius: 25px;
    margin: 4rem 0;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite reverse;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    color: white;
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.final-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.final-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.final-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: #128C7E; /* Darker WhatsApp Green on hover */
}

.final-cta-button .fa-whatsapp {
    margin-left: 10px;
    font-size: 1.4rem;
}
/* --- Final Call to Action Section Styling (End) --- */


/* --- FAQ Section Styling (Start) --- */
.faq-section {
  padding: 4rem 0;
  margin: 4rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--glass-border);
}

.faq-title {
  text-align: center;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.2);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  outline: none;
}

.faq-question::after {
  content: '\f078'; /* Font Awesome chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
  font-size: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}
/* --- FAQ Section Styling (End) --- */


/* --- General Utility Styling (Start) --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}
/* --- General Utility Styling (End) --- */


/* --- Responsive Adjustments for Homepage (Start) --- */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-section { padding: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .info-item {
      flex-direction: column;
      text-align: center;
  }
}
/* --- Responsive Adjustments for Homepage (End) --- */



/* === Fix Contact Form Title and Submit Button === */
.cta-section h2,
.final-cta-section h2 {
  color: var(--text-primary, #2d3748);
  font-weight: 700;
  text-align: center;
}

.form-submit-btn {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.form-submit-btn:hover {
  background: var(--gradient-secondary);
  color: #fff !important;
  transform: scale(1.03);
}

/* --- About Us Page Specific Styling (start) --- */

.about-hero {
    text-align: center;
    padding: 2rem 0;
}
.about-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}
.about-hero .story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}
.vm-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--glass-border);
}
.vm-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}
.vm-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
    text-align: center;
}
.vm-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.vm-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.why-us-section {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3rem;
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.why-us-item {
    text-align: center;
    padding: 2rem;
}
.why-us-item .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.why-us-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.why-us-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    margin: 4rem 0;
    box-shadow: var(--shadow-heavy);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
}
.stat-item .stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ✅ Call to Action Section - The ABSOLUTE FINAL Styling */
.final-cta-section {
    background: var(--gradient-primary);
    border-radius: 25px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Increased overlay opacity */
    z-index: 1;
}
.final-cta-section .cta-content {
    position: relative;
    z-index: 2;
}
.final-cta-section h2 {
    color: #FFFFFF; /* Pure, solid white */
    font-size: 2.2rem;
    font-weight: 800; /* Bolder for clarity */
    margin-bottom: 1rem;
    text-shadow: none; /* Removed shadow */
}
.final-cta-section p {
    color: #FFFFFF; /* Pure, solid white */
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-shadow: none; /* Removed shadow */
    opacity: 0.9; /* Slight opacity for softness */
}
.whatsapp-button {
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    border: none;
}
.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}
.whatsapp-button i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .vm-card {
        flex-direction: column;
        text-align: center;
    }
}
/* --- About Us Page Specific Styling (End) --- */
