
/* TESTIMONIALS */
.trust {
    background: var(--dark2);
    padding:60px 5% 20px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px
}

.testi-card {
    background: var(--dark);
    padding: 36px;
    border: 1px solid rgba(255, 215, 0, .1);
    position: relative
}

.testi-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--gold);
    opacity: .2;
    position: absolute;
    top: -8px;
    left: 24px;
    line-height: 1
}

.stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 16px
}

.testi-text {
    color: rgba(240, 237, 230, .8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    font-family: var(--font-display);
    flex-shrink: 0
}

.testi-name {
    font-weight: 600;
    font-size: 14px;
margin-bottom: 0.5rem   ;
}

.testi-event {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .5px
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 60px;
    justify-content: center
}

.badge {
    padding: 14px 28px;
    border: 1px solid rgba(255, 215, 0, .2);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500
}






.btn-primary {
    background: var(--green);
    color: #fff;
    padding: 16px 36px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer
}

.btn-primary:hover {
    background: #00a844;
    transform: translateY(-2px)
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    padding: 16px 36px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--gold);
    letter-spacing: .5px;
    transition: all .3s;
    cursor: pointer
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, .1)
}
/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, #1a1200, #0d0d0d, #1a1200);
    border-top: 1px solid rgba(255, 215, 0, .2);
    border-bottom: 1px solid rgba(255, 215, 0, .2);
    text-align: center;
    padding: 90px 5%
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    margin-bottom: 20px
}
.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 60px;
    justify-content: center;
}

.badge {
    padding: 14px 28px;
    border: 1px solid rgba(255, 215, 0, .2);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* Wrapper for centering button */
.review-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Gold Button Style */
.add-review-button {
    background: linear-gradient(135deg, #FFD700, #C9A227);
    color: #000;
    padding: 12px 25px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.3);
}

/* Hover effect */
.add-review-button:hover {
    transform: translateY(-3px);
}

/* 📱 Mobile Responsive */
@media (max-width: 600px) {
    .badge {
        font-size: 10px;
        padding: 10px 16px;
        letter-spacing: 1px;
    }

    .add-review-button {
        width: 80%;
        text-align: center;
        padding: 12px;
        font-size: 13px;
    }
}

.cta-banner p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 40px
}

.scarcity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 60, 60, .1);
    border: 1px solid rgba(255, 60, 60, .3);
    color: #ff6b6b;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px
}

.scarcity::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 1s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.testi-readmore {
    text-align: center;
    margin-top: 40px;
}

.readmore-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover */
.readmore-btn:hover {
    background: var(--gold);
    color: #000;
}
/* TESTIMONIAL DATE */
.testi-date {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 500;
}
/* AVATAR IMAGE SUPPORT */
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   TABLET
================================ */
@media (max-width: 992px) {

    .trust {
        padding: 50px 5% 20px;
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testi-card {
        padding: 28px;
    }

    .testi-text {
        font-size: 14px;
    }
}

/* ================================
   MOBILE
================================ */
@media (max-width: 600px) {

    .trust {
        padding: 40px 4% 20px;
    }

    .testimonials {
        grid-template-columns: 1fr; /* 🔥 single column */
        gap: 16px;
        margin-top: 40px;
    }

    .testi-card {
        padding: 22px;
    }

    .testi-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .testi-name {
        font-size: 13px;
    }

    .testi-event {
        font-size: 11px;
    }

    .badges-row {
        gap: 10px;
        margin-top: 40px;
    }

    .badge {
        padding: 10px 16px;
        font-size: 10px;
    }
}
/* Avatar container */
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD700, #C9A227);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Image */
.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder (RW style) */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}
/* Avatar */
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD700, #C9A227);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image */
.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initials */
.avatar-placeholder {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

/* Stars */
.stars {
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 3px;
}

/* Hover effect (premium feel) */
.testi-avatar:hover {
    transform: scale(1.1);
    transition: 0.3s;
}
.right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
    margin-top: 1rem;
}

.right .a-review {
    background: linear-gradient(135deg, #FFD700, #C9A227);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.right .a-review:hover {
    transform: translateY(-1px);
}

.right .a-review:active {
    transform: scale(0.98);
}

.right .a-review i {
    color: #000;
    font-size: 1.1rem;
}

.right .a-review p {
    color: #000;
    font-size: 14px;
    margin: 0;
}












.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11;

}

.popup .popup_item {
    display: none;
    z-index: 999;
    top: 3rem;
    margin-inline: 0.8rem;
    text-align: start;
    background-color: #dbf9f9;
    border: var(--container-border);
    border-radius: var(--botton-border-radius);
    position: relative;
    /* margin: 1rem; */
    padding-bottom: 1rem;
    width: 40rem;
    height: 30rem;
    overflow: auto;

}

.popup .popup_item::-webkit-scrollbar {
    width: 5px;
}

.popup .popup_item::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px grey;
    border-radius: 10px;
}

.popup .popup_item::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 10px;
}

.popup .popup_item::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

.popup .popup_item.active {
    display: initial;
}

.popup .popup_item i {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
    color:black;
    font-size: 1.5rem;
}

/* --------------field ---------- */
.r-heading {
    background-color: #ff9933;
    width: 100%;
}

.input-name span {
    color: red;
}

.r-heading h1 {
    font-size: 1.3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    text-align: center;
    padding-block: 0.5rem;
    color: var(--text-color);
}

.review-box {
    padding: 1rem;
}

 .review-box .input-name {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

 .review-box .input-name label {
    min-width: 10rem;
    text-transform: capitalize;
    color: var(--text-color);
    font-size: 1.1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

 .review-box .input-name input {
    width: 100%;
    outline: none;
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    padding: 7px 10px;
    border-radius: 5px;
    transition: all 0.5s ease;
}

 .review-box .input-name .selectbox {
    width: 100%;
}

 .review-box .input-name .selectbox select {
    width: 100%;
    padding: 7px 10px;
    text-transform: capitalize;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-10px);
    outline: none;
    font-size: 1rem;
}

     .review-box.input-name textarea {
    width: 100%;
    outline: none;
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    padding: 7px 10px;
    border-radius: 5px;
    height: 4rem;
    transition: all 0.5s ease;
    resize: none;
}

 .review-box .input-name input:focus,
 .review-box .input-name textarea:focus {
    border: 1px solid var(--text-color);
}

.input-name select:focus {
    border: 1px solid var(--text-color);
}

.submit {
    text-align: center;
}

 .review-box .submit input {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: none;
    font-weight: 500;
    background-color: #ff6b10;
    color: white;
    display: inline-block;
    text-align: center;
    border-radius: var(--botton-border-radius);
    cursor: pointer;
    transition: transform 0.2s ease-in;
}

 .review-box .submit input:active {
    transform: scale(0.98);
}
@media screen and (max-width:768px) {
    .review-container {
        gap: 2rem;
        flex-direction: column-reverse;
    }

    .review-section {
        padding: 0;
    }

    .review-heading {
        font-size: 1.5rem;
    }

    .last {
        gap: 1.5rem;
    }

    .r-first p {
        font-size: 1.2rem;
    }

    .r-first .rate {
        font-size: 2rem;
    }

    .r-first i {
        font-size: 1.4rem;
    }

    .last {
        gap: 1rem;
    }

    .circle,
    .circle-2,
    .circle-3 {
        width: 4.5rem;
        height: 4.5rem;
    }

    .circle img {
        width: 2.5rem;
        height: 2rem;

    }

    .circle-2 img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .f-d-heading h1 {
        font-size: 0, 9rem;
    }
 
}

@media screen and (max-width:530px) {
    .review-section {
        margin: 5.5rem 0.5rem 0.5rem;
        padding: 0rem;
    }

    .review-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .review-heading {
        font-size: 1.3rem;
    }

    .r-first {
        gap: 0rem;
        align-items: center;
    }

    .last {
        gap: 1rem;
        flex-direction: column;
    }

    .r-first p {
        font-size: 1.1rem;
    }

    .r-first .rate {
        font-size: 2.1rem;
    }

    .r-first i {
        color: #f0d000;
        font-size: 1.8rem;
    }

    .right {
        gap: 0.5rem;
        flex-direction: column;
    }

    .circle,
    .circle-2,
    .circle-3 {
        width: 6rem;
        height: 6rem;
    }

    .circle img {
        width: 3.5rem;
        height: 3rem;

    }

    .circle-2 img {
        width: 3.5rem;
        height: 3.5rem;

    }

    .circle-3 img {
        width: 100%;
        height: 100%;

    }

    .f-d-heading h1 {
        font-size: 1rem;
    }
    .popup .popup_item{
    height: 41rem;
    }


    /* --------------field ---------- */
    .r-heading {
        width: 100%;
    }

    .r-heading h1 {
        font-size: 1.2rem;
        padding-block: 1rem;
    }

    .review-box {
        padding: 1rem 0.5rem 0  ;
    }

    .input-name {
        margin-bottom: 1rem;
        display: flex;
        gap: 0.5rem;
        flex-direction: column;
    }

    .input-name label {
        width: 100%;
        font-size: 1rem;

    }

    .input-name input {
        width: 100%;
        font-size: 0.9rem;
    }

    .input-name .selectbox select {
        font-size: 1rem;
    }

    .input-name textarea {
        width: 100%;
        font-size: 1rem;
        height: 4rem;
    }

    .submit input {
        font-size: 1rem;
    }
}




/* FONT */
.popup {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
}

/* BACKDROP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* BOX */
.popup_item {
  width: 350px;
  max-width: 94%;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.9rem;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.3s ease;
  position: relative;
}

.popup_item.active {
  transform: translateY(0);
  opacity: 1;
}

/* CLOSE */
.close-popup {
  position: absolute;
  top: 9px;
  right: 13px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #444;
}

/* HEADER */
.popup-header {
  text-align: center;
  margin-bottom: 0.6rem;
}

.popup-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.popup-header p {
  font-size: 0.78rem;
  color: #666;
}

/* INPUTS */
.input-name input,
.input-name textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 9px;
  font-size: 0.88rem;
  margin-bottom: 0.45rem; /* 👈 reduced gap */
}

/* CITY + STATE */
.input-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.input-row input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 9px;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .input-row {
    flex-direction: column;
  }
}

/* UPLOAD BUTTON */
.upload-box {
  text-align: center;
  margin: 0.4rem 0;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1e88e5;
  color: #fff;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.upload-btn:hover {
  background: #1565c0;
}



















/* RATING */
.rating-wrapper {
  text-align: center;
  margin: 0.5rem 0;
}

.rating-label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #333;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.rating-stars span {
  font-size: 1.6rem;
  cursor: pointer;
  filter: grayscale(1);
  transition: 0.2s ease;
}

.rating-stars span.active,
.rating-stars span:hover {
  filter: grayscale(0);
  transform: scale(1.15);
}

/* TEXTAREA */
textarea {
  resize: none;
  height: 58px;
}

/* SUBMIT */
.submit input {
  width: 100%;
  background:var(--gold);
  color: black  ;
  border: none;
  border-radius: 6px;
  padding: 0.55rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
}

.submit input:active {
  transform: scale(0.97);
}

.rating-stars span {
  font-size: 1.6rem;
  cursor: pointer;
  filter: grayscale(1);
  transition: 0.2s ease;
}

.rating-stars span.active {
  filter: grayscale(0);
  transform: scale(1.2);
}


/* ── POPUP BOX — Mobile Fix ── */
.popup_item {
    width: 92%;           /* screen ka 92% le — koi bhi device ho */
    max-width: 400px;     /* desktop pe limit */
    min-width: 0;         /* overflow band */
    box-sizing: border-box;
    padding: 1rem;
}

/* ── INPUTS full width fix ── */
.input-name,
.review-box .input-name {
    display: block;       /* flex hata — block karo */
    margin-bottom: 0.6rem;
    width: 100%;
    box-sizing: border-box;
}

.input-name input,
.input-name textarea,
.review-box .input-name input,
.review-box .input-name textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    display: block;
}

/* ── CITY + STATE row ── */
.input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 0.6rem;
    width: 100%;
    box-sizing: border-box;
}

.input-row input {
    flex: 1;
    min-width: 0;          /* flex overflow fix */
    box-sizing: border-box;
}

/* ── Mobile: City/State ek neeche ek ── */
@media (max-width: 480px) {
    .input-row {
        flex-direction: column;
        gap: 0.4rem;
    }

    .input-row input {
        width: 100%;
    }

    .popup_item {
        width: 96%;
        padding: 0.8rem;
    }
}