/* ======== Contact Page Styles ======== */

/* ====== Enhanced Hero Section ====== */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #007f80 100%);
  min-height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 87px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-branding {
  margin-bottom: 2rem;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #007f80, #fff);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: #007f80;
  font-size: 1.1rem;
}

/* ====== Contact Container ====== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ====== Contact Form Section ====== */
.contact-form-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #007f80, #005f60);
  color: white;
  padding: 2rem;
  text-align: center;
}

.form-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.contact-form-box {
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  background: #f8f9fa;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007f80;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 127, 128, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 2.5rem;
  font-size: 0.75rem;
  color: #007f80;
  background: white;
  padding: 0 0.5rem;
  font-weight: 600;
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 3rem;
  font-size: 1rem;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
}

.form-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #007f80;
  font-size: 1.1rem;
  z-index: 2;
}

/* ====== Submit Button ====== */
.submit-btn {
  background: linear-gradient(135deg, #007f80, #005f60);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 127, 128, 0.3);
  margin-top: 1rem;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 127, 128, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ====== Contact Info Section ====== */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.info-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 2rem;
  text-align: center;
}

.info-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-header p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.contact-methods {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.method-icon {
  background: linear-gradient(135deg, #007f80, #005f60);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25rem;
}

.method-content p {
  font-size: 1rem;
  color: #007f80;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.method-note {
  font-size: 0.85rem;
  color: #6c757d;
}

/* ====== Social Connect ====== */
.social-connect {
  padding: 2rem;
  border-top: 1px solid #e1e5e9;
  text-align: center;
}

.social-connect h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link.facebook {
  background: #1877f2;
}

.social-icons a {
  color: white!important;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ====== Service Highlights ====== */
.service-highlights {
  padding: 2rem;
  border-top: 1px solid #e1e5e9;
}

.service-highlights h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
  text-align: center;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.service-item i {
  color: #007f80;
  font-size: 0.8rem;
}

/* ====== CTA Banner ====== */
.contact-cta-banner {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #007f80 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: white;
  color: #007f80;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ====== Form Messages ====== */
#form-message .error {
  color: #dc3545;
  font-weight: 600;
  padding: 1rem;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
}

#form-message .success {
  color: #28a745;
  font-weight: 600;
  padding: 1rem;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
}

.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

/* ====== Responsive Design ====== */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 400px;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-trust-indicators {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .contact-container {
    padding: 2rem 1rem;
  }
  
  .form-header,
  .info-header {
    padding: 1.5rem;
  }
  
  .contact-form-box {
    padding: 1.5rem;
  }
  
  .contact-methods {
    padding: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-logo {
    height: 60px;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    margin: 5px auto;
  }
  
  .method-icon {
    align-self: center;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}
