/* Appointment Page Styles */
.appointment-hero-section {
    background: linear-gradient(135deg, #ffffff, #ddf1f9, #fcffff, #e1ebfb, #ffffff);
    padding: 100px 0 60px;
    margin-top: 66px;
    text-align: center;
}

.appointment-hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.appointment-hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.appointment-content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.appointment-info {
    height: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.appointment-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.appointment-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: #00a1e4;
    font-size: 1.2rem;
    margin-right: 10px;
}

.feature-item span {
    color: #333;
    font-weight: 500;
}

.appointment-form-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.appointment-form-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.appointment-form-container p {
    color: #666;
    margin-bottom: 2rem;
}

.appointment-form .form-group {
    margin-bottom: 1.5rem;
}

.appointment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.appointment-form .required {
    color: #e74c3c;
}

.appointment-form input,
.appointment-form textarea,
.appointment-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
    border-color: #00a1e4;
    box-shadow: 0 0 0 3px rgba(0, 161, 228, 0.2);
    outline: none;
}

.appointment-form .submit-btn {
    background: linear-gradient(135deg, #00a1e4, #0056b3);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.appointment-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.appointment-form .submit-btn:active {
    transform: translateY(-1px);
}

.form-status {
    margin-top: 1.5rem;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.d-none {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .appointment-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .appointment-hero-section {
        padding: 80px 0 40px;
    }
    
    .appointment-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .appointment-form-container,
    .appointment-info {
        padding: 25px 20px;
    }
}

.appointment-form .checkbox-group {
    margin-top: 0.5rem;
}

.appointment-form .form-check {
    margin-bottom: 0.5rem;
}

.appointment-form .form-check-input {
    width: auto;
    margin-right: 8px;
}

.appointment-form .form-check-label {
    display: inline;
    font-weight: normal;
}

/* Spinner for loading state */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error message styling */
.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.form-error-container {
  background-color: #fdecea;
  border-left: 4px solid #e74c3c;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.error-icon {
  color: #e74c3c;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Success message styling */
.success-message {
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: center;
}

.success-icon {
  color: #2ecc71;
  font-size: 48px;
  margin-bottom: 15px;
}

/* Field with error */
.error {
  border-color: #e74c3c !important;
}

/* Main container styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  color: #00a1e4;
  margin-bottom: 15px;
}

.page-header .lead {
  font-size: 1.2rem;
  color: #555;
}

/* Form container */
.appointment-form-container {
  max-width: 900px;
  margin: 0 auto;
}

.card {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
}

.card-body {
  padding: 30px;
}

.card-title {
  color: #00a1e4;
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Two-column form layout */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.form-column {
  flex: 1;
  padding: 0 15px;
  min-width: 250px;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #00a1e4;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 161, 228, 0.1);
}

textarea.form-control {
  resize: vertical;
}

/* Checkbox styling */
.checkbox-group {
  margin-top: 10px;
}

.form-check {
  margin-bottom: 10px;
}

.form-check-input {
  margin-right: 10px;
}

.form-check-label {
  font-weight: normal;
}

/* Required field indicator */
.required {
  color: #e74c3c;
}

/* Submit button */
.form-submit {
  margin-top: 30px;
  text-align: center;
}

.btn-primary {
  background-color: #00a1e4;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0089c3;
}

/* Error and success messages */
.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.form-error-container {
  background-color: #fdecea;
  border-left: 4px solid #e74c3c;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}



.success-icon {
  color: #2ecc71;
  font-size: 48px;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  
  .form-column {
    width: 100%;
  }
  
  .card-body {
    padding: 20px;
  }
}

/* Main container */
.appointment-container {
  max-width: 100%;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

/* Form wrapper */
.appointment-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Form card */
.form-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

/* Form title */
.form-title {
  color: #00a1e4;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

/* Form grid for two-column layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Form fields */
.form-field {
  margin-bottom: 25px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #00a1e4;
  box-shadow: 0 0 0 3px rgba(0, 161, 228, 0.1);
  outline: none;
}

/* Systems field spans full width */
.systems-field {
  grid-column: 1 / -1;
}

/* Checkbox styling */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.form-check-input {
  width: auto;
  margin-right: 10px;
}

.form-check-label {
  margin-bottom: 0;
  font-weight: normal;
}

/* Required field indicator */
.required {
  color: #e74c3c;
}

/* Submit button */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.btn-primary {
  background-color: #00a1e4;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #0089c3;
}

/* Spinner for loading state */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error and success messages */
.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.form-error-container {
  background-color: #fdecea;
  border-left: 4px solid #e74c3c;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: 25px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Hero Section - Taller with better styling */
.hero-section {
  background: linear-gradient(to top right,  #ffffff,#beecff,#fcffff, #fbfae1, #ffffff);
  padding: 120px 0 100px; /* Increased height */
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.hero-title {
  color: #00a1e4;
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 0;
    position: relative;
    z-index: 2;
}


/* Content card - enhanced for better contrast against background */
.content-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
  border-top: 10px solid #00a1e4;
  margin-top: 30px;
}

/* Form styling to match site */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Checkbox styling to match site */
.checkbox-container {
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.checkbox-item label {
  margin-bottom: 0;
  font-weight: normal;
}

/* Required field indicator */
.required {
  color: #dc3545;
}

/* Button styling to match site */
.btn-primary {
  color: #fff;
  background-color: #00a1e4;
  border-color: #00a1e4;
  padding: 12px 30px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.15s ease-in-out;
}

.btn-primary:hover {
  background-color: #0089c3;
  border-color: #0089c3;
}

/* Spinner for loading state */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error and success messages */
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.form-error-container {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}



/* Text alignment utility */
.text-center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px; /* Still taller but adjusted for mobile */
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .bg-fixed-wrapper {
    background-attachment: scroll; /* Fixed backgrounds can be problematic on mobile */
  }
  
  .content-card {
    padding: 25px;
  }
}

.nav-link.demo-nav-btn.active {
  background-color: #4285f4;
  color: white;
}