/* Loyal Trading Corporation - Complete Fixed Frontend Styles */

/* ====== RESET & BASICS ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1f2937;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== NAVBAR ====== */
#navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  color: #000;
  font-size: 1.2rem;
}

.logo-icon {
  background: #f59e0b;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  margin-right: 0.6rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #111827;
  transition: color 0.2s ease;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #f59e0b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1f2937;
  padding: 0.5rem;
}

.quote-btn {
  background: #f59e0b;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.quote-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.quote-badge {
  background: #fff;
  color: #f59e0b;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  min-width: 1.5rem;
  display: inline-block;
  text-align: center;
  font-weight: 700;
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(to right, #f59e0b, #fbbf24);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-buttons a {
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 180px;
  text-align: center;
}

.btn-primary {
  background: #fff;
  color: #f59e0b;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* ====== LAYOUT CONTAINERS ====== */
section {
  padding: 4rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
  text-align: center;
}

.section-subtitle {
  color: #6b7280;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== ABOUT SECTION ====== */
#about {
  background: #f9fafb;
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h3 {
  color: #f59e0b;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #4b5563;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-icon {
  background: #fef3c7;
  color: #f59e0b;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-item h4 {
  color: #111827;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.value-item p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 20px;
  min-height: 400px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ====== PRODUCTS SECTION ====== */
#products {
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #f59e0b;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f59e0b;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #111827;
}

.product-info p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.add-quote-btn {
  background: #f59e0b;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.add-quote-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.view-all-btn-container {
  text-align: center;
  margin-top: 3rem;
}

.btn-view-all {
  background: #111827;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ====== INDUSTRIES & WHY CHOOSE US SECTIONS ====== */
#industries {
  background: #f9fafb;
}

#why-choose {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #f59e0b;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #111827;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* ====== CONTACT SECTION ====== */
#contact {
  background: #f9fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info,
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-info h3,
.contact-form h3 {
  color: #111827;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.8rem;
  min-width: 40px;
}

.info-item h4 {
  color: #111827;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-item p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ====== FORMS ====== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: #f59e0b;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ====== NEWSLETTER SECTION ====== */
.newsletter {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.newsletter h4 {
  color: #111827;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.newsletter p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.newsletter-form button {
  background: #f59e0b;
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* ====== ALERTS ====== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
}

.alert.show {
  display: block;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* ====== MODALS ====== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  width: 95%;
  max-width: 700px;
  position: relative;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.modal-content.small {
  max-width: 550px;
}

.modal-content h2 {
  color: #111827;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: #f3f4f6;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #ef4444;
  color: white;
}

/* ====== QUOTE ITEMS ====== */
.quote-items {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 2rem;
  padding-right: 8px;
}

.quote-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.quote-item-content h4 {
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.item-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.item-details span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-details strong {
  color: #374151;
}

.item-notes {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1rem;
  border-left: 3px solid #f59e0b;
}

.remove-item {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.remove-item:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.empty-quote {
  text-align: center;
  color: #9ca3af;
  padding: 3rem 2rem;
  background: #f9fafb;
  border-radius: 10px;
  font-size: 1rem;
  border: 2px dashed #e5e7eb;
}

.quote-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.option-group {
  margin-bottom: 1rem;
}

.option-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.option-group select,
.option-group input,
.option-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.option-group select:focus,
.option-group input:focus,
.option-group textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* ====== FOOTER ====== */
footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: #fbbf24;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

footer p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0.5rem 0;
}

.footer-text {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ====== PRODUCTS PAGE SPECIFIC ====== */
.page-header {
  background: linear-gradient(to right, #f59e0b, #fbbf24);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 0;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.filter-section {
  background: white;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #f3f4f6;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-container label {
  font-weight: 600;
  color: #374151;
}

.filter-container select {
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #fff;
  font-size: 0.95rem;
  color: #111827;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.7rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  transition: all 0.2s ease;
  min-width: 200px;
}

.filter-container select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.products-section {
  padding: 3rem 2rem;
  background: #f9fafb;
}

.product-category {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-features {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.product-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1rem;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 968px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    gap: 0.5rem;
  }

  .nav-links.active {
    left: 0;
  }

  .quote-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .quote-options {
    grid-template-columns: 1fr;
  }

  .item-details {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .filter-section {
    padding: 1rem;
  }

  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-container select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-image {
    min-height: 200px;
    font-size: 5rem;
  }

  .product-image {
    height: 220px;
    font-size: 4rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .newsletter {
    padding: 2rem 1.5rem;
  }

  .modal-content {
    padding: 1.25rem;
  }

  .quote-items {
    max-height: 300px;
  }

  .quote-item {
    padding: 1rem;
  }
}

/* ====== UTILITY CLASSES ====== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.hidden {
  display: none;
}

/* ====== SCROLLBAR STYLING ====== */
.quote-items::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.quote-items::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

.quote-items::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.quote-items::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ====== LOADING STATE ====== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f4f6;
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ====== ACCESSIBILITY ====== */
*:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ====== PRINT STYLES ====== */
@media print {
  nav,
  .hero-buttons,
  .add-quote-btn,
  .quote-btn,
  .modal,
  footer {
    display: none;
  }

  body {
    background: white;
  }

  .section-container {
    max-width: 100%;
  }
}
