/* General Styles */
:root {
  --primary: #212529;
  --secondary: #1e1e1e;
  --dark: #121212;
  --light: #f8f9fa;
  --accent: #ffc107;
  --hover-accent: #ffca2c;
  --card-bg: #1f1f1f;
  --input-bg: #2a2a2a;
  --input-border: #444;
  --btn-hover: #004bb5;
  --header-gradient: linear-gradient(135deg, #212529, #2a2a2a);
  --button-gradient: linear-gradient(135deg, #004bb5, #0056d4);
  --service-gradient: linear-gradient(135deg, #212529, #2f2f2f);
}

* {
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--secondary);
  color: var(--light);
}

/* Animations */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

header, .card, .service-item, section, h2 {
  animation: fadeSlideUp 0.6s ease forwards;
}

header {
  background: var(--header-gradient);
  color: var(--light);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
}

header p {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
  color: var(--accent);
}

nav {
  background: var(--dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
}

nav a {
  color: var(--light);
  padding: 0.8rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

nav a:hover {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px);
}

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

h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
}

form input,
form select,
form textarea,
form button {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 0.85rem;
  border-radius: 6px;
  font-size: 1rem;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--light);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

form button {
  background: var(--button-gradient);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

form button:hover {
  background: linear-gradient(135deg, #0056d4, #0066f0);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transform: scale(1.03);
}

label {
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

#pickupAddress {
  display: none;
  margin-left: 1.5rem;
  transition: all 0.3s ease;
}

#pickupAddress.show {
  display: block;
}

.disclaimer-footer {
  background: #333;
  color: #ccc;
  padding: 8px 15px; /* smaller padding */
  text-align: center;
  font-size: 0.75rem; /* smaller font */
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
}

}

.calculator-output {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 0.8rem;
  text-align: center;
  color: var(--accent);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #444;
  transition: 0.4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--light);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--btn-hover);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

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

.service-item {
  background: var(--service-gradient);
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease forwards;
  animation-delay: 0.1s;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: default;
}

.service-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
}
