.Notifier {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
    z-index: 1000;
  }
  
  .Notifier.show {
    bottom: 30px;
    opacity: 1;
  }
  .app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    /* background:linear-gradient(135deg, #f0f2f5, #e1f5fe); */
  }
  #scrollProgress {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: #3b82f6; /* Blue */
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
  }
  /* General Reset and Body Styles (Keep these) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background-color: #e3f2fd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar:hover {
  background-color: #e3f2fd;
}

/* Logo */
.logo-container img.logo {
  height: 65px;
  object-fit: contain;
  background-color: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);

}
.logo-container img.logo {
  transition: transform 0.3s ease; /* Smooth transition */
}

.logo-container img.logo:hover {
  transform: scale(1.2);
}


/* Nav links container */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
  background-color: #e3f2fd;
  cursor: pointer;
}

.nav-links.active {
  display: flex;
  transform: translateX(0);
  background-color: #e3f2fd;
  gap: 0.2rem;
    padding: 0.5rem 1rem;
}

/* Each nav item */
.nav-item {
  position: relative;
  transition: all 0.3s ease;
}

/* Top-level links */
.nav-link {
  text-decoration: none;
  font-size: 1.15rem;
  color: #424242;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #2196f3;
}

.nav-icon {
  font-size: 1.2rem;
  color: #64b5f6;
}

/* Dropdown content */
.nav-item .dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: #e3f2fd;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Increased shadow */
  z-index: 999;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.nav-item .dropdown-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  width: 100px;
  padding: 0;
  margin: 0.2rem auto;
  background-color: white;
  border-radius: 20px;
}

.dropdown-content a {
  color: #555;
  padding: 12px 20px;
  display: block;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 1.05rem;
}

.dropdown-content a:hover {
  background-color: #e0f7fa;
  color: #00acc1;
}

/* Login button */
.login-btn {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
  background-color: #1976d2;
  transform: scale(1.05);
}

.login-register-link {
  text-decoration: none;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 19px;
}

.loggedinProfile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.user-icon {
  font-size: 1.8rem;
  color: #78909c;
}

.user-name {
  font-weight: 600;
  color: #37474f;
}

/* Mobile menu button */
.mobile-menu-icon {
  display: none;
  background: none;
  border: none;
  color: #546e7a;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-icon:hover {
  color: #ffffff;
}

/* Dropdown menu container (for profile) */
.loggedinProfile .dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -10px;
  background-color: #e3f2fd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Increased shadow */
  border-radius: 10px;
  z-index: 10;
  width: 220px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 10px;
  display: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.loggedinProfile .dropdown-menu.active {
  opacity: 1;
  display: block;
  transform: translateY(0);
  border-radius: 20px;
}
.profile-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  /* margin: 0 auto; */
}
.dropdown-item {
  padding: 14px 22px;
  font-size: 1.05rem;
  color: #555;
  padding: 0.5rem;
  text-decoration: none;
  display: block;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #e0f7fa;
  color: #00acc1;
}

.logout-btn {
  padding: 0.5rem;
  color: #f44336;
}

.logout-btn:hover {
  color: white;
  background-color: #d32f2f;
}

/* Mobile responsive styles */
@media (max-width: 1350px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: -6px 0 12px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal shift */
    z-index: 1000;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none; 
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .logo-container img.logo {
    height: 45px;
  }

  .login-btn {
    font-size: 1.1rem;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
  }

  .mobile-menu-icon {
    display: block;
    font-size: 2.5rem;
    padding: 5px;
    padding-bottom: 0;
    margin: 0;
  }

  .nav-item {
    width: 100%;
    text-align: left;
  }

  .nav-link {
    padding: 0.8rem 0;
    font-size: 1.2rem;
    justify-content: flex-start;
  }

  .nav-icon {
    margin-right: 1rem;
  }

  .nav-item .dropdown-content {
    position: static;
    width: 100%;
    background-color: transparent;
    padding-left: 1.2rem;
    overflow-y: auto;
    max-height: 300px; /* limit height for scrollability */
  }
  
  .nav-item .dropdown-content.active {
    border-left: 2px solid #2196f3;
    padding-left: 1rem;
  }

  .dropdown-content a {
    padding: 0.7rem 0;
    font-size: 1.1rem;
    text-align: left;
    border-radius: 0;
    margin: 0;
  }

  .dropdown-content a:hover {
    background-color: #e0f7fa;
    color: #00acc1;
  }

  .loggedinProfile {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .user-info {
    align-items: center;
    width: 100%;
    padding: 0.8rem 0;
  }

  .loggedinProfile .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding: 1rem 0;
    align-items: flex-start;
    display: none;
    flex-direction: column;
    background-color: transparent;
  }

  .loggedinProfile .dropdown-menu.active {
    display: flex;
    border-left: 2px solid #2196f3;
    padding-left: 1rem;
    background-color: white;
  }

  .dropdown-item {
    text-align: left;
    padding: 0.7rem 0;
    width: 100%;
    border-radius: 0;
  }
  .nav-links::-webkit-scrollbar {
    width: 6px;
  }
  
  .nav-links::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
  }
}



.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
}

.auth-form {
  background: #e3f2fd;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: -0.5px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.auth-form input:focus {
  outline: none;
  border-color: #4f46e5;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-form input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.custom-select-trigger {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background-color: #fafafa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.custom-select-trigger:hover {
  border-color: #d1d5db;
}

.custom-select-trigger.active {
  border-color: #4f46e5;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.custom-select-trigger span {
  color: #374151;
}

.custom-select-trigger span:first-child {
  color: #9ca3af;
}

.custom-select-trigger span:not(:first-child) {
  color: #374151;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #9ca3af;
  transition: transform 0.3s ease;
}

.arrow.open {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 16px;
  color: #374151;
}

.custom-option:hover {
  background-color: #f3f4f6;
}

.custom-option.selected {
  background-color: #4f46e5;
  color: white;
}

/* Buttons */
.primary-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.primary-button:active {
  transform: translateY(0);
}

.google-button {
  width: 100%;
  padding: 16px;
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.google-button:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-icon {
  width: 20px;
  height: 20px;
}

.secondary-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.secondary-button:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;

}

.divider span {
  background: #e3f2fd;
  padding: 0 16px;
  color: #45484e;
  font-size: 14px;
  font-weight: 500;
}

/* Links */
.forgot-password {
  text-align: right;
  margin-bottom: 24px;
  margin-top: -8px;
}

.link-text {
  color: #4f46e5;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.link-text:hover {
  color: #3730a3;
  text-decoration: underline;
}

.switch-form {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-top: 24px;
}

/* Button combinations */
.buttons_combine {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.buttons_combine .primary-button,
.buttons_combine .secondary-button {
  flex: 1;
  margin-bottom: 0;
}

.otp-info {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
  padding: 12px;
  background-color: #f3f4f6;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-container {
    padding: 10px;
  }
  
  .auth-form {
    padding: 24px;
    border-radius: 12px;
  }
  
  .auth-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .auth-form input,
  .custom-select-trigger {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .primary-button,
  .google-button {
    padding: 14px;
    font-size: 15px;
  }
  
  .buttons_combine {
    flex-direction: column;
    gap: 8px;
  }
}/* ===== Hero Section Styles (Expanded) ===== */
.hero-section-expanded {
  background: linear-gradient(135deg, #f0f2f5, #e1f5fe);
  padding: 3rem 3rem; /* Increased padding on sides */
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.hero-container-expanded {
  max-width: 1400px; /* Increased max width */
  margin: 0 auto;
}

.hero-content-expanded {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem; /* Increased gap */
  margin-bottom: 5rem; /* Increased margin */
}

.hero-text-expanded {
  flex: 1;
  min-width: 350px; /* Slightly wider min width */
  max-width: 600px; /* Slightly wider max width */
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-text-expanded h1 {
  font-size: 3.4rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 1.8rem;
  line-height: 1.2;
}

.hero-text-expanded span {
  color: #2980b9;
}

.hero-subtitle-expanded {
  font-size: 1.2rem; /* Slightly larger font size */
  color: #666;
  margin-bottom: 3rem; /* Increased margin */
  line-height: 1.7;
}

.get-started-button-expanded {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 1.1rem 2.8rem; /* Increased padding */
  font-size: 1.15rem; /* Slightly larger font size */
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
}

.get-started-button-expanded:hover {
  background-color: #2c7bb6;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button-icon {
  margin-left: 0.6rem; /* Slightly more spacing for the icon */
}

.hero-image-wrapper-expanded {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 350px; /* Slightly wider min width */
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-main-image-expanded ,.hero-animation{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ===== Features Section Styles (Expanded) ===== */
.features-grid-container-expanded {
  padding: 5rem 3rem; /* Increased padding on sides */
  max-width: 1400px; /* Increased max width */
  margin: 0 auto;
  text-align: center;
}

.features-heading-expanded {
  font-size: 2.4rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 3rem; /* Increased margin */
}

.features-grid-expanded {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly wider min width */
  gap: 3rem; /* Increased gap */
}

.feature-card-link-expanded {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.feature-card-link-expanded:hover {
  transform: translateY(-5px);
}

.feature-card-expanded {
  background-color: #fff;
  padding: 2.2rem; /* Increased padding */
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.feature-card-expanded:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper-expanded {
  background-color: #e0f7fa;
  color: #00bcd4;
  border-radius: 50%;
  width: 75px; /* Slightly larger icon wrapper */
  height: 75px; /* Slightly larger icon wrapper */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem; /* Increased margin */
  font-size: 2.2rem; /* Slightly larger icon size */
}

/* .feature-icon-expanded {

} */

.feature-card-expanded h3 {
  font-size: 1.4rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 0.8rem;
}

.feature-card-expanded p {
  font-size: 1.05rem; /* Slightly larger font size */
  color: #777;
  line-height: 1.6;
}

.feature-link-expanded {
  display: inline-block;
  margin-top: 1.2rem; /* Increased margin */
  color: #3498db;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.feature-link-expanded:hover {
  color: #2980b9;
}

/* ===== Info Sections Styles (Expanded) ===== */
.info-sections-container-expanded {
  padding: 5rem 3rem; /* Increased padding on sides */
  max-width: 1400px; /* Increased max width */
  margin: 0 auto;
  text-align: center;
}

.info-heading-expanded {
  font-size: 2.4rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 3rem; /* Increased margin */
}

.info-sections-expanded {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem; /* Increased gap */
}

.info-card-expanded {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 2.2rem; /* Increased padding */
  gap: 2.2rem; /* Increased gap */
  flex: 1 1 600px; /* Slightly wider */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-expanded:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.info-image-wrapper-expanded {
  width: 130px; /* Slightly larger image wrapper */
  height: 130px; /* Slightly larger image wrapper */
  border-radius: 10px;
  overflow: hidden;
}
.lottie_About{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2);
}
.lottie_Contact{
  width: 100%;
  height: 100%;
  transform: scale(1.3);
}
.info-image-expanded {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-text-expanded {
  flex: 1;
  text-align: left;
}

.info-text-expanded h3 {
  font-size: 1.7rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 0.8rem;
}

.info-text-expanded p {
  font-size: 1.1rem; /* Slightly larger font size */
  color: #777;
  line-height: 1.7;
  margin-bottom: 1.2rem; /* Increased margin */
}

.info-link-expanded {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.info-link-expanded:hover {
  color: #2980b9;
}

.info-link-expanded svg {
  margin-left: 0.6rem; /* Slightly more spacing for the icon */
}

/* ===== Responsive Styles (Expanded) ===== */
@media (max-width: 768px) {
  .hero-section-expanded {
    padding: 5rem 2rem;
  }

  .hero-container-expanded {
    max-width: 100%; /* Adjust max width for smaller screens */
  }

  .hero-content-expanded {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .hero-text-expanded {
    max-width: 100%;
  }

  .hero-text-expanded h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle-expanded {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
  }

  .get-started-button-expanded {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }

  .hero-image-wrapper-expanded {
    margin-bottom: 2.5rem;
  }

  .hero-main-image-expanded {
    border-radius: 10px; /* Adjust border-radius for smaller screens */
  }

  .features-grid-container-expanded {
    padding: 4rem 2rem;
  }

  .features-heading-expanded {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .features-grid-expanded {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
  }

  .feature-card-link-expanded:hover {
    transform: translateY(-3px); /* Less pronounced hover effect on smaller screens */
  }

  .feature-card-expanded {
    padding: 1.8rem;
    border-radius: 10px; /* Adjust border-radius for smaller screens */
  }

  .feature-card-expanded h3 {
    font-size: 1.3rem;
  }

  .feature-card-expanded p {
    font-size: 1rem;
  }

  .feature-icon-wrapper-expanded {
    width: 65px;
    height: 65px;
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .info-sections-container-expanded {
    padding: 4rem 2rem;
  }

  .info-heading-expanded {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .info-sections-expanded {
    flex-direction: column;
    gap: 2.5rem;
  }

  .info-card-expanded {
    flex-direction: column;
    flex: 1 1 60px;
    text-align: center;
    padding: 1.8rem;
    border-radius: 10px; /* Adjust border-radius for smaller screens */
  }

  .info-image-wrapper-expanded {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.2rem;
  }

  .info-text-expanded {
    text-align: center;
  }

  .info-text-expanded h3 {
    font-size: 1.5rem;
  }

  .info-text-expanded p {
    font-size: 1.05rem;
  }

  .info-link-expanded {
    justify-content: center; /* Center link on smaller screens */
  }

  .info-link-expanded svg {
    margin-left: 0.3rem; /* Adjust icon spacing */
  }
}/* SubjectPage.css */

.page-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  /* background-image: url('../../assets/bg_chapter.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh; */
  
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.back-btn {
  padding: 8px 16px;
  font-size: 1rem;
  border: none;
  background-color: #6c757d;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #495057;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.subject-card {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, background-color 0.3s;
}

.subject-card:hover {
  background: #dbefff;
  transform: translateY(-4px);
}

.subject-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #007bff;
}

.subject-card p {
  margin: 0;
  color: #555;
}

.chapters-panel {
  text-align: center;
   /* Ensure it covers the full viewport height */
}


.chapters-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #007bff;
}

.chapter-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.chapter-list li {
  background: #eaf4fc;
  padding: 14px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.chapter-list li:hover {
  background-color: #d2ecfb;
}

.chapter-list a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.no-data {
  text-align: center;
  color: #888;
  margin-top: 30px;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  border: 2.5px solid #f3f3f3;
  border-top: 2.5px solid #007bff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.profile-page {
    width: 700px; /* Increased max-width for better spacing */
    margin: 2rem auto;
    padding: 2.5rem; /* Slightly increased padding */
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff; /* White background for a cleaner look */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle box shadow */
  }
  .profile_photo_mainpage{
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
  }
  
  .profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  h2, h3 {
    color: #374151; /* Darker heading color */
    margin-bottom: 1.2rem;
  }
  
  .form {
    margin-bottom: 2rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-weight: 500; /* Slightly lighter font weight for labels */
    color: #4b5563; /* Muted label color */
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
  }
  
  .icon {
    font-size: 1.2rem;
    color: #6b7280; /* Icon color */
  }
  
  input {
    padding: 12px; /* Increased padding */
    font-size: 1rem;
    border: 1px solid #d1d5db; /* Light gray border */
    border-radius: 8px; /* More rounded input fields */
    color: #374151;
    background-color: #f9fafb; /* Light background for input */
  }
  
  input:focus {
    outline: none;
    border-color: #3b82f6; /* Focus border color */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25); /* Subtle focus shadow */
  }
  
  button {
    padding: 12px 20px; /* Increased button padding */
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 10px; /* More rounded buttons */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out; /* Smooth hover transition */
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .edit-button {
    background-color: #2563eb; /* Blue edit button */
    color: white;
  }
  
  .edit-button:hover {
    background-color: #1d4ed8;
  }
  
  .save-button {
    background-color: #10b981; /* Green save button */
    color: white;
  }
  
  .save-button:hover {
    background-color: #059669;
  }
  
  .cancel-button {
    background-color: #ef4444; /* Red cancel button */
    color: white;
  }
  
  .cancel-button:hover {
    background-color: #dc2626;
  }
  
  .change-password-button {
    background-color: #a855f7; /* Purple change password button */
    color: white;
    margin-top: 1rem;
  }
  
  .change-password-button:hover {
    background-color: #8b5cf6;
  }
  
  .update-password-button {
    background-color: #3b82f6; /* Blue update password button */
    color: white;
  }
  
  .update-password-button:hover {
    background-color: #2563eb;
  }
  
  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .password-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb; /* Light gray border for password section */
  }
  
  .password-form {
    margin-top: 1rem;
  }.footer {
  text-align: center;
  padding: 20px;
  background-color: #333333;
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.hover-scroll-combined {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 15px;
  user-select: none;
}

.scroll-arrow {
  font-size: 24px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.hover-label {
  min-height: 20px;
  font-size: 16px;
  color: #ccc;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer-bottom {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}
/* General */
body {
    font-family: 'Segoe UI', sans-serif;
  }
  
  .heading {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
  }
  
  .main-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
  }
  
  /* Cards Section */
  .characteristic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin-top: 2rem;
  }
  
  .card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .card img {
    width: 80px;
    margin-bottom: 1rem;
  }
  
  .card p {
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* About Sections */
  .about {
    padding: 2rem;
  }
  
  .Aboutus, .Aboutweb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .Aboutus img, .Aboutweb img {
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .aboutMain, .aboutMainWeb {
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
  }
  
  .mainheadingaboutus, .mainheadingaboutweb {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .notes {
    background: #e6f7ff;
    padding: 1rem;
    border-left: 5px solid #1890ff;
    margin-top: 1rem;
    font-style: italic;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .aboutMain, .aboutMainWeb {
      font-size: 1rem;
      padding: 1rem;
    }
  
    .heading {
      font-size: 2rem;
    }
  
    .card {
      font-size: 0.95rem;
      max-width: 90%;
    }
  }
  .contact-us-container {
    display: flex;
    padding: 30px;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
  };
  .reversed-layout {
    flex-direction: row; /* Form on the left, details on the right */
  }
  
  .contact-details {
    flex: 1;
  }
  
  .contact-form {
    flex: 1.2; /* Give the form a bit more visual weight */
  }
  
  .contact-form h2,
  .contact-details h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: left; /* Align headings to the left */
  }
  
  .contact-form p,
  .contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
  }
  
  .form-group input,
  .form-group textarea {
    width: calc(100%); /* Adjust for padding and border */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  .submit-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
  }
  
  .submit-button:hover {
    background-color: #0056b3;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .contact-info h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 10px;
  }
  
  .map-container {
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .phone a,.mail a{
    text-decoration: none;
    color: #666666;
   }
  .contact-info p {
    margin-bottom: 8px;
  }
  
  .contact-info .address {
    margin-top: 15px;
  }
  .custom-select-wrapper {
    position: relative;
    user-select: none;
    cursor: pointer;
    width: 100%;
  }
  
  .custom-select-display {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 16px;
  }
  
  .custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 10;
  }
  
  .custom-options.open {
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .custom-option {
    padding: 10px 15px;
    transition: background-color 0.2s;
  }
  
  .custom-option:hover {
    background-color: #f0f0f0;
  }
  
  .custom-option.selected {
    background-color: #007bff;
    color: white;
  }
  
  
  
  /* Responsive layout */
  @media (max-width: 900px) {
    .contact-us-container {
      flex-direction: column; /* Stack on smaller screens */
    }
  
    .reversed-layout {
      flex-direction: column; /* Keep stacking consistent */
    }
  
    .contact-details,
    .contact-form {
      flex: 1;
      margin-bottom: 30px;
    }
  
    .map-container {
      height: 250px;
    }
  }
  
  @media (max-width: 600px) {
    .contact-form h2,
    .contact-details h2 {
      font-size: 24px;
    }
  
    .form-group label {
      font-size: 14px;
    }
  
    .form-group input,
    .form-group textarea,
    .submit-button {
      font-size: 15px;
    }
  }
  .contact-us-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contactUsBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0.6;
  }
  
  .contact-form {
    position: relative;
    z-index: 2;
  }
  /* FilteredSearch.css */

.filtered-search-container {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px; /* Increased max-width to accommodate single-line filters */
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
  }
  
  .filters {
    display: flex;
    flex-direction: column; /* Arrange rows vertically */
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .filter-row {
    display: flex;
    gap: 20px;
  }
  
  .search-row {
    display: flex;
    gap: 20px;
    align-items: center; /* Vertically align search bar */
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1; /* Allow input groups to take up available space */
  }
  
  .input-group label {
    font-weight: bold;
    color: #555;
  }
  
  select,
  input[type="text"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    flex-grow: 1; /* Allow select and input to grow within their group */
  }
  
  select:focus,
  input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  }
  
  select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23333" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
  }
  
  /* Removed button styles as the button is removed */
  
  .results {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: white;
  }
  
  .results ul {
    list-style: none;
    padding: 0;
  }
  
  .results li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
  }
  
  .results li:last-child {
    border-bottom: none;
  }
  
  .results a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
  }
  
  .results a:hover {
    color: #007bff;
    text-decoration: underline;
  }
  
  .results a svg {
    margin-right: 8px;
    font-size: 1.2em;
  }
  
  .results p {
    color: #777;
    font-style: italic;
  }
  
  .error-message {
    color: #dc3545;
    margin-top: 10px;
    font-weight: bold;
  }
  
  .loading-message {
    color: #007bff;
    margin-top: 10px;
    font-style: italic;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .filter-row,
    .search-row {
      flex-direction: column;
    }
  
    .input-group {
      width: 100%;
    }
  
    /* No need for button specific responsive styles anymore */
  }
  
  @media (max-width: 600px) {
    h2 {
      font-size: 2em;
      margin-bottom: 20px;
    }
  
    .filtered-search-container {
      padding: 20px;
      margin: 20px;
    }
  
    select,
    input[type="text"] {
      padding: 10px;
      font-size: 0.9em;
    }
  }


  .gear-cluster {
    position: absolute;
    width: 100px;
    height: 100px;
    position: relative;
    margin: 2rem;
    opacity: 0.2;
  }
  
  .gear {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    animation: rotateClockwise 5s linear infinite;
  }
  
  .gear-1 {
    top: 0;
    left: 20px;
    width: 30px;
    height: 30px;
    animation: rotateClockwise 4s linear infinite;
  }
  
  .gear-2 {
    top: 26px;
    left: 0;
    width: 40px;
    height: 40px;
    animation: rotateCounterClockwise 5s linear infinite;
  }
  
  .gear-3 {
    top: 30px;
    left: 37px;
    width: 50px;
    height: 50px;
    animation: rotateClockwise 6s linear infinite;
  }
  
  @keyframes rotateClockwise {
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes rotateCounterClockwise {
    100% {
      transform: rotate(-360deg);
    }
  }
  .admin-uploader-container {
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .uploader-heading {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
  }
  
  .heading-icon {
    margin-right: 10px;
  }
  
  .input-group {
    margin-bottom: 20px;
  }
  
  .input-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
  }
  
  .label-icon {
    margin-right: 5px;
  }
  
  .input-field {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .input-file {
    padding: 8px;
  }
  
  .input-select {
    width: 100%;
  }
  
  .select-icon {
    margin-right: 8px;
  }
  
  .upload-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .upload-button:hover {
    background-color: #0056b3;
  }
  
  .button-icon {
    margin-right: 10px;
  }
  
  .upload-status {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-weight: bold;
  }
  
  .status-icon {
    margin-right: 10px;
    font-size: 1.2rem;
  }
  
  .upload-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .upload-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  .loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin-right: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }.admin-viewer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
  }
  
  h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .input-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .input-row label {
    width: 120px;
    font-weight: bold;
    color: #555;
    margin-right: 15px;
  }
  
  .input-row input[type="number"],
  .input-row input[type="text"],
  .input-row input[type="file"],
  .input-row select {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
  }
  
  .input-row select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23333" viewBox="0 0 4 5"><path d="M2 0L0 2h4L2 0z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: 50%;
    background-size: 8px;
    padding-right: 30px;
  }
  
  button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .message {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
  }
  
  .message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  .metadata-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  
  .metadata-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
  }
  
  .metadata-section p {
    color: #555;
    margin-bottom: 10px;
  }
  
  .metadata-section strong {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
  }
  
  .metadata-section a {
    color: #007bff;
    text-decoration: none;
  }
  
  .metadata-section a:hover {
    text-decoration: underline;
  }
  
  .metadata-section button {
    margin-top: 15px;
  }/* Main container */
.gemini-chat-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    z-index: 100000;
  }
  
  /* Chat box */
  .chat-box {
    width: 384px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(229, 231, 235, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 76px;
    right: 0;
  }
  
  /* Header */
  .chat-header {
    background: #007bff;
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .header-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: white;
  }
  
  .header-text p {
    font-size: 12px;
    color: rgba(191, 219, 254, 1);
    margin: 0;
    line-height: 1.2;
  }
  
  .close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .close-button:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* Chat body */
  .chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .chat-body::-webkit-scrollbar {
    width: 6px;
  }
  
  .chat-body::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .chat-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
  }
  
  .chat-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
  }
  
  /* Welcome message */
  .welcome-message {
    text-align: center;
    margin-top: 32px;
  }
  
  .welcome-icon {
    margin: 0 auto 16px;
    color: #d1d5db;
  }
  
  .welcome-title {
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    margin: 0 0 8px;
  }
  
  .welcome-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
  }
  
  /* Message wrapper */
  .message-wrapper {
    display: flex;
  }
  
  .message-wrapper.user {
    justify-content: flex-end;
  }
  
  .message-wrapper.assistant {
    justify-content: flex-start;
  }
  
  /* Chat messages */
  .chat-message {
    max-width: 80%;
    border-radius: 16px;
    padding: 16px;
  }
  
  .user-message {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
  }
  
  .assistant-message {
    background: white;
    border: 1px solid #e5e7eb;
    color: #1f2937;
  }
  /* heere */
  .loading-message {
    background: white;
    border: 1px solid #e5e7eb;
  }
  
  .message-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .message-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }
  
  .assistant-text {
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
  }
  
  .message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .timestamp {
    font-size: 12px;
    opacity: 0.7;
  }
  
  .copy-button {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .copy-button:hover {
    color: #374151;
    background: #f3f4f6;
  }
  
  .copy-button.copied {
    color: white;
    background: #10b981;
  }
  
  /* Loading animation */
  .loading-content {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .loading-dots {
    display: flex;
    gap: 4px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
  }
  
  .dot:nth-child(1) { animation-delay: -0.32s; }
  .dot:nth-child(2) { animation-delay: -0.16s; }
  
  @keyframes bounce {
    0%, 80%, 100% {
      transform: scale(0);
    } 40% {
      transform: scale(1);
    }
  }
  
  .loading-content span {
    font-size: 14px;
    color: #6b7280;
  }
  
  /* Input area */
  .chat-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #f3f4f6;
  }
  
  .input-controls {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
  }
  
  .clear-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    color: #6b7280;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .clear-button:hover:not(:disabled) {
    color: white;
    background: grey;
  }
  
  .clear-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  /* Input wrapper */
  .input-wrapper {
    position: relative;
  }
  
  .message-input {
    width: 100%;
    padding: 12px 80px 12px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    background: white;
  }
  
  .message-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  .message-input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
  }
  
  .message-input::placeholder {
    color: #9ca3af;
  }
  
  /* Input buttons */
  .input-buttons {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .mic-button {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mic-button:hover:not(:disabled) {
    color: #3b82f6;
    background: #eff6ff;
  }
  
  .mic-button.recording {
    color: white;
    background: #ef4444;
    animation: pulse 2s infinite;
  }
  
  .mic-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  .send-button {
    background: #3b82f6;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .send-button:hover:not(:disabled) {
    background: #2563eb;
  }
  
  .send-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
  }
  
  /* Toggle button */
  .chat-toggle-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  
  .chat-toggle-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  }
  
  .chat-toggle-button:active {
    transform: scale(0.95);
  }
  
  /* Responsive design */
  @media (max-width: 480px) {
    .gemini-chat-container {
      bottom: 16px;
      right: 16px;
      left: 16px;
    }
    
    .chat-box {
      width: 100%;
      height: 70vh;
      max-height: 500px;
    }
    
    .chat-toggle-button {
      position: fixed;
      bottom: 16px;
      right: 16px;
      left: auto;
    }
  }


  /* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:root {
  --react-pdf-annotation-layer: 1;
  --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
  --input-focus-border-color: Highlight;
  --input-focus-outline: 1px solid Canvas;
  --input-unfocused-border-color: transparent;
  --input-disabled-border-color: transparent;
  --input-hover-border-color: black;
  --link-outline: none;
}

@media screen and (forced-colors: active) {
  :root {
    --input-focus-border-color: CanvasText;
    --input-unfocused-border-color: ActiveText;
    --input-disabled-border-color: GrayText;
    --input-hover-border-color: Highlight;
    --link-outline: 1.5px solid LinkText;
  }
  .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
  .annotationLayer .choiceWidgetAnnotation select:required,
  .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
    outline: 1.5px solid selectedItem;
  }

  .annotationLayer .linkAnnotation:hover {
    backdrop-filter: invert(100%);
  }
}

.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
  z-index: 3;
}

.annotationLayer[data-main-rotation='90'] .norotate {
  transform: rotate(270deg) translateX(-100%);
}
.annotationLayer[data-main-rotation='180'] .norotate {
  transform: rotate(180deg) translate(-100%, -100%);
}
.annotationLayer[data-main-rotation='270'] .norotate {
  transform: rotate(90deg) translateY(-100%);
}

.annotationLayer canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

.annotationLayer section {
  position: absolute;
  text-align: initial;
  pointer-events: auto;
  box-sizing: border-box;
  margin: 0;
  transform-origin: 0 0;
}

.annotationLayer .linkAnnotation {
  outline: var(--link-outline);
}

.textLayer.selecting ~ .annotationLayer section {
  pointer-events: none;
}

.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {
  opacity: 0.2;
  background: rgba(255, 255, 0, 1);
  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
}

.annotationLayer .textAnnotation img {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea),
.annotationLayer .choiceWidgetAnnotation select,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
  background-image: var(--annotation-unfocused-field-background);
  border: 2px solid var(--input-unfocused-border-color);
  box-sizing: border-box;
  font: calc(9px * var(--scale-factor)) sans-serif;
  height: 100%;
  margin: 0;
  vertical-align: top;
  width: 100%;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):required,
.annotationLayer .choiceWidgetAnnotation select:required,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
  outline: 1.5px solid red;
}

.annotationLayer .choiceWidgetAnnotation select option {
  padding: 0;
}

.annotationLayer .buttonWidgetAnnotation.radioButton input {
  border-radius: 50%;
}

.annotationLayer .textWidgetAnnotation textarea {
  resize: none;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],
.annotationLayer .choiceWidgetAnnotation select[disabled],
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {
  background: none;
  border: 2px solid var(--input-disabled-border-color);
  cursor: not-allowed;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {
  border: 2px solid var(--input-hover-border-color);
}
.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
  border-radius: 2px;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
.annotationLayer .choiceWidgetAnnotation select:focus {
  background: none;
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
  background-image: none;
  background-color: transparent;
}

.annotationLayer .buttonWidgetAnnotation.checkBox :focus {
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
  border: 2px solid var(--input-focus-border-color);
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
  background-color: CanvasText;
  content: '';
  display: block;
  position: absolute;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
  height: 80%;
  left: 45%;
  width: 1px;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {
  transform: rotate(45deg);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
  transform: rotate(-45deg);
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
  border-radius: 50%;
  height: 50%;
  left: 30%;
  top: 20%;
  width: 50%;
}

.annotationLayer .textWidgetAnnotation input.comb {
  font-family: monospace;
  padding-left: 2px;
  padding-right: 0;
}

.annotationLayer .textWidgetAnnotation input.comb:focus {
  /*
   * Letter spacing is placed on the right side of each character. Hence, the
   * letter spacing of the last character may be placed outside the visible
   * area, causing horizontal scrolling. We avoid this by extending the width
   * when the element has focus and revert this when it loses focus.
   */
  width: 103%;
}

.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
  appearance: none;
}

.annotationLayer .popupTriggerArea {
  height: 100%;
  width: 100%;
}

.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
  position: absolute;
}

.annotationLayer .popupWrapper {
  position: absolute;
  font-size: calc(9px * var(--scale-factor));
  width: 100%;
  min-width: calc(180px * var(--scale-factor));
  pointer-events: none;
}

.annotationLayer .popup {
  position: absolute;
  max-width: calc(180px * var(--scale-factor));
  background-color: rgba(255, 255, 153, 1);
  box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
    rgba(136, 136, 136, 1);
  border-radius: calc(2px * var(--scale-factor));
  padding: calc(6px * var(--scale-factor));
  margin-left: calc(5px * var(--scale-factor));
  cursor: pointer;
  font: message-box;
  white-space: normal;
  word-wrap: break-word;
  pointer-events: auto;
}

.annotationLayer .popup > * {
  font-size: calc(9px * var(--scale-factor));
}

.annotationLayer .popup h1 {
  display: inline-block;
}

.annotationLayer .popupDate {
  display: inline-block;
  margin-left: calc(5px * var(--scale-factor));
}

.annotationLayer .popupContent {
  border-top: 1px solid rgba(51, 51, 51, 1);
  margin-top: calc(2px * var(--scale-factor));
  padding-top: calc(2px * var(--scale-factor));
}

.annotationLayer .richText > * {
  white-space: pre-wrap;
  font-size: calc(9px * var(--scale-factor));
}

.annotationLayer .highlightAnnotation,
.annotationLayer .underlineAnnotation,
.annotationLayer .squigglyAnnotation,
.annotationLayer .strikeoutAnnotation,
.annotationLayer .freeTextAnnotation,
.annotationLayer .lineAnnotation svg line,
.annotationLayer .squareAnnotation svg rect,
.annotationLayer .circleAnnotation svg ellipse,
.annotationLayer .polylineAnnotation svg polyline,
.annotationLayer .polygonAnnotation svg polygon,
.annotationLayer .caretAnnotation,
.annotationLayer .inkAnnotation svg polyline,
.annotationLayer .stampAnnotation,
.annotationLayer .fileAttachmentAnnotation {
  cursor: pointer;
}

.annotationLayer section svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .annotationTextContent {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.annotationLayer .annotationTextContent span {
  width: 100%;
  display: inline-block;
}
/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:root {
  --react-pdf-text-layer: 1;
  --highlight-bg-color: rgba(180, 0, 170, 1);
  --highlight-selected-bg-color: rgba(0, 100, 0, 1);
}

@media screen and (forced-colors: active) {
  :root {
    --highlight-bg-color: Highlight;
    --highlight-selected-bg-color: ButtonText;
  }
}

[data-main-rotation='90'] {
  transform: rotate(90deg) translateY(-100%);
}
[data-main-rotation='180'] {
  transform: rotate(180deg) translate(-100%, -100%);
}
[data-main-rotation='270'] {
  transform: rotate(270deg) translateX(-100%);
}

.textLayer {
  position: absolute;
  text-align: initial;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  z-index: 2;
}

.textLayer :is(span, br) {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  margin: 0;
  transform-origin: 0 0;
}

/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
 * the problem doesn't show up in "text" reference tests. */
.textLayer span.markedContent {
  top: 0;
  height: 0;
}

.textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: var(--highlight-bg-color);
  border-radius: 4px;
}

.textLayer .highlight.appended {
  position: initial;
}

.textLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}

.textLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}

.textLayer .highlight.middle {
  border-radius: 0;
}

.textLayer .highlight.selected {
  background-color: var(--highlight-selected-bg-color);
}

/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::selection {
  background: transparent;
}

.textLayer .endOfContent {
  display: block;
  position: absolute;
  inset: 100% 0 0;
  z-index: -1;
  cursor: default;
  user-select: none;
}

.textLayer.selecting .endOfContent {
  top: 0;
}

.hiddenCanvasElement {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  display: none;
}
.pdf-viewer-wrapper {
  width: 70%;
  box-sizing: border-box;
}

.pdf-container {
  width: 70vw;
  box-sizing: border-box;
  padding: 10px;
}

.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.download-btn {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.download-btn:hover {
  background-color: #0056b3;
}

.help-desk-btn {
  padding: 5px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content; 
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 10000;
}

.help-desk-btn:hover {
  background-color: #218838;
}