/* ========================
   RESET + BASE STYLES
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  min-height: 100vh;
  background: url('./image/team.png') no-repeat center center fixed;
  background-size: cover;
  color: rgb(26, 153, 83) !important;
  padding-top: 90px; /* Prevent content hiding under navbar */
  position: relative;
}

/* Overlay to reduce background image opacity */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

body > * {
  position: relative;
  z-index: 1;
}

.mainContiner {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.booking, .customer-details, .payment-section {
  flex: 2; /* main form area */
  min-width: 300px;
}

.summary {
  flex: 1; /* summary sidebar */
  min-width: 250px;
  position: sticky;
  top: 100px; /* keeps summary visible while scrolling */
}




/* ========================
   INTRO
======================== */
.intro {
  text-align: center;
  padding: 60px 20px 40px;
}

.intro h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #317f93;
}

.intro p {
  font-size: 18px;
  color: #240ee7;
}

/* ========================
   BOOKING FORM
======================== */
.booking {
  padding: 40px 20px;
}

.form-container {
  background: white;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  color: blue;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2563eb;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid #2563eb;
  font-size: 16px;
}

/* Buttons */
.btn {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background: #e26b33;
}



.form-container { margin: 20px 0; }
  .form-group { margin-bottom: 15px; }
  .btn { padding: 10px 20px; cursor: pointer; }
  .summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .summary-label { font-weight: 600; }
  .full-width { grid-column: 1 / -1; border: none; border-top: 1px solid #ccc; margin: 10px 0; }
  .payment-methods { display: none; margin-top: 20px; }
  .payment-option { margin-bottom: 10px; }

/* ========================
   SUMMARY
======================== */
.summary {
  padding: 50px 20px;
}

.summary-container {
  background: white;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.summary-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2563eb;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  align-items: center;
}

.summary-label {
  justify-self: start;
  font-weight: 600;
  color: #065f46;
}

.summary-value {
  text-align: end;
  font-weight: 500;
  color: #2563eb;
}

.summary-grid hr.full-width {
  grid-column: 1 / span 2;
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.summary-value#totalPay {
  font-weight: 700;
  color: #1e40af;
}

/* ========================
   FOOTER
======================== */
.footer {
  background: #2563eb;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: 50px;
}

/* ========================
   RESPONSIVE (MOBILE)
======================== */
@media (max-width: 768px) {
  .navbar .container {
    padding: 15px 20px;
  }

  .mainContiner {
    flex-direction: column;
  }
  .summary {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  /* Hamburger visible on mobile */
  .hamburger {
    display: block;
  }

  /* Hide menu initially */
  .menu {
    display: none;
    position: absolute;
    top: 100%; /* sits directly below navbar */
    right: 0;
    background: #e26b33;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 60%;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    font-size: 18px;
    padding: 10px;
    text-align: center;
  }

  .book-btn {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

  /* Summary responsive */
  .summary-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .summary-label,
  .summary-value {
    justify-self: start;
    text-align: left;
  }

  .banner-text {
    flex: 1;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%);
  }
}



  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }
  
  body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logoImageDiv a img {
    border-radius: 5px;
  }

  .logo img {
    height: 40px;
  }
  
  .menu {
    display: flex;
    gap: 25px;
  }
  
  .menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
  }
  
  .menu a:hover {
    color: #4a6cf7;
  }
  
  .book-btn {
    background-color: #4a6cf7;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
  }
  
  .book-btn:hover {
    background-color: #3b5be3;
  }
  
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .intro {
    text-align: center;
    padding: 50px 5%;
    /* background: linear-gradient(135deg, #4a6cf7 0%, #3b5be3 100%); */
    color: white;
  }
  
  .intro h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .intro p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .booking, .summary, .customer-details, .payment-section {
    padding: 40px 5%;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
  }
  
  .form-container h2 {
    margin-bottom: 25px;
    color: #e26b33;
    font-size: 1.8rem;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    /* color: #444; */
  }
  
  .form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    border: 2px solid #317f93;
  }
  
  .form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
  }
  
  .btn {
    background-color: #4a6cf7;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    margin-top: 10px;
  }
  
  .btn:hover {
    background-color: #3b5be3;
  }
  
  .btn-secondary {
    background-color: #f1f1f1;
    color: #333;
  }
  
  .btn-secondary:hover {
    background-color: #e2e2e2;
  }
  
  .summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
  }
  
  .summary-label {
    font-weight: 600;
  }
  
  .full-width {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
  }
  
  .payment-methods {
    margin-top: 30px;
  }
  
  .payment-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
  }
  
  .payment-option:hover {
    border-color: #4a6cf7;
  }
  
  .payment-option.selected {
    border-color: #4a6cf7;
    background-color: rgba(74, 108, 247, 0.05);
  }
  
  .payment-option img {
    max-width: 150px;
    margin-top: 10px;
  }
  
  .footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 50px;
  }
  
  /* Progress Bar Styles */
  .progressbar {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 5%;
    counter-reset: step;
  }
  
  .progress-step {
    position: relative;
    text-align: center;
    flex: 1;
  }
  
  .progress-step:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 2px solid #ddd;
    display: block;
    text-align: center;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-color: white;
    z-index: 2;
    position: relative;
  }
  
  .progress-step:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ddd;
    top: 15px;
    left: -50%;
    z-index: 1;
  }
  
  .progress-step:first-child:after {
    content: none;
  }
  
  .progress-step.active:before {
    border-color: #4a6cf7;
    background-color: #4a6cf7;
    color: #e26b33;
  }
  
  .progress-step.active:after {
    background: #4a6cf7;
  }
  
  .progress-step p {
    font-size: 12px;
    color: #666;
  }
  
  .progress-step.active p {
    color: #e26b33;
    font-weight: 600;
  }
  
  /* Payment Form Styles */
  .payment-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 20px;
  }
  
  .payment-header {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .payment-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .card-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
  }
  
  .card-icons img {
    height: 30px;
  }
  
  .payment-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .payment-row .form-group {
    flex: 1;
  }
  
  .payment-checkbox {
    display: flex;
    align-items: center;
    margin: 25px 0;
  }
  
  .payment-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
  }
  
  .payment-checkbox label {
    color: #4a5568;
    font-weight: 500;
  }
  
  .amount-details {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
  }
  
  .amount-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #4a5568;
  }
  
  .amount-row.total {
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    color: #2d3748;
    font-size: 18px;
  }
  
  .secure-note {
    text-align: center;
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
  }
  
  .secure-note i {
    margin-right: 5px;
    color: #48bb78;
  }
  
  .error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
  }
  
  .form-group.error input, 
  .form-group.error select {
    border-color: #e53e3e;
  }
  
  .form-group.error .error-message {
    display: block;
  }
  
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
    
    .menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background-color: white;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .menu.show {
      display: flex;
    }
    
    .payment-row {
      flex-direction: column;
      gap: 0;
    }
    
    .intro h1 {
      font-size: 2rem;
    }
    
    .intro p {
      font-size: 1rem;
    }
    
    .progress-step p {
      display: none;
    }
    
    .progress-step:after {
      top: 15px;
    }
    
    .btn {
      width: 100%;
      margin-right: 0;
    }
  }
