@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Cedarville+Cursive&family=Concert+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rokkitt:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "poppins";
}


body {
    
    padding: 0px;
    background: black;
   
  }


.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 35rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 2rem;
   background: #151515; 
   /* border: solid 0.1px rgba(164, 163, 163, 0.278); */
   transition: transform 0.6s ease, box-shadow 0.6s ease;
   opacity: 0;                 /* start invisible */
  transform: translateY(50px); /* start lower (like sunrise) */
  animation: riseUp 1s ease-out forwards;

}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  
  100% {
    opacity: 1;
    transform: translateY(0); /* final position */
  }
}




.generalized-fertilizer-calculator h1 {
   margin-bottom: 4%;
   margin-top: 2%;
   font-size: 18px;
   color: rgb(255, 255, 255);
   font-family: "poppins";
   font-weight:500;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 14px;
   font-weight:300 ;
   color: rgb(255, 255, 255);
    font-family: "poppins";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "poppins";
   font-weight:300;
   font-size: 14px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #4cb1f5 ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 35rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 2rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
   opacity: 0;              /* start invisible */
  transform: translateY(20px); /* slight move down */
  animation: fadeInUp 2s ease-out forwards; /* play animation */
  animation-delay: 0.5s;   /* optional delay */
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(90deg, #074e75, #08619c, #074e75);
    /* background: linear-gradient(to right,  rgba(21, 78, 138, 0.774), #156b9996); Blue gradient */
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 16px;
    font-weight: 400;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "poppins";
}

/* Heading icon */
.crop-section-heading img {
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 0.3rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 200;
   font-size: 14px;
   color: rgba(255, 255, 255, 0.84);
   font-family: "poppins";
   margin-left: 2rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
   color: rgb(255, 255, 255);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgb(255, 255, 255);
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}

/* On focus */
.input-field:focus {
  border-color: #0c5b85d5;
  box-shadow: 0 0 1rem #0c5b85d5;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 14px;
   font-family: "poppins";
   font-weight: 200;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ffffff;
  cursor: not-allowed;
  font-size: 14px;
   font-family: "poppins";
   font-weight: 200;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #0c5b85d5 #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 14px;              /* option ka text size */
  font-family: "poppins";
   font-weight: 300;
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: "poppins";
  background: linear-gradient(90deg, #074e75, #08619c, #083c57);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 14px;
  cursor: pointer;
  font-weight: 400;
  text-align: center;
  display: block;
  margin: 2rem auto 0 auto;
  /* box-shadow: 0 0 10px rgba(104, 82, 228, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  opacity: 0;              /* start invisible */
  transform: translateY(20px); /* slight move down */
  animation: fadeInUp 2s ease-out forwards; /* play animation */
  animation-delay: 0.8s;   /* optional delay */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



@media (min-width: 320px) and (max-width: 399px) {

   
.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 20rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 2rem;
   background: #151515; 

}

.generalized-fertilizer-calculator h1 {
   margin-bottom: 5%;
   margin-top: 2%;
   font-size: 16px;
   color: rgba(235, 231, 231, 0.867);
    font-family: "poppins";
   font-weight:500;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 14px;
   font-weight:300 ;
   color: rgb(229, 227, 227);
    font-family: "poppins";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "poppins";
   font-weight:300;
   font-size: 14px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #50b4f6 ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 20rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 2rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(90deg, #074e75, #08619c, #074e75);
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 14px;
    font-weight: 300;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "poppins";
}

/* Heading icon */
.crop-section-heading img {
    height: 2rem;
    width: 2rem;
    margin-right: 0.2rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 200;
   font-size: 12px;
   color: rgb(255, 255, 255);
   font-family: "poppins";
   margin-left: 1rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
   color: rgb(255, 255, 255);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgba(188, 184, 184, 0.96);
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}

/* On focus */
.input-field:focus {
  border-color: #0c5b85d5;
  box-shadow: 0 0 1rem #0c5b85d5;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ffffff;
  cursor: not-allowed;
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #0c5b85d5 #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 12px;              /* option ka text size */
  font-family: "poppins";
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: "poppins";
  background: linear-gradient(90deg, #074e75, #08619c, #083c57);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 12px;
  cursor: pointer;
  font-weight: 200;
  text-align: center;
  display: block;
  margin: 2rem auto 0 auto;
  /* box-shadow: 0 0 10px rgba(104, 82, 228, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  opacity: 0;              /* start invisible */
  transform: translateY(20px); /* slight move down */
  animation: fadeInUp 2s ease-out forwards; /* play animation */
  animation-delay: 0.8s;   /* optional delay */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

}


@media (min-width: 400px) and (max-width: 605px) {

   
.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 24rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 1rem;
   background: #151515; 
   /* border: solid 0.1px rgba(164, 163, 163, 0.278); */
   transition: transform 0.6s ease, box-shadow 0.6s ease;
   opacity: 0;                 /* start invisible */
  transform: translateY(50px); /* start lower (like sunrise) */
  animation: riseUp 1s ease-out forwards;

}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  
  100% {
    opacity: 1;
    transform: translateY(0); /* final position */
  }
}

.generalized-fertilizer-calculator h1 {
   margin-bottom: 4%;
   margin-top: 2%;
   font-size: 18px;
   color: rgba(235, 231, 231, 0.867);
    font-family: "poppins";
   font-weight:500;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 14px;
   font-weight:300 ;
   color: rgb(229, 227, 227);
    font-family: "poppins";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "poppins";
   font-weight:300;
   font-size: 14px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #0f80cb ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 24rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 1rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
    opacity: 0;              /* start invisible */
  transform: translateY(20px); /* slight move down */
  animation: fadeInUp 2s ease-out forwards; /* play animation */
  animation-delay: 0.5s;   /* optional delay */
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(90deg, #074e75, #08619c, #074e75); /* Blue gradient */
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 15px;
    font-weight: 300;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "poppins";
}

/* Heading icon */
.crop-section-heading img {
    height: 1.9rem;
    width: 1.9rem;
    margin-right: 0.3rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 200;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.84);
   font-family: "poppins";
   margin-left: 1.6rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
   color: rgb(255, 255, 255);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgba(188, 184, 184, 0.96);
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}

/* On focus */
.input-field:focus {
  border-color: #0c5b85d5;
  box-shadow: 0 0 1rem #0c5b85d5;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ccc;
  cursor: not-allowed;
  font-size: 12px;
   font-family: "poppins";
   font-weight: 100;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #0c5b85d5 #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 12px;              /* option ka text size */
  font-family: "poppins";
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(90deg, #074e75, #08619c, #083c57);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 14px;
  cursor: pointer;
  font-weight:300;
  text-align: center;
  display: block;
  margin: 2rem auto 0 auto;
  /* box-shadow: 0 0 10px rgba(104, 82, 228, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  opacity: 0;              /* start invisible */
  transform: translateY(20px); /* slight move down */
  animation: fadeInUp 2s ease-out forwards; /* play animation */
  animation-delay: 0.8s;   /* optional delay */
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

}