.heading-1 h1 {
    font-family: monospace;
    font-weight: 600;
    font-size: 1.8rem;
    color: white;
    letter-spacing: 2px;
    text-align: center;
    margin-block: 1.5rem 1rem;
    text-shadow: 1px 0.5px 1px #ff0404;
}

@media screen and (max-width: 768px) {

    .heading-1 h1 {
        font-size: 1.5rem;
        margin-block: 0.5rem;

    }
}

@media screen and (max-width: 570px) {
    .heading-1 h1 {
        font-weight: 500;
        letter-spacing: 1px;
        font-size: 1.2rem;
    }
}

/* ----------------raview-section------------- */

/* --------------review--------------- */
.review-section {
    margin: 1rem;
    padding: 1rem;
}

.review-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 1.5rem;
}

.r-first {
    display: flex;
    flex-direction: column;
}

.last {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}

.r-first p {
    color: white;
    font-size: 1.3rem;
}

.r-first .rate {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 600;
}

.r-first i {
    color: #f0d000;
    font-size: 2rem;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
}

.circle,
.circle-2,
.circle-3 {
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid white;
}

.right .a-review {
    background-color: #ff6b10;
    border: var(--container-border);
    border-radius: 5px;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease-in;
}

.right .a-review:active {
    transform: scale(0.98);

}

.right .a-review i {
    color: black;
    font-size: 1.1rem;
}

.right .a-review p {
    color: white;
    font-size: 1rem;
}

.circle img {
    width: 3rem;
    height: 2.5rem;

}

.circle-2 img {
    width: 3rem;
    height: 3rem;

}

.circle-3 img {
    width: 100%;
    height: 100%;
    margin: 2px;

}

.f-d-heading h1 {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.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: 8;
    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:rgb(180, 102, 12);
    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;
}

.input-name {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

.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;

}

.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;
}

.input-name .selectbox {
    width: 100%;
}

.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;
}

.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;
}

.input-name input:focus,
.input-name textarea:focus {
    border: 1px solid var(--text-color);
}

.input-name select:focus {
    border: 1px solid var(--text-color);
}

.submit {
    text-align: center;
}

.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;
}

.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;
    }







}

/* ------------rating--------- */
.rating-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-10px);
    border: var(--container-border);
    opacity: 0;
    background-color: white;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.39, 0.58, 0.57, 1);
    will-change: opacity, transform;
}

.rating-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.r-first,
.last {
    opacity: 0;
    transition: opacity 0.8s;
}

.r-first.visible,
.last.visible {
    opacity: 1;
}

.both {
    display: flex;
    justify-content: space-between;
}

.r-l {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 1rem;
}

.r-l img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    border: 1px solid var(--text-color);
    border-radius: 50%;
}

.n-a {
    display: flex;
    flex-direction: column;
}

.n-a h1 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
}

.n-a p {
    font-size: 0.85rem;
    line-height: normal;
    margin-top: 0.2rem;
    color: #474747;
    text-transform: capitalize;
}

/* ---right */
.r-r {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 0rem;
}

.avatar-placeholder {
    width: 3.5rem;
    /* match the image width */
    height: 3.5rem;
    /* match the image height */
    background-color: #4a7deb;
    /* Tailwind's bg-blue-600 */
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 3.5rem;
    /* vertically center the letter */
    text-align: center;
    border-radius: 50%;
    user-select: none;
    flex-shrink: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.r-r p {
    font-size: 0.85rem;
    line-height: normal;
    color: #474747;
}

.star {
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.2rem;
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    border-radius: 4px;
    border: var(--container-border);
    background-color: green;
    margin-top: 0.3rem;
}

.star p,
.star i {
    font-size: 0.9rem;
    color: white;
}

.rating-para {
    margin-top: 0.1rem;
}

.rating-para p {
    font-size: 0.9rem;
    align-items: start;
    line-height: 1.3rem;
    word-wrap: break-word;
    color: #474747;
}

.see-more {
    text-align: center;
    margin-top: 1.5rem;
}

.see-more a {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: none;
    font-weight: 700;
    background-color: #24a0ed;
    color: white;
    display: inline-block;
    text-align: center;
    border-radius: var(--botton-border-radius);
    cursor: pointer;
    width: 8rem;
    transition: transform 0.2s ease-in;
}

.see-more a:active {
    transform: scale(0.98);

}

@media screen and (max-width:1024px) {
    .rating-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 3rem;
    }
}

@media screen and (max-width:768px) {
    .rating-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        margin-top: 3rem;
    }
}

@media screen and (max-width:530px) {
    .see-more {
        margin: 1rem 0.5rem;
    }

    .rating-container {
        margin-top: 1rem;
    }

    .n-a h1 {
        font-size: 1rem;
        font-weight: 500;
        text-transform: capitalize;
    }

    .see-more a {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        font-weight: 500;
        width: 8rem;
    }

    .see-more a:active {
        transform: scale(0.97);

    }
}
/* 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.15rem;
  font-weight: 600;
  color: #ff6b10;
}

.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;
}

/* 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;
}

.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: #ff6b10;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
}

.submit input:active {
  transform: scale(0.97);
}
@media (max-width: 600px) {
  .input-row {
    flex-direction: column;
  }
}
