@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
span,
a,
div,
main,
label,
input,
textarea,
button {
  font-family: "Poppins", sans-serif;
}

main {
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  max-width: 750px;
  width: 100%;
  margin: auto;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--logo);
}

/* Left Column - Content */
.contact-content {
  padding: 60px 50px;
  background: var(--logo);
  color: var(--white);
  position: relative;
  min-height: 100%;
}

.contact-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.contact-content .lead {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--white);
  opacity: 0.9;
}

.contact-info {
  position: relative;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.info-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.info-content p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
  opacity: 0.9;
  margin: 0;
}

/* Right Column - Form */
.contact-form-container {
  padding: 60px 50px;
  background: var(--white);
}

.contact-form-container h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-container h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--logo);
  margin: 20px auto 40px;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--logo);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(66, 203, 178, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  min-height: 120px;
  font-family: "Poppins", sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color);
  font-style: italic;
}

.submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: var(--logo);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover:not(:disabled) {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(66, 203, 178, 0.3);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background: var(--text-color);
}

.btn-loader svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.error-message,
.success-message {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.error-message {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.success-message {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-section {
    gap: 0;
  }

  .contact-content,
  .contact-form-container {
    padding: 40px 35px;
  }

  .contact-content h1 {
    font-size: 36px;
  }

  .contact-form-container h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 40px 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
  }

  .contact-content {
    padding: 40px 30px;
    text-align: center;
  }

  .contact-content h1 {
    font-size: 32px;
  }

  .contact-content .lead {
    font-size: 16px;
  }

  .contact-form-container {
    padding: 40px 30px;
  }

  .contact-form-container h2 {
    font-size: 24px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .contact-content,
  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-content h1 {
    font-size: 28px;
  }

  .contact-form-container h2 {
    font-size: 22px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 16px 20px;
    font-size: 14px;
  }
}
