/* =====================================================
   CONTACT US PAGE STYLES
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  overflow-x: hidden;
}

/* =====================================================
   HERO SECTION WITH FORM
   ===================================================== */

.contact-hero-section {
  min-height: 100vh;
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(51, 65, 85, 0.7) 100%),
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
    url('../img/contact-us/techno.jpg'),
    linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  background-size: cover, auto, auto, cover, auto;
  background-position: center, 20% 30%, 80% 70%, center, center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

/* Decorative circles */
.contact-hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  top: -200px;
  left: -100px;
  animation: float 20s infinite ease-in-out;
}

.contact-hero-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  bottom: -100px;
  right: -50px;
  animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.contact-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* =====================================================
   LEFT SIDE - HERO CONTENT
   ===================================================== */

.contact-hero-content {
  color: white;
}

.contact-hero-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #4472ef;
    border-radius: 5px;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.contact-hero-label::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: #4472ef;
}

.contact-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-download-btn {
  display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #1174ba;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgb(68 150 239 / 30%);

}

.contact-download-btn:hover {
  background: #141d37;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(68, 102, 239, 0.4);
  color: white;
}

.contact-download-btn i {
  font-size: 1.2rem;
}

/* =====================================================
   RIGHT SIDE - FORM
   ===================================================== */

.contact-form-wrapper {
  position: relative;
}

.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
  z-index: 1;
  transition: color 0.3s ease;
}

.form-group:focus-within .form-icon {
  color: #3b82f6;
}

.form-icon-message {
  position: absolute;
  left: 18px;
  top: 23%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
  z-index: 1;
  transition: color 0.3s ease;
}

.form-group:focus-within .form-icon-message {
  color: #3b82f6;
}

.form-control {
  width: 100%;
  padding: 14px 18px 14px 50px;
  font-size: 0.95rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #1e293b;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
  color: #94a3b8;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-left: 50px;
  padding-right: 50px;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  padding-left: 50px;
  font-family: 'Inter', sans-serif;
}

.btn-submit-modern {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-submit-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.btn-submit-modern:hover::before {
  left: 100%;
}

.btn-submit-modern:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-submit-modern:active {
  transform: translateY(0);
}

.btn-submit-modern:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-submit-modern:hover .btn-icon {
  transform: translateX(2px);
}

.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-spinner {
  animation: spin 1s linear infinite;
  font-size: 0.9rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}



/* =====================================================
   MAP SECTION
   ===================================================== */

.contact-map-section {
  background: #f8fafc;
  padding: 0;
}

.contact-map-container {
  max-width: 100%;
  height: 450px;
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1200px) {
  .contact-hero-container {
    gap: 60px;
    padding: 0 30px;
  }

  .contact-hero-title {
    font-size: 3rem;
  }

  .contact-form-card {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .contact-hero-section {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .contact-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-hero-content {
    text-align: center;
  }

  .contact-hero-label::before {
    display: none;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-download-btn {
    margin: 0 auto;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 60px 0 40px;
  }

  .contact-hero-container {
    padding: 0 20px;
  }

  .contact-hero-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }

  .contact-form-card {
    padding: 28px 22px;
  }

  .contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .contact-info-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 20px;
  }

  .contact-map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-hero-container {
    padding: 0 2px;
    width: 80%;
  }

  .contact-hero-label {
    font-size: 0.9rem;
  }

  .contact-hero-title {
    font-size: 1.4rem;
  }

  .contact-download-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .contact-form-card {
    padding: 18px 12px;
    margin: 0;
    border-radius: 16px;
  }

  .contact-form-title {
    font-size: 1.25rem;
  }

  .form-control {
    padding: 12px 16px 12px 45px;
    font-size: 0.9rem;
  }

  select.form-control {
    padding-left: 45px;
    padding-right: 45px;
  }

  textarea.form-control {
    padding-left: 45px;
  }

  .form-icon {
    left: 16px;
    font-size: 1rem;
  }

  .btn-submit-modern {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-icon,
  .btn-spinner {
    font-size: 0.8rem;
  }

  .contact-info-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  .contact-info-card {
    padding: 20px 16px;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .contact-info-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .contact-info-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}
