/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}


/* HERO */

/* HERO */
.page-hero {
  height: 500px;
  background: url('../images/hero-images-desktop/hero-image-contact-us.webp') center/cover no-repeat;
  position: relative;
  width: 100%;
  height: 600px; /* desktop height */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 60px;
  font-family: 'Montserrat', sans-serif;
}

/* CONTACT LAYOUT */
.contact-section {
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 50px;
}

/* LEFT */
.contact-subtext {
  color: #777;
  margin-bottom: 15px;
  font-size: 14px;
}

.divider-line {
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, #8a8888, transparent);
  margin-bottom: 25px;
}
.contact-info {
  flex: 1;
  padding-right: 20px;
}
.info-block p {
  transition: color 0.3s ease;
}

.info-block p:hover {
  color: #000;
}
.contact-info h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #111;
}

.contact-info p {
  color: #555;
  line-height: 1.6;
}
.social-icons {
  
  display: flex;
  gap: 12px;
  margin-top: 10px;
  color: #111;
}

.social-icons a {
  width: 30px;
  height: 30px;
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px; 
}

/* Apply the color to both the link and the icon inside it */
.social-icons a, 
.social-icons a i {
  color: #474747; 
}

.social-icons a:hover i {
  color: #161616; 
  transform: translateY(-3px);
}
/* RIGHT SECTION FORM*/
.contact-form {
  flex: 1;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #888;
  padding: 10px 8px;
  font-size: 14px;
  color: #111;              /* 👈 FIX: darker text */
  outline: none;
  font-family: 'Montserrat', sans-serif;
}

/* placeholder (keep lighter, but readable) */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
}

/* focus state */
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom: 1px solid #111;
  color: #000;
}

.contact-form button {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  border: 1px solid #111;

  padding: 12px 30px;   
  width: fit-content; 
  min-width: 180px; 
  align-self: center;   

  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 1;
}
/* animated fill layer */
.contact-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.4s ease;
  z-index: -1;
}

/* hover animation */
.contact-form button:hover::before {
  width: 100%;
}

/* text + lift effect */
.contact-form button:hover {
  color: #111;
  transform: translateY(-2px);
  border-color: #111;
  border: 1px solid #111;
}

.contact-form select {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 12px;
  font-size: 14px;
  outline: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  color: #555;
}

.contact-form select:focus {
  border-bottom: 1px solid #111;
}
.success-msg {
  background: #e6fff0;
  color: #0a7a2f;
  padding: 10px;
  border-left: 4px solid green;
  margin-bottom: 10px;
}
.privacy-note {
  font-size: 11px;
  color: #2b2b2b;
  line-height: 1.4;
  margin-top: -5px; /* Pulls it slightly closer to the textarea */
  margin-bottom: 10px;
}

.privacy-note a {
  color: #111;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-note a:hover {
  color: #2b2b2b;
}
/* MOBILE */
@media (max-width: 768px) {
.page-hero {
    height: 550px; 
    
    background-image: url('../images/hero-images-mobile/hero-image-contact-us-mobile.webp');
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .contact-container {
    flex-direction: column;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }
}
