/* ==========================================================================
   Portfolio Stylesheet (assets/css/portfolio.css)
   ========================================================================== */

/* Tabs Styling */
.portfolio-hire-tabs-wrapper {
    margin-bottom: 2rem;
}

.portfolio-hire-tabs {
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid #e2e8f0;
}

.portfolio-hire-tabs .nav-link {
    border-radius: 40px;
    padding: 10px 24px;
    font-weight: 400;
    color: #131415;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.portfolio-hire-tabs .nav-link.active {
    font-weight: 700;
    background: linear-gradient(90deg, #5460F9 0%, #12B3EB 100%);
    color: #ffffff;
    /* box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4); */
}

/* Desktop Filter Buttons */
.portfolio-filters-desktop .btn {
    border-radius: 30px;
    transition: all 0.25s ease;
    font-size: 14px;
}

.portfolio-filters-desktop .btn.btn-quote.active {
    background: var(--gradient-primary, linear-gradient(135deg, #1e3c72 0%, #2a5298 100%)) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile Filter Dropdown */
.portfolio-filter-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .portfolio-filters-desktop {
        display: none !important;
    }
    .portfolio-filter-mobile {
        display: block;
    }
}

.portfolio-filter-mobile label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main, #1e293b);
}

.portfolio-dropdown {
    position: relative;
    user-select: none;
}

.portfolio-dropdown-selected {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.portfolio-dropdown-options {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-dropdown.open .portfolio-dropdown-options {
    display: block;
}

.portfolio-dropdown-option {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
    color: #475569;
}

.portfolio-dropdown-option:hover,
.portfolio-dropdown-option.active {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
}

/* Portfolio Cards */
.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-card {
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    min-height: 480px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-content-pad {
    padding: 3.5rem 3rem;
}

@media (max-width: 767.98px) {
    .portfolio-content-pad {
        padding: 2rem 1.5rem;
    }
}

.portfolio-card-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
}

.portfolio-card-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* --- Portfolio Card Sub-heading (portfolio.php - Industry/Technology h3) --- */
.portfolio-card-subheading {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(18px, 1.2vw + 14px, 30px) !important;
  line-height: clamp(20px, 1.2vw + 16px, 30px) !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Industry Pill Badge (portfolio.php - industry tags span) --- */
.portfolio-industry-pill {
  background-color: rgba(255, 255, 255, 0.2);
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 0.5vw + 11px, 18px) !important;
  padding: clamp(6px, 0.4vw + 4px, 10px) clamp(12px, 0.8vw + 8px, 20px) !important;
  line-height: 18px !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

/* --- Portfolio Tech Icon Container (portfolio.php - tech stack icon wrapper) --- */
.portfolio-tech-icon-box {
  width: 40px;
  height: 40px;
}

/* --- Portfolio Tech Icon Image (portfolio.php - tech stack img) --- */
.portfolio-tech-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.btn-case-study {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #5460F9;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-case-study:hover {
    background: #f8fafc;
    color: #0284c7;
    transform: translateY(-2px);
}

/* ==========================================================================
   Portfolio Card Background Colors & Images (Desktop)
   ========================================================================== */
.portfolio-bg-event-booking,
.portfolio-bg-event-booking1 {
  background: #8d34ff url(../images/portfolio-bg/event-booking-windows-bg.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-law-firms,
.portfolio-bg-law-firms1 {
  background: #10caf0 url(../images/portfolio-bg/law-firms-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-healthcare,
.portfolio-bg-healthcare1 {
  background: #56c9f8 url(../images/portfolio-bg/patient-care-tablet-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-live-streaming,
.portfolio-bg-live-streaming1 {
  background: #5a23b9 url(../images/portfolio-bg/live-stream-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-fitness,
.portfolio-bg-fitness1 {
  background: #ffa9b9 url(../images/portfolio-bg/mindfulness-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-shopping-app {
  background: #7152ce url(../images/portfolio-bg/shopping-app-1-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-restaurant-user {
  background: #08b67b url(../images/portfolio-bg/restaurant-user-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-restaurant-business {
  background: #08b67b url(../images/portfolio-bg/restaurant-busi-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-commercial-movers {
  background: #ff9700 url(../images/portfolio-bg/commercial-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-erp-web {
  background: #5798f9 url(../images/portfolio-bg/erp-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-taxi {
  background: #b69061 url(../images/portfolio-bg/smart-ride-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-dating {
  background: #fa69b9 url(../images/portfolio-bg/modern-match-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-on-demand {
  background: #5f65f7 url(../images/portfolio-bg/on-demand-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-travel {
  background: #41d0ff url(../images/portfolio-bg/travel-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.portfolio-bg-logistics {
  background: #7d7aff url(../images/portfolio-bg/driver-track-windows.png);
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Portfolio Card Background Colors & Images (Mobile)
   ========================================================================== */
@media (max-width: 991px) {
  .portfolio-bg-event-booking,
  .portfolio-bg-event-booking1 {
    background: #8d34ff url(../images/portfolio-bg/event-booking-mobile-bg.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-law-firms,
  .portfolio-bg-law-firms1 {
    background: #10caf0 url(../images/portfolio-bg/law-firms-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-live-streaming,
  .portfolio-bg-live-streaming1 {
    background: #5a23b9 url(../images/portfolio-bg/live-stream-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-shopping-app {
    background: #7152ce url(../images/portfolio-bg/shopping-app-1-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-restaurant-user {
    background: #08b67b url(../images/portfolio-bg/restaurant-user-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-restaurant-business {
    background: #08b67b url(../images/portfolio-bg/restaurant-busi-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-commercial-movers {
    background: #ff9700 url(../images/portfolio-bg/commercial-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-erp-web {
    background: #5798f9 url(../images/portfolio-bg/erp-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-taxi {
    background: #b69061 url(../images/portfolio-bg/smart-ride-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-dating {
    background: #fa69b9 url(../images/portfolio-bg/modern-match-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-on-demand {
    background: #5f65f7 url(../images/portfolio-bg/on-demand-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-travel {
    background: #41d0ff url(../images/portfolio-bg/travel-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-logistics {
    background: #7d7aff url(../images/portfolio-bg/driver-track-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-fitness,
  .portfolio-bg-fitness1 {
    background: #ffa9b9 url(../images/portfolio-bg/mindfulness-mobile.png);
    background-size: cover;
    background-position: bottom;
    justify-content: flex-start;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .portfolio-bg-healthcare,
  .portfolio-bg-healthcare1 {
    background: #56c9f8 url(../images/portfolio-bg/patient-care-tablet-mobile.png);
    background-size: cover;
    background-position: bottom;
    min-height: 940px;
    height: auto;
    color: white;
    width: 100%;
    display: flex !important;
    flex-direction: column;
  }
}

/* --- Portfolio Review Card (portfolio.php - testimonial/review cards between portfolio items) --- */
.review-card {
  /* background-color: #f3f6fe !important; */
  border: none !important;
  /* border-radius: 20px !important; */
  /* box-shadow: none !important; */
}

.review-card p:not(.mb-0) {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0%;
  color: #131415;
}

.rating-logo img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .rating-logo img {
    max-width: 200px;
  }
}

.rating-score {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #131415;
}

.rating-stars svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 991px) {
  .review-card p:not(.mb-0) {
    font-size: 26px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .review-card p:not(.mb-0) {
    font-size: 18px;
    line-height: 28px;
  }
}

.clientname {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CTA Wrapper & Section */
.cta-section-1 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 3rem;
    color: #ffffff;
}

.cta-content-1 h3 {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    margin-top: 15px;
}

.cta-call-action {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.cta-call-action:hover {
    color: #38bdf8;
}
