@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Color variables based on design mockup */
:root {
  --navy-dark: #071c35;
  --navy-light: #0d284a;
  --orange-accent: #f2994a;
  --text-white: #ffffff;
  --text-grey: #a0aec0;
}

.contact-page {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* 1. Hero Banner Styling */
.contact-hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&q=80&w=1920'); /* High-quality mountain placeholder */
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 28, 53, 0.5); /* Semi-transparent navy layer */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.breadcrumbs {
  font-size: 14px;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--orange-accent);
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: var(--orange-accent);
}

.breadcrumbs .current {
  color: var(--text-white);
  opacity: 0.8;
}

/* 2. Main Body / Navy Section */
.contact-main {
  background-color: var(--navy-dark);
  padding: 80px 20px 850px 20px; /* Large bottom padding lets the card overlap correctly */
  position: relative;
}

.contact-container {
  max-width: 1140px;
  margin: 0 auto;
}

.contact-header-text {
  max-width: 600px;
  margin-bottom: 50px;
}

.contact-header-text .sub-title {
  color: var(--orange-accent);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-header-text h2 {
  color: var(--text-white);
  font-size: 38px;
  margin: 10px 0 15px 0;
  font-weight: 700;
}

.contact-header-text p {
  color: var(--text-grey);
  line-height: 1.6;
  font-size: 15px;
}

/* 3. Form Card Section */
.contact-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 20px;
  right: 20px;
  max-width: 1140px;
  margin: 0 auto;
  transform: translateY(0); /* Fits right on top of the layout boundary line */
}

/* Form Left Side styling */
.contact-form-side {
  flex: 1.6;
  padding: 50px;
  background-color: #ffffff;
}

.contact-form-side h3 {
  color: #c99a3c; /* Golden/orange heading color matching layout */
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 35px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 30px;
}

.form-group {
  flex: 1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 14px;
  outline: none;
  background: transparent;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--orange-accent);
}

.submit-btn {
  background-color: var(--orange-accent);
  color: var(--text-white);
  border: none;
  padding: 12px 45px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 10px rgba(242, 153, 74, 0.3);
}

.submit-btn:hover {
  background-color: #e08332;
  transform: translateY(-2px);
}

/* Info Panel Right Side styling */
.contact-info-side {
  flex: 1;
  background-color: var(--orange-accent);
  color: var(--text-white);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-side h3 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: 700;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.info-icon {
  font-size: 18px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-links a {
  color: var(--text-white);
  font-family: "Font Awesome 5 Free", sans-serif; /* Setup fallback font-family for icon rendering */
  text-decoration: none;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.social-links a:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Adjust layout on mobile devices */
@media (max-width: 900px) {
  .contact-card {
    position: relative;
    flex-direction: column;
    left: 0;
    right: 0;
    margin-top: -80px; /* Negative margin creates an elegant overlap on mobile too */
    padding-bottom: 400px;
  }

  .contact-main {
    padding-bottom: 400px;
  }

  .form-row {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form-side, 
  .contact-info-side {
    padding: 35px 25px;
  }
}