/* ===== CONTACT SECTION STYLES ===== */
.contact-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 71, 159, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.section-subtitle {
  color: #9168ae;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: #2e2e2e;
  margin: 15px 0 25px 0;
  line-height: 1.2;
}

.contact-desc {
  font-size: 16px;
  color: #6a6972;
  line-height: 1.8;
}

/* Contact Features */
.contact-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9168ae 0%, #7c479f 100%);
  color: white;
  border-radius: 10px;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item h5 {
  font-size: 18px;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 14px;
  color: #6a6972;
  margin: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(124, 71, 159, 0.15);
  position: relative;
  z-index: 10;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #2e2e2e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: #9168ae;
  font-size: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #2e2e2e;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #9168ae;
  background: white;
  box-shadow: 0 0 0 3px rgba(145, 104, 174, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.submit-btn {
  padding: 14px 30px;
  background: linear-gradient(135deg, #9168ae 0%, #7c479f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(145, 104, 174, 0.3);
}

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

.submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== TOAST NOTIFICATION STYLES ===== */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  transform: translateX(16px);
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--text-h);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  z-index: 9999;
  width: min(320px, calc(100vw - 32px));
  animation: toastSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toast.show {
  display: flex;
}

.toast.success {
  border-left-color: var(--accent);
}

.toast.error {
  border-left-color: var(--accent);
}

.toast.info {
  border-left-color: var(--accent);
}

.toast i {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.dark .toast {
  background: #131a27;
  border-color: rgba(148, 163, 184, 0.25);
  border-left-color: #c084fc;
  color: #e5e7eb;
  box-shadow: 0 10px 24px rgba(2, 6, 16, 0.35);
}

.dark .toast i {
  color: #c084fc;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastDropOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(24px);
    opacity: 0;
  }
}

.toast.hide {
  animation: toastDropOut 0.3s ease;
}

@media (max-width: 576px) {
  .toast {
    right: 10px;
    bottom: 10px;
    width: min(320px, calc(100vw - 20px));
  }
}

/* ===== COOKIE POPUP STYLES ===== */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.58);
  backdrop-filter: blur(6px);
  padding: 24px;
  z-index: 9998;
  animation: popupFadeIn 0.35s ease;
}

.cookie-content {
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(145deg, #2e2e2e 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  animation: popupCardIn 0.35s ease;
}

.cookie-icon {
  font-size: 40px;
  color: #9168ae;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text h5 {
  color: white;
  font-size: 16px;
  margin-bottom: 5px;
}

.cookie-text p {
  color: #b0b0b0;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.accept-btn {
  background: linear-gradient(135deg, #9168ae 0%, #7c479f 100%);
  color: white;
}

.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(145, 104, 174, 0.3);
}

.reject-btn {
  background: transparent;
  color: #b0b0b0;
  border: 1px solid #666;
}

.reject-btn:hover {
  border-color: #9168ae;
  color: #9168ae;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupCardIn {
  from {
    transform: translateY(10px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes popupFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes popupCardOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(12px) scale(0.96);
    opacity: 0;
  }
}

.cookie-popup.hide {
  animation: popupFadeOut 0.3s ease forwards;
}

.cookie-popup.hide .cookie-content {
  animation: popupCardOut 0.3s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0 !important;
  }

  .contact-title {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .contact-features {
    gap: 15px;
  }

  .toast {
    top: 78px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    width: calc(100vw - 24px);
    max-width: 520px;
  }

  .cookie-popup {
    padding: 14px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    border-radius: 14px;
    padding: 18px;
  }

  .cookie-icon {
    order: 1;
  }

  .cookie-text {
    order: 2;
  }

  .cookie-actions {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 24px;
  }

  .contact-form-wrapper {
    padding: 20px 15px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .feature-item {
    gap: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
