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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f0f0f;
  color: #eaeaea;
  text-align: center;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(120deg, #388e3c, #1b5e20);
  color: white;
  padding: 3rem 1rem;
}

.logo { 
  width: 120px; 
  margin-bottom: 1rem; 
  border-radius: 8px;
}

.tagline { 
  font-size: 1.2rem; 
  margin-top: 0.5rem; 
  opacity: 0.9;
}

/* Buttons */
.btn {
  background: #43a047;
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0.25rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.btn:hover { 
  background: #66bb6a; 
  transform: translateY(-1px);
}

.btn-secondary {
  background: #555;
  border: 1px solid #777;
}

.btn-secondary:hover {
  background: #666;
}

.btn-primary {
  background: #2196f3;
}

.btn-primary:hover {
  background: #1976d2;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Navigation */
.nav-bar {
  background: rgba(0,0,0,0.2);
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-link {
  color: #eaeaea;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #43a047;
  color: white;
}

/* Feature Grid */
.features {
  padding: 3rem 1rem;
  background: #1a1a1a;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #43a047;
  box-shadow: 0 10px 30px rgba(67, 160, 71, 0.2);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Order Form Styles */
.order-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.order-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  margin: 0 1rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  background: #43a047;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-weight: bold;
}

.step:not(.active) .step-number {
  background: #555;
}

.order-form {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  text-align: left;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #43a047;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ccc;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-group input {
  flex: 1;
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #555;
  background: #2a2a2a;
  color: #eaeaea;
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #43a047;
  box-shadow: 0 0 0 2px rgba(67, 160, 71, 0.2);
}

.hidden {
  display: none !important;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* BioTrack Integration */
.biotrack-integration {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #43a047;
}

.biotrack-results {
  margin-top: 1rem;
  padding: 1rem;
  background: #1a3a1a;
  border-radius: 6px;
  border: 1px solid #43a047;
}

.biotrack-results.error {
  background: #3a1a1a;
  border-color: #f44336;
}

/* Tracking Styles */
.tracking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.tracking-input {
  margin-bottom: 2rem;
}

.tracking-input-field {
  max-width: 400px;
  margin-right: 1rem;
}

.tracking-results {
  display: grid;
  gap: 2rem;
}

.tracking-info {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.status-badge.in-transit {
  background: #1976d2;
  color: white;
}

.status-badge.delivered {
  background: #43a047;
  color: white;
}

.status-badge.pending {
  background: #ff9800;
  color: white;
}

.tracking-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
}

.detail-card h3 {
  margin-bottom: 1rem;
  color: #43a047;
}

.detail-meta {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Map Styles */
.map-container {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
}

.transport-map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.marker.pickup { background: #ff9800; }
.marker.current { background: #1976d2; }
.marker.delivery { background: #43a047; }

/* Timeline */
.tracking-timeline {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #43a047;
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.timeline-marker.pending {
  background: #555;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: #43a047;
}

.timeline-time {
  color: #aaa;
  font-size: 0.9rem;
}

/* ETA Display */
.estimated-arrival {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  text-align: center;
}

.eta-display {
  font-size: 2rem;
  font-weight: bold;
  color: #43a047;
  margin: 1rem 0;
}

.eta-note {
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

/* Success/Error Messages */
.success-message, .error-message {
  background: #1a1a1a;
  padding: 3rem 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  text-align: center;
}

.success-message {
  border-color: #43a047;
  background: #1a3a1a;
}

.error-message {
  border-color: #f44336;
  background: #3a1a1a;
}

.success-actions, .error-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Order Summary */
.order-summary {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #43a047;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #3a3a3a;
}

.summary-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Sections */
section { 
  padding: 2rem 1rem; 
  max-width: 800px; 
  margin: 0 auto; 
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

button {
  background: #43a047;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

button:hover { 
  background: #66bb6a; 
  transform: translateY(-1px);
}

button:disabled {
  background: #555;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
footer {
  background: #1b1b1b;
  color: #bbb;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #43a047;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .order-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step {
    justify-content: center;
  }
  
  .tracking-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tracking-details {
    grid-template-columns: 1fr;
  }
  
  .map-legend {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .eta-display {
    font-size: 1.5rem;
  }
  
  .nav-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .success-actions, .error-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .order-container, .tracking-container {
    padding: 1rem 0.5rem;
  }
  
  .order-form, .tracking-info, .map-container, .tracking-timeline, .estimated-arrival {
    padding: 1rem;
  }
  
  .transport-map {
    height: 300px;
  }
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.service-card {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #43a047;
  box-shadow: 0 10px 30px rgba(67, 160, 71, 0.2);
}

.service-card h2 {
  color: #43a047;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

.service-features li {
  padding: 0.5rem 0;
  color: #ccc;
}

/* Pricing Section */
.pricing-section {
  background: #1a1a1a;
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.pricing-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #43a047;
  font-size: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: #43a047;
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #43a047;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: #43a047;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
  color: #43a047;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: #43a047;
  margin: 1rem 0;
}

.price-note {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: #ccc;
  border-bottom: 1px solid #3a3a3a;
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #43a047;
}

.contact-method h3 {
  color: #43a047;
  margin-bottom: 0.5rem;
}

.contact-method p {
  margin-bottom: 0.5rem;
}

.contact-method a {
  color: #43a047;
  text-decoration: none;
  font-weight: bold;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-note {
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

.checkbox-group {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  color: #ccc;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.emergency-contact {
  background: #3a1a1a;
  border: 2px solid #f44336;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}

.emergency-contact h2 {
  color: #f44336;
  margin-bottom: 1rem;
}

.btn-emergency {
  background: #f44336;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  margin: 1rem 0;
}

.btn-emergency:hover {
  background: #d32f2f;
}

.emergency-note {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.faq-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 1rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #43a047;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
}

.faq-item h3 {
  color: #43a047;
  margin-bottom: 1rem;
}

.faq-item p {
  color: #ccc;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #3a3a3a;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #3a3a3a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: #43a047;
}

.modal-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #3a3a3a;
  color: #fff;
}

.modal-body {
  padding: 2rem;
  text-align: left;
  line-height: 1.6;
}

.modal-body h3 {
  color: #43a047;
  margin-bottom: 1rem;
}

.modal-body h4 {
  color: #ddd;
  margin: 2rem 0 1rem 0;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid #3a3a3a;
  text-align: right;
}
