:root {
  --ff-poppins: 'Poppins', sans-serif;
  --ff-oxanium: 'Oxanium', cursive;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
  --fw-900: 900;
  --bg: #f4f7fe;
  --white: #ffffff;
  --text: #333333;
  --primary: #3498db;
  --black: #000000;
  --secondary: #e74c3c;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-2: 0px 8px 24px rgba(0, 0, 0, 0.15);
  --silver: #a5a5a5;
  --transition: 0.25s ease;
  --fs-5: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border-radius: 12px;
  
}

/* Toast Notification System */
.toast-container {
  text-align: center;
 bottom: 20px;
  position: fixed;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}

.toast {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 16px;
  transform: translateX(0);
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-message {
  font-size: 14px;
  line-height: 1.5;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  animation: progress 3s linear forwards;
}

@keyframes progress {
  0% { width: 100%; }
  100% { width: 0%; }
}

.toast.toast-hide {
  transform: translateX(110%);
  opacity: 0;
}

  /* Toast Notification System */
  .toast-container {
    text-align: center;
    bottom: 20px;
    position: fixed;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
  }

  .toast {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 16px;
    transform: translateX(0);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .toast i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .toast-message {
    font-size: 14px;
    line-height: 1.5;
  }

  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: progress 3s linear forwards;
  }

  @keyframes progress {
    0% { width: 100%; }
    100% { width: 0%; }
  }

  .toast.toast-hide {
    transform: translateX(110%);
    opacity: 0;
  }

  .toast.success {
    border-left: 4px solid #4CAF50;
  }

  .toast.success i {
    color: #4CAF50;
  }

  .toast.success .toast-progress {
    background-color: #4CAF50;
  }

  .toast.error {
    border-left: 4px solid #F44336;
  }

  .toast.error i {
    color: #F44336;
  }

  .toast.error .toast-progress {
    background-color: #F44336;
  }

  .toast.warning {
    border-left: 4px solid #FFC107;
  }

  .toast.warning i {
    color: #FFC107;
  }

  .toast.warning .toast-progress {
    background-color: #FFC107;
  }

  .toast.info {
    border-left: 4px solid #2196F3;
  }

  .toast.info i {
    color: #2196F3;
  }

  .toast.info .toast-progress {
    background-color: #2196F3;
  }

   /* View More Modal */
   .view-more-modal .modal-header {
    background: linear-gradient(135deg, #000000, #262626);
    color: #fff;
  }

  .view-more-content {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .view-more {
    display: block;
    margin: 20px auto 0;
    background: #f1f3f5;
    color: #2d3436;
    border: 1px solid #dfe6e9;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .view-more:hover {
    transform: scale(1.03);
    background: #dfe6e9;
  }

  .view-more:active {
    transform: scale(0.97);
  }

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

 /* Header */
    header {
      background: var(--white);
      box-shadow: 0 2px 10px var(--shadow);
      position: fixed;
      width: 100%;
      height: 12%;
      top: 0;
      z-index: 10;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      font-family: var(--ff-oxanium);
      font-size: 2rem;
      font-weight: var(--fw-700);
      color: var(--black);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      transition: color var(--transition);
    }

    .logo i {
      font-size: 1.75rem;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    /* Search styles */
    .search-container {
      position: relative;
      margin-right: 20px;
    }

    .search-container input {
      padding: 8px 12px 8px 35px;
      border-radius: 12px;
      border: 1px solid #ddd;
      width: 220px;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .search-container input:focus {
      width: 250px;
      border-color: #000000;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
      outline: none;
    }

    .search-container::before {
      content: '\f002';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #000000;
      font-size: 15px;
    }

    .search-box {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 5px;
      margin-top: 5px;
      max-height: 250px;
      overflow-y: auto;
      z-index: 1000;
      display: none;
    }

    .search-suggestion {
      padding: 10px 15px;
      cursor: pointer;
      border-bottom: 1px solid #f2f2f2;
      transition: all 0.2s;
    }

    .search-suggestion:hover {
      background-color: #f8f9fa;
    }

    .no-results {
      padding: 12px 15px;
      color: #000000;
      text-align: center;
      font-style: italic;
    }

    .highlight-service {
      animation: highlight-pulse 2s 1;
      box-shadow: 0 0 15px rgba(78, 84, 200, 0.7);
    }

    @keyframes highlight-pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    /* Pincode input styles */
    .pincode-container {
      position: relative;
      margin-right: 20px;
      display: flex;
      align-items: center;
    }

    .pincode-container .location-icon {
      position: absolute;
      left: 12px;
      color: #000000;
      font-size: 16px;
    }

    .pincode-container input {
      padding: 8px 12px 8px 35px;
      border-radius: 12px;
      border: 1px solid #ddd;
      width: 190px;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .pincode-container input:focus {
      width: 170px;
      border-color: #000000;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
      outline: none;
    }

    .pincode-suggestions {
      position: absolute;
      top: 100%;
      left: 0;
      width: 250px;
      background: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 5px;
      margin-top: 5px;
      max-height: 250px;
      overflow-y: auto;
      z-index: 1000;
      display: none;
    }

    .pincode-suggestion {
      padding: 10px 15px;
      cursor: pointer;
      border-bottom: 1px solid #f2f2f2;
      transition: background 0.2s;
    }

    .pincode-suggestion:hover {
      background-color: #f8f9fa;
    }

    .pincode-address {
      font-size: 12px;
      color: #666;
      margin-top: 3px;
    }

    .coming-soon {
      padding: 12px 15px;
      color: #ff6b6b;
      text-align: center;
      font-weight: 500;
      border-bottom: 1px solid #f2f2f2;
    }

    .coming-soon .city-name {
      font-weight: 600;
    }

    .no-pincode {
      padding: 12px 15px;
      color: #777;
      text-align: center;
      font-style: italic;
    }

    /* Cart and Profile Icons */
    .cart-icon, .profile-icon {
      background: none;
      border: none;
      font-size: 1.3rem;
      color: var(--text);
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 50%;
      transition: all 0.3s;
      position: relative;
    }

    .cart-icon:hover, .profile-icon:hover {
      background: #f1f1f1;
      color: var(--primary);
    }

    .cart-count {
      position: absolute;
      top: -5px;
      right: -5px;
      background: var(--secondary);
      color: var(--white);
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: var(--fw-600);
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    /* Profile Menu */
    .profile-container {
      position: relative;
    }

    .profile-menu {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--white);
      border-radius: 5px;
      box-shadow: 0 2px 10px var(--shadow);
      min-width: 200px;
      margin-top: 0.5rem;
      animation: slideIn 0.3s ease;
      z-index: 100;
    }

    .profile-menu.active {
      display: block;
    }

    .profile-menu a {
      display: block;
      padding: 0.75rem 1rem;
      color: var(--text);
      text-decoration: none;
      transition: all 0.2s;
    }

    .profile-menu a:hover {
      background: #f1f1f1;
      color: var(--primary);
    }

    @keyframes slideIn {
      from { transform: translateY(-10px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    /* Cart Modal */
    .cart-modal {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      height: 100vh;
      background: var(--white);
      box-shadow: -2px 0 10px var(--shadow);
      transition: right 0.3s ease;
      padding: 1.5rem;
      z-index: 20;
      overflow-y: auto;
    }

    .cart-modal.active {
      right: 0;
    }

    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid #eee;
      padding-bottom: 1rem;
    }

    .cart-header h2 {
      font-size: 1.5rem;
      color: #2d3436;
    }

    .close-cart {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: #888;
      transition: color 0.2s ease;
    }

    .close-cart:hover {
      color: var(--secondary);
    }

    #cartItems {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
    }

    .cart-item {
      display: flex;
      align-items: center;
      padding: 15px 0;
      border-bottom: 1px solid #eee;
    }

    .cart-item-img {
      width: 70px;
      height: 70px;
      background-size: cover;
      background-position: center;
      border-radius: 8px;
      margin-right: 15px;
    }

    .cart-item-details {
      flex: 1;
    }

    .cart-item-name {
      font-size: 16px;
      font-weight: 600;
      color: #2d3436;
    }

    .cart-item-price {
      color: #636e72;
      font-size: 14px;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }

    .quantity-controls button {
      background: linear-gradient(135deg, #000000, #3e3e3e);
      color: #fff;
      border: none;
      padding: 6px 12px;
      cursor: pointer;
      border-radius: 6px;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .quantity-controls button:hover {
      transform: scale(1.05);
      background: linear-gradient(135deg, #000000, #3e3e3e);
    }

    .quantity-controls button:active {
      transform: scale(0.95);
    }

    .quantity-controls span {
      font-size: 15px;
    }

    .remove-item {
      background: none;
      border: none;
      color: #d63031;
      font-size: 18px;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .remove-item:hover {
      color: #b71c1c;
    }

    .empty-cart-message {
      text-align: center;
      color: #636e72;
      padding: 20px;
      font-size: 16px;
    }

    .cart-checkout {
      background: linear-gradient(135deg, #000000, #3e3e3e);
      color: #fff;
      border: none;
      padding: 14px;
      margin: 20px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .cart-checkout:hover {
      transform: scale(1.03);
      background: linear-gradient(135deg, #0873c4, #63a4ff);
    }

    .cart-checkout:active {
      transform: scale(0.97);
    }

 /* Modal Base Styles */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      z-index: 1000;
      overflow-y: auto;
      padding: 20px;
    }

    .modal.active {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      border-radius: 12px;
      width: 90%;
      max-width: 850px;
      position: relative;
      animation: slideIn 0.4s ease;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    @keyframes slideIn {
      from { transform: translateY(-100px) scale(0.9); opacity: 0; }
      to { transform: translateY(0) scale(1); opacity: 1; }
    }

    .closing {
      animation: slideOut 0.4s ease forwards;
    }

    @keyframes slideOut {
      from { transform: translateY(0) scale(1); opacity: 1; }
      to { transform: translateY(-100px) scale(0.9); opacity: 0; }
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      border-radius: 12px 12px 0 0;
      color: #fff;
    }

    .close-modal {
      font-size: 28px;
      cursor: pointer;
      color: #fff;
      transition: color 0.2s ease;
    }

    .close-modal:hover {
      color: #ec1010;
    }

    /* Auth Modal */
    #authTitle {
      font-size: 24px;
      font-weight: 700;
      color: #ffffff;
    }
    #authModal .modal-header {
      background: linear-gradient(135deg, #000000, #656565);
    }

    #authModal .modal-content {
      width: 40%;
      padding: 20px;
    }

    #authForm .form-group {
      margin-bottom: 15px;
    }

    #authForm label {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
    }

    #authForm input, #authForm select {
      width: 100%;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      transition: border-color 0.3s;
    }

    #authForm input:focus, #authForm select:focus {
      border-color: #2ecc71;
      box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
      outline: none;
    }

    .btn-primary {
      background-color: #000000;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 8px;
      cursor: pointer;
      width: 100%;
      font-size: 16px;
      margin-top: 10px;
    }

    .btn-primary:hover {
      background-color: #2f2f2f;
    }

    .btn-secondary {
      background-color: #000000;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 8px;
      cursor: pointer;
      width: 100%;
      font-size: 16px;
      margin-top: 10px;
    }

    .btn-secondary:hover {
      background-color: #1b5ebb;
    }

    .otp-container {
      display: none;
      margin-top: 20px;
    }

    .otp-container.active {
      display: block;
    }

    .otp-inputs {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin: 15px 0;
    }

    .otp-input {
      width: 50px;
      height: 50px;
      text-align: center;
      font-size: 24px;
      border: 1px solid #ddd;
      border-radius: 8px;
    }

    #otpTimerContainer {
      color: #000000;
      font-size: 14px;
    }

    #otpTimer {
      font-weight: bold;
    }

    .toggle-link {
      text-align: center;
      margin-top: 20px;
    }

    .toggle-link a {
      color: #000000;
      text-decoration: none;
    }

    .toggle-link a:hover {
      text-decoration: underline;
    }

    /* Booking Details Modal */
    .booking-details-modal {
      max-width: 750px;
    }

    .booking-details-modal .modal-header {
      background: linear-gradient(135deg, #000000, #585858);
    }

    .booking-details-content {
      padding: 20px;
      max-height: 500px;
      overflow-y: auto;
    }

    .booking-details-content h3 {
      margin: 25px 0 12px;
      font-size: 18px;
      font-weight: 600;
      color: #2d3436;
    }

    .user-info .form-group {
      margin-bottom: 15px;
    }

    .user-info input {
      width: 100%;
      padding: 10px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      font-size: 15px;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .user-info input:focus {
      border-color: #f39c12;
      box-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
      outline: none;
    }

    .error-message {
      color: #d63031;
      font-size: 13px;
      margin-top: 5px;
      display: block;
    }

    .address-selector {
      margin-bottom: 25px;
    }

    .address-selector textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      font-size: 15px;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .address-selector textarea:focus {
      border-color: #f39c12;
      box-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
      outline: none;
    }

    .date-time-selector {
      margin-bottom: 25px;
    }

    .date-options,
    .time-options {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .date-option,
    .time-option {
      padding: 12px 15px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .date-option:hover,
    .time-option:hover {
      transform: scale(1.03);
      background: #f1f3f5;
    }

    .date-option.selected,
    .time-option.selected {
      background: #f39c12;
      color: #fff;
      border-color: #f39c12;
    }

    .coupon-input {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 25px;
      align-items: center;
    }

    .coupon-input input {
      flex: 1;
      min-width: 150px;
      padding: 10px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      font-size: 15px;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .coupon-input input:focus {
      border-color: #f39c12;
      box-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
      outline: none;
    }

    .coupon-input input:disabled {
      background: #f1f3f5;
      cursor: not-allowed;
    }

    .coupon-input button {
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 600;
    }

    .coupon-status {
      font-size: 14px;
      color: #2ecc71;
      font-weight: 500;
    }

    .payment-summary {
      margin-bottom: 25px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      padding: 15px;
      background: #f8f9fa;
    }

    .payment-summary div {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-size: 15px;
    }

    .payment-methods {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 25px;
    }

    .payment-method {
      display: flex;
      align-items: center;
      padding: 12px 15px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .payment-method:hover {
      transform: scale(1.03);
    }

    .payment-method.selected {
      border-color: #f39c12;
      background: #fef5e7;
    }

    .payment-method img {
      width: 40px;
      height: 40px;
      margin-right: 12px;
    }

    .payment-method span {
      font-size: 15px;
      font-weight: 500;
    }

    .booking-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    /* My Bookings Modal */
    .my-bookings-modal {
      max-width: 850px;
    }

    .my-bookings-modal .modal-header {
      background: linear-gradient(135deg, #000000, #4c4c4c);
    }

    .booking-list {
      padding: 20px;
      max-height: 500px;
      overflow-y: auto;
    }

    .booking-item {
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      background: #fff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .booking-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .booking-item h4 {
      margin-bottom: 12px;
      font-size: 18px;
    }

    .booking-item p {
      margin-bottom: 8px;
      font-size: 15px;
    }

    .booking-status {
      color: #0984e3;
      font-weight: 600;
    }

/* Add just this minimal CSS for the tracking timeline */
.tracking-timeline {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  position: relative;
  padding: 0 10px;
}

/* Line connecting nodes */
.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 25px;
  right: 25px;
  height: 3px;
  background-color: #e0e0e0;
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 0;
  text-align: center;
}

.timeline-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 2px solid #e0e0e0;
  position: relative;
  z-index: 3;
}

/* Status styles line */ 
.timeline-item.completed .timeline-node {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

.timeline-item.active .timeline-node {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.timeline-item.cancelled .timeline-node {
  background-color: #F44336;
  border-color: #F44336;
  color: white;
}

/* Text styles */
.timeline-label {
  font-size: 12px;
  color: #666;
  font-weight: normal;
}

.timeline-item.completed .timeline-label,
.timeline-item.active .timeline-label {
  color: #4CAF50;
  font-weight: bold;
}

.timeline-item.cancelled .timeline-label {
  color: #F44336;
  font-weight: bold;
}

.timeline-date {
  font-size: 10px;
  color: #999;
}

/* Connected lines to completed steps  */
.timeline-item.completed:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%; 
  width: 100%;
  height: 3px;
  background-color: #4CAF50;
  z-index: 1;
}


/* Responsive layout for mobile or other devices */
@media (min-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .modal-content {
    width: 90%;
    max-width: 600px;
  }

  .carousel-item.card {
    width: 220px;
  }

  .view-more-content {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .booking-details-modal {
    max-width: 650px;
  }

  .my-bookings-modal {
    max-width: 650px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 1200px;
  }

  .nav-right {
    gap: 2rem;
  }

  .search-container input {
    width: 300px;
  }

  .search-container input:focus {
    width: 350px;
  }

  .pincode-container input {
    width: 200px;
  }

  .pincode-container input:focus {
    width: 220px;
  }

  .modal-content {
    max-width: 850px;
  }

  .carousel-item.card {
    width: 250px;
  }

  .view-more-content {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .booking-details-modal {
    max-width: 750px;
  }

  .my-bookings-modal {
    max-width: 850px;
  }
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
    padding: 1rem;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .search-container {
    width: 100%;
    margin-right: 0;
  }

  .search-container input {
    width: 100%;
  }

  .search-container input:focus {
    width: 100%;
  }

  .pincode-container {
    width: 100%;
    margin-right: 0;
  }

  .pincode-container input {
    width: 100%;
  }

  .pincode-container input:focus {
    width: 100%;
  }

  .pincode-suggestions {
    width: 100%;
  }

  .cart-modal {
    width: 100%;
    right: -100%;
  }

  .cart-modal.active {
    right: 0;
  }

  .modal-content {
    width: 95%;
  }

  #authModal .modal-content {
    width: 90%;
  }

  .carousel {
    padding: 0 20px;
  }

  .carousel-item.card {
    flex: 0 0 200px;
  }

  .carousel-control {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  .view-more-content {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 200px;
  }

  .booking-details-content {
    padding: 15px;
  }

  .booking-item {
    padding: 15px;
  }

  .tracking-timeline {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Responsive layout for mobile */
@media (max-width: 768px) {
  .tracking-timeline {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tracking-timeline::before {
    top: 25px;
    bottom: 25px;
    left: 25px;
    width: 3px;
    height: auto;
  }
  
  .timeline-item {
    flex-direction: row;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .timeline-node {
    margin-right: 15px;
    margin-bottom: 0;
  }
  
  .timeline-item:not(:last-child)::after {
    top: 40px;
    left: 15px;
    width: 3px;
    height: 100%;
  }
}

  .tracking-timeline::before {
    top: 25px;
    bottom: 25px;
    left: 15px;
    width: 3px;
    height: auto;
  }

  .timeline-item {
    flex-direction: row;
    margin-bottom: 15px;
    width: 100%;
  }

  .timeline-node {
    margin-right: 10px;
    margin-bottom: 0;
    width: 25px;
    height: 25px;
  }

  .timeline-item:not(:last-child)::after {
    top: 35px;
    left: 12px;
    width: 3px;
    height: 100%;
  }

  .timeline-label {
    font-size: 11px;
  }

  .timeline-date {
    font-size: 9px;
  }
}

    /* Confirmation Modal */
    .confirm-modal {
      max-width: 500px;
    }

    .confirm-modal .modal-header {
      background: linear-gradient(135deg, #000000, #333333);
      color: #fff;
    }

    .confirm-content {
      padding: 20px;
      max-height: 300px;
      overflow-y: auto;
      text-align: center;
    }

    .confirm-content p {
      font-size: 16px;
      margin-bottom: 20px;
    }

    .confirm-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    /* Profile Modal */
    .profile-modal .modal-header {
      background: linear-gradient(135deg, #000000, #2e2e2e);
    }

    .profile-content {
      padding: 20px;
    }

    .profile-avatar {
      text-align: center;
      margin-bottom: 20px;
    }

    .profile-avatar img {
      border: 2px solid #ddd;
      padding: 5px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
      font-weight: 500;
    }

    .form-group input, .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #dfe6e9;
      border-radius: 8px;
      font-size: 15px;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-group input:focus, .form-group textarea:focus {
      border-color: #1d1d1d;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
      outline: none;
    }

    .form-group input[readonly], .form-group textarea[readonly] {
      background: #f8f9fa;
      cursor: not-allowed;
    }

    .profile-actions {
      display: flex;
      gap: 12px;
      justify-content: space-between;
    }


/* Main Content */
main {
  margin-top: 76px; /* Header height */
  flex: 1;
}

/* Homepage Styles */
.home-container {
  max-width: 1400px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.welcome-section {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.welcome-section h1 {
  font-size: 3.3rem;
  margin-bottom: 20px;
  color: #000000;
  font-family: var(--ff-oxanium);
  line-height: 1.2;
}

@media (min-width: 992px) {
  .welcome-section h1 {
    font-size: 4rem;
  }
}

.welcome-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #4b5563;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #000000;
  color: white;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.video-section {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 4/5;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  /* Services Section */
  .section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    color: #2d3436;
    font-weight: 600;
  }

  .section-title::after {
    content: "";
    display: block;
    width: 350px;
    height: 4px;
    background: var(--black);
    margin: 15px auto 0;
    border-radius: 2px;
  }

  .carousel {
    position: relative;
    padding: 0 40px;
  }

  .carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-item {
    flex: 0 0 auto;
    width: 250px;
  }

  .carousel-control {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: all 0.3s;
  }

  .carousel-control:hover {
    background-color: var(--primary);
    color: white;
  }

  .carousel-prev {
    left: -10px;
  }

  .carousel-next {
    right: -10px;
  }

  /* Service Card */
  .card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }

  .card-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
  }

  .card-body {
    padding: 15px;
  }

  .card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 15px;
  }

  .card-price {
    font-size: 1.2rem;
    color: var(--black);
    font-weight: 600;
  }

  .btn-sm {
    padding: 8px 12px;
    font-size: 14px;
    background-color: var(--black);
    color: white;
    border: none;
  }

  .highlight-service {
    border: 2px solid #000000;
    animation: pulse 1s ease-in-out;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      gap: 20px;
    }

    .nav-right {
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    #searchInput,
    #pincodeInput {
      width: 100%;
    }

    .cart-modal {
      width: 100%;
      right: -100%;
    }

    .cart-modal.active {
      right: 0;
    }

    .modal-content {
      width: 95%;
    }

    .carousel-item.card {
      flex: 0 0 220px;
    }

    .view-more-modal .view-more-content {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }

  @media (max-width: 480px) {
    .logo {
      font-size: 1.4rem;
    }

    .section-title {
      font-size: 1.6rem;
    }

    .carousel-item.card {
      flex: 0 0 180px;
    }

    .card-img {
      height: 120px;
    }

    .card-title {
      font-size: 1.1rem;
    }

    .view-more-modal .view-more-content {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }
  
/* Girls Corner Section */
.h2.section-title {
  text-align: center;
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-700);
  font-size: 2.5rem;
  margin: 60px 0 40px;
}

.h2.section-title .span {
  color: var(--black);
}

.live-match-player {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.player {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  margin: 10px;
}

.img-holder {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.img-holder img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.img-holder:hover img {
  transform: scale(1.05);
}

.live-match-detail {
  flex: 1;
  min-width: 300px;
  text-align: center;
  padding: 20px;
}

.live-match-subtitle {
  color: var(--black);
  font-weight: var(--fw-600);
  margin-bottom: 20px;
}

/* How It Works Section-------------------------------------------------- */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 50px;
}

.step {
  text-align: center;
  max-width: 250px;
  margin: 20px;
}

.step-icon {
  width: 100px;
  height: 100px;
  background-color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 36px;
}

.step h3 {
  margin-bottom: 10px;
  color: #333;
}

.step p {
  color: #666;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f0f3ff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  background-color: #f0f3ff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info h4 {
  margin-bottom: 5px;
  color: #333;
}

.author-info p {
  color: #666;
  font-size: 14px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8eaf8, #e5e7f4);
  color: rgb(0, 0, 0);
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta .btn {
  background-color: rgb(0, 0, 0);
  color: #ffffff;
  padding: 12px 30px;
  font-size: 18px;
}

.cta .btn:hover {
  background-color: #bebaba;
}


/* Testimonials */
.testimonials {
  padding: 64px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background-color: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #f1c40f;
  margin-bottom: 16px;
}

.testimonial-text {
  color: #555;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: bold;
}

/* Footer */
/* Footer */
footer {
  background-color: #000000;
  color: white;
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-desc {
  color: #bbb;
  line-height: 1.6;
}

.footer-heading {
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter {
  display: flex;
  position: relative;
}

.newsletter-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.newsletter-btn {
  background-color: #2e2e2e;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-btn:hover {
  background-color: #2980b9;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #333;
  color: #bbb;
  font-size: 14px;
}

.social-list {
  display: flex;
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 20px 0;
  list-style: none;
}

.social-link {
  background: #2e2e2e;
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  display: inline-block;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 24px;
  transition: background 0.3s;
}

.social-link:hover {
  background: #2980b9;
}


/* Page Modal */
.page-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.page-modal.active {
  opacity: 1;
  visibility: visible;
}

.page-modal.closing {
  opacity: 0;
}

.page-content-container {
  background: white;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.page-modal.active .page-content-container {
  transform: translateY(0);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.page-header h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
}

.close-page {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.close-page:hover {
  color: #000;
}

.page-content {
  padding: 20px;
}

/* FAQ styling */
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: #444;
}

.faq-item p {
  color: #666;
}

/* Terms & Privacy styling */
.terms h3, .privacy h3, .refund h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
}

/* Contact styling */
.contact-info {
  margin: 20px 0;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-method i {
  width: 40px;
  height: 40px;
  background-color: #f8f8f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #444;
}

.contact-form {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}
.btn{
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #1b89bc;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) rotateY(0deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 8px;
    z-index: -1;
    transform: translateZ(-10px);
    transform-origin: bottom;
    transition: all 0.3s ease;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2) inset;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotateY(0deg);
}

.back-to-top:hover {
    transform: translateY(-5px) rotateY(10deg);
    background-color: #f3f3f3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.back-to-top:hover::before {
    transform: translateZ(-15px) scaleY(0.9);
}

.back-to-top:active {
    transform: translateY(0) rotateY(0deg);
    transition: all 0.1s ease;
}

.back-to-top i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}
