@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #101010;/* button bg color*/

    --primary-text-color: #1d1b1b;
}


html {
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}

header{
    background-color: #fff;
    color: #000;
}

header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse{
    transition: width 0.3s ease;
}

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 10px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}

.header-links:hover {
    color: #1e85ec;
}

.primary-text-color{
    color: var(--primary-text-color);
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 10px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 10px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    /* border-bottom: 2px solid #0e0a92 !important; */
    border: 2px solid #0c0c0c;

}

.input-error{
    border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within{
    border-bottom: 3px solid #fd0101;
}

/* Navigation dots styling */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

.footer-link{
    color: #0d0d0d;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #483cf4;
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card{
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

.collapsible .active,
.collapsible:hover {
    /* background-color: #dedddd; */
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #ffffff;
        color: #000000;
        overflow-y: auto;
        box-shadow: 2px 0px 3px #000;
    }

    .header-links{
        color: black;
    }
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}
.swiper-pagination-bullet:hover {
    color: #000;
    opacity: 1;
    background: #1f1c1cbd;
}

.swiper-pagination-bullet-active {
    //color: #fff;
    background: #000 !important;
}

.swiper {
    padding: 10px !important;
}


section.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    font-family: "Inter", system-ui, sans-serif;
    background: radial-gradient(circle at 30% 30%, #ffedd5, #fde68a, #fef9c3);
    color: #111;
    overflow-x: hidden;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    max-width: 900px;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .estimation h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 600;
    max-width: 900px;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #444;
    max-width: 700px;
    margin: 0 auto 2.5rem;
  }

  .search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    transition: 0.3s;
  }

  .search-bar:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
  }

  .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }

  .search-bar button {
    background: linear-gradient(135deg, #ff7a59, #ff4500);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
  }

  .search-bar button:hover {
    opacity: 0.9;
    transform: scale(1.05);
  }

  .suggestions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .suggestions button {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .suggestions button:hover {
    border-color: #aaa;
  }

  .trusted {
    margin-top: 3rem;
    color: #555;
    font-size: 0.9rem;
  }

  @media (max-width: 600px) {
    .search-bar {
      flex-direction: column;
      border-radius: 20px;
    }

    .search-bar button {
      width: 100%;
      border-radius: 0;
    }
  }