/*
 * FikarFix custom overrides — loaded after style.css
 * Equal-height cards, responsive logo, quote form, floating WhatsApp button.
 */

/* ====================================================================
   Responsive logo — one consistent size across header, sticky header,
   mobile menu and footer, scaling down with the viewport.
==================================================================== */
.main-header .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img,
.footer-logo img {
  width: auto;
  height: auto;
  max-width: 216px;
  max-height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 1199.98px) {
  .main-header .logo img,
  .sticky-header .logo img,
  .footer-logo img {
    max-height: 42px;
  }
}
@media (max-width: 767.98px) {
  .main-header .logo img,
  .sticky-header .logo img,
  .mobile-menu .nav-logo img,
  .footer-logo img {
    max-height: 36px;
    max-width: 175px;
  }
}
@media (max-width: 479.98px) {
  .main-header .logo img,
  .sticky-header .logo img,
  .footer-logo img {
    max-height: 30px;
    max-width: 145px;
  }
}

/* ====================================================================
   Service boxes (home “Our Services”, /services, About “Working
   Process”) — every box in a row gets the same height; description
   clamped so one long text can’t stretch its card.
==================================================================== */
.service-block-one {
  height: 100%;
}
.service-block-one .inner-block {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.service-block-one .inner-block .content-box {
  margin-top: auto;
}
/* Reserve a fixed 2-line title + 3-line text area so every card is
   exactly the same height across all rows, not just within one row. */
.service-block-one .inner-block .content-box .title {
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-block-one .inner-block .content-box .text {
  line-height: 1.7;
  min-height: 5.1em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ====================================================================
   Project / blog cards (“Recent Projects”, /projects, /blog, team) —
   equal heights, footer link pinned to the bottom, 2-line titles.
==================================================================== */
.blog-box {
  height: 100%;
}
.blog-box .inner-box {
  height: calc(100% - 30px); /* .inner-box carries a 30px top margin */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.blog-box .inner-box .image-box {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
/* style.css absolutely positions img:first-child for its two-image hover
   swap; cards with a single image (projects, team) collapse to 0 height.
   Keep a lone image in normal flow instead. */
.blog-box .inner-box .image-box img:first-child:last-of-type {
  position: static;
  -webkit-transform: none;
          transform: none;
  opacity: 1;
  -webkit-filter: none;
          filter: none;
}
.blog-box .inner-box .content-box {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.blog-box .inner-box .content-box .title {
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-box .inner-box .content-box .arrow-link {
  margin-top: auto;
  padding-top: 15px;
}

/* ====================================================================
   Quote / contact form card
==================================================================== */
.ff-form-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
}
@media (max-width: 767.98px) {
  .ff-form-card {
    padding: 24px 18px;
  }
}
.ff-form-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}
.ff-form-card .form-control {
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  -webkit-transition: border-color 0.25s ease, -webkit-box-shadow 0.25s ease;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ff-form-card .form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.35); }
.ff-form-card .form-control::-moz-placeholder          { color: rgba(255, 255, 255, 0.35); }
.ff-form-card .form-control::placeholder               { color: rgba(255, 255, 255, 0.35); }
.ff-form-card .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: #ff6b1e;
  -webkit-box-shadow: 0 0 0 3px rgba(255, 107, 30, 0.18);
          box-shadow: 0 0 0 3px rgba(255, 107, 30, 0.18);
  outline: none;
  color: #fff;
}
.ff-form-card select.form-control option {
  background: #14172a;
  color: #fff;
}
.ff-form-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.ff-form-note a {
  color: #ff6b1e;
  text-decoration: underline;
}
@media (max-width: 575.98px) {
  .ff-form-card .btn-style-one {
    width: 100%;
    text-align: center;
  }
}

/* ====================================================================
   Floating WhatsApp button (sits above the back-to-top button)
==================================================================== */
.ff-whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 95px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
          box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  -webkit-animation: ffWaPulse 2.4s infinite;
          animation: ffWaPulse 2.4s infinite;
}
.ff-whatsapp-float:hover,
.ff-whatsapp-float:focus {
  background: #1ebe5b;
  color: #fff;
  -webkit-transform: translateY(-3px) scale(1.05);
          transform: translateY(-3px) scale(1.05);
}
@-webkit-keyframes ffWaPulse {
  0%   { -webkit-box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70%  { -webkit-box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { -webkit-box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes ffWaPulse {
  0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 767.98px) {
  .ff-whatsapp-float {
    right: 18px;
    bottom: 84px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}
