/* Base Styles */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Header Styles */
.contact-header {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fe532c, #2c8dfe);
  color: white;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.contact-icon {
  font-size: 3rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* Contact Cards Wrapper */
.contact-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Logo Card */
.contact-logo-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 5px solid #fe532c;
}

.contact-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  padding: 1rem;
}

.contact-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-logo-card h3 {
  color: #1f194c;
  margin-bottom: 0.5rem;
}

.contact-logo-card p {
  color: #575a7b;
  font-size: 0.9rem;
}

/* Unified Contact Card */
.contact-unified-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 5px solid #2c8dfe;
}

.contact-unified-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-unified-item:last-child {
  border-bottom: none;
}

.contact-unified-icon {
  width: 50px;
  height: 50px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2c8dfe;
  flex-shrink: 0;
}

.contact-unified-item h4 {
  color: #1f194c;
  margin-bottom: 0.5rem;
}

.contact-unified-item p {
  color: #575a7b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Form Styles (unchanged from previous version) */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

.contact-form-title {
  color: #1f194c;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fe532c;
  display: inline-block;
}

.contact-form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 1rem 0.5rem 0.5rem;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  background: transparent;
  z-index: 1;
}

.contact-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-group label {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  color: #999;
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact-form-group input:focus + label,
.contact-form-group input:valid + label,
.contact-form-group textarea:focus + label,
.contact-form-group textarea:valid + label {
  top: 0;
  font-size: 0.8rem;
  color: #2c8dfe;
}

.contact-form-focus {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c8dfe;
  transition: width 0.3s ease;
}

.contact-form-group input:focus ~ .contact-form-focus,
.contact-form-group textarea:focus ~ .contact-form-focus {
  width: 100%;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #fe532c, #2c8dfe);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow: hidden;
  position: relative;
}

.contact-submit-btn span {
  position: relative;
  z-index: 1;
}

.contact-submit-btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c8dfe, #fe532c);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-submit-btn:hover::before {
  opacity: 1;
}

.contact-submit-btn:hover i {
  transform: translateX(5px);
}

/* Hover Effects */
.contact-logo-card:hover,
.contact-unified-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-header {
    padding: 2rem 1rem;
  }
  
  .contact-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-container {
    padding: 1rem;
  }
  
  .contact-logo-card,
  .contact-unified-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-unified-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-unified-icon {
    margin-bottom: 0.5rem;
  }
}