* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
  color: #1e293b;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-content {
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.header-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

/* Main Content */
.main {
  padding: 3rem 0;
}

/* Search Section */
.search-section {
  margin-bottom: 2rem;
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Alphabet Navigation */
.alphabet-nav {
  margin-bottom: 2rem;
}

.alphabet-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.alphabet-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}

.alphabet-btn:hover {
  background: #dbeafe;
  border-color: #3b82f6;
  color: #1d4ed8;
  transform: translateY(-2px);
}

.alphabet-btn.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: white;
  transform: scale(1.05);
}

/* Content Area */
.content-area {
  display: flex;
  gap: 2rem;
}

.sidebar {
  flex: 0 0 320px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.sidebar-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
}

.sidebar-header span {
  color: #3b82f6;
}

.sidebar-content {
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.category-item {
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.category-header {
  padding: 12px 16px;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #3b82f6;
  transition: background 0.2s;
}

.category-header:hover {
  background: #e0f2fe;
}

.category-header.active {
  background: #dbeafe;
}

.category-content {
  background: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.category-content.expanded {
  max-height: 300px;
}

.acronym-item {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.acronym-item:last-child {
  border-bottom: none;
}

.acronym-item:hover {
  background: white;
  border-left-color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.acronym-item.active {
  background: white;
  border-left-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.acronym-text {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.title-text {
  font-size: 0.875rem;
  color: #64748b;
}

.no-data {
  text-align: center;
  color: #9ca3af;
  padding: 2rem;
  font-style: italic;
}

/* Details Panel */
.details {
  flex: 1;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.details-empty {
  text-align: center;
  color: #9ca3af;
  padding: 3rem 1rem;
}

.details-icon {
  font-size: 6rem;
}

.details-empty h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #6b7280;
}

.details-content .badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.details-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.details-content .subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.details-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.details-description {
  border-left: 4px solid #3b82f6;
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.details-description h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.details-description p {
  color: #374151;
  line-height: 1.7;
}

/* Welcome Section */
.welcome-section {
  background: white;
  padding: 4rem 0;
}

.welcome-card {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.welcome-content {
  display: flex;
  align-items: center;
  padding: 3rem;
  gap: 3rem;
}

.welcome-text {
  flex: 1;
  color: white;
}

.welcome-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.welcome-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 1rem;
}

.welcome-text p {
  color: #dbeafe;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.welcome-btn {
  background: #f97316;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1rem;
}

.welcome-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.welcome-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  backdrop-filter: blur(10px);
}

/* Common Forms */
.common-forms {
  padding: 4rem 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3rem;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.form-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.bg-blue {
  background: #3b82f6;
}

.bg-green {
  background: #10b981;
}

.bg-red {
  background: #ef4444;
}

.bg-yellow {
  background: #f59e0b;
}

.bg-purple {
  background: #8b5cf6;
}

.bg-cyan {
  background: #06b6d4;
}

.bg-gray {
  background: #6b7280;
}

.bg-indigo {
  background: #6366f1;
}

.bg-rani {
  background: #EA1A85;
}

.form-acronym {
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.form-full {
  font-size: 0.875rem;
  color: #64748b;
}

/* Why Choose Us */
.why-choose-us {
  padding: 4rem 0;
  background: white;
}

.why-card {
  max-width: 800px;
  margin: 0 auto;
  background: #f8fafc;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}

.why-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item p {
  color: #374151;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 1rem 1.5rem 1.5rem;
  color: #374151;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #64748b;
  max-width: 400px;
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

/* Utility Classes */
.hide-on-search {
  display: block;
}

.hide-on-search.hidden {
  display: none;
}

.hide-on-acronym {
  display: none;
}

.hidden {
  display: none;
}

/* Contact Page Css  */

.contact-section {
  max-width: 1200px;
  margin: auto;
  padding: 75px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid #ddd;
}

.contact-form {
  flex: 1 1 58%;
  border-right: 1px solid #ccc;
  padding-right: 40px;
}

.contact-info {
  flex: 1 1 38%;
  padding-left: 20px;
}

.contact-info .contact_title {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100% !important;
  padding: 12px !important;
  font-size: 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}

.form-control:focus {
  border-color: #6f856b !important;
  outline: none !important;
  box-shadow: none !important;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

label {
  margin-bottom: 5px;
}

.form-row .form-group {
  flex: 1;
}

.btn-submit {
  background-color: #2B68E9;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-size: 17px;
}

.contact-info .contact_subtitle {
  margin-bottom: 2rem;
  color: #555;
  font-size: 1.1rem;
}

.contact_icon {
  padding: 10px 0;
}

.contact_icon p i {
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 1rem;
  color: #444;
  font-size: 18px;
}

.social-icons a {
  margin-right: 15px;
  color: #000;
  font-size: 20px;
}

/* Terms of use Page Css  */
.page-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.terms_title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.terms_subtitle {
  font-size: 20px;
  margin-top: 30px;
  font-weight: 600;
}

.terms_desc {
  font-size: 16px;
  margin: 10px 0;
}

.terms_data {
  padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .content-area {
    flex-direction: column;
    gap: 1.5rem;
  }

  .sidebar {
    flex: none;
  }

  .welcome-content {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }

  .welcome-text h2 {
    font-size: 2rem;
  }

  .welcome-placeholder {
    width: 200px;
    height: 200px;
    font-size: 4rem;
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .alphabet-buttons {
    gap: 4px;
  }

  .alphabet-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .terms_title {
    font-size: 28px;
  }

  .page-container {
    margin: 30px 20px;
  }

  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-form {
    padding-right: 0;
    border-right: none;
    margin-bottom: 30px;
    order: 2;
  }

  .contact-info {
    padding-left: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    order: 1;

  }

  .form-row {
    flex-direction: column;
    gap: 0px;
  }

  label {
    margin-bottom: 5px;
  }

  .details {
    padding: 1rem;
  }

  .details-description {
    border-left: 0;
    padding-left: 0;
    margin-top: 0;
  }

  .search-section {
    margin-bottom: 1rem;
  }

  .details-content h1 {
    font-size: 1.4rem;
  }

  .main {
    padding: 2rem 0;
  }

  .footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0 1rem 0;
  }

  .footer-brand {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    padding-top: 1rem;
  }

  .forms-grid {
    gap: 1rem
  }

  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .common-forms {
      padding: 3rem
  }

}

@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
  }

  .welcome-text h2 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .form-card {
    padding: 1rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
}