/* ===== قسم اتصل بنا ===== */
:root {
  --contact-primary: #3a7bd5;
  --contact-secondary: #00d2ff;
  --contact-success: #27ae60;
  --contact-warning: #f39c12;
  --contact-danger: #e74c3c;
  --contact-info: #3498db;
  --contact-gradient: linear-gradient(
    135deg,
    var(--contact-primary),
    var(--contact-secondary)
  );
  --contact-dark: #2c3e50;
  --contact-light: #ecf0f1;
  --contact-gray: #95a5a6;
}

.contact-page {
  background-color: #fff;
}

/* ===== القسم الرئيسي (الهيرو) ===== */
.contact-hero {
  background-color: #f8f9fa;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: var(--contact-gradient);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 100%);
  opacity: 0.15;
  z-index: 1;
}

.contact-hero .hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--contact-dark);
  position: relative;
  display: inline-block;
}

.contact-hero .hero-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 70px;
  height: 4px;
  background: var(--contact-primary);
  border-radius: 2px;
}

.contact-hero .hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #606060;
  line-height: 1.7;
}

.custom-breadcrumb {
  background-color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: var(--contact-primary);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--contact-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 2rem;
}

.animated-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.animated-button .btn-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-outline-primary.animated-button .btn-icon {
  background: rgba(58, 123, 213, 0.1);
}

.animated-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.animated-button:hover .btn-icon {
  transform: scale(1.1);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  color: var(--contact-primary);
}

.feature-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--contact-dark);
}

.contact-hero .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-hero .hero-image img {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

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

/* ===== قسم قنوات الاتصال ===== */
.section-padding {
  padding: 80px 0;
}

.section-padding-bottom {
  padding-bottom: 80px;
}

.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  background: rgba(58, 123, 213, 0.1);
  color: var(--contact-primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--contact-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--contact-primary);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #606060;
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.7;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  z-index: -1;
  transition: all 0.3s ease;
}

.contact-card:hover .card-icon::after {
  transform: scale(1.15);
}

.phone-icon {
  background-color: rgba(58, 123, 213, 0.1);
  color: var(--contact-primary);
}

.whatsapp-icon {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366; /* WhatsApp color */
}

.email-icon {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--contact-info);
}

.location-icon {
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--contact-warning);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--contact-dark);
}

.card-subtitle {
  font-size: 0.9rem;
  color: #606060;
  margin-bottom: 15px;
}

.card-link {
  display: inline-block;
  color: var(--contact-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card:hover .card-link {
  color: var(--contact-secondary);
}

.card-action {
  margin-top: auto;
}

/* Working hours card */
.working-hours-container {
  margin-top: 50px;
}

.working-hours-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.working-hours-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(
    circle,
    rgba(58, 123, 213, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 1;
}

.hours-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(58, 123, 213, 0.1);
  color: var(--contact-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.hours-content {
  position: relative;
  z-index: 2;
}

.hours-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--contact-dark);
}

.hours-content p {
  margin-bottom: 10px;
  color: #555;
}

.days-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
}

.days-list li {
  padding: 5px 15px;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #606060;
}

.hours-status {
  position: relative;
  z-index: 2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  margin-bottom: 10px;
}

.status-badge.open {
  background-color: rgba(39, 174, 96, 0.1);
  color: var(--contact-success);
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.status-badge.closed {
  background-color: rgba(149, 165, 166, 0.1);
  color: var(--contact-gray);
  border: 1px solid rgba(149, 165, 166, 0.2);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.open .status-indicator {
  background-color: var(--contact-success);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
  animation: pulse 2s infinite;
}

.closed .status-indicator {
  background-color: var(--contact-gray);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(39, 174, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

.next-available {
  margin-top: 10px;
  color: #606060;
  font-size: 0.9rem;
}

/* Social Media */
.social-media-container {
  margin-top: 50px;
}

.social-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--contact-dark);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  color: white;
}

.facebook-icon {
  background-color: #1877f2;
}

.twitter-icon {
  background-color: #1da1f2;
}

.instagram-icon {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.linkedin-icon {
  background-color: #0077b5;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===== قسم النموذج ===== */
.contact-form-container {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(58, 123, 213, 0.05);
  z-index: 0;
}

.contact-form-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.05);
  z-index: 0;
}

.form-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--contact-dark);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.form-header h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--contact-primary);
  border-radius: 2px;
}

.form-header p {
  color: #606060;
  font-size: 0.95rem;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--contact-dark);
  margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form .input-group-text {
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-form .input-group-text {
  background-color: #f8f9fa;
  color: #606060;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 0 0 10px;
}

.contact-form .input-group .form-control,
.contact-form .input-group .form-select {
  border-radius: 0 10px 10px 0;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.15);
  border-color: var(--contact-primary);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check-input:checked {
  background-color: var(--contact-primary);
  border-color: var(--contact-primary);
}

.form-check-label a {
  color: var(--contact-primary);
  text-decoration: none;
  font-weight: 600;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.char-counter {
  float: left;
  font-size: 0.85rem;
  color: #606060;
  margin-top: 8px;
}

.text-warning {
  color: var(--contact-warning) !important;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.submit-btn {
  min-width: 200px;
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.alert-icon {
  font-size: 1.5rem;
  color: var(--contact-danger);
}

.alert-content {
  flex: 1;
}

.alert-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.error-list {
  padding-right: 1.5rem;
  margin-bottom: 0;
}

.error-list li {
  margin-bottom: 5px;
}

.error-list li:last-child {
  margin-bottom: 0;
}

.contact-preference {
  padding: 5px 0;
}

/* Form Success Message */
.form-success-message {
  background: white;
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.success-icon {
  font-size: 5rem;
  color: var(--contact-success);
  margin-bottom: 20px;
  animation: scale 0.5s ease-in-out;
}

@keyframes scale {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.form-success-message h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--contact-dark);
  margin-bottom: 15px;
}

.form-success-message p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

.success-details {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #555;
}

.detail-value {
  font-weight: 600;
  color: var(--contact-dark);
}

.success-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

/* ===== قسم الخريطة ===== */
.map-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.map-wrapper {
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
}

.location-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 20px;
  right: 20px;
  width: 350px;
  max-width: calc(100% - 40px);
  z-index: 10;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.location-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--contact-warning);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.location-title h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--contact-dark);
}

.location-title p {
  color: #606060;
  margin-bottom: 0;
  line-height: 1.5;
}

.location-actions {
  display: flex;
  gap: 10px;
}

/* ===== قسم الأسئلة الشائعة ===== */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-button {
  padding: 20px 25px;
  background: white;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--contact-dark);
  border: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: white;
  background: var(--contact-primary);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  width: 24px;
  height: 24px;
  background-size: 24px;
  border-radius: 50%;
  background-color: rgba(58, 123, 213, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-color: rgba(255, 255, 255, 0.2);
}

.faq-accordion .accordion-body {
  padding: 25px;
  background: #f8f9fa;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.faq-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #555;
}

.list-icon {
  margin-left: 10px;
  color: var(--contact-success);
  flex-shrink: 0;
}

.faq-note {
  font-style: italic;
  color: #606060;
  border-right: 3px solid var(--contact-primary);
  padding-right: 15px;
  margin-top: 15px;
}

.faq-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.detail-item {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(58, 123, 213, 0.1);
  color: var(--contact-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.detail-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--contact-dark);
}

.detail-content p {
  font-size: 0.85rem;
  color: #606060;
  margin-bottom: 0;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(39, 174, 96, 0.1);
  color: var(--contact-success);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 15px;
}

.paint-types {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 20px 0;
}

.paint-type {
  text-align: center;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: calc(33.333% - 10px);
}

.paint-type img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.paint-type span {
  display: block;
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}

.cta-mini {
  margin-top: 15px;
  text-align: center;
}

.price-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.factor {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.factor-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(58, 123, 213, 0.1);
  color: var(--contact-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.factor-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--contact-dark);
}

.factor-content p {
  font-size: 0.85rem;
  color: #606060;
  margin-bottom: 0;
}

.faq-footer {
  margin-top: 40px;
}

.faq-footer h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--contact-dark);
}

.faq-footer p {
  color: #606060;
  margin-bottom: 20px;
}

.faq-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* ===== قسم الدعوة للعمل ===== */
.cta-section {
  background-image: var(--contact-gradient);
  color: white;
  padding: 0;
}

.cta-wrapper {
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before,
.cta-wrapper::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.cta-wrapper::before {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.cta-wrapper::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-features li i {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}
/* ===== قسم التقييمات ===== */
.testimonials-section {
  background-color: #f8f9fa;
}

.testimonial-slider {
  position: relative;
  padding: 30px 10px;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--contact-primary);
  margin-left: 15px;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta {
  flex: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--contact-dark);
}

.testimonial-rating {
  margin-bottom: 5px;
  color: #f39c12; /* Star color */
  font-size: 0.9rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: #606060;
}

.testimonial-icon {
  position: absolute;
  top: -5px;
  left: 0;
  font-size: 2.5rem;
  color: rgba(58, 123, 213, 0.1);
  z-index: 1;
}

.testimonial-content {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-project {
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
}

.project-label {
  font-weight: 600;
  color: #606060;
  margin-left: 5px;
}

.project-name {
  color: var(--contact-primary);
}

.testimonial-next,
.testimonial-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--contact-primary);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-next {
  left: -5px;
}

.testimonial-prev {
  right: -5px;
}

.testimonial-next::after,
.testimonial-prev::after {
  font-size: 1rem;
}

.testimonial-next:hover,
.testimonial-prev:hover {
  background: var(--contact-primary);
  color: white;
}

.testimonial-pagination {
  text-align: center;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ddd;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--contact-primary);
}

/* ===== كومبوننت زر العودة للأعلى ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--contact-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 20px rgba(58, 123, 213, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--contact-dark);
  transform: translateY(-5px);
}

/* ===== زر الواتساب العائم ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 99;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* ===== انيميشن النجاح ===== */
.success-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkmark-circle {
  width: 100px;
  height: 100px;
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.checkmark-circle .background {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--contact-success);
  position: absolute;
}

.checkmark-circle .checkmark {
  border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
  animation-delay: 200ms;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-name: checkmark;
  transform: scaleX(-1) rotate(135deg);
  animation-fill-mode: forwards;
}

.checkmark-circle .checkmark:after {
  opacity: 1;
  height: 50px;
  width: 25px;
  transform-origin: left top;
  border-right: 7px solid var(--contact-success);
  border-top: 7px solid var(--contact-success);
  content: "";
  left: 30px;
  top: 50px;
  position: absolute;
}

@keyframes checkmark {
  0% {
    height: 0;
    width: 0;
    opacity: 1;
  }
  20% {
    height: 0;
    width: 25px;
    opacity: 1;
  }
  40% {
    height: 50px;
    width: 25px;
    opacity: 1;
  }
  100% {
    height: 50px;
    width: 25px;
    opacity: 1;
  }
}

/* ===== الريسبونسف (التجاوب) ===== */
@media (max-width: 1199.98px) {
  .contact-hero .hero-title {
    font-size: 2.5rem;
  }

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

  .faq-details,
  .price-factors {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .hero-shape {
    clip-path: polygon(80% 0, 100% 0, 100% 100%, 60% 100%);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-hero .order-lg-1 {
    margin-top: 40px;
  }

  .working-hours-card .row {
    flex-direction: column;
  }

  .hours-icon {
    margin-bottom: 20px;
  }

  .hours-status {
    margin-top: 30px;
    text-align: right;
  }

  .paint-type {
    width: 100%;
    margin-bottom: 15px;
  }

  .paint-types {
    flex-direction: column;
  }

  .faq-details {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 30px;
  }

  .location-card {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero .hero-title {
    font-size: 2rem;
  }

  .contact-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .contact-form-container {
    padding: 30px 20px;
  }

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

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

  .price-factors {
    grid-template-columns: 1fr;
  }

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

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

  .days-list {
    flex-direction: column;
  }

  .testimonial-prev,
  .testimonial-next {
    display: none;
  }

  .back-to-top,
  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .whatsapp-float {
    bottom: 100px;
    left: 20px;
  }

  .back-to-top {
    bottom: 100px;
    right: 20px;
  }
}

@media (max-width: 575.98px) {
  .contact-hero {
    padding: 80px 0 40px;
  }

  .contact-hero .hero-image {
    max-width: 80%;
    margin: 0 auto;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 20px 15px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .success-details {
    flex-direction: column;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
  }

  .detail-label {
    margin-bottom: 5px;
  }

  .cta-wrapper {
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ===== انيميشنات إضافية ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== تحسينات الأداء ===== */
.lazy-load {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.lazy-load.loaded {
  opacity: 1;
}

/* ===== تحسينات إضافية للمظهر ===== */
.form-control:focus::placeholder,
.form-control:active::placeholder {
  opacity: 0.5;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}

.input-focus-effect {
  position: relative;
  margin-bottom: 25px;
}

.input-focus-effect label {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 1rem;
}

.input-focus-effect .form-control:focus + label,
.input-focus-effect .form-control:not(:placeholder-shown) + label {
  top: -20px;
  right: 0;
  font-size: 0.85rem;
  color: var(--contact-primary);
}

/* ===== دعم الوضع المظلم (إذا تم استخدامه) ===== */
[data-bs-theme="dark"] {
  --contact-light: #1a1a2e;
  --contact-dark: #f5f5f5;
}

[data-bs-theme="dark"] .contact-hero {
  background-color: #121212;
}

[data-bs-theme="dark"] .contact-card,
[data-bs-theme="dark"] .working-hours-card,
[data-bs-theme="dark"] .contact-form-container,
[data-bs-theme="dark"] .testimonial-card,
[data-bs-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .location-card {
  background-color: #1a1a2e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
  background-color: #252538;
  border-color: #333345;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  background-color: #252538;
  border-color: var(--contact-primary);
  color: #fff;
}

[data-bs-theme="dark"] .contact-card .card-title,
[data-bs-theme="dark"] .working-hours-card h4,
[data-bs-theme="dark"] .form-header h3,
[data-bs-theme="dark"] .section-title,
[data-bs-theme="dark"] .testimonial-name,
[data-bs-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  color: #f5f5f5;
}

[data-bs-theme="dark"] .card-subtitle,
[data-bs-theme="dark"] .hours-content p,
[data-bs-theme="dark"] .form-header p,
[data-bs-theme="dark"] .section-description,
[data-bs-theme="dark"] .testimonial-content p,
[data-bs-theme="dark"] .custom-breadcrumb,
[data-bs-theme="dark"] .days-list li,
[data-bs-theme="dark"] .next-available p {
  color: #b0b0b0;
}

[data-bs-theme="dark"] .status-badge.open {
  background-color: rgba(39, 174, 96, 0.2);
}

[data-bs-theme="dark"] .status-badge.closed {
  background-color: rgba(149, 165, 166, 0.2);
}

[data-bs-theme="dark"] .faq-accordion .accordion-body {
  background-color: #252538;
}

[data-bs-theme="dark"] .detail-item,
[data-bs-theme="dark"] .factor {
  background-color: #252538;
}

/* تحسين الوصولية */
.focus-visible-only {
  outline: none;
}

.focus-visible-only:focus-visible {
  outline: 2px solid var(--contact-primary);
  outline-offset: 2px;
}

/* دعم اللغة العربية والاتجاه */
[dir="rtl"] .input-group-text {
  border-radius: 0 10px 10px 0;
}

[dir="rtl"] .input-group .form-control,
[dir="rtl"] .input-group .form-select {
  border-radius: 10px 0 0 10px;
}

/* تخصيصات لمستوى عال من الإعاقات البصرية */
.high-contrast {
  --contact-primary: #0066cc;
  --contact-secondary: #0099ff;
  --contact-success: #00aa00;
  --contact-warning: #ff9900;
  --contact-danger: #cc0000;
  --contact-info: #0088cc;
  --contact-dark: #000000;
  --contact-light: #ffffff;
}

.high-contrast .form-control,
.high-contrast .form-select,
.high-contrast .input-group-text,
.high-contrast .btn {
  border-width: 2px;
}

/* تنبيه مهم بخصوص الحمولة الزائدة */
.submission-throttled {
  display: none;
  background-color: #fff3cd;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #ffeeba;
  margin-bottom: 30px;
}

[data-bs-theme="dark"] .submission-throttled {
  background-color: #352d1a;
  border-color: #4d3e1e;
}

.submission-throttled.show {
  display: block;
}

.submission-throttled i {
  color: #ffc107;
  font-size: 1.5rem;
  margin-left: 10px;
}

.submission-throttled p {
  margin: 0;
}
