/* =========================================================
   Custom Widgets CSS — widgets.css
   Covers: Testimonial, Carousel Style 1, Carousel Style 2, Image Box 3
   ========================================================= */

/* ════════════════════════════════════════════════════════
   2. CAROUSEL IMAGE + CONTENT — STYLE 1
   Left: title + desc + counter + arrows | Right: image carousel
════════════════════════════════════════════════════════ */

.cc1-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  position: relative;
  width: 100%;
}

.cc1-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: calc((100% - var(--cc1-container-w, 1200px)) / 2);
  box-sizing: border-box;
}

.cc1-left-inner {
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  width: 100%;
  box-sizing: border-box;
}

.cc1-title {
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 28px;
  transition: opacity 0.4s ease;
}

.cc1-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
  color: #555;
  margin: 0;
  flex: 1;
  transition: opacity 0.4s ease;
}

.cc1-content-animating .cc1-title,
.cc1-content-animating .cc1-desc {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cc1-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.cc1-counter {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

.cc1-counter .cc1-curr {
  color: #1a1a1a;
  font-weight: 600;
}

.cc1-nav {
  display: flex;
  gap: 10px;
}

.cc1-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}

.cc1-nav-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  transform: scale(1.05);
}

/* Right: Swiper */
.cc1-right {
  position: relative;
  overflow: hidden;
}

.cc1-right .swiper {
  border-radius: 0;
}

.cc1-swiper .swiper-slide {
  border-radius: 20px;
  overflow: hidden;
}

.cc1-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc1-swiper .swiper-slide-active img {
  transform: scale(1);
}

.cc1-swiper .swiper-slide:not(.swiper-slide-active) img {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  .cc1-left {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .cc1-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cc1-left {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cc1-left-inner {
    padding-right: 0;
    min-height: auto;
  }
}

/* ════════════════════════════════════════════════════════
   2. CAROUSEL IMAGE + CONTENT (STYLE 2)
════════════════════════════════════════════════════════ */

.cc2-wrapper {
  width: 100%;
  overflow: visible;
}

.cc2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.cc2-section-title {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.2;
}

.cc2-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cc2-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}

.cc2-nav-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.cc2-swiper {
  overflow: visible !important;
  padding: 0;
}

.cc2-swiper .swiper-slide {
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  opacity: 0.85;
}

.cc2-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.015);
}

.cc2-slide-inner,
.cc2-slide-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.cc2-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc2-slide-content {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(88%, 340px);
  max-width: 340px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.cc2-slide-title {
  margin: 0 0 10px;
  color: #1a1a1a;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.28;
}

.cc2-slide-desc {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .cc2-swiper .swiper-slide {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .cc2-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .cc2-section-title {
    font-size: 22px;
  }

  .cc2-nav-btn {
    width: 38px;
    height: 38px;
  }

  .cc2-swiper .swiper-slide {
    height: 300px;
  }

  .cc2-slide-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .cc2-slide-title {
    margin-bottom: 6px;
    font-size: 17px;
  }

  .cc2-slide-desc {
    font-size: 13px;
    line-height: 1.55;
  }
}

/* ════════════════════════════════════════════════════════
   4. IMAGE BOX STYLE 3
   Card: image top (rounded), title, desc, large number watermark
   Hover: image zooms, number zooms, card lifts
════════════════════════════════════════════════════════ */

.ib3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ib3-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}

.ib3-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  border-color: transparent;
}

/* Image */
.ib3-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  margin: 12px 12px 0;
  height: 220px;
  position: relative;
}

.ib3-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ib3-card:hover .ib3-img-wrap img {
  transform: scale(1.07);
}

/* Body */
.ib3-body {
  padding: 20px 20px 24px;
  position: relative;
  overflow: hidden;
}

.ib3-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.ib3-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Watermark number */
.ib3-number {
  position: absolute;
  bottom: -8px;
  right: 8px;
  font-size: clamp(60px, 7vw, 96px);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease,
    font-size 0.4s ease;
  will-change: transform;
  user-select: none;
}

.ib3-card:hover .ib3-number {
  transform: scale(1.15) translateY(-4px);
  color: rgba(0, 0, 0, 0.07);
}

/* Responsive */
@media (max-width: 991px) {
  .ib3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ib3-grid {
    grid-template-columns: 1fr;
  }

  .ib3-img-wrap {
    height: 180px;
  }
}

/* ════════════════════════════════════════════════════════
   5. CAREER GRID
   Card: Title, Meta Info (Deadline, Hours), View Button
════════════════════════════════════════════════════════ */

/* Filter Bar */
.pg-filter-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pg-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pg-filter-item {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 24px;
  color: #1a1a1a;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 99px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pg-filter-item:hover {
  color: #b5865a;
  border-color: #b5865a;
}

.pg-filter-item.is-active {
  color: #fff;
  background: #b5865a;
  border-color: #b5865a;
}

/* Pagination Default Styling */
.pg-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  width: 100%;
}

.pg-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pg-page-btn:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.pg-page-btn.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.pg-page-btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.pg-ellipsis {
  font-size: 16px;
  color: #888;
  padding: 0 4px;
}

/* Load More Button default style */
.pg-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pg-load-more-btn:hover {
  background: #b5865a;
  border-color: #b5865a;
}

.pg-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Card Stagger Entrance Animations */
.pg-card--animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.pg-card--in {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════
   6. SERVICE PROCESS BOX
   Large background number, title, and description
════════════════════════════════════════════════════════ */

.ce-service-process-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.ce-service-process-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.ce-service-process-box__number {
  font-size: 150px;
  line-height: 1;
  font-weight: 700;
  color: #333;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s ease;
  pointer-events: none;
  position: relative;
}

.ce-service-process-box__content {
  position: relative;
  z-index: 2;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ce-service-process-box:hover .ce-service-process-box__content {
  transform: translateY(-20px);
}

.ce-service-process-box__title {
  font-size: 24px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ce-service-process-box__description {
  font-size: 16px;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   7. GRID CLIENT LOGO
   Premium client logo grid with full style & layout controls
   Supports Grayscale on hover, lifting, internal borders
   and fully responsive columns.
════════════════════════════════════════════════════════ */

.ce-logo-grid-wrapper {
  width: 100%;
}

.ce-logo-grid {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Grid Cell / Item Wrap */
.ce-logo-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ce-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.ce-logo-item img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  backface-visibility: hidden;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Caption / Name */
.ce-logo-caption {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Grid Columns Classes (Generated by Elementor responsive settings) */

/* Desktop columns */
.ce-logo-grid-cols-1 .ce-logo-grid {
  grid-template-columns: repeat(1, 1fr);
}

.ce-logo-grid-cols-2 .ce-logo-grid {
  grid-template-columns: repeat(2, 1fr);
}

.ce-logo-grid-cols-3 .ce-logo-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ce-logo-grid-cols-4 .ce-logo-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ce-logo-grid-cols-5 .ce-logo-grid {
  grid-template-columns: repeat(5, 1fr);
}

.ce-logo-grid-cols-6 .ce-logo-grid {
  grid-template-columns: repeat(6, 1fr);
}

.ce-logo-grid-cols-7 .ce-logo-grid {
  grid-template-columns: repeat(7, 1fr);
}

.ce-logo-grid-cols-8 .ce-logo-grid {
  grid-template-columns: repeat(8, 1fr);
}

/* Tablet columns (using max-width: 1024px to match Elementor default) */
@media (max-width: 1024px) {
  .ce-logo-grid-cols-tablet-1 .ce-logo-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .ce-logo-grid-cols-tablet-2 .ce-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ce-logo-grid-cols-tablet-3 .ce-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ce-logo-grid-cols-tablet-4 .ce-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ce-logo-grid-cols-tablet-5 .ce-logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .ce-logo-grid-cols-tablet-6 .ce-logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .ce-logo-grid-cols-tablet-7 .ce-logo-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .ce-logo-grid-cols-tablet-8 .ce-logo-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* Mobile columns (using max-width: 767px to match Elementor default) */
@media (max-width: 767px) {
  .ce-logo-grid-cols-mobile-1 .ce-logo-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .ce-logo-grid-cols-mobile-2 .ce-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ce-logo-grid-cols-mobile-3 .ce-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ce-logo-grid-cols-mobile-4 .ce-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ce-logo-grid-cols-mobile-5 .ce-logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .ce-logo-grid-cols-mobile-6 .ce-logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .ce-logo-grid-cols-mobile-7 .ce-logo-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .ce-logo-grid-cols-mobile-8 .ce-logo-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
