/* Override some styles for medical theme */


.highlights section {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.highlights section:hover {
  border-color: #0066cc;
  transform: translateY(-5px);
}

/* Medical theme colors */
.icon.medical {
  color: #0066cc !important;
}

/* Language switcher styles */
.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
  flex-wrap: wrap;
  direction: ltr !important;
}

.lang-btn {
  padding: 12px 24px;
  border: 2px solid #0066cc;
  background: white;
  color: #0066cc;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn:hover {
  background: #28a745;
  color: white;
  border-color: #28a745;
  transform: translateY(-2px);
}


.lang-btn.active {
  background: #28a745;
  color: white;
  border-color: #28a745;
}


/* Contact header styles */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.brand-title {
  font-size: 3rem;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.main-phone {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0066cc;
  text-decoration: none;
  display: inline-block;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.main-phone:hover {
  color: #0044aa;
  transform: scale(1.05);
}


.service-tagline {
  font-size: 1.3rem;
  color: #666;
  margin: 10px 0;
}


/* Emergency banner */
.emergency-banner {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Hide language-specific content by default */
[lang]:not([lang="en"]) {
  display: none;
}

/* Redesign header layout - icon above title */
.highlights .content header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.highlights .content header .icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 4rem !important;
  color: #0066cc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.highlights .content header .icon:hover {
  transform: scale(1.1);
  color: #004499;
}

.highlights .content header h2 {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #333;
  text-align: center;
  letter-spacing: -0.02em;
  max-width: 100%;
}

/* Special styling for Russian titles to handle length */
.highlights .content header h2[lang="ru"] {
  font-size: 1.2rem;
  line-height: 1.25;
}

/* Responsive improvements */
@media (max-width: 980px) {
  .highlights .content header .icon {
    font-size: 3.5rem !important;
  }
  
  .highlights .content header h2 {
    font-size: 1.3rem;
  }
  
  .highlights .content header h2[lang="ru"] {
    font-size: 1.1rem;
  }
}

@media (max-width: 736px) {
  .brand-title {
    font-size: 2.5rem;
  }
  
  .main-phone {
    font-size: 2rem;
  }
  
  .lang-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .highlights .content header {
    margin-bottom: 1rem;
  }
  
  .highlights .content header .icon {
    font-size: 3rem !important;
    margin-bottom: 0.8rem;
  }
  
  .highlights .content header h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }
  
  .highlights .content header h2[lang="ru"] {
    font-size: 1rem;
    line-height: 1.2;
  }
}