/* ============================================= */
/*      Contact Us - Modern Redesigned CSS      */
/* ============================================= */

.sv-contact-main {
  padding: 80px 0 0px;
  position: relative;
  overflow: hidden;
}

.sv-contact-main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.sv-contact-main::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

/* Section Header */
.sv-section-header {
  position: relative;
  z-index: 1;
  color: #fff;
  margin-bottom: 60px !important;
}

.sv-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sv-subtitle {
  font-size: 18px;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  color: #daa940;
}

/* Contact Wrapper */
.sv-contact-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.sv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Contact Cards */
.sv-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sv-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.sv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.sv-card-icon {
  min-width: 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 28px;
  color: #fff;
}

.sv-card-phone .sv-card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sv-card-email .sv-card-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.sv-card-location .sv-card-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sv-card-content {
  flex: 1;
}

.sv-card-content h4 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sv-card-content p {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.sv-card-content a {
  color: #666;
  text-decoration: none;
  font-weight: 400;
  transition: all ease-in-out 0.3s;
  display: inline-block;
  letter-spacing: 1px;
}

.sv-card-content a:hover {
  color: #764ba2;
  transform: translateX(5px);
}

/* Form Container */
.sv-form-wrapper {
  position: relative;
}

.sv-form-container {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sv-form-title {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px;
  text-align: center;
}

/* Form Groups */
.sv-form-group {
  margin-bottom: 22px;
}

.sv-form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  transition: all ease-in-out 0.3s;
  font-family: inherit;
  letter-spacing: 1px;
}

.sv-form-control:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.sv-form-control::placeholder {
  color: #999;
  font-weight: 500;
}

.sv-textarea-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Error Messages */
.sv-error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
  display: none;
  animation: slideDown 0.3s ease-in-out;
}

.sv-form-group.error .sv-form-control {
  border-color: #e74c3c;
  background-color: #ffe8e8;
}

.sv-form-group.error .sv-error-message {
  display: block;
}

.sv-form-group.success .sv-form-control {
  border-color: #27ae60;
  background-color: #e8f8f5;
}

/* Captcha */
.sv-captcha-group {
  margin-bottom: 30px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
}

.sv-captcha-label {
  display: block;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 1px;
}

.sv-captcha-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sv-captcha-code {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 4px;
  min-width: 140px;
  text-align: center;
  font-family: 'Arial', monospace;
}

.sv-captcha-input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 15px;
  transition: all ease-in-out 0.3s;
  letter-spacing: 1px;
}

.sv-captcha-input:focus {
  outline: none;
  border-color: #667eea;
  background: #f0f4ff;
}

.sv-captcha-refresh {
  background: #667eea;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  font-weight: 400;
  transition: all ease-in-out 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sv-captcha-refresh:hover {
  background: #764ba2;
  transform: scale(1.05);
}

.sv-captcha-refresh:active {
  transform: scale(0.98);
}

.sv-captcha-group.error .sv-captcha-input {
  border-color: #e74c3c;
  background-color: #ffe8e8;
}

/* Form Actions */
.sv-form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.sv-btn-submit,
.sv-btn-reset {
  flex: 1;
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.sv-btn-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.sv-btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.sv-btn-submit:active {
  transform: translateY(-1px);
}

.sv-btn-reset {
  background: #e8e8e8;
  color: #333;
}

.sv-btn-reset:hover {
  background: #d5d5d5;
  transform: translateY(-3px);
}

.sv-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Map Section */
.sv-map-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.sv-map-title {
  color: #333;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.sv-map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.sv-map-container iframe {
  display: block;
  width: 100%;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .sv-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sv-title {
    font-size: 38px;
  }

  .sv-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .sv-contact-main {
    padding: 60px 0 40px;
  }

  .sv-section-header {
    margin-bottom: 40px;
  }

  .sv-title {
    font-size: 28px;
  }

  .sv-subtitle {
    font-size: 14px;
  }

  .sv-contact-grid {
    gap: 30px;
  }

  .sv-contact-cards {
    gap: 20px;
  }

  .sv-card {
    padding: 20px;
  }

  .sv-form-container {
    padding: 25px;
  }

  .sv-form-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .sv-form-group {
    margin-bottom: 18px;
  }

  .sv-form-actions {
    flex-direction: column;
  }

  .sv-btn-submit,
  .sv-btn-reset {
    width: 100%;
  }

  .sv-captcha-container {
    flex-wrap: wrap;
  }

  .sv-captcha-input {
    flex: 1;
    min-width: 150px;
  }

  .sv-map-section {
    padding: 60px 0;
  }

  .sv-map-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .sv-contact-main {
    padding: 40px 0 30px;
  }

  .sv-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .sv-subtitle {
    font-size: 13px;
  }

  .sv-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }

  .sv-card-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin: 0 auto;
  }

  .sv-form-container {
    padding: 20px 15px;
  }

  .sv-form-title {
    font-size: 18px;
  }

  .sv-form-control {
    padding: 12px 14px;
    font-size: 14px;
  }

  .sv-captcha-code {
    font-size: 14px;
    padding: 8px 12px;
    letter-spacing: 2px;
    min-width: 110px;
  }

  .sv-captcha-refresh {
    padding: 8px 12px;
    font-size: 12px;
  }

  .sv-map-title {
    font-size: 18px;
  }
}
