 /* ===== MODERN CONTACT SECTION ===== */
.contact-container {
  padding: 5rem 0;
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

/* Contact Illustration Side */
.contact-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-illustration img {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-bottom: 2rem;
}

.contact-info {
  width: 100%;
  max-width: 380px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 204, 0, 0.05);
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 204, 0, 0.1);
  transform: translateX(5px);
}

.contact-method svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--text-color);
  font-weight: var(--weight-semibold);
}

.contact-method p {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
}

/* Modern Form Styling */
.modern-form {
  width: 100%;
}

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

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

/* Focus states */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: transparent;
}

.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline,
.form-group select:focus ~ .form-underline {
  width: 100%;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:not([value=""]) ~ label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--primary-color);
}

/* Form Buttons */
.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-submit {
  position: relative;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

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

.btn-loader,
.btn-check {
  display: none;
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit.loading .btn-loader {
  display: block;
  animation: spin 1s linear infinite;
}

.btn-submit.success .btn-text {
  opacity: 0;
}

.btn-submit.success .btn-check {
  display: block;
  color: #000;
}

.btn-clear {
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Notification Styles */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.notification {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 400px;
}

.notification svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.notification p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.notification.success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.notification.error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.notification.info {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-illustration {
    order: 2;
  }
  
  .contact-form {
    order: 1;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 3rem 0;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .btn-submit,
  .btn-clear {
    width: 100%;
    justify-content: center;
  }
  
  .notification {
    max-width: 300px;
    padding: 1rem;
  }
  
  .notification svg {
    width: 24px;
    height: 24px;
  }
}

/* Dark mode adjustments */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

[data-theme="dark"] .form-group label {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  border-bottom-color: rgba(0, 0, 0, 0.2);
  color: #000;
}

[data-theme="light"] .form-group label {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .contact-method {
  background: rgba(255, 204, 0, 0.1);
}

[data-theme="light"] .notification {
  border: 1px solid rgba(0, 0, 0, 0.1);
}