/*==================== CUSTOM UMRAH PACKAGE SECTION ====================*/
:root {
  --primary: #faa61a;
  --primary-dark: #e59408;
  --secondary: #000;
  --text-light: #f9f9f9;
  --text-dark: #333;
  --card-bg: rgba(255, 255, 255, 0.95);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/cutomize-image.png") no-repeat center center fixed;
  background-size: cover;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.custom-umrah-section {
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  background: var(--card-bg);
  border: 2px dotted var(--primary);
  border-radius: var(--border-radius);
  width: 100%;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.form-wrapper h2 {
  font-weight: 700;
  color: white;
  font-size: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary-dark);
}

.form-check-label {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.dotted-border {
  border-right: 2px dotted var(--primary);
}

.form-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.small-input {
  max-width: 200px;
  width: 100%;
}

.custom-dropdown .dropdown-toggle {
  text-align: left;
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  color: var(--text-dark);
  padding: 8px 12px;
  width: 100%;
  display: flex;
  align-items: center;
}

.custom-dropdown .dropdown-menu {
  max-width: 100%;
  border: 1px solid var(--primary-dark);
  border-radius: var(--border-radius);
  padding: 10px;
}

.room-row {
  padding: 8px 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.room-row:last-child {
  border-bottom: none;
}

/* Counter buttons */
.room-row .counter button {
  padding: 4px 8px;
  font-size: 0.9rem;
}

.room-row .counter span {
  min-width: 30px;
  text-align: center;
  display: inline-block;
}

/* Theme icon color */
.theme-icon {
  color: var(--primary);
}

.theme-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: var(--border-radius);
}
.theme-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.theme-outline-btn {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: var(--border-radius);
}
.theme-outline-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.dotted-divider {
  border: none;
  border-top: 2px dotted var(--primary);
  margin: 20px 0;
}

.traveller-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.traveller-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 150px;
}

.theme-label {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

/* All form-control & form-select theme border */
.form-control,
.form-select {
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
}

/* On focus, no blue shadow, just theme border */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.2rem rgba(250, 166, 26, 0.25);
  outline: none;
}

/* Icon container */
.input-group-text {
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.input-group-text i {
  color: var(--primary);
}

.input-group-text:hover {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.input-group-text:hover i {
  color: #fff;
}

/*==================== MODAL STYLES ====================*/

.modal-header {
  border-radius: 12px 12px 0 0;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  ) !important;
  padding: 1.5rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title i {
  font-size: 1.8rem;
  margin-right: 10px;
}

.modal-body {
  padding: 2rem;
}

.modal-section {
  background: var(--text-light);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modal-section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.modal-section h5 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(250, 166, 26, 0.2);
  padding-bottom: 0.5rem;
}

.modal-section h5 i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.summary-section {
  background: linear-gradient(135deg, #f6fff6, #e8f5e8);
  border-left: 4px solid #28a745;
}

.summary-section h5 {
  color: #28a745;
  border-bottom: 2px solid rgba(40, 167, 69, 0.2);
}

.modal-footer {
  border-top: 2px dotted var(--primary);
  padding: 1.5rem;
  background: rgba(249, 249, 249, 0.8);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: scale(1.05);
}

.btn-whatsapp i {
  margin-right: 8px;
}

.umrah-details-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.umrah-detail-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
  margin-bottom: 1rem;
}

.umrah-detail-card h6 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.room-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
}

.room-type {
  display: flex;
  align-items: center;
  gap: 5px;
}

.room-type i {
  color: var(--primary);
}

/*==================== RESPONSIVE MEDIA QUERIES ====================*/
@media (max-width: 1200px) {
  .dotted-border {
    border-right: none;
    border-bottom: 2px dotted var(--primary);
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .form-wrapper h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .form-wrapper h2 {
    font-size: 1.6rem;
  }

  .small-input {
    max-width: 100%;
  }

  .traveller-row {
    flex-direction: column;
  }

  .traveller-item {
    flex: 1 1 100%;
  }

  .location-row > div {
    margin-bottom: 15px;
  }

  .location-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .custom-umrah-section {
    padding: 20px 10px;
  }

  .form-wrapper h2 {
    font-size: 1.5rem;
  }

  .theme-label {
    font-size: 1rem;
  }

  .theme-btn,
  .theme-outline-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .custom-dropdown .dropdown-toggle {
    font-size: 0.9rem;
  }

  .form-container {
    padding: 15px !important;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-section {
    padding: 1rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 10px;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .form-wrapper h2 {
    font-size: 1.4rem;
  }

  .form-label,
  .form-check-label {
    font-size: 0.9rem;
  }

  .small-input {
    max-width: 100%;
  }

  .room-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .room-row .counter {
    margin-top: 8px;
  }

  .dotted-border {
    padding-bottom: 20px;
  }

  .modal-title {
    font-size: 1.2rem;
  }
}
