/* =====================================================
   Sathi Sewa Services — custom brand overrides
   Loaded AFTER color.css / style.css so these rules win.
   Brand colors:
     Navy:   #0B2A4A  (dark backgrounds, header bar, footer)
     Green:  #2E7D32  (accent, buttons, icons, highlights)
     Gold:   #F5A623  (small accent touches, matches logo sun)
   ===================================================== */

/* Swap the template's default near-black sections for brand navy */
header.smaller,
#section-welcome,
section#section-welcome,
.bg-dark-navy {
  background: #0b2a4a !important;
}

/* Footer in navy with a subtle top border for separation */
footer {
  background: #0b2a4a;
  border-top: 3px solid #2e7d32;
}
footer,
footer a {
  color: #cfe3d8;
}
footer a:hover {
  color: #ffffff;
}

/* Top info bar (address/phone/hours) in a slightly deeper navy */
header .info {
  background: #08213a;
}



/* ---------- Buttons ---------- */
.btn-solid,
a.btn-solid {
  background-color: #2e7d32 !important;
  border-color: #2e7d32 !important;
  transition: all 0.25s ease;
}
.btn-solid:hover,
a.btn-solid:hover {
  background-color: #256427 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.35);
}

.btn-navy,
a.btn-navy {
  background-color: #0b2a4a !important;
  border-color: #0b2a4a !important;
  color: #fff !important;
  transition: all 0.25s ease;
}
.btn-navy:hover,
a.btn-navy:hover {
  background-color: #123a63 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 42, 74, 0.35);
}

/* ---------- Service / feature cards ---------- */
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(11, 42, 74, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(11, 42, 74, 0.16);
}
.service-card .service-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf5ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon {
  background: #2e7d32;
}
.service-card .service-icon i {
  font-size: 32px;
  color: #2e7d32;
  transition: color 0.3s ease;
}
.service-card:hover .service-icon i {
  color: #fff;
}
.service-card h3 {
  margin-bottom: 12px;
  color: #0b2a4a;
}

/* ---------- Trust badges row ---------- */
.trust-badge {
  text-align: center;
  padding: 20px 10px;
}
.trust-badge i {
  font-size: 34px;
  color: #2e7d32;
  margin-bottom: 12px;
  display: inline-block;
}

/* ---------- Floating WhatsApp button ---------- */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: wa-pulse 2.4s infinite;
  transition: transform 0.2s ease;
}
#whatsapp-float:hover {
  transform: scale(1.08);
}
#whatsapp-float i {
  color: #fff;
  font-size: 32px;
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (max-width: 767px) {
  #whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
  #whatsapp-float i {
    font-size: 26px;
  }
}

/* ---------- Contact page quick-contact buttons ---------- */
.quick-contact-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.quick-contact-row .btn-solid,
.quick-contact-row .btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 50px;
  color: #fff !important;
}

/* ---------- Simple fade/slide utility (used with wow.js classes already in template) ---------- */
.hero-sub {
  letter-spacing: 0.5px;
}




.tp-bgimg {
  filter: brightness(0.3) !important;
}

/* Fix uneven service card row alignment */
#section-services .row {
  display: flex;
  flex-wrap: wrap;
}
#section-services .row > [class*="col-"] {
  display: flex;
}
#section-services .row > [class*="col-"] .service-card {
  width: 100%;
}

.page-menu #subheader,
.page-about #subheader {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
}

#section-services {
  background-color: #151b1f3c; /* pick any color you like */
}

.page-menu #subheader,
.page-about #subheader,
.page-contact #subheader {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
}
@media (max-width: 776px) {
  #section-about .col-md-4 {
    margin-bottom: 50px;
  }
}
#section-services {
  padding-top: 0px;
}
@media (max-width: 767px) {
  header div#logo {
    height: auto;
    overflow: visible;
  }
  header div#logo img.logo {
    max-height: 90px;
    width: auto;
  }
}
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.hero-trust .stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
}


.very-big-white,
h1.big {
  letter-spacing: 16px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}



@media (max-width: 992px) {
  header.header-mobile {
    background: transparent !important;
  }
  header.header-mobile.smaller {
    background: #0b2a4a !important;
  }
  header,
  header.fixed,
  header.header-mobile {
    position: fixed !important;
    top: 0 !important;
    height: auto !important;
  }
  header.header-mobile #mainmenu,
  header.header-mobile #mainmenu li {
    background: #0b2a4a !important;
    opacity: 1 !important;
  }
}
/* ---------- Mobile dropdown menu: full-width tappable rows ---------- */
@media only screen and (max-width: 992px) {
  #mainmenu {
    background: #0b2a4a;
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  #mainmenu li {
    width: 100%;
    float: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  #mainmenu li:last-child {
    border-bottom: none !important;
  }
  #mainmenu a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px !important;
    text-align: left;
    font-size: 13px;
    letter-spacing: 2px;
    color: #fff;
    transition: background 0.2s ease, padding-left 0.25s ease;
  }
  #mainmenu a:hover,
  #mainmenu a:active,
  #mainmenu a:focus {
    background: rgba(46, 125, 50, 0.28) !important;
    padding-left: 32px !important;
  }
  #mainmenu li a:after,
  #mainmenu li:last-child a:after {
    content: "\f105";
    font-family: "FontAwesome";
    font-size: 16px;
    color: #f5a623;
    margin: 0;
    float: none;
    display: inline-block !important;
  }
  #mainmenu li:last-child a {
    background: #2e7d32;
    color: #fff;
  }
  #mainmenu li:last-child a:hover {
    background: #256427 !important;
    padding-left: 24px !important;
  }
}
@media (max-width: 767px) {
  .hero-trust {
    margin-top: 18px;
  }
  #revolution-slider .tp-caption.very-big-white,
  #revolution-slider .tp-caption.hero-sub,
  #revolution-slider .tp-caption.hero-cta,
  #revolution-slider .tp-caption.hero-badge-caption {
    transform: translateY(-120px) !important;
  }
}
#contact_form input[type="text"],
#contact_form input[type="email"],
#contact_form input[type="tel"],
#contact_form select,
#contact_form textarea {
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  padding: 14px 16px;
  margin-bottom: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px !important;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
#contact_form textarea { height: 150px; resize: vertical; padding-top: 14px; }
#contact_form input::placeholder,
#contact_form textarea::placeholder { color: rgba(255,255,255,0.55); }
#contact_form input:focus,
#contact_form select:focus,
#contact_form textarea:focus {
  outline: none;
  border-color: #2e7d32;
  background: rgba(255, 255, 255, 0.1);
}
#contact_form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  color: rgba(255, 255, 255, 0.85);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5a623' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
#contact_form select option { color: #111; background: #fff; }

.footer-credit {
  margin-top: 0px;
  padding-top: 14px;
  
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
.footer-credit a:hover {
  color: #2e7d32;
  text-decoration-color: #2e7d32;
}

@media only screen and (max-width: 767px) {
  footer .col-md-4.text-right {
    text-align: center !important;
  }
  footer .social-icons {
    margin-top: 12px;
  }
}