/* Contact Page Styles */
.contact-professional {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  border-radius: 48px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2.5rem;
  margin-top: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.contact-info {
  background: rgba(10, 40, 48, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 36px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}

.contact-info h3 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.contact-info p {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  border-radius: 16px;
  transition: var(--transition-default);
}

.contact-detail-item:hover {
  background: rgba(212,175,55,0.1);
  transform: translateX(5px);
}

.contact-detail-item i {
  width: 55px;
  height: 55px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  border: 1px dashed var(--gold);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-detail-item:hover i {
  transform: rotate(360deg);
  background: var(--gold);
  color: var(--deep-teal);
  border-style: solid;
}

.contact-detail-item .detail h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.3rem;
}

.contact-detail-item .detail span {
  color: var(--soft-gold);
  word-break: break-word;
  font-size: 1rem;
}

.social-links-compact {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.2rem;
}

.social-links-compact a {
  color: var(--gold);
  font-size: 1.8rem;
  opacity: 0.8;
  transition: var(--transition-smooth);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
}

.social-links-compact a:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.1);
  background: var(--gold);
  color: var(--deep-teal);
  border-color: var(--gold);
  box-shadow: 0 10px 20px rgba(212,175,55,0.3);
}

.order-box.enhanced {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 36px;
  padding: 2.5rem;
  margin: 0;
  box-shadow: 0 25px 45px -15px black;
}

.order-box.enhanced h2 {
  display: block;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.order-box.enhanced h2:after {
  width: 60px;
  height: 3px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  text-align: left;
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--soft-gold);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.form-group label i {
  margin-right: 6px;
  color: var(--gold);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #1c414f;
  border: 2px solid #3a6e7a;
  border-radius: 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  background-color: #235462;
  transform: scale(1.01);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--soft-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8A9CA5;
  opacity: 0.7;
}

/* Form Validation Styles */
.field-error {
  font-size: 0.75rem;
  color: #ff6b6b;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: fadeIn 0.2s ease-out;
  background: rgba(220, 53, 69, 0.1);
  padding: 4px 10px;
  border-radius: 16px;
  border-left: 2px solid #dc3545;
}

.field-invalid {
  border-color: #ff6b6b !important;
  background-color: rgba(220, 53, 69, 0.05) !important;
}

.field-valid {
  border-color: #4CAF50 !important;
  background-color: rgba(76, 175, 80, 0.05) !important;
}

/* Form Notifications */
.form-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  margin-bottom: 20px;
  animation: slideIn 0.3s ease-out;
  position: relative;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
}

.form-notification.error {
  background: rgba(220, 53, 69, 0.15);
  border-left: 3px solid #dc3545;
  color: #ffa0a0;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-notification.success {
  background: rgba(76, 175, 80, 0.15);
  border-left: 3px solid #4CAF50;
  color: #a5d6a5;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-notification i {
  font-size: 1.2rem;
}

.notification-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.notification-close:hover {
  opacity: 1;
}

/* Professional Success Message */
.success-message {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(10, 47, 56, 0.95), rgba(5, 34, 41, 0.95));
  border-radius: 28px;
  border: 1px solid var(--gold);
  animation: fadeInScale 0.4s ease-out;
  max-width: 100%;
  overflow-x: hidden;
}

/* Animated Checkmark */
.success-checkmark {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
}

.check-icon {
  width: 70px;
  height: 70px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 3px solid #4CAF50;
}

.check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.check-icon::before,
.check-icon::after {
  content: '';
  height: 100px;
  position: absolute;
  background: transparent;
  transform: rotate(-45deg);
}

.icon-line {
  height: 5px;
  background-color: #4CAF50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 42px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 3px solid rgba(76, 175, 80, 0.3);
}

.icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: rgba(10, 47, 56, 0.95);
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }
  5% {
    transform: rotate(-45deg);
  }
  12% {
    transform: rotate(-405deg);
  }
  100% {
    transform: rotate(-405deg);
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 42px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-message h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.success-message > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Order ID Container */
.order-id-container {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  border-radius: 20px;
  padding: 1rem;
  margin: 1.2rem 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.order-id-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.order-id-value-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-id-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  flex: 1;
}

/* Professional Copy Button */
.copy-id-btn {
  background: linear-gradient(135deg, var(--gold), #c9a227);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  color: var(--deep-teal);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-id-btn i {
  font-size: 0.8rem;
}

.copy-id-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

/* Success Timeline */
.success-timeline {
  margin: 1.5rem 0;
  text-align: left;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.15);
}

.timeline-step:last-child {
  border-bottom: none;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon i {
  font-size: 1.2rem;
  color: var(--gold);
}

.step-info {
  flex: 1;
}

.step-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.step-info span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* New Message Button */
.btn-new-message {
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn-new-message:hover {
  background: var(--gold);
  color: var(--deep-teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Submit Button - Smaller Professional */
.btn-submit {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold), #b38f2c);
  border: none;
  border-radius: 40px;
  color: var(--deep-teal);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-submit i {
  font-size: 0.9rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Loading */
.form-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 40px;
  margin: 10px 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

/* Responsive */
@media (max-width: 900px) {
  .contact-professional {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .contact-professional {
    padding: 1rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .order-box.enhanced {
    padding: 1.5rem;
  }
  
  .contact-info h3 {
    font-size: 1.6rem;
  }
  
  .order-id-value-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .order-id-value {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .copy-id-btn {
    justify-content: center;
  }
  
  .success-timeline {
    margin: 1rem 0;
  }
  
  .timeline-step {
    gap: 0.8rem;
    padding: 0.6rem 0;
  }
  
  .step-icon {
    width: 35px;
    height: 35px;
  }
  
  .step-icon i {
    font-size: 1rem;
  }
  
  .step-info strong {
    font-size: 0.8rem;
  }
  
  .step-info span {
    font-size: 0.7rem;
  }
  
  .success-message {
    padding: 1.2rem;
  }
  
  .success-message h3 {
    font-size: 1.3rem;
  }
  
  .btn-new-message {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .btn-submit {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .contact-detail-item i {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .contact-detail-item .detail h4 {
    font-size: 1rem;
  }
  
  .contact-detail-item .detail span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .order-box.enhanced h2 {
    font-size: 1.6rem;
  }
  
  .success-checkmark {
    width: 55px;
    height: 55px;
  }
  
  .check-icon {
    width: 55px;
    height: 55px;
  }
  
  .icon-line.line-tip {
    top: 33px;
    left: 11px;
    width: 20px;
  }
  
  .icon-line.line-long {
    top: 29px;
    right: 6px;
    width: 37px;
  }
}