/* contractor page slide overlay */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust darkness */
  z-index: 1;
}

/* Ensure text stays above overlay */
.cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.benefit-images{
  position:relative;
  width:100%;
  min-height:420px;
  overflow:hidden;
}

/* Desktop overlap */
@media (min-width:992px){

  .image-left{
    width:75%;
    position:absolute;
    bottom:0;
    left:0;
  }

  .image-right{
    width:45%;
    position:absolute;
    top:0;
    right:0;
  }

}

/* Tablet and Mobile → stack images */
@media (max-width:991px){

  .benefit-images{
    min-height:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
    align-items:center;
  }

  .image-left,
  .image-right{
    position:relative;
    width:90%;
  }

}


/*-----------service section-----------*/
    .services-section{
  padding:100px 0;
  background:#C2C2C2;
}

.services-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  align-items:center;
}

/* LIST */
.services-list h2{
  font-size:40px;
  margin:20px 0 40px;
}

.service-item{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding:28px 0;
  border-bottom:1px solid #1f1f1f;
  position:relative;
}

.service-item h3{
  font-size:20px;
  margin:0;
}

.service-item p{
  font-size:14px;
  max-width:420px;
  margin-top:10px;
}

.service-item .number{
  font-size:18px;
  min-width:40px;
}

.service-item .arrow{
  margin-left:auto;
  width:40px;
  height:40px;
  border:1px solid #333;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#000;
}
.service-item .arrow:hover{
  background:#691975;
  color:#fff;
  
}

/* ACTIVE */
.service-item.active{
  background:linear-gradient(90deg,rgba(154,205,50,.08),transparent);
}

.service-item .arrow.active{
  background:#691975;
  color:#fff;
}

/* IMAGE */
.service-preview img{
  width:100%;
  border-radius:16px;
  transform:rotate(-4deg);
  box-shadow:0 30px 60px rgba(0,0,0,.6);
}

/* RESPONSIVE */
@media(max-width:992px){
  .services-grid{
    grid-template-columns:1fr;
  }

  .service-preview{
    order:-1;
  }
}
/* ===================================================== */
/* FULL RESPONSIVE FIX â€” ADD BELOW YOUR EXISTING CSS ONLY */
/* ===================================================== */


/* ---------- Large screens tuning ---------- */
@media (min-width: 1400px){
  .services-grid{
    gap:80px;
  }
  .service-preview img{
    max-height:560px;
    object-fit:cover;
  }
}


/* ---------- Tablets ---------- */
@media (max-width: 992px){

  .services-section{
    padding:70px 0;
  }

  .services-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .service-preview{
    order:-1;
    text-align:center;
  }

  .service-preview img{
    transform:none; /* remove rotation */
    max-height:420px;
  }

  .services-list h2{
    font-size:34px;
    text-align:center;
  }

  .service-item{
    padding:20px 0;
  }

  .service-item p{
    max-width:100%;
  }
}


/* ---------- Mobiles ---------- */
@media (max-width: 768px){

  .services-section{
    padding:50px 0;
  }

  .services-list h2{
    font-size:28px;
    margin-bottom:25px;
  }

  .service-item{
    gap:14px;
  }

  .service-item h3{
    font-size:16px;
  }

  .service-item p{
    font-size:13px;
    line-height:1.5;
  }

  .service-item .number{
    font-size:14px;
    min-width:28px;
  }

  .service-item .arrow{
    width:32px;
    height:32px;
    font-size:14px;
  }

  .service-preview img{
    border-radius:12px;
    max-height:300px;
  }
}


/* ---------- Small phones ---------- */
@media (max-width: 576px){

  .services-list h2{
    font-size:24px;
  }

  .service-item{
    padding:16px 0;
  }

  .service-preview img{
    max-height:240px;
  }
}


/* ---------- Extra small phones ---------- */
@media (max-width: 420px){

  /* stack each item vertically */
  .service-item{
    flex-direction:column;
    align-items:flex-start;
  }

  .service-item .arrow{
    margin-left:0;
    margin-top:10px;
  }

  .service-item .number{
    margin-bottom:4px;
  }
}

/*-----------process section--------*/
    /* PROCESS SECTION */
.process-section{
  background:#fff;
}

.section-title{
  font-size:38px;
  font-weight:700;
}
.section-title span{
  color:#691975;
}

.section-subtitle{
  color:#666;
  max-width:600px;
  margin:12px auto 0;
}

/* Timeline */
.process-wrapper{
  position:relative;
  margin-top:70px;
}

.process-line{
  position:absolute;
  top:40px;
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 450px); /* trims both ends */
  height:2px;
  background:#691975;
  opacity:.25;
  z-index:1;
}


/* Steps */
.process-steps .step{
  display:flex;
  justify-content:center;
  z-index:2;
}

.step-inner{
  text-align:center;
  max-width:300px;
  padding:0 10px;
  transition:transform .3s ease;
}

.process-steps .icon{
  width:72px;
  height:72px;
  background:#691975;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin:0 auto 18px;
  box-shadow:0 10px 25px rgba(105,25,117,.25);
}

.process-steps h3{
  font-weight:600;
  font-size:15px;
  margin-bottom:6px;
}

.process-steps p{
  font-size:14px;
  color:#555;
  line-height:1.5;
}

/* Responsive */
@media(max-width:991px){
  .process-line{
    display:none;
  }
  .process-steps .step{
    margin-bottom:45px;
  }
}

/*------------why choose us----------*/
    .icon-box i{
  font-size:36px;
  color:#ff0099;
}


/*-----------portfolio-----------*/

/* ===============================
   PORTFOLIO SECTION
================================ */

.portfolio{
  padding:80px 0;
  background:#c2c2c2;
}

.section-subtitle{
  max-width:650px;
  margin:10px auto 30px;
  color:#444;
}

/* ===== FILTER BUTTONS ===== */

.portfolio-filters{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:40px 0;
}

.filter-btn{
  border:none;
  background:#691975;
  padding:8px 22px;
  border-radius:50px;
  cursor:pointer;
  font-size:14px;
  color:#fff;
  transition:.25s ease;
}

.filter-btn:hover,
.filter-btn.active{
  background:#691975;
}

/* ===== PORTFOLIO GRID ===== */

.portfolio-item{
  transition:.3s ease;
}

.portfolio-item.hide{
  display:none;
}

.portfolio-card{
  height:100%;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #eee;
  transition:.35s ease;
}

.portfolio-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 35px rgba(0,0,0,.08);
}

.portfolio-visual{
  height:180px;
  overflow:hidden;
}

.portfolio-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.portfolio-content{
  padding:20px;
}

.portfolio-content h3{
  font-size:18px;
  font-weight:600;
  margin-bottom:8px;
}

.portfolio-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:12px;
}

.category-tag{
  background:#691975;
  color:#fff;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
}

.case-link{
  color:#691975;
  text-decoration:none;
  font-weight:500;
  font-size:14px;
}

/* ===============================
   MODAL / CASE STUDY
================================ */

.event-modal{
  background:#340D3A;
  color:#ddd;
}

/* IMPORTANT: no 100vh here */
.event-wrapper{
  display:flex;
  height:100%;
}

/* LEFT SIDE */
.event-visual{
  width:55%;
  display:flex;
  flex-direction:column;
}

/* Stable image sizing (no shake) */
.event-main-image{
  width:100%;
  aspect-ratio:16/9;
  background-size:cover;
  background-position:center;
  position:relative;
}

.visual-text{
  position:absolute;
  bottom:20px;
  left:20px;
  letter-spacing:2px;
  font-size:14px;
  color:#fff;
}

/* Thumbnails */
.event-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  padding:12px;
  background:#2b0930;
}

.event-thumbs img{
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:6px;
  cursor:pointer;
  opacity:.6;
  transition:.25s ease;
}

.event-thumbs img:hover,
.event-thumbs img.active{
  opacity:1;
}

/* RIGHT SIDE */
.event-content{
  width:45%;
  padding:60px;
  overflow-y:auto;
  scrollbar-gutter:stable;
}

.event-content h1{
  font-size:32px;
  margin-bottom:14px;
}

.case-description{
  color:#aaa;
  line-height:1.7;
  margin-bottom:20px;
}

.case-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:20px;
}

.case-meta-grid small{
  display:block;
  font-size:12px;
  color:#999;
}

.case-meta-grid strong{
  font-size:14px;
  color:#fff;
}

.event-list li{
  margin-bottom:8px;
  font-size:14px;
}

/* CTA */
.btn-contact{
  display:inline-block;
  border:2px solid #ddd;
  border-radius:50px;
  padding:12px 32px;
  color:#ddd;
  background:transparent;
  text-decoration:none;
  transition:.3s ease;
}

.btn-contact:hover{
  background:#691975;
  color:#fff;
}

/* Close button (no fixed â†’ no shake) */
.event-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:26px;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
  z-index:10;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media(max-width:991px){

  .portfolio-visual{
    height:200px;
  }

  .event-wrapper{
    flex-direction:column;
  }

  .event-visual,
  .event-content{
    width:100%;
  }

  .event-main-image{
    aspect-ratio:16/9;
  }

  .event-thumbs img{
    height:80px;
  }

  .event-content{
    padding:30px 24px;
  }

  .case-meta-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* Mobile */
@media(max-width:576px){

  .portfolio{
    padding:60px 0;
  }

  .filter-btn{
    padding:8px 16px;
    font-size:13px;
  }

  .portfolio-visual{
    height:220px;
  }

  .event-thumbs{
    grid-template-columns:repeat(3,1fr);
  }

  .event-thumbs img{
    height:70px;
  }

  .event-content h1{
    font-size:22px;
  }

  .case-description{
    font-size:14px;
  }

  .case-meta-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .btn-contact{
    width:100%;
    text-align:center;
  }

  .event-close{
    top:15px;
    right:20px;
    font-size:22px;
  }
}




/*----------FAQ-----------*/
    /* FAQ SECTION */
.faq-section{
  background:#fff;
}

.section-title{
  font-size:38px;
  font-weight:700;
}
.section-title span{
  color:#691975;
}

.section-subtitle{
  max-width:650px;
  margin:12px auto 0;
  color:#555;
}

/* Accordion */
.faq-accordion{
  max-width:900px;
  margin:auto;
}

.accordion-item{
  border:1px solid #eee;
  border-radius:14px;
  margin-bottom:14px;
  overflow:hidden;
}

.accordion-button{
  font-weight:600;
  color:#111;
  background:#fff;
}

.accordion-button:not(.collapsed){
  background:#f6f0f8;
  color:#691975;
  box-shadow:none;
}

.accordion-button:focus{
  box-shadow:none;
}

.accordion-button::after{
  background-size:16px;
}

.accordion-body{
  color:#555;
  font-size:15px;
  line-height:1.7;
}

/*----------cta-----------*/
    .luxury-cta-section{
  padding:110px 0;
  background:
    radial-gradient(60% 60% at 10% 10%, rgba(106,27,154,.12), transparent 60%),
    radial-gradient(60% 60% at 90% 90%, rgba(156,39,176,.15), transparent 60%),
    #691975;
}

.cta-card{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  border-radius:26px;
  padding:60px 60px;
  box-shadow:0 40px 90px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.15);
}

/* TEXT */
.cta-label{
  display:inline-block;
  font-size:14px;
  letter-spacing:.5px;
  color:#d1a9ff;
  margin-bottom:16px;
}

.cta-title{
  font-size:42px;
  font-weight:600;
  color:#ffffff;
  line-height:1.25;
  margin-bottom:22px;
}

.cta-text{
  font-size:17px;
  color:#d6d6d6;
  max-width:620px;
}

/* BUTTONS */
.cta-btn{
  display:inline-block;
  padding:14px 34px;
  border-radius:999px;
  font-size:15px;
  font-weight:500;
  text-decoration:none;
  margin-left:12px;
  transition:.3s ease;
}

.cta-btn.primary{
  background:linear-gradient(135deg,#9c27b0,#6a1b9a);
  color:#fff;
  box-shadow:0 15px 35px rgba(156,39,176,.4);
}

.cta-btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(156,39,176,.55);
}

.cta-btn.secondary{
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
}

.cta-btn.secondary:hover{
  background:rgba(255,255,255,.12);
}

/* RESPONSIVE */
@media(max-width:992px){
  .cta-card{
    padding:40px 30px;
    text-align:center;
  }
  .cta-btn{
    margin:10px 8px 0;
  }
  .cta-title{
    font-size:32px;
  }
}

