/* ===================================
   CONTACT PAGE - Premium Design
   Arviga Blue Theme + Landscape Hero
   =================================== */

/* ---------- Hero Section with Landscape ---------- */
.contact-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Landscape background image */
  background: url('https://images.unsplash.com/photo-1519677100203-a0e668c92439?w=1920&q=80') center center / cover no-repeat;
  padding: 0;
}

/* Contact sidebar social links */
.sidebar-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sidebar-social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 123, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007BFF;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar-social a:hover {
  background: #007BFF;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Embedded map */
.contact-map-section {
  padding: 60px 0;
  background: #F8FAFC;
}

.contact-map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
}

.contact-map-wrapper iframe {
  display: block;
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 51, 0.70) 0%,
    rgba(10, 31, 51, 0.55) 40%,
    rgba(10, 31, 51, 0.75) 100%
  );
  z-index: 1;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.25);
  animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
  width: 12px; height: 12px;
  top: 15%; left: 10%;
  animation-delay: 0s;
  animation-duration: 7s;
}
.particle-2 {
  width: 8px; height: 8px;
  top: 30%; right: 15%;
  animation-delay: 1.5s;
  animation-duration: 9s;
  background: rgba(255,255,255,0.2);
}
.particle-3 {
  width: 16px; height: 16px;
  bottom: 25%; left: 20%;
  animation-delay: 3s;
  animation-duration: 11s;
  background: rgba(58, 159, 224, 0.2);
}
.particle-4 {
  width: 6px; height: 6px;
  top: 50%; right: 25%;
  animation-delay: 2s;
  animation-duration: 8s;
}
.particle-5 {
  width: 10px; height: 10px;
  bottom: 35%; right: 10%;
  animation-delay: 4s;
  animation-duration: 10s;
  background: rgba(255,255,255,0.15);
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -40px) scale(1.3);
    opacity: 0.7;
  }
  50% {
    transform: translate(-20px, -70px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(15px, -30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Hero Content */
.contact-hero .container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.contact-badge {
  display: inline-block;
  padding: 0.5rem 1.75rem;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.contact-hero-title span {
  background: linear-gradient(135deg, #007BFF 0%, #4DA6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Main Contact Section ---------- */
.contact-main {
  padding: 100px 0 120px;
  background: #ffffff;
  position: relative;
}

.contact-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(180deg, #F0F8FF 0%, transparent 100%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ---------- Form ---------- */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid #E8F0F8;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0,123,255,0.08), 0 4px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s ease;
}

.contact-form-wrapper:hover {
  box-shadow: 0 16px 48px rgba(0,123,255,0.12), 0 6px 16px rgba(0,0,0,0.06);
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0A1F33;
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

/* Input with Icon */
.input-icon-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.input-icon-wrapper:focus-within .input-icon {
  color: #007BFF;
}

.contact-form .input-icon-wrapper input,
.contact-form .input-icon-wrapper select {
  padding-left: 2.75rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #0A1F33;
  background: #F9FAFB;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #007BFF;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0,123,255,0.08);
  transform: translateY(-1px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9CA3AF;
}

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

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Submit Button */
.contact-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(0,123,255,0.3);
  margin-top: 0.75rem;
  position: relative;
  overflow: hidden;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

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

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,123,255,0.4);
}

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

.contact-submit-btn i {
  transition: transform 0.3s ease;
}

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

/* ---------- Sidebar ---------- */
.contact-sidebar-block {
  margin-bottom: 2.5rem;
  background: #FAFBFC;
  border: 1px solid #F0F4F8;
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.contact-sidebar-block:hover {
  border-color: rgba(0,123,255,0.2);
  box-shadow: 0 8px 24px rgba(0,123,255,0.06);
  transform: translateY(-2px);
}

.contact-sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0A1F33;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #E8F4FD;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-title-icon {
  color: #007BFF;
  font-size: 1rem;
}

/* Info Items */
.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sidebar-info-item:hover {
  background: rgba(0,123,255,0.04);
}

.sidebar-info-item:last-child {
  margin-bottom: 0;
}

.sidebar-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-info-item:hover .sidebar-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.sidebar-info-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #0A1F33;
}

.sidebar-info-item p {
  color: #6B7280;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sidebar-info-item p a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-info-item p a:hover {
  color: #007BFF;
}

/* Business Hours */
.business-hours {
  font-size: 0.9rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #F3F4F6;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hours-row:hover {
  background: rgba(0,123,255,0.04);
}

.hours-row:last-of-type {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: #0A1F33;
}

.hours-time {
  color: #007BFF;
  font-weight: 600;
}

.hours-time.active {
  color: #10B981;
}

.hours-row.closed .hours-time {
  color: #9CA3AF;
}

.hours-note {
  font-size: 0.8rem;
  color: #9CA3AF;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Response Time */
.response-times {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.response-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #4B5563;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.response-item:hover {
  background: rgba(0,123,255,0.04);
}

.response-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.response-dot.green { background: #10B981; }
.response-dot.yellow { background: #F59E0B; }

/* Pulse animation for green dots */
.pulse-dot {
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.8); opacity: 0; }
}

/* ---------- CTA Section ---------- */
.contact-cta {
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 50%, #2B8BC9 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative animated shapes */
.cta-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-decor-1 {
  width: 400px; height: 400px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  animation: decorFloat 12s ease-in-out infinite;
}

.cta-decor-2 {
  width: 300px; height: 300px;
  bottom: -80px; right: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: decorFloat 10s ease-in-out infinite reverse;
}

@keyframes decorFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

.contact-cta-badges {
  margin-bottom: 1.5rem;
}

.cta-quick-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.cta-quick-badge i {
  margin-right: 0.25rem;
}

.contact-cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-weight: 500;
}

/* CTA Cards */
.contact-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.cta-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 2.25rem 1.5rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  text-align: center;
}

.cta-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.35);
}

.cta-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1rem;
  transition: all 0.4s ease;
}

.cta-card-icon.whatsapp {
  background: #25D366;
}

.cta-card:hover .cta-card-icon {
  background: rgba(255,255,255,0.35);
  transform: scale(1.15) rotate(5deg);
}

.cta-card:hover .cta-card-icon.whatsapp {
  background: #1EBE5A;
  transform: scale(1.15) rotate(-5deg);
}

.cta-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.cta-card-detail {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.cta-card-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- Form Messages ---------- */
.form-message {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .contact-hero {
    min-height: 70vh;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-cta-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

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

@media (max-width: 640px) {
  .contact-hero {
    min-height: 60vh;
  }

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

  .contact-hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-main {
    padding: 60px 0 80px;
  }

  .contact-form-wrapper {
    padding: 1.75rem;
  }

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

  .contact-cta {
    padding: 60px 0 80px;
  }

  .contact-cta-title {
    font-size: 1.75rem;
  }

  .hero-scroll-indicator {
    display: none;
  }
}
