

/* ===== تنسيقات الأقسام الجديدة ===== */

/* قسم المناطق التي نخدمها */
.service-areas {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

.areas-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.area-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.area-card.special-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.area-card.special-card h3,
.area-card.special-card .area-list li {
  color: white;
}

.area-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.area-card.special-card .area-icon {
  color: white;
}

.area-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.area-list {
  list-style: none;
  padding: 0;
}

.area-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.area-list li:before {
  content: "📍";
  margin-left: 0.5rem;
}

.area-list li:last-child {
  border-bottom: none;
}

.service-notice {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.service-notice i {
  font-size: 2rem;
}

.service-notice p {
  margin: 0;
  line-height: 1.6;
}

/* قسم معرض الصور */
.gallery-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.gallery-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  animation: slideUp 0.6s ease-out;
}

.gallery-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* قسم العروض والخصومات */
.offers-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

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

.offer-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 84, 150, 0.2);
  border-color: var(--primary-color);
}

.offer-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(0, 84, 150, 0.05), rgba(0, 119, 204, 0.05));
}

.offer-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.offer-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
}

.offer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.offer-discount {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0;
}

.offer-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: right;
}

.offer-features li {
  padding: 0.5rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-features i {
  color: var(--primary-color);
}

/* قسم حاسبة التكلفة */
.calculator-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

.calculator-container {
  display: grid;
  gap: 2rem;
}

.calculator-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

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

.calc-group {
  display: flex;
  flex-direction: column;
}

.calc-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.calc-group input,
.calc-group select {
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--bg-section);
  color: var(--text-dark);
  font-family: inherit;
}

.calc-services {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-section);
  border-radius: 5px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.calc-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.calc-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.calculator-result {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.calculator-result h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.result-price {
  font-size: 3rem;
  font-weight: bold;
  margin: 1.5rem 0;
}

.result-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 1rem 0;
}

.result-breakdown {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: right;
}

/* قسم الشهادات */
.certificates-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.cert-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.cert-card {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.cert-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cert-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cert-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cert-number {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem;
  background: rgba(0, 84, 150, 0.1);
  border-radius: 5px;
}

/* قسم النصائح */
.tips-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

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

.tip-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}

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

.tip-number {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.tip-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 1rem 0;
  text-align: center;
}

.tip-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: center;
}

.tip-card p {
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
}

.download-guide {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.download-guide i {
  font-size: 3rem;
}

.download-guide div {
  flex: 1;
  min-width: 200px;
}

.download-guide h3 {
  margin-bottom: 0.5rem;
}

.download-guide p {
  opacity: 0.9;
}

/* قسم الشركاء */
.partners-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.partners-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.partner-card {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.partner-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.partner-card p {
  color: var(--text-dark);
  font-weight: 500;
}

.client-testimonial {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  border-right: 4px solid var(--primary-color);
  position: relative;
}

.client-testimonial i {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.client-testimonial p {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
}

/* قسم التقييمات المباشرة */
.live-reviews-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

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

.review-stat {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.review-stat h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stars-large {
  color: #ffc107;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.review-stat p {
  color: var(--text-light);
}

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

.review-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.review-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  font-size: 3rem;
  color: var(--primary-color);
}

.reviewer-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.review-stars {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-text {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-source {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.add-review-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 2px dashed var(--border-color);
}

.add-review-section h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.add-review-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* قسم التأمين */
.insurance-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.insurance-intro {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.insurance-intro i {
  font-size: 4rem;
  color: var(--primary-color);
}

.insurance-intro h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.insurance-intro p {
  color: var(--text-light);
}

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

.insurance-card {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.insurance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.insurance-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.insurance-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.insurance-card > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.insurance-features {
  list-style: none;
  padding: 0;
}

.insurance-features li {
  padding: 0.7rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.insurance-features li:last-child {
  border-bottom: none;
}

.insurance-features i {
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.insurance-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.insurance-cta h3 {
  margin-bottom: 0.5rem;
}

.insurance-cta p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* قسم الدفع */
.payment-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

.payment-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.payment-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.payment-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.payment-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.payment-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.payment-security {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.payment-security i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.payment-security h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.payment-security p {
  color: var(--text-light);
}

.invoice-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.invoice-section h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.invoice-section > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.invoice-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.invoice-features span {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* قسم المدونة الموسعة */
.extended-blog-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.blog-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.blog-cat-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-section);
  color: var(--text-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

.extended-blog-card {
  background: var(--bg-section);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

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

.blog-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
}

.blog-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

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

.blog-card-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.blog-card-content > p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-meta-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.read-article-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.read-article-btn:hover {
  color: var(--secondary-color);
  gap: 0.8rem;
}

.blog-cta {
  text-align: center;
}

/* قسم الموارد */
.resources-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 8px;
}

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

.resource-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.resource-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.resource-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

.resource-details {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.resource-details span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.download-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.download-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* قسم الإحصائيات */
.analytics-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.analytics-container {
  display: grid;
  gap: 2rem;
}

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

.analytics-card {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

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

.analytics-card.large {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
}

.analytics-icon {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.analytics-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.analytics-card.large p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.analytics-growth {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.analytics-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.analytics-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.analytics-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.analytics-report {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.analytics-report h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.analytics-report p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* قسم الأسئلة الشائعة المتقدم */
.advanced-faq-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
}

.faq-search-box {
  position: relative;
  margin-bottom: 2rem;
}

.faq-search-box i {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.faq-search-box input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  background: var(--bg-section);
  color: var(--text-dark);
  font-size: 1rem;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.faq-cat-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-section);
  color: var(--text-dark);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.advanced-accordion {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.advanced-accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-section);
  transition: var(--transition);
}

.advanced-accordion-item:hover {
  border-color: var(--primary-color);
}

.advanced-accordion-header {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
  text-align: right;
}

.advanced-accordion-header:hover {
  color: var(--primary-color);
}

.advanced-accordion-header span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.advanced-accordion-header i.fa-chevron-down {
  transition: var(--transition);
}

.advanced-accordion-item.active .advanced-accordion-header i.fa-chevron-down {
  transform: rotate(180deg);
}

.advanced-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--bg-light);
  padding: 0 1.5rem;
}

.advanced-accordion-item.active .advanced-accordion-content {
  padding: 1.5rem;
}

.advanced-accordion-content p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.advanced-accordion-content ul {
  margin: 1rem 0;
  padding-right: 1.5rem;
}

.advanced-accordion-content li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.faq-contact {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.faq-contact h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.faq-contact p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.faq-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
  .calc-row {
    grid-template-columns: 1fr;
  }

  .analytics-main {
    grid-template-columns: 1fr;
  }

  .faq-contact-buttons {
    flex-direction: column;
  }

  .faq-contact-buttons .cta-btn {
    width: 100%;
  }

  .invoice-features {
    flex-direction: column;
    align-items: center;
  }
}
