* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding-top: 76px;
  background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-order:hover {
  background: var(--royal-blue);
  color: var(--mustard-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 163, 0.3);
}

.contact-header {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #1976d2 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23f8f9fa'%3E%3C/path%3E%3C/svg%3E")
    no-repeat;
  background-size: 100% 60px;
}

.header-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.header-content p {
  font-size: 1.4rem;
  opacity: 0.95;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-corn {
  position: absolute;
  color: var(--mustard-yellow);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.contact-main {
  padding: 80px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-section {
  background: var(--white);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 86, 163, 0.1);
  border: 1px solid rgba(255, 196, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mustard-yellow), var(--royal-blue));
}

.form-title {
  color: var(--royal-blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.form-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-label {
  color: var(--royal-blue);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.required-asterisk {
  color: #dc3545;
  font-size: 16px;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 18px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.form-control:focus {
  border-color: var(--mustard-yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
  background: var(--white);
  transform: translateY(-2px);
  outline: none;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-control.is-valid {
  border-color: #28a745;
  background: #f0fff4;
}

.error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  display: none;
  animation: slideDown 0.3s ease;
}

.error-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffc400' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--mustard-yellow), #ffb700);
  color: var(--royal-blue);
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(255, 196, 0, 0.3);
  width: 100%;
  cursor: pointer;
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--royal-blue), #1976d2);
  color: var(--mustard-yellow);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 86, 163, 0.4);
}

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

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  background: var(--white);
  border-radius: 20px;
  padding: 35px;
  border-left: 5px solid var(--mustard-yellow);
  box-shadow: 0 10px 40px rgba(0, 86, 163, 0.08);
  transition: all 0.3s ease;
}

.info-block:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 60px rgba(0, 86, 163, 0.15);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--royal-blue), #1976d2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.info-icon i {
  color: var(--mustard-yellow);
  font-size: 28px;
}

.info-block h3 {
  color: var(--royal-blue);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.info-block p {
  color: #495057;
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

.map-section {
  margin-top: 80px;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 86, 163, 0.1);
}

.map-header {
  background: var(--royal-blue);
  color: var(--white);
  padding: 30px 40px;
  text-align: center;
}

.map-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.map-container {
  height: 450px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.quick-contact {
  background: linear-gradient(135deg, var(--mustard-yellow), #ffb700);
  color: var(--royal-blue);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  margin-top: 30px;
}

.quick-contact h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.quick-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.quick-btn {
  background: var(--royal-blue);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-btn:hover {
  background: #003d73;
  color: var(--mustard-yellow);
  transform: scale(1.05);
}

/* Snackbar Styles */
.snackbar-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

.snackbar {
  background: var(--white);
  border-radius: 15px;
  padding: 18px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 320px;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 5px solid;
  position: relative;
  overflow: hidden;
}

.snackbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  animation: progress 4s linear;
  width: 100%;
}

@keyframes progress {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

.snackbar.success {
  border-left-color: #28a745;
  color: #28a745;
}

.snackbar.error {
  border-left-color: #dc3545;
  color: #dc3545;
}

.snackbar.warning {
  border-left-color: #ffc107;
  color: #ffc107;
}

.snackbar.info {
  border-left-color: var(--royal-blue);
  color: var(--royal-blue);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.snackbar.hide {
  animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.snackbar-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.snackbar-content {
  flex: 1;
}

.snackbar-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #212529;
}

.snackbar-message {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
}

.snackbar-close {
  background: none;
  border: none;
  color: #adb5bd;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.snackbar-close:hover {
  background: #f8f9fa;
  color: #495057;
}

.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer h5 {
  color: var(--mustard-yellow);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--mustard-yellow);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--mustard-yellow);
  color: var(--royal-blue);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .header-content h1 {
    font-size: 3rem;
  }

  .contact-form-section {
    padding: 35px 25px;
  }

  .form-title {
    font-size: 2rem;
  }

  .snackbar-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .snackbar {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .contact-header {
    padding: 60px 0 50px;
  }

  .header-content h1 {
    font-size: 2.5rem;
  }

  .header-content p {
    font-size: 1.1rem;
  }

  .header-content {
    margin-bottom: 15px;
  }
  .contact-main {
    padding: 50px 0;
  }

  .quick-actions {
    flex-direction: column;
    align-items: center;
  }

  .quick-btn {
    width: 200px;
    justify-content: center;
  }

  .snackbar-container {
    top: 80px;
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 576px) {
  .contact-form-section {
    border-radius: 20px;
    padding: 25px 20px;
  }

  .info-block {
    padding: 25px 20px;
  }

  .map-section {
    border-radius: 20px;
  }

  .btn-submit {
    padding: 15px 35px;
  }
  .header-content {
    margin-bottom: 15px;
  }
}
