/* Custom Checkbox Styling */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 8px 12px;
  background: #23272e;
  border: 1px solid #3a3f47;
  border-radius: 4px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.custom-checkbox-label:hover {
  background: #2a2f36;
  border-color: #4a4f57;
}

.custom-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #4a5057;
  border-radius: 3px;
  background: #1a1d23;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.custom-checkbox:hover {
  border-color: #5a6169;
}

.custom-checkbox:checked {
  background: #4a5057;
  border-color: #5a6169;
}

.custom-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
}

.custom-checkbox-text {
  color: #9ba3ad;
  font-size: 0.88em;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.custom-checkbox:checked + .custom-checkbox-text {
  color: #d4d8dd;
}

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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
  background: linear-gradient(180deg, #1a1d23 0%, #13161a 100%);
  color: #d4d8dd;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Page System */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Header Styling */
header {
  color: white;
  padding: 20px 30px;
  background: #23272e;
  border-bottom: 1px solid #3a3f47;
  margin-bottom: 35px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid transparent;
  color: #d4d8dd;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-link.active:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.user-profile-badge {
  display: inline-block;
  cursor: pointer;
}

.user-profile-badge.hidden {
  display: none;
}

.profile-display {
  padding: 10px 22px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  color: #a8b0ba;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.user-profile-badge:hover .profile-display {
  border-color: #5a6169;
  color: #d4d8dd;
  background: #23272e;
}

.account-info-container {
  padding: 20px 0;
}

.account-info-item {
  padding: 20px;
  margin-bottom: 15px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.account-info-item:hover {
  border-color: #4a4f57;
  background: #23272e;
}

.account-info-item:last-child {
  margin-bottom: 0;
}

.account-label {
  font-size: 11px;
  color: #9ba3ad;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: block;
  margin-bottom: 8px;
}

.account-value {
  font-size: 16px;
  color: #e8eaed;
  font-weight: 500;
  line-height: 1.4;
}

.account-section-title {
  color: #e8eaed;
  font-size: 1.2em;
  font-weight: 600;
  margin: 25px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #3a3f47;
}

.account-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #3a3f47;
}

.account-actions button {
  flex: 1;
  padding: 14px;
  font-size: 14px;
}

.logo-section {
  display: flex;
  align-items: center;
}

.institute-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gemological-properties {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #3a3f47;
}

.gemological-properties h4 {
  margin-bottom: 16px;
}

.gemological-properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.gemological-properties-grid dt {
  color: #a8b0ba;
  font-size: 0.82em;
  margin-bottom: 5px;
}

.gemological-properties-grid dd {
  color: #e8eaed;
  margin: 0;
  overflow-wrap: anywhere;
}

.institute-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.institute-acronym {
  background: linear-gradient(135deg, #4a5057 0%, #3a3f47 100%);
  color: #ffffff;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 1.2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  border: 2px solid #5a6169;
}

.institute-details h1 {
  font-size: 1.9em;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.institute-info {
  color: #a8b0ba;
  font-size: 0.88em;
  font-weight: 400;
  margin: 5px 0 0 0;
  letter-spacing: 0.8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Trust Section */
.trust-section {
  margin-bottom: 50px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.trust-item {
  background: #23272e;
  border: 1px solid #3a3f47;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.25s ease;
}

.trust-item:hover {
  background: #2a2f36;
  border-color: #4a4f57;
}

.trust-icon {
  background: #2d3138;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 11px;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  stroke: #8a93a0;
  stroke-width: 2;
}

.trust-text h3 {
  color: #e8eaed;
  font-size: 1.18em;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.trust-text p {
  color: #a8b0ba;
  font-size: 0.94em;
  line-height: 1.6;
}

/* Verification Card */
.verify-card {
  background: #23272e;
  padding: 45px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 45px;
  border: 1px solid #3a3f47;
}

.verify-header {
  text-align: center;
  margin-bottom: 40px;
}

.verify-header h2 {
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 2.4em;
  letter-spacing: -0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.verify-header p {
  color: #a8b0ba;
  font-size: 1.08em;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.verify-input-group {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.verify-input-group input {
  flex: 1;
  min-width: 260px;
  padding: 18px 24px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  border-radius: 4px;
  font-size: 15.5px;
  color: #e8eaed;
  transition: all 0.3s ease;
  font-family: 'Courier New', 'Monaco', monospace;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.verify-input-group input::placeholder {
  color: #6b7280;
}

.verify-input-group input:focus {
  outline: none;
  border-color: #5a6169;
  background: #23272e;
  box-shadow: 0 0 0 3px rgba(90, 97, 105, 0.15);
}

.verify-btn {
  padding: 0;
  background: #4a5057;
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
  letter-spacing: 0.5px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  height: 52px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
}

.verify-btn:hover {
  background: #5a6169;
}

.verify-btn:active {
  background: #3a4047;
}

.generate-btn {
  padding: 0;
  height: 52px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
  background: #4a5057;
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
  letter-spacing: 0.5px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.generate-btn:hover {
  background: #5a6169;
}

.generate-btn:active {
  background: #3a4047;
}

/* Services Section */
.services-section {
  margin: 55px 0;
}

.services-content {
  background: #23272e;
  border-radius: 0;
  padding: 55px 50px;
  border: 1px solid #3a3f47;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.services-content h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 45px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  gap: 28px;
  margin-bottom: 55px;
}


.pricing-card {
  background: #1a1d23;
  border: 1px solid #3a3f47;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: #5a6169;
  box-shadow: 0 8px 32px rgba(90, 97, 105, 0.25);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: #5a6169;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.popular-badge {
  background: linear-gradient(135deg, #5a6169 0%, #4a5157 100%);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-header {
  background: #23272e;
  padding: 32px 24px;
  text-align: center;
  border-bottom: 1px solid #3a3f47;
}

.pricing-header h3 {
  color: #e8eaed;
  font-size: 1.5em;
  margin-bottom: 18px;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.price {
  color: #ffffff;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.price-subtitle {
  color: #9ba3ad;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.pricing-features {
  padding: 28px 24px;
}

.feature-item {
  color: #d4d8dd;
  padding: 12px 0;
  border-bottom: 1px solid #2a2f36;
  font-size: 0.95em;
  display: flex;
  align-items: center;
}

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

.feature-item.turnaround {
  color: #a8b0ba;
  font-weight: 600;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 2px solid #3a3f47;
}

/* Bulk Pricing Section */
.bulk-pricing-section {
  background: #1a1d23;
  padding: 42px;
  border: 1px solid #3a3f47;
  margin-top: 35px;
}

.bulk-pricing-section h3 {
  color: #e8eaed;
  font-size: 1.8em;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.bulk-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.bulk-tier {
  background: #23272e;
  border: 1px solid #3a3f47;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.bulk-tier:hover {
  border-color: #5a6169;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.bulk-quantity {
  color: #a8b0ba;
  font-size: 1.1em;
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.bulk-discount {
  color: #ffffff;
  font-size: 2em;
  font-weight: 700;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #1a1d23;
  padding: 38px;
  border-radius: 0;
  border: 1px solid #3a3f47;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #5a6169;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: #4a4f57;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  color: #e8eaed;
  font-size: 1.4em;
  margin-bottom: 16px;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: 0.1px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.service-card p {
  color: #a8b0ba;
  line-height: 1.8;
  font-size: 1em;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: #9ba3ad;
  padding: 9px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.94em;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7a8289;
  font-weight: bold;
}

/* Gallery Section */
.gallery-section {
  margin: 55px 0;
}

.gallery-content {
  background: #23272e;
  border-radius: 0;
  padding: 55px 50px;
  border: 1px solid #3a3f47;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.gallery-content h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.gallery-intro {
  text-align: center;
  color: #a8b0ba;
  font-size: 1.08em;
  margin-bottom: 45px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #3a3f47;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  border-color: #4a4f57;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 29, 35, 0.97), transparent);
  padding: 28px 22px 22px 22px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: #e8eaed;
  font-size: 1.18em;
  margin-bottom: 6px;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.gallery-overlay p {
  color: #a8b0ba;
  font-size: 0.92em;
  margin: 0;
}

/* About Section */
.about-section {
  margin: 45px 0;
}

.about-content {
  background: #23272e;
  border-radius: 0;
  padding: 55px 50px;
  border: 1px solid #3a3f47;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.about-content h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 45px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #1a1d23;
  padding: 18px 28px;
  border-radius: 0;
  border: 1px solid #3a3f47;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #5a6169;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: #4a4f57;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
  color: #e8eaed;
  font-size: 1.4em;
  margin-bottom: 14px;
  margin-top: 0;
  font-weight: 600;
  letter-spacing: 0.1px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.feature-card p {
  color: #a8b0ba;
  line-height: 1.8;
  font-size: 1em;
}

/* Footer */
footer {
  margin-top: 75px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #3a3f47;
  color: #9ba3ad;
  font-size: 0.85em;
  background: #23272e;
}

footer p {
  margin: 0;
  color: #a8b0ba;
}

/* Section */
.section {
  margin: 35px 0;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: #23272e;
  padding: 38px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 28px;
  border: 1px solid #3a3f47;
}

.card h2, .card h3 {
  color: #ffffff;
  margin-bottom: 26px;
  font-weight: 600;
  font-size: 1.6em;
  border-bottom: 1px solid #3a3f47;
  padding-bottom: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.hidden {
  display: none;
}

/* Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 11px;
  color: #9ba3ad;
  font-size: 0.92em;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px;
  background: #1a1d23;
  border: 2px solid #30363d;
  border-radius: 0;
  color: #e8eaed;
  font-size: 15px;
  transition: all 0.3s ease;
  resize: none;
}

.form-group input:disabled {
  background: #0d1117;
  color: #6b7a94;
  cursor: not-allowed;
  opacity: 0.7;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
  border-color: #4a4f57;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #5a6169;
  background: #23272e;
  box-shadow: 0 0 0 3px rgba(90, 97, 105, 0.12);
}

input[type="file"] {
  padding: 13px;
  background: #1a1d23;
  border: 1px dashed #3a3f47;
  border-radius: 4px;
  cursor: pointer;
  color: #9ba3ad;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  border-color: #5a6169;
}

select {
  cursor: pointer;
  padding-right: 15px;
  padding-left: 15px;
  background: #1a1d23;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  transition: all 0.3s ease;
}

select:focus {
  background: #23272e;
}

select option {
  background: #1a1d23;
  color: #e8eaed;
  padding: 10px;
}

/* Custom File Input */
input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 13px 24px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  border-radius: 4px;
  cursor: pointer;
  color: #9ba3ad;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.custom-file-upload:hover {
  border-color: #5a6169;
  background: #23272e;
  color: #d4d8dd;
}

.custom-file-upload::before {
  content: "📁 ";
  margin-right: 8px;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-name-display {
  margin-top: 8px;
  color: #06ffa5;
  font-size: 13px;
  font-weight: 500;
}

/* Buttons */
button {
  padding: 0;
  background: #4a5057;
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

button:hover {
  background: #5a6169;
}

button:active {
  background: #3a4047;
}

.logout-btn {
  background: linear-gradient(135deg, #8a4f5f 0%, #7a3f4f 100%);
  padding: 11px 26px;
  font-size: 13px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 22px;
  background: #1a1d23;
  border-radius: 0;
  border: 1px solid #3a3f47;
}

.admin-header h2 {
  color: #ffffff;
  margin: 0;
  font-size: 1.9em;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Image Preview */
#image-preview {
  margin-top: 22px;
}

#image-preview img {
  max-width: 100%;
  max-height: 370px;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid #3a3f47;
}

/* Error Messages */
.error {
  color: #d89ba3;
  margin-top: 13px;
  font-weight: 600;
  font-size: 0.92em;
}

/* Reports List */
.report-item {
  background: #1a1d23;
  padding: 22px;
  margin: 18px 0;
  border-radius: 0;
  border: 1px solid #3a3f47;
  transition: all 0.3s ease;
}

.report-item:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.report-item h4 {
  color: #e8eaed;
  margin-bottom: 13px;
  font-size: 1.25em;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.report-item p {
  margin: 9px 0;
  color: #9ba3ad;
  font-size: 0.96em;
}

.report-actions {
  margin-top: 18px;
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.report-actions button {
  padding: 11px 22px;
  font-size: 13px;
}

.download-btn {
  background: linear-gradient(135deg, #5a7a6a 0%, #4a6a5a 100%);
}

.view-btn {
  background: linear-gradient(135deg, #5a6169 0%, #4a5157 100%);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  padding: 20px;
  overflow-y: auto;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #23272e;
  padding: 42px;
  border-radius: 0;
  border: 1px solid #3a3f47;
  max-width: 520px;
  width: 90%;
  max-height: none;
  overflow-y: visible;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  margin: 20px auto;
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: #9ba3ad;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #d89ba3;
}

.modal-content h2 {
  color: #ffffff;
  margin-bottom: 28px;
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.login-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.tab-btn {
  flex: 1;
  padding: 13px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  color: #9ba3ad;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.3px;
}

.tab-btn:hover {
  border-color: #5a6169;
  color: #d4d8dd;
}

.tab-btn.active {
  background: #4a5057;
  border-color: #5a6169;
  color: white;
}

.login-form-container input,
.login-form-container button {
  width: 100%;
  margin-bottom: 16px;
  padding: 15px 18px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  border-radius: 4px;
  font-size: 15px;
  color: #d4d8dd;
  transition: all 0.3s ease;
  font-family: inherit;
}

.login-form-container input:hover {
  border-color: #4a4f57;
}

.login-form-container input:focus {
  outline: none;
  border-color: #5a6169;
  background: #23272e;
  box-shadow: 0 0 0 3px rgba(90, 97, 105, 0.12);
}

.login-form-container input::placeholder {
  color: #6b7280;
}

.login-form-container button {
  background: #4a5057;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.register-link {
  text-align: center;
  color: #9ba3ad;
  font-size: 14px;
  margin-top: 18px;
}

.register-link a {
  color: #b8bfc7;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Submit Page */
.submit-section {
  margin: 45px 0;
}

.submit-content {
  background: #23272e;
  border-radius: 0;
  padding: 55px 50px;
  border: 1px solid #3a3f47;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.submit-content h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 45px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Contact Page */
.contact-section {
  margin: 45px 0;
}

.contact-content {
  background: #23272e;
  border-radius: 0;
  padding: 55px 50px;
  border: 1px solid #3a3f47;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.contact-content h2 {
  color: #ffffff;
  font-size: 2.5em;
  margin-bottom: 45px;
  text-align: center;
  font-weight: 600;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.contact-form-wrapper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  max-width: 740px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  border-radius: 0;
  font-size: 15px;
  color: #e8eaed;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #5a6169;
  background: #23272e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5a6169;
  background: #23272e;
  box-shadow: 0 0 0 3px rgba(90, 97, 105, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7a94;
}

.contact-form button {
  width: 100%;
  padding: 16px;
  background: #4a5057;
  font-size: 15px;
}

.contact-form button:hover {
  background: #5a6169;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.admin-tab-btn {
  padding: 15px 30px;
  background: #1a1d23;
  border: 1px solid #3a3f47;
  color: #9ba3ad;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.3px;
}

.admin-tab-btn:hover {
  border-color: #5a6169;
  color: #d4d8dd;
}

.admin-tab-btn.active {
  background: #4a5057;
  border-color: #5a6169;
  color: white;
}

.admin-tab-content {
  display: block;
}

.admin-tab-content.hidden {
  display: none;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #e8eaed;
  font-weight: 600;
}

.status-pending {
  color: #c8a56f;
  font-weight: 600;
  text-transform: uppercase;
}

.status-approved {
  color: #7aa87a;
  font-weight: 600;
  text-transform: uppercase;
}

.status-rejected {
  color: #d89ba3;
  font-weight: 600;
  text-transform: uppercase;
}

.about-story {
  max-width: 940px;
  margin: 0 auto 60px;
  text-align: center;
  padding-bottom: 35px;
  border-bottom: 1px solid #3a3f47;
}

.about-story p {
  color: #a8b0ba;
  font-size: 1.12em;
  line-height: 1.85;
  margin-bottom: 22px;
}

.about-content h3 {
  color: #e8eaed;
  font-size: 2em;
  margin: 60px auto 45px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.2px;
  font-family: 'Georgia', 'Times New Roman', serif;
  max-width: 680px;
}

@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
  }

  .nav-link {
    flex: 1 1 45%;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .admin-tabs {
    flex-direction: column;
  }
}

/* Verification Result */
#verify-result {
  margin-top: 35px;
}

.verify-success {
  background: #24322a;
  border: 1px solid #3a4f42;
  padding: 32px;
  border-radius: 0;
  margin-top: 22px;
}

.verify-success h4 {
  color: #7aa87a;
  margin-bottom: 18px;
  font-size: 1.6em;
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.verify-error {
  background: #32242a;
  border: 1px solid #4f3a42;
  padding: 32px;
  border-radius: 0;
  margin-top: 22px;
  color: #d89ba3;
}

.cert-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
  background: #1a1d23;
  padding: 28px;
  border-radius: 0;
}

.cert-details p {
  margin: 9px 0;
  color: #d4d8dd;
}

.cert-details strong {
  color: #7aa87a;
  display: block;
  margin-bottom: 5px;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cert-image {
  margin-top: 28px;
  text-align: center;
  background: #1a1d23;
  padding: 28px;
  border-radius: 0;
}

.cert-image img {
  max-width: 100%;
  max-height: 480px;
  border-radius: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid #3a3f47;
}

/* Report Number Badge */
.report-number-badge {
  display: inline-block;
  background: #4a5057;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 2px;
}

/* Status badges */
.status-published {
  color: #7aa87a;
  font-weight: 600;
}

.status-draft {
  color: #c8a56f;
  font-weight: 600;
}

.status-pending {
  color: #c8a56f;
  font-weight: 600;
  text-transform: uppercase;
}

.status-approved {
  color: #7aa87a;
  font-weight: 600;
  text-transform: uppercase;
}

.status-completed {
  color: #06ffa5;
  font-weight: 600;
  text-transform: uppercase;
}

.status-rejected {
  color: #d89ba3;
  font-weight: 600;
  text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 18px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .logo-section,
  .institute-branding {
    width: 100%;
    min-width: 0;
  }

  .institute-branding {
    gap: 12px;
  }

  .institute-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .institute-details {
    min-width: 0;
  }

  .institute-details h1 {
    font-size: 1.3em;
    line-height: 1.3;
  }

  .institute-info {
    font-size: 0.75em;
    line-height: 1.5;
    letter-spacing: 0.2px;
  }

  .logo-container {
    width: 52px;
    height: 52px;
  }

  .header-text h1 {
    font-size: 1.6em;
  }

  .tagline {
    font-size: 0.88em;
  }

  .admin-access-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }

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

  .verify-card {
    padding: 28px;
  }

  .verify-header h2 {
    font-size: 1.6em;
  }

  .verify-input-group {
    flex-direction: column;
  }

  .verify-input-group input {
    min-width: 100%;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

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

  .cert-details {
    grid-template-columns: 1fr;
  }

  .admin-header {
    flex-direction: column;
    gap: 18px;
  }

  .report-actions {
    flex-direction: column;
  }

  .report-actions button {
    width: 100%;
  }
}

/* Notification Animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Wizard Progress */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px 0;
  border-bottom: 2px solid #3a3f47;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed {
  opacity: 0.8;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1a1d23;
  border: 2px solid #3a3f47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  color: #9ba3ad;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: #4a5057;
  border-color: #5a6169;
  color: #ffffff;
}

.progress-step.completed .step-number {
  background: #3a5a4a;
  border-color: #4a6a5a;
  color: #7aa87a;
}

.step-label {
  font-size: 0.85em;
  color: #9ba3ad;
  text-align: center;
  font-weight: 500;
}

.progress-step.active .step-label {
  color: #e8eaed;
  font-weight: 600;
}

/* Wizard Steps */
.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.wizard-step.active {
  display: block;
}

@media (max-width: 768px) {
  .wizard-progress {
    flex-wrap: wrap;
    gap: 15px;
  }

  .progress-step {
    flex: 1 1 30%;
    min-width: 80px;
  }

  .step-label {
    font-size: 0.75em;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.95em;
  }
}

/* Submission Details */
.submission-details {
  animation: slideDown 0.3s ease;
  overflow: hidden;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 2000px;
  }
}

/* Registration Progress Steps */
.registration-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
  padding: 20px 0;
  border-bottom: 2px solid #3a3f47;
}

.reg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.reg-step.active {
  opacity: 1;
}

.reg-step.completed {
  opacity: 0.7;
}

.reg-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1d23;
  border: 2px solid #3a3f47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1em;
  color: #9ba3ad;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.reg-step.active .reg-step-number {
  background: #4a5057;
  border-color: #5a6169;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(74, 80, 87, 0.2);
}

.reg-step.completed .reg-step-number {
  background: #3a5a4a;
  border-color: #4a6a5a;
  color: #7aa87a;
}

.reg-step.completed .reg-step-number::after {
  content: '✓';
  position: absolute;
  font-size: 14px;
}

.reg-step-label {
  font-size: 0.85em;
  color: #9ba3ad;
  text-align: center;
  font-weight: 500;
}

.reg-step.active .reg-step-label {
  color: #e8eaed;
  font-weight: 600;
}

.reg-step-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.reg-step-content.active {
  display: block;
}

/* Edit Section Styling */
.edit-section {
  display: block;
}

.edit-section.hidden {
  display: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #1a1d23;
}

::-webkit-scrollbar-thumb {
  background: #5a6169;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #6a7179;
}