/* =============================================
   Contact Page Styles
   ============================================= */

.contact-page {
  background: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

/* Hero */
.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0b1a2f 0%, #1a2f44 50%, #0b1a2f 100%);
  overflow: hidden;
  margin-top: 84px;
  padding: 60px 0;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-hero-shapes {
  position: absolute;
  inset: 0;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.contact-shape.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 127, 166, 0.12), transparent 70%);
  top: -10%;
  right: -5%;
  animation: pulse 5s ease-in-out infinite;
}

.contact-shape.shape-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26, 188, 156, 0.1), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: pulse 6s ease-in-out infinite reverse;
}

.contact-shape.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.08), transparent 70%);
  top: 40%;
  left: 30%;
  animation: pulse 4s ease-in-out infinite;
}

.contact-shape.shape-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.06), transparent 70%);
  bottom: 20%;
  right: 20%;
  animation: pulse 7s ease-in-out infinite reverse;
}

.contact-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.contact-hero-text {
  color: white;
}

.contact-hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.contact-hero-text h1 span {
  background: linear-gradient(135deg, #7b9ec4, #1abc9c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Visual - Image */
.contact-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-section-header {
  margin-bottom: 32px;
}

.contact-section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(91, 127, 166, 0.12);
  color: #5b7fa6;
  margin-bottom: 12px;
}

.contact-section-header h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0b1a2f;
  margin-bottom: 12px;
}

.contact-section-header p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.contact-item:hover {
  border-color: #5b7fa6;
}

.contact-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b1a2f;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.92rem;
  color: #475569;
  text-decoration: none;
  transition: 0.2s;
}

.contact-item a:hover {
  color: #5b7fa6;
}

/* Contact Form */
.contact-form-wrapper {
  background: #f8fafc;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b1a2f;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: 0.2s;
  background: #ffffff;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: #5b7fa6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 127, 166, 0.1);
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-btn-primary {
  background: #5b7fa6;
  color: white;
  box-shadow: 0 8px 24px rgba(91, 127, 166, 0.3);
}

.contact-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(91, 127, 166, 0.45);
  background: #7b9ec4;
}

/* Map */
.contact-map {
  padding: 0 0 80px 0;
  background: #ffffff;
}

.contact-map-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 968px) {
  .contact-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    margin-top: 70px;
    padding: 40px 0;
    min-height: auto;
  }

  .contact-hero-visual img {
    max-width: 100%;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper iframe {
    height: 250px;
  }
}
/* =============================================
   Contact Form Response
   ============================================= */

.contact-form-response {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-form-response.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-form-response.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
/* =============================================
   Contact Form Response
   ============================================= */

.contact-form-response {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-form-response.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-form-response.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}