/* Hesader */
.short_contact_list span {
    font-size: 13px;
  color: #919191;
  margin-left: 50px;
}
    .logo img,
    .logo svg {
        max-width: 95px;
        /* Чтобы не вылезал за колонку */
        height: auto;
        /* Чтобы сохранял пропорции */
        display: block;
    }

    .main-header-area.sticky .logo img,
    .main-header-area.sticky .logo svg {
        max-width: 65px;
    }
.short_contact_list i {
    color: #5DB2FF;
  margin-right: 7px;
}
        /* Контейнер для отступов */
        .input-group {
            max-width: 100%;
        }

        /* Стиль текста над полем */
        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }

        /* Основной стиль textarea */
        textarea {
            width: 100%;
            min-height: 150px;
            padding: 12px 15px;
            border: 2px solid #e1e1e1;
            /* Светлая рамка */
            /* Закругленные углы */
            background-color: #f9f9f9;
            font-size: 16px;
            color: #333;
            outline: none;
            /* Убираем стандартную обводку */
            resize: vertical;
            /* Разрешаем менять размер только по высоте */
            transition: all 0.3s ease;
            /* Плавность при фокусе */
            box-sizing: border-box;
            margin-bottom: 20px;
        }

        /* Эффект при наведении */
        textarea:hover {
            border-color: #ccc;
        }

        /* Эффект при клике (Focus) */
        textarea:focus {
            background-color: #fff;
            border-color: #007bff;
            /* Цвет основной темы (синий) */
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
            /* Мягкое свечение */
        }

        /* Стиль подсказки (placeholder) */
        textarea::placeholder {
            color: #aaa;
            font-style: italic;
        }

        /* Контейнер-обертка */
        .checkbox-container {
            display: flex;
            align-items: center;
            position: relative;
            padding-left: 35px;
            margin-bottom: 12px;
            cursor: pointer;
            font-size: 14px;
            user-select: none;
            color: #333;
        }

        /* Скрываем стандартный чекбокс */
        .checkbox-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        /* Рисуем пустой квадрат */
        .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            height: 22px;
            width: 22px;
            background-color: #fff;
            border: 2px solid #e1e1e1;
            border-radius: 4px;
            transition: all 0.2s ease;
        }

        /* Эффект при наведении */
        .checkbox-container:hover input~.checkmark {
            border-color: #2192f8;
        }

        /* Цвет фона, когда чекбокс активен (опционально) */
        /* Если хотите, чтобы весь квадрат закрашивался, раскомментируйте: */
        /* .checkbox-container input:checked ~ .checkmark {
  background-color: #2192f8;
  border-color: #2192f8;
} */

        /* Рисуем саму галочку (скрыта по умолчанию) */
        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }

        /* Показываем галочку при клике */
        .checkbox-container input:checked~.checkmark:after {
            display: block;
        }

        /* Стили галочки (форма и ваш цвет #2192f8) */
        .checkbox-container .checkmark:after {
            left: 7px;
            top: 3px;
            width: 5px;
            height: 10px;
            border: solid #2192f8;
            /* Цвет галки */
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
        }

        /* Смещение текста */
        .label-text {
            line-height: 22px;
        }
        /* Класс ошибки для полей */
.input-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.3) !important;
}

/* Если нужно подсветить рамку кастомного чекбокса */
.checkbox-error .checkmark {
    border-color: #ff4d4d !important;
}

/* Сообщение об успехе */
.mas.success { color: green; margin-top: 10px; }
.mas.error { color: red; margin-top: 10px; }

#booking_form {
  display: inline-block;
  margin: auto;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.book_btn a {
  background: #009DFF;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid transparent;
  color: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.book_btn a:hover {
  background: #fff;
  color: #009DFF;
  border: 1px solid #009DFF;
}
/* Слайдер */
.single_slider {
  position: relative;
}
.single_slider .container {
  position: relative;
  z-index: 6;
}
.single_slider::after {
      content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градиент от прозрачного к темному */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}
.slider_area .single_slider .slider_text p {
  color: #fff;
  z-index: 999;
  position: relative;
}
/* Обо мне */
  .edu-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #374151;
  }

  .section-h {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 60px 0 30px;
    text-align: center;
  }

  .section-h::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3b82f6;
    margin: 10px auto 0;
    border-radius: 2px;
  }

  .timeline { position: relative; }

  /* Линия таймлайна */
  .timeline::before {
    content: '';
    position: absolute;
    left: 118px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
  }

  .edu-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
  }

  /* Миниатюры документов */
  .diploma-aside { flex: 0 0 100px; text-align: center; z-index: 2; }

  .diploma-card {
    width: 85px;
    height: 115px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .diploma-card:hover { transform: scale(1.1) rotate(2deg); border-color: #3b82f6; }
  .diploma-card img { width: 100%; height: 100%; object-fit: cover; }

  /* Маркер на линии */
  .timeline-dot {
    position: absolute;
    left: 114px;
    top: 25px;
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 2;
  }

  /* Контентная часть */
  .content-card {
    flex: 1;
    background: #f9fafb;
    padding: 20px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .edu-row:hover .content-card {
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }

  .edu-year { font-weight: 700; color: #3b82f6; font-size: 14px; display: block; margin-bottom: 8px; }
  .edu-title { font-size: 17px; font-weight: 600; color: #111827; margin-bottom: 8px; }
  .edu-desc { font-size: 15px; line-height: 1.6; color: #4b5563; }

  /* Специальные плашки */
  .award-tag {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 12px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
  }

  .status-box {
    margin-top: 10px;
    padding: 10px;
    background: #eff6ff;
    border-radius: 8px;
    color: #1e40af;
    font-size: 14px;
    font-weight: 500;
  }
  .diploma-card {
  width: 85px;
  height: 115px;
  background: #f3f4f6; /* Светло-серый фон для пустых зон */
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Добавляем флекс для центрирования */
  display: flex;
  align-items: center;
  justify-content: center;
}

.diploma-card img {
  width: 100%;
  height: 100%;
  /* ГЛАВНОЕ ИЗМЕНЕНИЕ: */
  object-fit: contain; 
  /* Добавляем небольшой отступ, чтобы края не прилипали */
  padding: 2px; 
}

  @media (max-width: 640px) {
    .timeline::before { left: 15px; }
    .timeline-dot { left: 11px; }
    .edu-row { flex-direction: column; gap: 15px; padding-left: 40px; }
    .diploma-card { width: 70px; height: 95px; }
    .short_contact_list span {
  margin-left: 0px;
}
  }
@media (max-width: 952px) {
      .logo img,
    .logo svg {
        max-width: 65px;
        /* Чтобы не вылезал за колонку */
        height: auto;
        /* Чтобы сохранял пропорции */
        display: block;
    }
  }