

/* CTA */
.btn {
  background: #ff6b00;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}



.who-joining {
    padding: 10px 50px 70px;
    text-align: center;
    border-radius: 100px 100px 0px 0px;
    background: var(--gradient);
    margin-top: -21px;
    color: #fcfcfc;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 3;
    margin-top: -91px;
}

.heading-2 {
  color: var(--text);
}
.who-joining h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text);
    /* margin-top: 45px; */
    margin-bottom: 20px;
    font-size: 33px;
    font-style: oblique;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.join-card {
    min-width: 260px; /* card ki width */
    height: 280px;
    flex-shrink: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
#search-bar-container {
  z-index: 1000;
}

.join-card img, .five-card video, .join-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.join-card img{
  object-position: top;
}

.join-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transform:scale(1.06);
    transition:
        opacity .6s ease,
        transform .7s ease;
    background:#eee;
}

.join-card img.loaded{

    opacity:1;

    transform:scale(1);

    background:none;

}
.join-card{
    position:relative;
    overflow:hidden;
}

.join-card::after{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(255,255,255,0),
        rgba(255,255,255,.35),
        rgba(255,255,255,0)
    );

    animation:shimmer 1.3s infinite;
    pointer-events:none;
}

.join-card.loaded::after{
    display:none;
}

@keyframes shimmer{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(100%);
    }

}

/* .join-card::after {
    content: "";
    position: absolute;
    inset: 0;
} */

.join-card span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
}

.join-card:hover {
    transform: translateY(-8px);
}
.video-card:hover {
    transform: translateY(-8px);
}

/* Active state */
.join-card.active {
    outline: 3px solid #ff6b00;
}

/* Responsive */
@media (max-width: 600px) {
    .join-card {
        height: 220px;
    }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 50px;
}

.feature-card {
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* PACKAGES */
/* .packages {
  padding: 40px;
} */

/* .package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
} */

/* .package-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.package-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.package-card h3, .package-card p {
  padding: 10px;
} */

/* FOOTER */
/* footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
} */


 
.horizontal-section {
    padding: 10px 80px;
}

/* HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    align-items: flex-start;
    /* margin-bottom: 20px; */
}

.section-header h2 {
    font-size: 30px;
}
.scroll-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* ARROWS */
.scroll-buttons span {
    display: flex;            /* flex use kare button ke andar */
    justify-content: center;  /* horizontally center */
    align-items: center;    
    background: #d1d1d1;
    color: #747070;
    border: none;
    width: 35px;
    height: 44px;
    margin-left: 10px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

/* SCROLL CONTAINER */
.card-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

/* scrollbar hide */
.card-scroll::-webkit-scrollbar {
    display: none;
}

/* CARD (reuse your join-card style) */
.card-scroll .join-card {
    min-width: 260px;
    flex-shrink: 0;
}

.card-20 {
  width: 20%;
}
.five-card-section {
    padding: 70px 0px;
}

.five-card-heading {
    font-size: 32px;
    /* margin-bottom: 30px; */
}

/* MAIN GRID */
.five-card-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px;
}

/* COLUMNS */
.col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.five-card {
    position: relative;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.five-card.tall {
    height: 460px;
}

.five-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay */
.five-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.five-card span, .five-card p {
    position: absolute;
    bottom: 50px;
    left: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
}

.five-card p {
  bottom: 20px;
  font-size: 18px;
  font-weight: 300;
}

.five-card:hover {
    transform: translateY(-6px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .five-card-grid {
        grid-template-columns: 1fr;
    }

    .five-card,
    .five-card.tall {
        height: 240px;
    }
}


/* .crm-testimonial {
  padding: 60px 40px;
  background: #f9fafb;
  font-family: Arial, sans-serif;
} */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.header h2 {
  font-size: 30px;
  color: #111827;
}

.header p {
  color: #6b7280;
  margin-top: 6px;
}

.scroll-btns button {
  background: #111827;
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 8px;
}

.scroll-btns button:hover {
  background: #2563eb;
}

.video-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.video-scroll::-webkit-scrollbar {
  display: none;
}

.video-card {
  position: relative;
  min-width: 230px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 38px;
  color: #fff;
  cursor: pointer;
}

.sound-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 18px;
  background: rgba(0,0,0,0.6);
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
}

.rating {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #16a34a;
  color: #fff;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 13px;
}

.agency {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  text-align: center;
  font-size: 14px;
}

/* CTA */
.cta-box {
  margin: 30px 0px;

  text-align: center;
}

.section-background {
  background: var(--gradient);
}
.cta-box h3 {
  font-size: 26px;
  color: #111827;
}

.cta-box p {
  color: #deff00;
  margin: 10px 0 20px;
}

.cta-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
}

.cta-btn:hover {
  background: #1d4ed8;
}

.card-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.card-scroll::-webkit-scrollbar {
    display: none;
}




.join-card span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
}

.join-card:hover {
    transform: translateY(-8px);
}


/* ===========================
   Upload Button On Card Hover
=========================== */

.join-card{
    position:relative;
    overflow:hidden;
}

/* Dark overlay */
.join-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    opacity:0;
    transition:.3s;
    z-index:3;
}

/* Upload Button */
.card-upload-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.8);

    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:#ff6b00;
    color:#fff;
    font-size:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:5;

    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.card-upload-btn:hover{
    background:#ff7d1e;
    transform:translate(-50%,-50%) scale(1.08);
}

/* Hover Effect */
.join-card:hover::before{
    opacity:1;
}

/* .join-card:hover .card-upload-btn{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,-50%) scale(1);
} */

/* Prevent Anchor Click */
.card-upload-btn i{
    pointer-events:none;
}

/* RESPONSIVE */
@media (max-width: 770px) {
    .slider-hero-content{
      padding:15px;
      /* top: 45% */
    }

  .scroll-buttons {
    display: none;
  }
  .horizontal-section {
    padding: 14px 35px;
  }
  .who-joining {
    margin-top: -5px;
    border-radius: 0px;
  }

}
@media (max-width: 580px) {
  .join-card {
    height: 230px;
    min-width: 220px;
  }
  .slider-container {
    height: auto;
  }
  .slider-hero-content {
    position: relative;
    /* height: 25vh; */
    background: var(--navbar);
    color: var(--menu-text);
  }
  .slider-container img {
    width: 100%;
    height: auto;
  }
  .subtitle {
    margin-bottom: 10px;
  }
  .slider-hero-content h1 {
      font-size: 23px;
      margin-bottom: 5px;
  }
  /* .who-joining {
    border-radius: 0px 0px 0px 0px;

    margin-top: 0px;
  } */
}
@media (max-width: 564px) {
  .join-card {
    height: 280px;
    /* min-width: 220px; */
  }
  /* .slider-hero-content {
    top: -120px;
  } */
  .slider-hero-content h1 {
    font-size: 36px;
    margin-bottom: 0px;
  }
}
@media (max-width: 480px) {
    /* .slider-hero-content {
      top: -148px;
    } */
   .slider-hero-content h1 {
    font-size: 30px;
    margin-bottom: 0px;
  }
}
/* @media (max-width:768px){

 

    .search-box{
        width:100%;
    }

    .slider-hero-content h1{
        font-size:32px;
    }
} */
 @media (max-width: 768px){

    .slider-container img{
        height: 420px;
    }

    .slider-hero-content{
        padding: 15px;
    }

    .slider-hero-content h1{
        font-size: 2rem;
    }

    .search-box{
        flex-direction: column;
        gap: 10px;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }

    .search-box input,
    .search-box button{
        width: 100%;
        border-radius: 50px;
    }

    .search-box input{
        background: rgba(255,255,255,.18);
    }
}

@media (max-width:480px){

    .search-box{
        flex-direction:column;
        background:transparent;
        gap:10px;
        box-shadow:none;
    }

    .search-box input{
        width:100%;
        border-radius:50px;
    }

    .search-box button{
        width:100%;
        border-radius:50px;
    }

    .slider-hero-content h1{
        font-size:26px;
    }
}

.skeleton-card {
  width: 220px;
  height: 260px;
  background: linear-gradient(90deg,#eee,#f5f5f5,#eee);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% {background-position:-200px}
  100% {background-position:200px}
}
