/* ================================================
   Coyne Surveying — Static Rebuild
   Sourced directly from html5blank-stable-child/style.css
   ================================================ */

*, :after, :before {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

img { max-width: 100%; vertical-align: bottom; }
a { color: #444; text-decoration: none; }
a:hover { color: #444; }
a:focus, a:active { outline: 0; }

/* ── Header / Logo area ────────────────────────────────── */
.site-header-top {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.site-header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-img {
  width: 280px;
  max-width: 70%;
  padding-top: 5px;
  padding-bottom: 5px;
}
.phone-numbers-header {
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.phone-numbers-header a {
  color: #364352;
  font-weight: 600;
}
i.fas.fa-phone-alt {
  color: #c01615;
  border: 2px solid #c01615;
  border-radius: 30px;
  padding: 4px;
  margin-left: 5px;
  margin-right: 4px;
}
.header-fast-quote {
  background: #169B62;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition-duration: .3s;
  white-space: nowrap;
}
.header-fast-quote:hover { background: #117a4e; color: #fff !important; }

/* ── Nav bar ───────────────────────────────────────────── */
.nav-bar {
  background: #169B62;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.nav li { position: relative; display: inline; }
.nav > li > a {
  font-size: 14px;
  padding: 16px 20px;
  text-transform: uppercase;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  transition-duration: .3s;
}
.nav > li > a:hover { background: rgba(0,0,0,0.15); color: #fff; }
.nav > li.active > a { background: rgba(0,0,0,0.2); }

/* Dropdown */
.nav > li.has-dropdown { position: relative; }
.nav > li.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border-top: 3px solid #169B62;
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown li { display: block; }
.dropdown li a {
  display: block;
  padding: 11px 18px;
  color: #364352;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: #f0faf5; color: #169B62; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  margin: 8px 0;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Home page ─────────────────────────────────────────── */
.top-section-home { display: block; }

.home-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #369e86;
  padding: 80px 40px;
  margin-bottom: 15px;
  width: 100%;
}
.home-image img { width: 55%; max-width: 520px; min-width: 260px; filter: brightness(1); }

.hero-image { display: none; } /* hidden on live site */

/* Services block (shortcode replacement) */
.services-section { margin-bottom: 8px; }
.services-section .container { background: #fff; padding: 0 24px 5px 24px; }

.boxes-serv { padding: 10px 0 20px; }
.boxes-serv .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.serv-col-wrap { flex: 1 1 130px !important; max-width: 180px !important; width: auto !important; }
.serv-box {
  height: 297px;
  background: #169B62;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 4px 3px rgba(31,39,50,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  transition-duration: .3s;
}
.serv-box:hover { background: #117a4e; }
.serv-box img { position: absolute; top: 20px; max-width: 60%; }
.s-hoverText {
  text-align: left;
  position: absolute;
  bottom: 20px;
  padding: 10px;
  color: #fff;
  transition-duration: .3s;
  z-index: 4;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}
.serv-box:hover .s-hoverText { bottom: 50px; }

/* Quote CTA */
.quote-cta {
  background: #fff;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.quote-cta::before {
  content: 'QUOTE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  letter-spacing: 10px;
  pointer-events: none;
  white-space: nowrap;
}
.quote-col { text-align: center; position: relative; z-index: 1; }
.q-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  line-height: 42px;
  font-weight: 200;
  margin-bottom: 20px;
  color: #364352;
}
.q-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 200;
  margin-bottom: 25px;
  color: #169B62;
}
.q-button {
  background: #6cbeff !important;
  margin: 20px 0 10px 0;
  text-decoration: none !important;
  display: inline-block;
  font-size: 14px;
  line-height: 18px;
  border: 0;
  font-weight: 700;
  border-radius: 45px;
  text-transform: uppercase;
  color: #fff !important;
  padding: 12px 30px;
  transition: all .35s ease;
}
.q-button:hover { background: #5aa2ee !important; }

/* ── Title sections (page heroes) ──────────────────────── */
.title-section {
  height: 237px;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-color: #364352;
  margin-bottom: 0;
  position: relative;
}
.about-page       { background-image: url(../../assets/images/About-us.jpg); }
.land-page        { background-image: url(../../assets/images/Topographic-Land-Surveys.jpg); background-position: 50% 80%; }
.building-page    { background-image: url(../../assets/images/Measured-Building-Surveys.jpg); background-position: 50% 87%; }
.setting-out-page { background-image: url(../../assets/images/Site-Engineering-Setting-out.jpg); }
.lndr-page        { background-image: url(../../assets/images/land-reg.jpg); background-position: 50% 80%; }
.bnd-page         { background-image: url(../../assets/images/boundary.jpg); background-position: 50% 80%; }
.drone-page       { background-image: url(../../assets/images/drone-h.jpg); background-position: 50% 50%; }

.drk-overlay {
  height: 100%;
  background: #00000059;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.drk-overlay .container { position: relative; z-index: 1; width: 100%; }
.drk-overlay p { display: none; }

.service-title {
  font-size: 43px;
  color: #fff;
  padding-top: 59px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 200;
  text-shadow: 0 0 15px rgba(0,0,0,.3);
  margin: 0;
}

/* ── Enquire banner ────────────────────────────────────── */
.v-banner {
  background: #169B62;
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 30px;
}
.v-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.v-head { font-size: 30px; margin: 0 0 4px; color: #fff; }
.v-cap { font-size: 18px; margin: 0; margin-top: -10px; color: rgba(255,255,255,0.9); }
.v-link { float: right; margin-top: 20px; }

.quote-button {
  background: #6cbeff;
  color: #fff !important;
  padding: 16px 33px 15px 33px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition-duration: .3s;
  display: inline-block;
  margin-right: 10px;
  white-space: nowrap;
}
.quote-button:hover { background: #5aa2ee; text-decoration: none; color: #fff; }

/* ── Page content ──────────────────────────────────────── */
.page-content { padding: 30px 0 50px; }

.service-subheader {
  color: #636363;
  font-size: 30px;
  padding-top: 24px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  margin: 0 0 10px;
}
.service-article {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #5a5a5a;
  text-align: justify;
  margin: 0 0 16px;
}
.article-list {
  padding-left: 22px;
  margin: 0 0 20px;
}
.article-item {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 20px;
  color: #5a5a5a;
}

/* About page */
.about-text-section {
  text-align: center;
  padding-top: 28px;
}

/* Service row block shown at bottom of service pages */
.serv-cta {
  background: #d2d2d21f;
  padding-top: 20px;
  margin-top: 25px;
}

/* ── Contact page ──────────────────────────────────────── */
.contact-map { filter: grayscale(100%); margin-bottom: 0; }
.contact-map iframe { display: block; width: 100%; }

.contact-section { padding: 40px 0; }
.contact-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-section .col-md-6 { flex: 1; min-width: 260px; }

.cpage-top-t { padding-bottom: 20px; }
.contact-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
.address-box { text-align: left !important; }
.contact-address {
  font-size: 18px;
  margin-bottom: 0;
  font-family: 'Open Sans', sans-serif;
  color: #444;
  line-height: 1.7;
}
.contact-rule {
  width: 70%;
  background: #364352;
  height: 1px;
  border: none;
  margin: 14px 0;
}
.areas { font-weight: 400; color: #364352; }

.form-col { text-align: left; }

/* CF7-style form */
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
  font-family: 'Open Sans', sans-serif;
}
.f-field, .contact-form input, .contact-form textarea, .contact-form select {
  margin-bottom: 10px;
  padding: 12px 10px;
  width: 100%;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #333;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: #169B62; }
.contact-form textarea { height: 140px; resize: vertical; }
.send-button, .contact-form .send-button {
  width: 100%;
  margin-left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  background: #364352;
  border: none;
  color: #fff;
  transition-duration: .3s;
  cursor: pointer;
  border-radius: 3px;
}
.send-button:hover { background: #29333e; }

.form-notice {
  display: none;
  padding: 12px 16px;
  border-radius: 3px;
  margin-bottom: 14px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}
.form-notice.success { background: #e6f4ef; color: #1a7a4a; border-left: 4px solid #169B62; }
.form-notice.error   { background: #fdecea; color: #c0392b; border-left: 4px solid #c0392b; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background-color: #169B62;
  color: #fff;
}
.container.footer-top { padding-top: 26px; padding-bottom: 30px; }
.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer .col { flex: 1; min-width: 200px; }
.ft-header {
  margin-bottom: 2px;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}
.ft-text {
  font-size: 14px;
  margin-top: 0;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  padding-right: 40px;
}
.phn-footer {
  font-family: 'Open Sans', sans-serif;
  padding-top: 10px;
}
.phn-num {
  text-align: right;
  font-size: 16px;
  line-height: 28px;
  color: #fff;
}
.num-ft {
  background: #6cbeff;
  padding: 3px 9px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition-duration: .3s;
}
.num-ft:hover { background: #5aa2ee; color: #fff; }

.abt-footer {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

/* Social links in footer */
.footer-social { margin-top: 10px; display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Partner brands bar */
.footer-brands {
  background: #169B62;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}
.footer-brands-contact {
  position: absolute;
  top: 16px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #fff;
}
.footer-brands-contact span {
  color: rgba(255,255,255,0.85);
}
.footer-brands-contact a {
  background: #6cbeff;
  color: #fff;
  padding: 6px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.footer-brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  padding-top: 20px;
}
.footer-brands-logos img {
  width: auto;
}
.footer-brands-logos img[alt="Leica Geosystems"] {
  height: 90px;
}
.footer-brands-logos img[alt="Trimble"] {
  height: 50px;
}

/* Copyright */
.copyright-section {
  border-top: 2px solid rgba(255,255,255,.1);
  background-color: #303131;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 13px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
}

/* ── Responsive ────────────────────────────────────────── */
@media only screen and (max-width: 991px) {
  .v-head { text-align: center; }
  .v-cap { max-width: 512px; margin: auto; text-align: center; }
  .v-link { float: none; margin-top: 22px; margin: auto; display: block; width: 173px; }
  .v-banner .container { flex-direction: column; text-align: center; }
  .about-page, .building-page, .land-page, .setting-out-page,
  .bnd-page, .lndr-page, .drone-page {
    background-attachment: inherit;
  }
  .service-title { padding-top: 44px; }
}

@media only screen and (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #117a4e; z-index: 9999; }
  .nav.open { display: flex; }
  .nav > li { display: block; }
  .nav > li > a { display: block; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .has-dropdown > a::after { content: ' ▾'; font-size: 11px; }
  .dropdown { display: none !important; position: static; box-shadow: none; border: none; background: #0d6e46; }
  .has-dropdown.open .dropdown { display: block !important; }
  .dropdown li a { color: #fff; border-bottom-color: rgba(255,255,255,0.1); padding: 10px 32px; }
  .dropdown li a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .nav-bar .container { position: relative; }
  .nav-toggle { display: block; }
  .logo-img { width: 200px; }
  .service-title { font-size: 32px; }
  .q-title { font-size: 26px; }
  .q-sub { font-size: 16px; }
  .footer .row { flex-direction: column; gap: 24px; }
  .ft-text { padding-right: 0; }
  .contact-section .row { flex-direction: column; }
  .site-header-top .container { flex-direction: column; align-items: flex-start; }
  .phone-numbers-header { text-align: left; }
}

@media only screen and (max-width: 743px) {
  .top-section-home { display: block; }
  .quote-cta { display: none; }
}

@media only screen and (max-width: 600px) {
  .boxes-serv .row { gap: 8px; }
  .serv-col-wrap { flex: 1 1 140px; }
  .home-image { padding: 50px 20px; }
  .home-image img { width: 80%; max-width: 380px; }
}

@media only screen and (max-width: 458px) {
  .service-title { font-size: 28px; }
}

/* ── HEADER CORRECTIONS (from screenshot) ────────────── */

.site-header-top {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.hdr-logo img {
  width: 280px;
  max-width: 55vw;
}
.hdr-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hdr-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
}
.hdr-phone-icon {
  color: #c01615;
  border: 2px solid #c01615;
  border-radius: 50%;
  padding: 5px;
  font-size: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdr-contact-label {
  color: #666;
  font-weight: 400;
  font-size: 14px;
}
.hdr-phone-num {
  color: #222;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.hdr-phone-num:hover { color: #169B62; }

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Fast Quote — light blue pill (matches live site) */
.header-fast-quote {
  background: #6cbeff;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .3s;
  white-space: nowrap;
  text-decoration: none !important;
}
.header-fast-quote:hover { background: #5aa2ee; }

/* Social icon circles in header */
.hdr-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: opacity .2s;
}
.hdr-social:hover { opacity: .85; color: #fff; }
.hdr-social.linkedin  { background: #0077b5; }
.hdr-social.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ── DROPDOWN — dark background (from screenshot) ──── */
.dropdown {
  background: #2d1f1f !important;
  border-top: 3px solid #169B62;
}
.dropdown li a {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding: 13px 20px;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

/* Nav container flex */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Responsive header */
/* ── Responsive mobile header */
@media (max-width: 768px) {
  .site-header-top .container,
  .site-header-top .hdr-inner,
  .hdr-inner {
    display: block !important;
    text-align: center !important;
  }
  .hdr-logo {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  .hdr-logo img {
    width: 260px !important;
    max-width: 80vw !important;
    display: inline-block !important;
  }
  .hdr-contact { display: none !important; }
  .hdr-right {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  .hdr-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .nav-toggle { display: block !important; margin: 6px 8px !important; }
  .nav-toggle::before { content: 'MENU '; font-size: 14px; font-weight: 700; letter-spacing: 1px; }
  .nav-container { justify-content: flex-end !important; }
}
