/* ==========================================================
   Site fixes: contrast, alignment and mobile polish.
   Loaded after style.css / responsive.css so it overrides the
   theme without editing it.
   ========================================================== */

:root {
  --brand: #1cb9c8;        /* logo teal - icons, borders, accents */
  --brand-dark: #0e8590;   /* readable teal for text and buttons (4.4:1 on white) */
  --heading: #232323;
  --text: #555555;
}

/* ---------- Links ----------
   style.css forces every link to white, which made links invisible
   on light backgrounds. Inherit the surrounding text colour instead;
   components with their own link colours still override this. */
a,
a:active,
a:focus {
  color: inherit;
}

a:hover {
  color: var(--brand-dark);
}

p a,
li span a {
  color: var(--brand-dark);
  font-weight: 500;
}

footer a:hover,
footer p a,
.bg-dark a:hover {
  color: var(--brand);
}

/* ---------- Top bar ---------- */
.top-bar-area .info.box li .icon i {
  color: var(--brand-dark);
}

.top-bar-area .info.box li .info {
  color: var(--text);
}

.top-bar-area .info.box li .info span {
  color: var(--heading);
}

.top-bar-area .info.box li .info a {
  color: var(--heading);
  font-weight: 500;
}

.top-bar-area .info.box li .info a:hover {
  color: var(--brand-dark);
}

/* ---------- Buttons ---------- */
.btn-theme,
.btn-theme.effect:hover,
.btn-theme.effect:focus,
.btn-theme.border:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff !important;
}

.btn-theme.border {
  background-color: transparent;
  border-color: var(--brand-dark);
  color: var(--brand-dark) !important;
}

.contact-area .contact-form button,
.contact-area .contact-form button:hover {
  background-color: var(--brand-dark);
  color: #ffffff;
}

/* ---------- Banner (home) ---------- */
.banner-area.standard .info h4 {
  color: var(--brand-dark);
  letter-spacing: 1px;
}

/* ---------- Headings / accents that used light teal as text ---------- */
.about-area .about-content .info h4,
.about-items .info h4,
.testimonials-area .item .info b {
  color: var(--brand-dark);
}

/* ---------- "Why choose us" tabs ---------- */
.skill-area .tab-items .nav-pills a {
  color: var(--text);
}

.skill-area .tab-items .nav-pills .active a,
.skill-area .tab-items .nav-pills a:focus,
.skill-area .tab-items .nav-pills a:hover {
  color: var(--brand-dark);
}

/* ---------- Home article content ---------- */
.about-standard-area h2 {
  margin-bottom: 20px;
}

.about-standard-area h3 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.about-standard-area img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0 25px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-standard-area ul {
  margin: 0 0 20px;
  padding-left: 20px;
  list-style: disc;
  color: var(--text);
}

.about-standard-area ul li {
  margin-bottom: 6px;
}

/* ---------- Portfolio grid: uniform square tiles ---------- */
.portfolio-area .portfolio-items .pf-item .effect-left-swipe {
  overflow: hidden;
  border-radius: 4px;
  background: #f4f4f4;
}

.portfolio-area .portfolio-items .pf-item .effect-left-swipe > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Contact page ---------- */
.contact-area .address-items .info li span a {
  color: var(--text);
  font-weight: 400;
}

.contact-area .address-items .info li span a:hover {
  color: var(--brand-dark);
}

/* ---------- Mobile contact bar ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #ffffff;
}

.mobile-cta a {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.mobile-cta a:hover,
.mobile-cta a:focus {
  color: #ffffff;
  opacity: 0.92;
}

.mobile-cta a i {
  margin-right: 6px;
}

.mobile-cta .mobile-cta-call {
  background: var(--brand-dark);
}

.mobile-cta .mobile-cta-whatsapp {
  background: #128c7e;
}

/* ---------- Tablet & phone ---------- */
@media (max-width: 991px) {
  .banner-area.standard .thumb {
    text-align: center;
  }

  .banner-area.standard .thumb img {
    max-height: 340px;
    width: auto;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .mobile-cta.visible-xs {
    display: flex !important;
  }

  /* keep the footer clear of the fixed contact bar */
  body {
    padding-bottom: 52px;
  }

  .about-standard-area h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .about-standard-area h3 {
    font-size: 21px;
    margin-top: 30px;
  }
}
