/* =========================================================
   Custom enhancements (Omar Ghieh portfolio)
   Loaded after style.css so these rules win.
   ========================================================= */

/* ----- Equal-height service boxes ----- */
.art-service-icon-box {
  height: calc(100% - 30px);
}
.art-service-icon-box .art-service-ib-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.art-service-icon-box .art-service-ib-content .art-buttons-frame {
  margin-top: auto;
  padding-top: 15px;
}

/* ----- Equal-height project slider cards ----- */
.art-testimonial-slider .swiper-slide {
  height: auto;
}
.art-testimonial {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.art-testimonial .testimonial-body {
  flex: 1 0 auto;
}
.art-testimonial .art-testimonial-footer {
  margin-top: auto;
}

/* ----- Secondary / outline button (e.g. LinkedIn) ----- */
.art-btn.art-btn-outline {
  background: transparent;
  color: #FFC107;
  box-shadow: inset 0 0 0 1px #FFC107;
}
.art-btn.art-btn-outline:hover {
  background: #FFC107;
  color: #20202a;
}
.art-btn i {
  align-self: center;
  margin-right: 8px;
}

/* ----- Sidebar LinkedIn link ----- */
.art-links-frame .art-link + .art-link {
  margin-top: 14px;
}

/* ----- Featured Projects (portfolio page top) ----- */
.art-featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -15px;
}
.art-featured-col {
  width: 50%;
  padding: 0 15px;
  margin-bottom: 30px;
}
.art-featured-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: linear-gradient(159deg, #2d2d3a 0%, #2b2b35 100%);
  box-shadow: 0 3px 8px 0 rgba(15, 15, 20, 0.2);
  border-top: 3px solid #FFC107;
  transition: 0.4s ease-in-out;
}
.art-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px 0 rgba(15, 15, 20, 0.35);
}
.art-featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #20202a;
  background: #FFC107;
  padding: 4px 10px;
  border-radius: 20px;
}
.art-featured-card h4 {
  margin: 0 90px 4px 0;
}
.art-featured-card .art-el-suptitle {
  margin-bottom: 14px;
}
.art-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.art-featured-tags li {
  font-size: 11px;
  color: #d2d2d6;
  background: #20202a;
  border-radius: 20px;
  padding: 5px 12px;
  line-height: 1.4;
}
.art-featured-card p {
  flex: 1 0 auto;
  margin-bottom: 22px;
}
.art-featured-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 920px) {
  .art-featured-col {
    width: 100%;
  }
}

/* ----- Contact form: button loading spinner ----- */
.art-submit .art-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #20202a;
  border-radius: 50%;
  animation: art-spin 0.7s linear infinite;
  vertical-align: middle;
}
.art-submit.art-loading span { display: none; }
.art-submit.art-loading .art-spinner { display: inline-block; }
@keyframes art-spin { to { transform: rotate(360deg); } }

/* ----- Contact form: success toast ----- */
#art-toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: linear-gradient(135deg, #2d2d3a 0%, #2b2b35 100%);
  border-top: 3px solid #4caf50;
  color: #e8e8e8;
  padding: 18px 32px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-size: 15px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.45s;
  pointer-events: none;
  white-space: nowrap;
}
#art-toast.art-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#art-toast i {
  color: #4caf50;
  margin-right: 10px;
  font-size: 16px;
}
