/* =====================
   CONTACT HERO
===================== */
.contact-hero {
  position: relative;
  height: clamp(220px, 35vw, 320px);
  background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: url('/images/contact-hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.contact-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(16px, 4vw, 30px);
}

.contact-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: clamp(8px, 1.5vw, 14px);
  letter-spacing: -0.5px;
  color: #ffffff;
}

.contact-hero p {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* =====================
   MAIN SECTION
===================== */
.contact-main {
  padding: clamp(32px, 5vw, 60px) clamp(14px, 3vw, 20px) clamp(48px, 7vw, 80px);
  background: #f8f9fa;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 50px);
}

/* =====================
   CONTACT FORM
===================== */
.contact-form-wrapper {
  background: #fff;
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(26, 54, 93, 0.06);
}

.contact-form-wrapper h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #1a365d;
  margin-bottom: clamp(6px, 1vw, 8px);
}

.contact-form-wrapper .form-subtitle {
  color: #666;
  font-size: clamp(13px, 1.8vw, 15px);
  margin-bottom: clamp(20px, 3vw, 30px);
  line-height: 1.6;
}

.contact-form .form-row {
  margin-bottom: clamp(14px, 2vw, 18px);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: clamp(12px, 1.6vw, 14px) clamp(12px, 1.8vw, 16px);
  font-size: clamp(14px, 1.8vw, 15px);
  border: 1px solid #e2e8f0;
  border-radius: clamp(8px, 1.2vw, 10px);
  background: #f8fafc;
  transition: all 0.25s ease;
  font-family: inherit;
  color: #333;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.12);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: clamp(100px, 14vw, 120px);
}

/* Phone Row */
.contact-form .phone-row {
  display: flex;
  gap: clamp(8px, 1.5vw, 12px);
}

.contact-form .phone-row select {
  width: 100px;
  min-width: 100px;
  flex-shrink: 0;
}

.contact-form .phone-row input {
  flex: 1;
}

/* Country Dropdown */
.contact-form .country-dropdown-wrapper {
  position: relative;
  overflow: visible !important;
}

.contact-form .country-dropdown-wrapper .dropdown-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-size: 12px;
}

.contact-form .country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  z-index: 9999;
  display: none !important;
}

.contact-form .country-dropdown.open {
  display: block !important;
}

.contact-form .country-dropdown .country-option {
  padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
  cursor: pointer;
  font-size: clamp(13px, 1.6vw, 14px);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

.contact-form .country-dropdown .country-option:hover,
.contact-form .country-dropdown .country-option.highlighted {
  background: #f0fff4;
}

.contact-form .country-dropdown .country-option:last-child {
  border-bottom: none;
}

.contact-form .country-dropdown .country-option.no-results {
  color: #999;
  cursor: default;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: clamp(13px, 1.8vw, 16px) clamp(18px, 2.5vw, 24px);
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: #fff;
  border: none;
  border-radius: clamp(8px, 1.2vw, 10px);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 10px);
  transition: all 0.3s ease;
  margin-top: clamp(8px, 1.2vw, 10px);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.35);
}

.submit-btn svg {
  width: clamp(16px, 2vw, 18px);
  height: clamp(16px, 2vw, 18px);
}

/* Form Message */
.form-message {
  margin-top: clamp(14px, 2vw, 20px);
  padding: clamp(12px, 1.6vw, 14px) clamp(14px, 2vw, 18px);
  border-radius: 10px;
  display: none;
  font-size: clamp(13px, 1.6vw, 14px);
}

.form-message.success {
  display: block;
  background: #f0fff4;
  color: #22543d;
  border: 1px solid #c6f6d5;
}

.form-message.error {
  display: block;
  background: #fff5f5;
  color: #742a2a;
  border: 1px solid #fed7d7;
}

/* =====================
   CONTACT INFO
===================== */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}

.contact-details {
  background: #fff;
  padding: clamp(22px, 3.5vw, 35px);
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(26, 54, 93, 0.06);
}

.contact-details h2 {
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 700;
  color: #1a365d;
  margin-bottom: clamp(18px, 2.5vw, 25px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 16px);
  margin-bottom: clamp(16px, 2.5vw, 22px);
}

.contact-item:last-of-type {
  margin-bottom: clamp(18px, 2.5vw, 25px);
}

.contact-icon {
  width: clamp(42px, 5vw, 48px);
  height: clamp(42px, 5vw, 48px);
  background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
  border-radius: clamp(10px, 1.5vw, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: #1a365d;
  width: clamp(20px, 2.5vw, 24px);
  height: clamp(20px, 2.5vw, 24px);
}

.contact-text h4 {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: clamp(13px, 1.6vw, 14px);
  color: #666;
  margin: 2px 0;
}

.contact-text a {
  color: #1a365d;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-text a:hover {
  color: #48bb78;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(12px, 1.6vw, 14px) clamp(18px, 2.5vw, 24px);
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: clamp(14px, 1.8vw, 15px);
  font-weight: 600;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

.whatsapp-btn svg {
  width: clamp(20px, 2.5vw, 22px);
  height: clamp(20px, 2.5vw, 22px);
}

/* =====================
   MAP
===================== */
.map-wrapper {
  background: #fff;
  padding: clamp(18px, 2.5vw, 25px);
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(26, 54, 93, 0.06);
}

.map-wrapper h3 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  color: #1a365d;
  margin-bottom: clamp(10px, 1.5vw, 15px);
}

.map-container {
  border-radius: clamp(8px, 1.2vw, 12px);
  overflow: hidden;
}

.map-container iframe {
  display: block;
  height: clamp(200px, 30vw, 300px);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .whatsapp-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .contact-form .phone-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-form .phone-row select {
    width: 100%;
  }
}
