/* ===================================
   CONTACT US PAGE - RADICAL REDESIGN
   =================================== */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  animation: fadeInUp 0.8s ease;
}

.contact-hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-hero-content > p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-breadcrumb a:hover {
  color: #FF9800;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
}

/* Contact Main Section */
.contact-main-section {
  padding: 100px 0;
  background: #f8f9fa;
}

/* Contact Info Cards */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.contact-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2E7D32, #388E3C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 125, 50, 0.12);
}

.contact-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2E7D32, #388E3C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
  transition: transform 0.4s ease;
}

.contact-info-card:hover .contact-card-icon {
  transform: rotateY(360deg);
}

.contact-card-icon i {
  font-size: 2rem;
  color: #fff;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B5E20;
  margin-bottom: 12px;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 1rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: #2E7D32;
}

/* Contact Form & Map Wrapper */
.contact-form-map-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.contact-form-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1B5E20;
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-modern {
  position: relative;
  margin-bottom: 25px;
}

.form-group-modern i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #2E7D32;
  font-size: 1.1rem;
  z-index: 1;
  pointer-events: none;
}

.form-group-modern textarea + i {
  top: 20px;
  transform: translateY(0);
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 18px 55px 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #666;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  outline: none;
  border-color: #2E7D32;
  background: #fff;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.form-group-modern textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit-modern {
  width: 100%;
  padding: 18px 40px;
  background: linear-gradient(135deg, #2E7D32, #388E3C);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

.btn-submit-modern:hover {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.3);
}

.btn-submit-modern i {
  transition: transform 0.3s ease;
}

.btn-submit-modern:hover i {
  transform: translateLeft(5px);
}

/* Contact Map */
.contact-map-modern {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 600px;
}

.contact-map-modern iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-form-map-wrapper {
    padding: 50px 40px;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .contact-hero-content h1 {
    font-size: 3rem;
  }
  
  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .contact-form-map-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 40px;
  }
  
  .contact-map-modern {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 50vh;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero-content > p {
    font-size: 1.2rem;
  }
  
  .contact-main-section {
    padding: 60px 0;
  }
  
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .contact-form-map-wrapper {
    padding: 30px 20px;
  }
  
  .contact-form-modern h2 {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-map-modern {
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }
  
  .contact-hero-content > p {
    font-size: 1.1rem;
  }
  
  .contact-info-card {
    padding: 30px 20px;
  }
  
  .contact-card-icon {
    width: 70px;
    height: 70px;
  }
  
  .contact-card-icon i {
    font-size: 1.8rem;
  }
  
  .contact-form-modern h2 {
    font-size: 1.8rem;
  }
  
  .form-group-modern input,
  .form-group-modern select,
  .form-group-modern textarea {
    padding: 16px 50px 16px 18px;
    font-size: 0.95rem;
  }
  
  .btn-submit-modern {
    padding: 16px 35px;
    font-size: 1rem;
  }
}

/* RTL Support */
html[dir="rtl"] .form-group-modern i {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .form-group-modern input,
html[dir="rtl"] .form-group-modern select,
html[dir="rtl"] .form-group-modern textarea {
  padding: 18px 20px 18px 55px;
}

html[dir="rtl"] .btn-submit-modern:hover i {
  transform: translateRight(5px);
}
