/* Consultation Section */
.content-full {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.consultation {
  background: var(--light-color);
  padding: 80px 0;
}

.consultation-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.consultation-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.consultation-text {
  flex: 1;
  color: var(--shadow-color);
}

.consultation-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--shadow-color);
}

.consultation-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.consultation-benefits {
  list-style: none;
  padding: 0;
}

.consultation-benefits li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.consultation-benefits i {
  color: var(--primary-color);
}

.consultation-form {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: 0; /* REMOVED ROUNDING */
  box-shadow: 0 0 20px var(--shadow-light);
  border-left: 4px solid var(--primary-color);
  border-top: 1px solid var(--tertiary-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: 0; /* REMOVED ROUNDING */
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: var(--shadow-color);
  font-family: "Montserrat", sans-serif;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(238, 10, 16, 0.1);
}

.form-group input[type="date"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: 0; /* REMOVED ROUNDING */
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  color: var(--shadow-color);
  font-family: "Montserrat", sans-serif;
  background-color: var(--white);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.3);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.consultation-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 0; /* REMOVED ROUNDING */
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.consultation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(238, 10, 16, 0.3);
}

/* For small screens, scale the reCAPTCHA appropriately */
@media screen and (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
    width: 100%;
  }
}

/* Popup Notification Styles */
.popup-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 0; /* REMOVED ROUNDING */
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.popup-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}

.notification-content i {
  margin-right: 10px;
  font-size: 24px;
}

.popup-notification.success {
  border-left: 5px solid var(--success-color);
}

.popup-notification.success .notification-content {
  color: var(--success-color);
}

.popup-notification.success i {
  color: var(--success-color);
}

.popup-notification.error {
  border-left: 5px solid var(--error-color);
}

.popup-notification.error .notification-content {
  color: var(--error-color);
}

.popup-notification.error i {
  color: var(--error-color);
}

/* ================================ */
/* CONSULTATION/WEBINAR SECTION     */
/* ================================ */

.consultation-section {
  background: var(--shadow-color);
  padding: 100px 0;
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Top gradient border */
.consultation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color),
    var(--tertiary-color)
  );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.consultation-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* Text content styles */
.consultation-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.section-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  transform: translateX(-50%);
  bottom: -15px;
  width: 80px;
  height: 3px;
  background-color: var(--tertiary-color);
  transition: width 0.4s ease;
}

.section-title:hover::after {
  width: 120px;
}

.section-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--secondary-light);
  margin-bottom: 20px;
}

/* Form container styles - FULLY TRANSPARENT WITH NEON INPUTS */
.consultation-form-container {
  flex: 1;
  background: transparent; /* ПОЛНОСТЬЮ ПРОЗРАЧНЫЙ */
  padding: 40px;
  border: none; /* убираем рамку */
  box-shadow: none; /* убираем тени */
  border-radius: 0;
  position: relative;
}

/* Убираем анимированную рамку */
.consultation-form-container::before {
  display: none;
}

#consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--light-color);
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 0 8px rgba(238, 10, 16, 0.4); /* лёгкое красное свечение */
}

.required {
  color: var(--primary-color);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(238, 10, 16, 0.8);
}

.form-field input {
  padding: 12px 16px;
  background-color: rgba(20, 20, 24, 0.7); /* полупрозрачный тёмный */
  border: 2px solid var(--primary-color); /* яркая красная рамка */
  color: var(--light-color);
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  border-radius: 0;
  box-shadow: 0 0 15px rgba(238, 10, 16, 0.3),
    /* внешнее свечение */ inset 0 0 10px rgba(238, 10, 16, 0.1); /* внутреннее свечение */
}

.form-field input::placeholder {
  color: rgba(243, 238, 239, 0.5);
}

.form-field input:focus {
  outline: none;
  border-color: var(--primary-light);
  background-color: rgba(20, 20, 24, 0.85);
  box-shadow: 0 0 25px rgba(238, 10, 16, 0.6), 0 0 40px rgba(238, 10, 16, 0.3),
    inset 0 0 15px rgba(238, 10, 16, 0.15);
  text-shadow: 0 0 8px rgba(243, 238, 239, 0.6);
}

/* Special styling for date input */
input[type="date"] {
  appearance: none;
  color: var(--text-color-main);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* reCAPTCHA styling */
.recaptcha-container {
  margin-top: 5px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

/* Status messages styling - NEON STYLE */
.form-status {
  margin-top: 1rem;
}

.success-message,
.error-message {
  padding: 10px;
  margin-top: 0;
  font-weight: 500;
  border-radius: 0;
  backdrop-filter: blur(5px);
  border: 2px solid;
}

.success-message {
  background-color: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  border-color: #27ae60;
  box-shadow: 0 0 20px rgba(39, 174, 96, 0.4);
  text-shadow: 0 0 10px rgba(39, 174, 96, 0.6);
  display: none;
}

.error-message {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border-color: #e74c3c;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
  display: none;
}

/* Submit button wrapper and button - NEON STYLE WITH GRADIENT */
.form-submit-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  ); /* градиентный фон */
  color: var(--white);
  border: 2px solid var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 0 25px rgba(238, 10, 16, 0.5),
    inset 0 0 15px rgba(238, 10, 16, 0.1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(238, 10, 16, 0.7), 0 0 60px rgba(238, 10, 16, 0.4),
    inset 0 0 20px rgba(238, 10, 16, 0.2);
  border-color: var(--primary-light);
  text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(238, 10, 16, 0.6);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 0 10px rgba(238, 10, 16, 0.3);
}

/* ================================ */
/* PHONE INPUT - NEON STYLE         */
/* ================================ */

/* Override phone input styles for consultation form neon effect */
.consultation-form-container .phone-input-container {
  background-color: rgba(20, 20, 24, 0.7);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(238, 10, 16, 0.3),
    inset 0 0 10px rgba(238, 10, 16, 0.1);
  height: 46px;
}

.consultation-form-container .phone-input-container:focus-within {
  border-color: var(--primary-light);
  background-color: rgba(20, 20, 24, 0.85);
  box-shadow: 0 0 25px rgba(238, 10, 16, 0.6), 0 0 40px rgba(238, 10, 16, 0.3),
    inset 0 0 15px rgba(238, 10, 16, 0.15);
}

.consultation-form-container .country-button {
  background: rgba(238, 10, 16, 0.2);
  border-right: 2px solid var(--primary-color);
  width: 85px;
}

.consultation-form-container .country-button:hover {
  background: rgba(238, 10, 16, 0.3);
}

.consultation-form-container .country-button.active {
  background: var(--primary-color);
  border-right-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(238, 10, 16, 0.5);
}

.consultation-form-container .country-button .code {
  color: var(--light-color);
  text-shadow: 0 0 8px rgba(243, 238, 239, 0.6);
}

.consultation-form-container .country-button .arrow {
  stroke: var(--light-color);
  filter: drop-shadow(0 0 4px rgba(243, 238, 239, 0.6));
}

.consultation-form-container .phone-input {
  color: var(--light-color);
  background: transparent;
  text-shadow: 0 0 8px rgba(243, 238, 239, 0.4);
  padding-left: 95px; /* Same as base */
}

.consultation-form-container .phone-input::placeholder {
  color: rgba(243, 238, 239, 0.5);
}

/* Neon dropdown for consultation form */
.consultation-form-container .country-dropdown {
  background: rgba(20, 20, 24, 0.95);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(238, 10, 16, 0.5), 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.consultation-form-container .country-search {
  background: rgba(20, 20, 24, 0.8);
  border-bottom: 2px solid var(--primary-color);
  color: var(--light-color);
}

.consultation-form-container .country-search::placeholder {
  color: rgba(243, 238, 239, 0.5);
}

.consultation-form-container .country-search:focus {
  background: rgba(20, 20, 24, 0.9);
  box-shadow: 0 0 15px rgba(238, 10, 16, 0.4);
}

.consultation-form-container .country-item {
  border-bottom: 1px solid rgba(238, 10, 16, 0.2);
}

.consultation-form-container .country-item:hover {
  background: rgba(238, 10, 16, 0.2);
  box-shadow: inset 0 0 15px rgba(238, 10, 16, 0.3);
}

.consultation-form-container .country-item .name {
  color: var(--light-color);
}

.consultation-form-container .country-item .code {
  color: var(--primary-light);
  text-shadow: 0 0 8px rgba(238, 10, 16, 0.6);
}

/* Neon scrollbar */
.consultation-form-container .country-list::-webkit-scrollbar {
  width: 8px;
}

.consultation-form-container .country-list::-webkit-scrollbar-track {
  background: rgba(20, 20, 24, 0.5);
}

.consultation-form-container .country-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(238, 10, 16, 0.5);
}

.consultation-form-container .country-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
  box-shadow: 0 0 15px rgba(238, 10, 16, 0.8);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .consultation-section {
    padding: 80px 0;
  }

  .consultation-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .consultation-section {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .consultation-form-container {
    padding: 30px 25px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-description {
    font-size: 1.1rem;
  }

  .consultation-form-container .phone-input-container {
    height: 44px;
  }

  .consultation-form-container .country-button {
    width: 80px;
  }

  .consultation-form-container .phone-input {
    padding-left: 90px;
  }
}

@media (max-width: 576px) {
  .consultation-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .consultation-form-container {
    padding: 25px 20px;
  }

  .form-field input {
    padding: 10px 14px;
    font-size: 14px;
  }

  .submit-button {
    padding: 12px;
    font-size: 15px;
  }

  .consultation-form-container .phone-input-container {
    height: 42px;
  }

  .consultation-form-container .country-button {
    width: 75px;
  }

  .consultation-form-container .phone-input {
    padding-left: 85px;
  }
}
