/* ============================================
   CONTACT PAGE STYLES - NEW DESIGN
   ============================================ */

/* Contact Section */
.contact-locations-form-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

/* Background Elements */
.contact-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.bg-shape-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(17, 74, 67, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.bg-shape-2 {
  position: absolute;
  bottom: 20%;
  right: 8%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(101, 214, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

.bg-shape-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(17, 74, 67, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
  }
  50% { 
    transform: translateY(-20px) translateX(10px); 
  }
}

/* Locations Wrapper */
.locations-wrapper {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 25px 22px;
  box-shadow: 0 8px 30px rgba(17, 74, 67, 0.1);
  border: 1px solid rgba(17, 74, 67, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.locations-header {
  margin-bottom: 25px;
  text-align: center;
}

.locations-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #114A43, #174c46);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(17, 74, 67, 0.25);
}

.badge-icon {
  font-size: 14px;
}

.badge-text {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}

.locations-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(45deg, #114A43, #65d6c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.locations-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Locations Grid */
.locations-grid {
  margin: 0 -8px;
}

.locations-grid > [class*="col-"] {
  padding: 0 8px;
  margin-bottom: 16px;
}

/* Location Card */
.location-card {
  background: white;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 3px 15px rgba(17, 74, 67, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(17, 74, 67, 0.15);
  border-color: #114A43;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 12px;
 
}

.location-flag {
  width: 40px;
  height: 40px; 
  overflow: hidden; 
  flex-shrink: 0; 
}

.location-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-title-info {
  flex: 1;
  min-width: 0;
}

.location-name {
  font-size: 15px;
  font-weight: 700;
  color: #114A43;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.location-country {
  font-size: 11px;
  color: #65d6c4;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.phone-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
}

.email-icon {
  background: linear-gradient(135deg, #114A43, #174c46);
  box-shadow: 0 2px 10px rgba(17, 74, 67, 0.25);
}

.address-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.contact-icon i {
  color: white;
  font-size: 12px;
}

.contact-info {
  flex: 1;
  min-width: 0;
}

.contact-link {
  font-size: 12px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  word-break: break-word;
  line-height: 1.4;
}

.contact-link:hover {
  color: #114A43;
}

.contact-text {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  display: block;
}

/* Card Hover Effect */
.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17, 74, 67, 0.05), rgba(101, 214, 196, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: 16px;
  pointer-events: none;
}

.location-card:hover .card-hover-effect {
  opacity: 1;
}

.location-card:hover .contact-icon {
  transform: scale(1.1);
}

/* No Locations Card */
.no-locations-card {
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 2px solid #e2e8f0;
  text-align: center;
}

.no-locations-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f9f7, #e8f5f3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(17, 74, 67, 0.1);
}

.no-locations-icon i {
  font-size: 32px;
  color: #114A43;
}

.no-locations-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.no-locations-card p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 25px 22px;
  box-shadow: 0 8px 30px rgba(17, 74, 67, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 74, 67, 0.08);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.form-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #114A43, #174c46);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(17, 74, 67, 0.25);
}

.form-title {
  font-size: 26px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0 auto;
  line-height: 1.5;
  max-width: 260px;
}

/* Form Styles */
.form-group {
  
}

.form-label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0px;
  font-size: 12px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #114A43;
  font-size: 12px;
  z-index: 2;
  pointer-events: none;
}

.textarea-icon {
  top: 12px;
  transform: none;
}

.form-control {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
  color: #2c3e50;
}

.form-control:focus {
  outline: none;
  border-color: #114A43;
  box-shadow: 0 0 0 3px rgba(17, 74, 67, 0.08);
  background: white;
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 12px;
}

textarea.form-control {
  padding-top: 12px;
  min-height: 100px;
  resize: vertical;
}

.message-counter {
  text-align: right;
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
}

/* Submit Button */
.form-submit-wrapper {
  text-align: center;
  margin-top: 20px;
}

.submit-btn {
  background: linear-gradient(135deg, #114A43 0%, #174c46 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(17, 74, 67, 0.25);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 74, 67, 0.35);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  transition: left 0.3s ease;
}

.submit-btn:hover .btn-hover-effect {
  left: 100%;
}

.btn-icon {
  font-size: 12px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 320px;
  max-width: 400px;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: #d1fae5;
  color: #10b981;
}

.toast-error .toast-icon {
  background: #fee2e2;
  color: #ef4444;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 14px;
  color: #2c3e50;
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-locations-form-section {
    padding: 50px 0;
  }
  
  .locations-wrapper {
    margin-bottom: 30px;
    padding: 22px 20px;
  }
  
  .contact-form-card {
    padding: 22px 20px;
  }
  
  .locations-title {
    font-size: 24px;
  }
  
  .form-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .contact-locations-form-section {
    padding: 40px 0;
  }
  
  .locations-wrapper {
    padding: 20px 18px;
  }
  
  .contact-form-card {
    padding: 20px 18px;
  }
  
  .location-card {
    padding: 16px 14px;
  }
  
  .location-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  
  .location-flag {
    width: 36px;
    height: 36px;
  }
  
  .location-name {
    font-size: 14px;
  }
  
  .contact-icon {
    width: 28px;
    height: 28px;
  }
  
  .contact-icon i {
    font-size: 11px;
  }
  
  .contact-link,
  .contact-text {
    font-size: 11px;
  }
  
  .locations-title {
    font-size: 22px;
  }
  
  .form-title {
    font-size: 20px;
  }
  
  .toast {
    min-width: 260px;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .locations-wrapper {
    padding: 18px 15px;
  }
  
  .contact-form-card {
    padding: 18px 15px;
  }
  
  .location-card {
    padding: 14px 12px;
  }
  
  .locations-title {
    font-size: 20px;
  }
  
  .form-title {
    font-size: 18px;
  }
  
  .form-control {
    padding: 10px 12px 10px 35px;
    font-size: 12px;
  }
  
  .submit-btn {
    padding: 11px 25px;
    font-size: 12px;
  }
}

