/* ============================================================
   CONTACT US PAGE - The Podiatrists of Mona Vale
   ============================================================ */

/* ==================== SKIP TO CONTENT ==================== */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 8px 16px;
  background: #2fb8bd;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 0;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #2fb8bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #229a9e;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  padding-bottom: 10px;
}


/* ==================== TOP HEADER BAR ==================== */
.top-header-bar {
  background-color: #2fb8bd;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.7em;
}

.top-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-header-phone,
.top-header-email {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
}

.top-header-phone,
.top-header-email {
  text-decoration: none;
}

.top-header-phone:hover,
.top-header-email:hover {
  color: #fff;
  opacity: 0.85;
}


/* ==================== MAIN HEADER ==================== */
.main-header {
  background: #fff;
  padding: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 140px;
  height: 65px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #2fb8bd;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: #2fb8bd;
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  background-image:
    radial-gradient(circle at top left, rgba(238, 238, 238, 0.56) 50%, rgba(255, 255, 255, 0.5) 100%),
    url('images/therapist-10.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 64.8%;
  margin: 0 auto;
  padding: 10px 30px;
}

.hero-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 33px;
  color: #333;
  text-align: center;
  padding-bottom: 6px;
  line-height: 1.4em;
}

.hero-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 23px;
  color: #666;
  text-align: center;
  line-height: 1.5em;
}

/* Wave Divider */
.hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 35px;
}


/* ==================== CONTACT SECTION ==================== */
.contact-section {
  background-color: #f7f9fc;
  padding: 10px 0 40px;
}

.contact-row {
  max-width: 89%;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact-form-column {
  flex: 0 0 66.666%;
  max-width: 66.666%;
}

.contact-info-column {
  flex: 0 0 calc(33.333% - 40px);
  max-width: calc(33.333% - 40px);
  padding-top: 30px;
}


/* ==================== CONTACT FORM ==================== */
.contact-form-container {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 30px 30px 30px;
  margin-top: 0;
  min-height: 350px;
  background: transparent;
}

.form-message {
  display: none;
  padding: 12px 18px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.form-message.error {
  display: block;
  background-color: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-form {
  width: 100%;
}

.form-row-half {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.form-field {
  margin-bottom: 20px;
  width: 100%;
}

.form-field-half {
  flex: 1;
  min-width: 0;
}

.form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #666;
  background: transparent;
  border: 2px solid #666666;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #2fb8bd;
}

.form-input::placeholder {
  color: #999;
  opacity: 1;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

/* Captcha & Submit */
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 5px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.captcha-question {
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.captcha-equals {
  font-weight: 400;
}

.captcha-input {
  width: 60px;
  padding: 8px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #666;
  background: transparent;
  border: 2px solid #666666;
  border-radius: 10px;
  outline: none;
  text-align: center;
  transition: border-color 0.3s ease;
}

.captcha-input:focus {
  border-color: #2fb8bd;
}

.submit-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background-color: #27b5bb;
  border: 8px solid transparent;
  border-radius: 100px;
  padding: 10px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #229a9e;
  transform: translateY(-1px);
}


/* ==================== CONTACT INFO BLURBS ==================== */
.info-blurb {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.info-blurb-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: #26b5bb;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideInTop 0.7s ease forwards;
}

.info-blurb:nth-child(1) .info-blurb-icon {
  animation-delay: 0.1s;
}
.info-blurb:nth-child(2) .info-blurb-icon {
  animation-delay: 0.3s;
}
.info-blurb:nth-child(3) .info-blurb-icon {
  animation-delay: 0.5s;
}

@keyframes slideInTop {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-blurb-icon svg {
  width: 24px;
  height: 24px;
}

.info-blurb-text {
  flex: 1;
  min-width: 0;
}

.info-blurb-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4em;
  padding-bottom: 5px;
}

.info-blurb-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.7em;
  margin: 0;
}

.info-blurb-text a {
  color: #2fb8bd;
}

.info-blurb-text a:hover {
  color: #229a9e;
}


/* ==================== FOOTER ==================== */
.main-footer {
  background-color: #666666;
  color: #ffffff;
  padding: 0;
}

.footer-widgets {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 30px 30px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.footer-widget {
  flex: 1;
  min-width: 0;
}

.footer-widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2fb8bd;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
}

.footer-widget-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.7em;
}

.footer-map {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid #888;
  padding: 15px 30px;
  text-align: center;
  font-size: 13px;
  color: #cccccc;
}

.footer-bottom a {
  color: #2fb8bd;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom p {
  margin: 0;
}


/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 980px) {

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top: 1px solid #eee;
  }

  .main-nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    padding: 10px 0;
  }

  .nav-link {
    padding: 12px 30px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  /* Hamburger Animation */
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* Hero */
  .hero-content {
    max-width: 85%;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-text {
    font-size: 19px;
  }

  /* Contact Section */
  .contact-row {
    max-width: 80%;
    flex-direction: column;
  }

  .contact-form-column,
  .contact-info-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-info-column {
    padding-top: 10px;
  }

  /* Footer */
  .footer-widgets {
    flex-direction: column;
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .top-header-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .top-header-phone,
  .top-header-email {
    font-size: 14px;
  }

  .header-inner {
    padding: 15px 20px;
  }

  /* Hero */
  .hero-section {
    padding: 15px 0 35px;
  }

  .hero-content {
    max-width: 92%;
    padding: 8px 15px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-text {
    font-size: 17px;
  }

  /* Contact Section */
  .contact-row {
    max-width: 95%;
  }

  .contact-form-container {
    padding: 30px 20px 20px;
    margin-top: 0;
  }

  .form-row-half {
    flex-direction: column;
    gap: 0;
  }

  .form-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .captcha-container {
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
  }

  /* Footer */
  .footer-widgets {
    padding: 30px 20px 20px;
  }

  .footer-bottom {
    padding: 12px 20px;
    font-size: 12px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .hero-title {
    font-size: 21px;
  }

  .hero-text {
    font-size: 15px;
  }

  .info-blurb-icon {
    width: 36px;
    height: 36px;
  }

  .info-blurb-icon svg {
    width: 20px;
    height: 20px;
  }
}
