/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
}

body {
    background: black;
    color: #e4e4e4;
}

/* ================= BACKGROUND & LAYERS ================= */
.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

/* ================= CONTAINER ================= */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 9999;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 300;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
    position: relative;
    z-index: 9999;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    color: #a7a7a7;
}

.btn-signing {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.btn-signing:hover {
    background-color: white;
}

/* ================= USER DETAIL BOX ================= */
.user-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    position: relative;
    z-index: 1000;
}

.user-box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-box h3 {
    font-size: 1rem;
    font-weight: 500;
}

.user-box p {
    font-size: 0.8rem;
    color: #ccc;
}

.user-box button {
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background-color: #c4103d;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.user-box button:hover {
    background-color: #ff001f;
}

/* ================= MAIN CONTENT ================= */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
    position: relative;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #5300a0;
}

.content h1 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-get-started,
.btn-signing-main {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-get-started:hover {
    background-color: #1a1a1a;
}

.btn-signing-main:hover {
    background-color: gray;
}

/* ================= 3D MODEL ================= */
.robot-3d {
    position: absolute;
    top: 0;
    right: -20%;
    z-index: 1;
    background: none;
}

/* ================= SEARCH BAR ================= */
#searchBox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 10;
}

#searchInput {
    width: 320px;
    padding: 0.8rem 1rem;
    border: 1px solid white;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
}

#searchInput:focus {
    border-color: var(--accent);
    box-shadow: 0 0 6px rgba(4, 98, 2, 0.2);
}

.btn {
    background: linear-gradient(90deg, var(--accent), #0a8a50);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(4, 98, 2, 0.2);
}

#map {
    width: 90%;
    height: 450px;
    border-radius: 10px;
    margin: 2rem auto;
    box-shadow: var(--shadow);
}

/* ================= HOME REMEDIES ================= */
#remedies {
    padding: 40px 20px;
    font-family: sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.remedy-container {
    width: 300px;
}

.symptom-box {
    background-color: #FFD700;
    color: black;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.symptom-box:hover {
    background-color: #FFC300;
}

.remedy-drop {
    background-color: #eafaf1;
    color: #333;
    padding: 0 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.remedy-drop.open {
    height: auto;
    opacity: 1;
    padding: 15px 20px;
}

.title.home-remedies {
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    color: #e4e4e4;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(128,128,128,0.418);
}

/* --- Features --- */
.features {
  text-align: center;
  padding: 5rem 10%;
}
.feature-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.feature-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}
.feature-card.active {
  opacity: 1;
  transform: translateY(0);
}
.icon {
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.features-text{
    color: black;
}

.featuresheading{
    font-size: 2.5rem;
    color: #e4e4e4;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(128,128,128,0.418);
}

/* --- Contact --- */
.contact {
  text-align: center;
  padding: 4rem 10%;
}
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
}

.contact textarea {
  height: 150px;
  resize: none;
}

.sendbtn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: #00bcd4;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .contactheading {
    font-size: 26px;
  }

  .contact form {
    width: 90%;
  }

  .sendbtn {
    font-size: 16px;
  }
}

.sendbtn:hover{
    transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(4, 98, 2, 0.2);
}

.contactheading{
    font-size: 2.5rem;
    color: #e4e4e4;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(128,128,128,0.418);
}


/* ================= RESPONSIVE ================= */
@media(max-width: 1300px){
    .robot-3d {
        scale: 0.8;
        right: 2%;
        top: -20%;
    }
}

@media(max-width: 1024px){
    .content {
        margin-left: 5%;
        max-width: 28rem;
    }
    .content h1 {
        font-size: 3rem;
    }
    .buttons a {
        padding: 0.5rem 2rem;
        font-size: 1rem;
    }
    #map {
        width: 95%;
    }
    #searchInput {
        width: 250px;
    }
    .remedy-container {
        width: 45%;
    }
}

@media(max-width: 768px){
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1rem;
    }

    nav {
        display: none;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .btn-signing {
        padding: 0.6rem 1.5rem;
        margin-bottom: 1rem;
    }

    .content {
        margin-top: 20rem;
        max-width: 90%;
        margin-left: 5%;
    }

    .tag-box {
        width: 12rem;       
    }

    .content h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-get-started,
    .btn-signing-main {
        font-size: 0.8rem;
        padding: 0.5rem 1.5rem;
    }

    .remedy-container {
        width: 100%;
    }
}

@media(max-width: 480px){
    .content {
        margin-top: 18rem;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .btn-get-started,
    .btn-signing-main {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    #searchInput {
        width: 100%;
    }

    #map {
        height: 300px;
    }
}


/* --- Features & Contact Responsive --- */
@media(max-width: 1024px){
    .feature-grid {
        gap: 1.5rem;
    }
    .feature-card {
        width: 45%;
        padding: 1.5rem;
    }
}

@media(max-width: 768px){
    .feature-grid {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 90%;
    }

    .contact form {
        width: 100%;
        padding: 0 1rem;
    }
}

@media(max-width: 480px){
    .featuresheading,
    .contactheading {
        font-size: 1.8rem;
        text-align: center;
    }
    .feature-card {
        padding: 1rem;
    }
    .feature-card h3 {
        font-size: 1.2rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .contact input,
    .contact textarea {
        font-size: 0.9rem;
    }
    .sendbtn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

