/* Основные шрифты и палитра для Telemedica */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Roboto:wght@400;700&display=swap');
:root {
  --primary-color: #ff5c33;
  /* Оранжевый (название) */
  --secondary-color: #00d1d1;
  /* Бирюзовый (иконка, подзаголовок) */
  --text-color: #333333;
  /* Базовый цвет текста */
  --background-color: #ffffff;
  /* Белый фон */
  --accent-color: #00a3a3;

  /* Темный бирюзовый */
  --font-main: 'Inter', sans-serif;
  --font-alt: 'Roboto', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-alt);
  color: var(--primary-color);
  text-align: center;
  width: 100%;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  text-align: justify;
}

.logo-title {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.logo-tagline {
  font-size: 1rem;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--accent-color);
}

p {
  letter-spacing: 2px;
  text-align: justify;
  color: var(--accent-color);

}





.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #0f172a;
  color: white;
}

.logo {
  margin: 0;
  font-size: 24px;
  height: 10vh;
}

.custom-select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.glow {
  box-shadow: 0 0 8px rgba(100, 255, 255, 0.4);
}

.container {
  width: 100%;
  max-width: none;
}





.slider {
  position: relative;
  width: 100%;
  height: 44vh;
  overflow: hidden;
  cursor: pointer;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px;
  color: white;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
}





.project-list-horizontal {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  height: 20vh;
}


.country-card {
  flex: 0 0 auto;
  width: 40vh;
  /* или 300px, если хочешь фиксированную ширину */
  height: 20vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start;
  position: relative;
}

.country-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 16px;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

#supportButtons {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 50;
}

#supportButtons img {
  width: 48px;
  height: 48px;
  transition: transform 0.2s ease;
}

#supportButtons img:hover {
  transform: scale(1.1);
}
