/* General Styles */


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gini {
     margin-left: 230px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo img {
  width: 40px;
  height: 40px;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar nav ul li a {
  font-size: 1rem;
  font-weight: 600;
}

.navbar .auth-buttons {
  display: flex;
  gap: 15px;
}

.navbar .auth-buttons a {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.navbar .auth-buttons .signup {
  background-color: transparent;
  border: 1px solid #007bff;
  color: #007bff;
}

.navbar .auth-buttons .login {
  background-color: #f9f9f9;
  color: #fff;
}

.navbar-nav{
  margin-left:491px;  
}

 #navbarButtons{
   margin-left: 304px;
    }
     
    .navbar-nav .nav-item .nav-link {
      position: relative; /* Needed for the pseudo-element positioning */
      font-weight: 600; /* Optional: Adjust for visual preference */
      text-decoration: none;
      color: black;
      transition: color 0.3s ease; /* Smooth transition for text color */
    }
    
    .navbar-nav .nav-item .nav-link:hover {
      color: orange; /* Change text color to orange on hover */
    }
    
    .navbar-nav .nav-item .nav-link::after {
      content: "";
      position: absolute;
      width: 0; /* Initially hidden underline */
      height: 2px;
      background-color: orange;
      bottom: -2px; /* Position below the text */
      left: 0;
      transition: width 0.3s ease; /* Smooth underline animation */
    }
    
    .navbar-nav .nav-item .nav-link:hover::after {
      width: 100%; /* Full-width underline on hover */
    }

/* Feedback UI Styles */
.document-feedback {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.feedback-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  transition: transform 0.2s;
  color: #6c757d;
}

.feedback-btn:hover {
  transform: scale(1.1);
}

.feedback-btn.thumbs-up:hover {
  color: #28a745;
}

.feedback-btn.thumbs-down:hover {
  color: #dc3545;
}

.feedback-btn.selected.thumbs-up {
  color: #28a745;
}

.feedback-btn.selected.thumbs-down {
  color: #dc3545;
}

/* PDF Download button styles */
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Hero Section */
.hero {
  background-color: #F9F9F9;
  padding: 40px 50px;
  text-align: center;
  margin: 30px 30px;
  border-radius: 40px;
  border: 1px solid #E4E4E4;
  margin-right: 30px;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero-image {
  max-width: 120px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.4;
}

.hero h1 span {
  color: #007bff;
  /* font-weight: bold; */
}

.hero p {
  font-size: 1.3rem;
  margin: 20px 0;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 10px;
}

.search-bar input {
  padding: 10px;
  width: 81%;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 1rem;
}

.search-bar button {
  padding: 10px 20px;
  border: none;
  border-radius: 27px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  height: 47px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

#AdvancedKeywordFilters {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  }

.filters button {
  padding: 8px 15px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Top Search Section */
.top-search {
  padding: 30px;
  background-color: #fff;
  margin-top: 20px;
  text-align: center;
}

.top-search h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.top-search .search-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.search-item {
  display: flex;
  align-items: center;
  
  border: 1px solid #ddd;
  background-color: #f9f9f9;

  
  padding: 16px ;
  gap: 20px;
  border-radius: 15px ;
 

  box-shadow: 0px 8px 18px 0px #00000026;


}

.search-item img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}
.content{
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: left;
}

.search-item p {
  font-size: 1.1rem;
  color: #666;
  margin-left: 3px;
}

/* Responsive Design
@media (max-width: 768px) {
  .top-search .search-items {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
} */

.TopSearchSectionHeading{
  width: 1240px;
  height: 30px;
  gap: 18px;
  font-family: Poppins;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;

  
}

/* Footer Styling */
.footer {
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  padding: 30px 15px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1500px;
}

.footer-section {
  flex: 1;
  margin: 15px;
  min-width: 250px;
}

@media (max-width: 768px) {
  /* Reset body padding and prevent horizontal scroll */
  body, html {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Reset footer padding and apply consistent spacing */
  .footer {
    padding: 30px 15px !important;
    margin: 0 !important;
    box-sizing: border-box;
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .footer-section {
    margin: 15px 0;
    width: 100%;
    text-align: left;
    padding: 0; /* No extra padding needed here */
    box-sizing: border-box;
  }

  .footer-section h3,
  .footer-section h4,
  .footer-section p,
  .footer-section ul,
  .footer-section li,
  .footer-section a {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .footer-logo {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
  }
}

.footer-logo img {
  width: 50px;
  vertical-align: middle;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.footer-section p,
.footer-section a {
  color: #aaa;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: #fff;
}

.social-links a {
  display: inline-block;
  color: #aaa;
  margin-right: 10px;
  font-size: 18px;
}

.social-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 10px;
}



.container {
  display: flex;
  align-items: center;
  padding: 20px;
  max-width: 780px;
  width: 900%;
}


.text-section h1 {
  
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}



/* ... */

.text-section .highlight {
  color: #ff8c00; /* Orange Color */
}

.text-section .highlight-blue {
  color: #00aaff; /* Blue Color */
}

/* Image Section */
.image-section img {
  
  max-width: 105%;
  height: auto;
  display: block;
  border-radius: 5px;

  /* Default size for large screens */
  width: 250px; /* Adjust default size */
}

/* mediaquery for navbar */

/* updated till 2-12-2024 */
@media (min-width: 1390px) and (max-width: 1500px){

  .navbar-nav{
    margin-left:33%; 
  }
  #navbarButtons{
    margin-left: 22%; 
  }
}

@media (min-width: 1350px) and (max-width: 1390px){

  .navbar-nav{
    margin-left:32%; 
  }
  #navbarButtons{
    margin-left: 19%; 
  }
}

/* updated till 2-12-2024 */


@media (min-width: 1251px) and (max-width: 1350px){

  .navbar-nav{
    margin-left:29%; 
  }
  #navbarButtons{
    margin-left: 20%; 
  }
}

@media (min-width: 1101px) and (max-width: 1250px){

  .navbar-nav{
    margin-left:22%; 
  }
  #navbarButtons{
    margin-left: 23%; 
  }
}
@media (min-width: 993px) and (max-width: 1100px){

  .navbar-nav{
    margin-left:22% 
  }
  #navbarButtons{
    margin-left: 14%; 
  }
}

@media (min-width: 469px) and (max-width: 992px){
  .navbar-nav{
    text-align: center;
    margin: auto;
    gap: 20px;
  }

  #navbarButtons{
    padding-top: 20px;
    margin: auto;
    width: 404px;
    text-align: center;
  }

  .nav-item{
    font-family: 'Poppins';
    font-size: 26px;
    font-weight: 600;
    line-height: 39px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }

}

/* Mediaquery for tablet */
@media (min-width: 481px) and (max-width: 768px) {
  body{
    overflow-x: hidden;

  }
  
  
  .container {
    text-align: center;
     width: 81%;
  }

  .text-section h1 {
    font-family: Poppins;
    font-size: 38px;
    font-weight: 700;
    line-height: 63px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

  }

  .image-section img {
    width: 180px;
    height: 203px;
    gap: 10px;
    opacity: 0px;

  }

  /*hero section css*/
  .hero {
    width: 95%;
    /* height: 473px; */
    margin: 18px;
    padding: 16px;
    border-radius: 15px;
    border: 1px solid #E4E4E4;
    
  }

  .filters{
    display: flex;
    flex-direction: column;
  }

  
}



@media (max-width: 991.98px) {
  .navbar-expand-lg>.container, .navbar-expand-lg>.container-fluid {
      padding-left: 4px;
      padding-right: 41px;
  }
}

@media (max-width: 480px) {


body{
    overflow-x: hidden;

  }
  
  .navbar{
    justify-content: space-between;
    padding: 3px 14px;
    
  }

  .navbar-nav{
    margin: auto;
    gap: 20px;
  }

  .nav-item{
    text-align: center;
  }

  #navbarButtons{
    padding-top: 20px;
    margin: auto;
    text-align: center;
  }


  .container {
    text-align: center;
    width: 90%;
    height: 240px;
    gap: 15px;
  }

  .text-section h1 {
    /* width: 247.33px;
    height: 252px;
    gap: 0px;
    opacity: 0px; */
    font-family: Poppins;
    font-size: 30px;
    font-weight: 700;
    line-height: 45px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

  }

  .image-section img {
    width: 180px;
    height: 203px;
    gap: 10px;
    margin: auto;
    opacity: 0px;

  }

  .hero {
    width: 92%;
    margin: 27px auto;
    padding: 6px;
    border-radius: 15px;
    border: 3px solid #E4E4E4;
  }

  .filters{
    display: flex;
    flex-direction: column;
  }

  .hero p {
    font-size: 1.2rem;
    margin: 20px 0;
}


}

/* upgarde button css */

#open-popup {
  margin-left: 10px;
  background-color: orange; /* Vibrant orange for the button */
  color: white; /* Text color for contrast */
  border: none; /* Removes default border */
  border-radius: 27px; /* Makes the button round */
  padding: 12px 24px; /* Adds spacing inside the button */
  font-weight: bold; /* Makes the text bold */
  font-size: 16px; /* Sets a good font size */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Creates a subtle shadow */
  cursor: pointer; /* Makes it clear it's clickable */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

#open-popup:hover {
  background-color: #ff8c00; /* Slightly darker orange on hover */
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15), 0px 3px 6px rgba(0, 0, 0, 0.1); /* More prominent shadow on hover */
  transform: scale(1.05); /* Slight zoom-in effect */
}
#open-popup:active {
  background-color: #e67600; /* Even darker orange when clicked */
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2); /* Reduced shadow on click */
  transform: scale(0.98); /* Slight shrink effect */
}

/* Add Font Awesome icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

#results-container:empty {
  display: none;
  padding: 0 !important;
  margin: 0 !important;
}

#results-container {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
