/* CSS VARIABLES (As Specified) */
:root {
  --navy: #1b2a4a;
  --steel-blue: #3d5a80;
  --accent-green: #4e7c59;
  --off-white: #f5f4f0;
  --light-grey: #edecea;
  --text-dark: #1a1a1a;
  --text-grey: #666666;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h1 {
  font-size: 3.5rem;
  color: var(--navy);
}
h2 {
  font-size: 2.25rem;
  color: var(--navy);
}
h3 {
  font-size: 1.75rem;
  color: var(--navy);
}

p {
  font-size: 1.125rem;
  color: var(--text-grey);
  margin-bottom: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--navy);
  border-radius: 2px;
}

.btn-filled {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(27, 42, 74, 0.15);
}
.btn-filled:hover {
  background-color: var(--steel-blue);
  border-color: var(--steel-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(27, 42, 74, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
}
.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.15);
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION 1: TOP NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  min-height: 90px;
  height: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
}

/* LOGO STYLE */
.logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  height: 100%;
}

.logo-img {
  height: 70px;
  width: auto;
  mix-blend-mode: multiply;
  transition: var(--transition);
}

.logo-tagline {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

/* SECTION ANCHOR OFFSETS */
section[id] {
  scroll-margin-top: 100px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul {
  display: flex;
  gap: 15px;
}

nav ul a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

nav ul a:hover {
  color: var(--accent-green);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin-left: 10px;
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--accent-green) !important;
}

/* MOBILE MENU TOGGLE */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--navy);
  transition: var(--transition);
}

/* SECTION 2: HERO */
.hero {
  display: flex;
  align-items: stretch;
  background-color: var(--white);
  min-height: 550px;
  border-bottom: 1px solid var(--light-grey);
}

.hero-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3%;
}

.hero-left {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #f0f2f5;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-h1 {
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.35rem;
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
}

.hero-right {
  width: 45%;
  position: relative;
  overflow: hidden;
  margin-right: -3%;
}

.hero-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
  z-index: 1;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION 3: TRUST BADGE BAR */
.trust-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-grey);
  padding: 1.75rem 0;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--navy);
}

.trust-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 0.8rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTION 4: ABOUT */
.about {
  padding: 4rem 0;
  background-color: var(--white);
}

.about .container {
  display: flex;
  align-items: center;
  gap: 5%;
}

.about-left {
  width: 55%;
}

.about h2 {
  max-width: 500px;
}

.about p {
  max-width: 540px;
}

.about-right {
  width: 45%;
}

.about-right img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* SECTION 5: SERVICES ICON BAR */
.services-bar {
  background-color: var(--light-grey);
  padding: 3.5rem 0;
  text-align: center;
}

.services-bar h3 {
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box svg {
  width: 100%;
  height: 100%;
  fill: var(--navy);
}

.service-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
  border-radius: 4px;
}

.service-item:hover {
  background-color: var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.service-item p {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* SECTION 6: WHY + CONTACT FORM */
.why-contact {
  padding: 4rem 0;
  background-color: var(--off-white);
}

.why-contact .container {
  display: flex;
  gap: 6%;
  align-items: flex-start;
}

.why-left {
  width: 50%;
}

.why-checklist {
  margin-top: 2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.check-mark {
  color: var(--accent-green);
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-right {
  width: 50%;
  background-color: var(--white);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .form-row {
    flex-direction: row;
    gap: 1.25rem;
  }
  .form-row .form-group {
    flex: 1;
  }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--light-grey);
  background-color: #fafafa;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background-color: var(--white);
  border-color: var(--steel-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(74, 101, 153, 0.1);
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.form-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-grey);
  margin-top: 1rem;
  font-style: italic;
}

/* SUCCESS MESSAGE */
#success-msg {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

#success-msg h3 {
  color: var(--accent-green);
}

/* SERVICE APPROACH SECTION */
.service-approach {
  padding: 3.5rem 0;
  background-color: var(--white);
  text-align: center;
}

.service-approach h2 {
  margin-bottom: 1rem;
}

.service-approach > .container > p {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.approach-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--steel-blue),
    transparent
  );
  z-index: 0;
}

.approach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.25);
  transition: var(--transition);
}

.approach-step:hover .step-number {
  transform: scale(1.1);
  background-color: var(--steel-blue);
}

.approach-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.approach-step p {
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 240px;
}

/* TESTIMONIALS SECTION */
.testimonials {
  padding: 5rem 0;
  background-color: var(--off-white);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-icon {
  color: var(--steel-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.testimonial-property {
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-top: 4px;
}

/* UPDATED SECTION PADDING */
.about,
.services-bar,
.service-approach,
.why-contact,
.service-area {
  padding: 5rem 0;
}

/* FOOTER LOGO IMPROVEMENTS */
.footer-logo-img {
  width: 200px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}

.footer-logo .logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.6;
}

.footer-tagline strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* HERO SUBTITLE */
.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--steel-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* SERVICE AREA SECTION */
.service-area {
  padding: 3.5rem 0;
  background-color: var(--light-grey);
  text-align: center;
}

.service-area h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.service-area > .container > p {
  color: var(--text-grey);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.area-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.area-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.area-card svg {
  width: 36px;
  height: 36px;
  fill: var(--accent-green);
  margin-bottom: 1rem;
}

.area-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.area-card p {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 0;
}

.area-cta {
  margin-top: 2rem;
}

.area-cta .btn {
  border-color: var(--navy);
  color: var(--navy);
}

.area-cta .btn:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* SECTION 7: FOOTER */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 1.5rem 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a:hover {
  color: var(--accent-green);
}

.footer-contact h5 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-green);
  flex-shrink: 0;
}

.contact-info-item a {
  transition: var(--transition);
}

.contact-info-item a:hover {
  color: var(--white);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
  h1 {
    font-size: 3rem;
  }
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .approach-grid::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }
  .hero-left {
    padding: 3rem 1.5rem 3rem 3rem;
    width: 55%;
  }
  .hero-right {
    width: 45%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-contact .container {
    flex-direction: column;
    align-items: center;
  }
  .why-left,
  .contact-right {
    width: 100%;
    padding: 0;
  }
  .contact-right {
    margin-top: 40px;
    max-width: 650px;
    padding: 3rem !important;
  }
  .why-left {
    max-width: 650px;
  }
}

@media (max-width: 991px) {
  header {
    height: 70px;
  }
  nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .logo-img {
    height: 50px;
  }
  .logo-tagline {
    font-size: 9px;
    margin-top: -2px;
    opacity: 0.8;
    letter-spacing: 0.3px;
  }

  .hero {
    min-height: auto;
    border-bottom: none;
  }
  .hero-container {
    flex-direction: column;
  }
  .hero-left,
  .hero-right {
    width: 100%;
  }
  .hero-left {
    padding: 30px 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero-right {
    height: 350px;
    order: -1;
    margin-right: 0;
  }
  .hero-right::before {
    background: linear-gradient(
      to top,
      var(--white) 10%,
      transparent 100%
    );
  }
  .hero-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .why-contact .container {
    flex-direction: column;
  }
  .why-left,
  .contact-right {
    width: 100%;
    padding: 0;
  }
  .contact-right {
    margin-top: 40px;
    padding: 30px 20px !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .contact-right {
    max-width: 100%;
  }

  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    align-items: center;
  }
  .footer-nav ul {
    align-items: center;
  }
  .contact-info-item {
    justify-content: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  .footer-logo .logo-group {
    align-items: center;
  }
  .footer-logo-img {
    object-position: center center;
  }
  .footer-tagline {
    text-align: center;
  }
  .hero-right {
    height: 280px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .logo-img {
    height: 45px;
  }
  header {
    min-height: 70px;
    height: auto;
    padding: 8px 0;
  }
  .logo-tagline {
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .hero-left {
    padding: 20px 0;
  }
  .hero-text {
    font-size: 1.1rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
  .hero-right {
    height: 220px;
  }
  .trust-bar .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    height: auto;
    padding: 8px 12px;
  }
  .hero-badge span {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .why-checklist {
    text-align: left;
  }
  .check-item {
    font-size: 0.95rem;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
  }
  .about-left,
  .about-right {
    width: 100%;
  }
  .about-right {
    margin-top: 30px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }
  .footer-logo-img {
    width: 160px;
    height: 56px;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra small screens fix for long words */
@media (max-width: 400px) {
  h1 {
    font-size: 1.4rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .logo-tagline {
    font-size: 7.5px;
  }
}


/* MOBILE MENU OPEN STATE */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: var(--navy);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 70px 30px;
  gap: 15px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-bg.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay a {
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}
