.content-section-heading h2,
.content-section-heading .h2 {
  font-size: 3rem;
}
.content-section-heading h3,
.content-section-heading .h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
}
.scroll-to-top:focus,
.scroll-to-top:hover {
  color: #fff;
}
.scroll-to-top:hover {
  background: #343a40;
}
.scroll-to-top i {
  font-weight: 800;
}

#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all 0.4s ease 0s;
  transform: translateX(250px);
  background: #1d809f;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 15px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  font-size: 1.2rem;
  background: rgba(52, 58, 64, 0.1);
  height: 80px;
  line-height: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a {
  color: #fff;
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  transition: all 0.4s ease 0s;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
  z-index: 999;
}
.menu-toggle:focus,
.menu-toggle:hover {
  color: #fff;
}
.menu-toggle:hover {
  background: #343a40;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.callout {
  padding: 15rem 0;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url('../background/bg-callout4.2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.callout h2,
.callout .h2 {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  max-width: 30rem;
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
footer.footer .social-link {
  display: block;
  text-decoration: none;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #1d809f;
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}
footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

.masthead {
  min-height: 30rem;
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 8rem;
  padding-bottom: 12rem;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url('../background/bg-callout4.2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.masthead h1,
.masthead .h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 992px) {
  .masthead {
    height: 100vh;
  }
  .masthead h1,
  .masthead .h1 {
    font-size: 5.5rem;
  }
}

.service-icon {
  background-color: #fff;
  color: #1d809f;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-header {
  min-height: 100vh;
  position: relative;
  display: table;
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 8rem;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url('../background/bg-callout4.2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem 4rem 1rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .contact-section {
    margin-top: 0.5rem;
    padding: 3rem 1rem 4rem 1rem;
  }
}

@media (max-width: 767px) {
  .contact-section {
    margin-top: 2rem;
    padding: 2rem 1rem 3rem 1rem;
  }

  /* Hide dropdown content on mobile, show only simple button */
  .dropdown-content {
    display: none !important;
  }

  .dropdown:hover .dropdown-content {
    display: none !important;
  }

  .dropdown {
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 999;
    width: 44px;
    height: 34px;
  }

  /* Make dropdown button simpler on mobile - flag icon */
  .dropbtn {
    padding: 0;
    width: 40px;
    height: 30px;
    border: 2px solid rgba(29, 128, 159, 0.5);
    border-radius: 4px;
    background: url('https://icons.iconarchive.com/icons/fatcow/farm-fresh/16/flag-usa-icon.png')
      no-repeat center;
    background-size: 110%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-indent: -9999px;
    overflow: hidden;
  }

  .dropbtn:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(29, 128, 159, 0.8);
  }

  .dropbtn::after {
    display: none;
  }

  /* Make menu toggle button semi-transparent on mobile */
  .menu-toggle {
    background: transparent !important;
    color: rgba(0, 0, 0, 0.6) !important;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .menu-toggle:hover {
    background: transparent !important;
    color: rgba(0, 0, 0, 0.8) !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  /* iPad and tablets optimization */
  .contact-header {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }

  .contact-section {
    max-width: 36rem;
    padding: 3rem 2rem 5rem 2rem;
    margin-top: 2rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  /* Hide dropdown content on tablets, show only simple button */
  .dropdown-content {
    display: none !important;
  }

  .dropdown:hover .dropdown-content {
    display: none !important;
  }

  .dropdown {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 999;
  }

  /* Make dropdown button simpler on tablets - flag icon */
  .dropbtn {
    padding: 0;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(29, 128, 159, 0.5);
    border-radius: 6px;
    background: url('https://icons.iconarchive.com/icons/fatcow/farm-fresh/16/flag-usa-icon.png')
      no-repeat center;
    background-size: 110%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-indent: -9999px;
    overflow: hidden;
  }

  .dropbtn:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(29, 128, 159, 0.8);
  }

  .dropbtn::after {
    display: none;
  }

  /* Remove background from menu toggle button on tablets */
  .menu-toggle {
    background: transparent !important;
    color: rgba(0, 0, 0, 0.6) !important;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .menu-toggle:hover {
    background: transparent !important;
    color: rgba(0, 0, 0, 0.8) !important;
  }
}

@media (min-width: 1200px) {
  /* Desktop: show full dropdown functionality */
  .dropdown {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
  }

  .dropdown-content {
    display: none;
  }

  .dropdown:hover .dropdown-content {
    display: block !important;
  }
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  max-width: 28rem;
  font-size: 32px;
  color: #1a1a1a;
}

.contact-title em {
  font-weight: 700;
  font-style: italic;
  display: inline-block;
  color: #1a1a1a;
}

.contact-description {
  font-family: 'PT Sans', sans-serif;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9),
    0 1px 6px rgba(255, 255, 255, 0.8);
}

/* Body font */
body {
  font-family: 'PT Sans', sans-serif;
}

/* Top blue bar */
body::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: #1d809f;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

/* Form input styling improvements - match site style */
.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #cfd4d7;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: all 0.2s ease;
  background: #fff;
  color: #1f1f1f;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #1d809f;
  outline: 2px solid #1d809f;
  outline-offset: -1px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #8a8f96;
}

.form-submit:hover {
  background-color: #155d74;
  cursor: pointer;
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  font-family: 'PT Sans', sans-serif;
  font-weight: 500;
  color: #1f1f1f;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #1d809f;
  color: #fff;
  padding: 13px 5px;
  border-radius: 6px;
  font-family: 'PT Sans', sans-serif;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
}
