/* =========================================
   Earth Software Solution — Custom Styles
   earthsoftwaresolution.com
   ========================================= */

/* ---- Logo ---- */
.ess-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.ess-logo-icon {
  flex-shrink: 0;
}
.ess-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ess-logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.3px;
}
.ess-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #90caf9;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- Pricing Buy Button ---- */
.btn-buy {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 30px;
  background: #1565c0;
  color: #fff;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-buy:hover {
  background: #0d47a1;
  color: #fff;
  text-decoration: none;
}
.box.featured .btn-buy {
  background: #fff;
  color: #1565c0;
}
.box.featured .btn-buy:hover {
  background: #e3f2fd;
}

/* ---- Lead Gen Section ---- */
.lead-gen-section {
  background: linear-gradient(135deg, #0a2342 0%, #1565c0 60%, #1976d2 100%);
  padding: 60px 0;
}
.lead-gen-section .section-title {
  color: #fff !important;
}
.lead-gen-section .section-divider {
  background: #90caf9 !important;
}
.lead-gen-box {
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.ess-input {
  border: 1.5px solid #b0c4d8;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  color: #333;
  transition: border-color 0.25s;
}
.ess-input:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
  outline: none;
}
.btn-lead-submit {
  background: linear-gradient(90deg, #1565c0, #1976d2);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 44px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(21,101,192,0.35);
}
.btn-lead-submit:hover {
  background: linear-gradient(90deg, #0d47a1, #1565c0);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.45);
}

/* ---- Contact Submit Button ---- */
.btn-contact-submit {
  background: #1565c0;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-contact-submit:hover {
  background: #0d47a1;
}

/* ---- About Stats ---- */
.about-stat {
  text-align: center;
  padding: 10px;
  background: #f0f7ff;
  border-radius: 8px;
  border-left: 3px solid #1565c0;
}

/* ---- Section Header Color Overrides ---- */
.section-title {
  color: #0a2342;
}

/* ---- Form Check ---- */
.form-check-input {
  margin-top: 3px;
}
.form-check-label {
  padding-left: 5px;
}

/* ---- Footer ---- */
#footer {
  background: #0a2342;
}
#footer .copyright p {
  color: #b0c4d8;
}
#footer .footer-links a {
  color: #90caf9;
}
#footer .footer-links a:hover {
  color: #fff;
}

/* ---- Terms / Privacy page styles ---- */
.terms-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.85;
}
.terms-wrapper h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  color: #0a2342;
  margin-bottom: 6px;
}
.terms-wrapper h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #1565c0;
  margin-top: 28px;
  margin-bottom: 8px;
}
.terms-wrapper .last-updated {
  font-size: 12px;
  color: #888;
  margin-bottom: 30px;
}
.terms-divider {
  height: 3px;
  background: linear-gradient(90deg, #1565c0, #42a5f5);
  border: none;
  border-radius: 2px;
  margin-bottom: 30px;
}

/* =========================================
   Hero / Intro color override
   Replace old teal-green with deep navy-blue
   ========================================= */
#intro {
  background: linear-gradient(135deg, rgba(10,35,66,0.92), rgba(21,101,192,0.85)), url("../img/intro-bg.jpg") center top no-repeat !important;
  background-size: cover !important;
}
#header {
  background: #0a2342 !important;
}
#header.header-scrolled {
  background: rgba(10,35,66,0.97) !important;
}
/* Nav active & hover */
.nav-menu a:hover, .nav-menu .menu-active > a, .nav-menu li:hover > a {
  color: #90caf9 !important;
}
/* Call to action section */
#call-to-action {
  background: linear-gradient(rgba(10,35,66,0.85), rgba(21,101,192,0.5)), url(../img/call-to-action-bg.jpg) fixed center center !important;
  background-size: cover !important;
}
/* Pricing featured box */
.box.featured {
  background: linear-gradient(135deg, #0a2342, #1565c0) !important;
  border-color: #1976d2 !important;
}
/* Back to top btn */
.back-to-top {
  background: #1565c0 !important;
}
.back-to-top:hover {
  background: #0d47a1 !important;
}
/* Footer */
#footer {
  background: #0a2342 !important;
}
/* Section divider */
.section-divider {
  background: #1565c0 !important;
}
/* Icons */
.box .icon i {
  color: #1565c0 !important;
}
/* Hero title */
#intro .intro-text h2 {
  color: #fff !important;
}
