/* ─── APPOINTMENT PAGE STYLES ───────────────────────────── */

/* Appointment Hero Section */
.appointment-hero {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.5) 0%, rgba(26, 111, 191, 0.5) 100%),
              url('/images/hero2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.appointment-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6),
              radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.appointment-hero .center {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease-out;
}

.appointment-hero .sec-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.appointment-hero .sec-title {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  animation: slideInLeft 1.4s ease-out;
}

.appointment-hero .sec-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 1.6s ease-out;
}

.appointment-hero .divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 3s infinite;
}

/* Appointment Section */
.appointment-section {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.05) 0%, rgba(26, 111, 191, 0.05) 100%);
  padding: 40px 0;
}

.appointment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Appointment Info Section */
.appointment-info {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.appointment-info .sec-label {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.1), rgba(26, 111, 191, 0.1));
  color: #0fa89e;
  border: 1px solid rgba(15, 168, 158, 0.2);
}

.appointment-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.appointment-info .italic {
  font-style: italic;
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 20px;
  display: block;
}

.appointment-info .appt-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  margin: 30px 0;
  border-radius: 2px;
}

.appointment-info p {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.appointment-info strong {
  color: #0fa89e;
  font-weight: 700;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.05), rgba(26, 111, 191, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(15, 168, 158, 0.1);
  transition: all 0.3s ease;
}

.contact-row:hover {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.1), rgba(26, 111, 191, 0.1));
  transform: translateY(-2px);
}

.c-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-row strong {
  color: #2c3e50;
  font-weight: 700;
  font-size: 1rem;
}

.phone-link {
  color: #0fa89e;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.phone-link:hover {
  color: #1a6fbf;
  text-decoration: underline;
}

/* Appointment Form Section */
.appointment-form {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.form-section {
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.05), rgba(26, 111, 191, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(15, 168, 158, 0.1);
  transition: all 0.3s ease;
}

.form-section:hover {
  background: linear-gradient(135deg, rgba(15, 168, 158, 0.08), rgba(26, 111, 191, 0.08));
}

.form-section h3 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section h3 i {
  color: #0fa89e;
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.f-group {
  position: relative;
}

.f-group.span2 {
  grid-column: span 2;
}

.f-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.95rem;
}

.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(15, 168, 158, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  color: #2c3e50;
  background: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: #0fa89e;
  box-shadow: 0 0 0 3px rgba(15, 168, 158, 0.1);
}

.f-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0fa89e, #1a6fbf);
  transform: none;
  box-shadow: none;
}

.submit-btn:active {
  transform: translateY(0);
}

/* Alert Messages */
.alert {
  padding: 20px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideInDown 0.5s ease-out;
}

.alert-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
  color: #155724;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
  color: #721c24;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert i {
  font-size: 1.2rem;
}

/* Error Messages */
.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

.validation-message {
  font-size: 0.85rem;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

.validation-message.error {
  color: #dc3545;
}

.validation-message.warning {
  color: #856404;
}

.validation-message.success {
  color: #28a745;
}

.error-summary {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
  color: #721c24;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.error-summary h4 {
  margin-bottom: 15px;
  color: #721c24;
  font-weight: 700;
}

.error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.error-summary li {
  margin-bottom: 8px;
}

/* Input Validation States */
.input-field {
  transition: all 0.3s ease;
}

.input-field.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-field.warning {
  border-color: #856404 !important;
  box-shadow: 0 0 0 3px rgba(133, 100, 4, 0.1);
}

.input-field.success {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .appointment-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .appointment-info {
    padding: 40px 30px;
  }
  
  .appointment-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .appointment-hero {
    padding: 100px 0 60px;
  }
  
  .appointment-section {
    padding: 60px 0;
  }
  
  .appointment-wrap {
    gap: 30px;
  }
  
  .appointment-info {
    padding: 30px 20px;
  }
  
  .appointment-form {
    padding: 30px 20px;
  }
  
  .appointment-info h2 {
    font-size: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .f-group.span2 {
    grid-column: span 1;
  }
  
  .form-section {
    padding: 20px;
  }
  
  .contact-row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
