/* base.css */

:root {
  --primary-color: #1F77BE;
  --accent-color: #28a745;
  --bg-color: #f8f9fa;
  --text-color: #333;
  --max-width: 1000px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.navbar {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

header {
  background-image: url(../office.png);
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 1rem;
}

header h1 {
  font-size: 2.8rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.card h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.contact-card {
  color: white;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 1rem;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.contact-item {
  flex: 1 1 calc(50% - 0.5rem);
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #218838;
}

ul {
  padding-left: 40px;
}

/*form.php*/

/* Table Container */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 20px auto;
}

/* Base Table Styles */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 24px;
}

/* Header Styles */
.rates-table th {
  padding: 12px;
  color: #fff;
}

.header-main {
  background: #000000;
}

.header-economy {
  background: #5ba9f0;
}

.header-choice {
  background: #c89b3c;
}

.benefit {
  background: #444;
  color: #ffffff;
}

/* Body Styles */
.rates-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.alt-row {
  background: #f5f5f5;
}

.hidden {
  display: block !important;
}

.form-control {
  display: block;
  width: 100%;
  padding: .375rem .375rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Spinner style */
.spinner {
  border: 3px solid #f3f3f3; /* Light gray */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}