/**
 * Disease Pages Styling
 * Specialized styles for disease-specific subpages
 */

/* ===== DISEASE HERO SECTION ===== */
.disease-hero {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
}

.disease-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.oncology-hero {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 50%, #ff8e53 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb-nav {
  background: #f8f9fa;
  padding: 1rem 0;
}

.breadcrumb {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin: 0 0.75rem;
  color: #6c757d;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0056b3;
}

.breadcrumb li[aria-current="page"] {
  color: #6c757d;
}

/* ===== TREATMENT OVERVIEW ===== */
.treatment-overview {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.section-header p {
  font-size: 1.125rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.treatment-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.treatment-icon svg {
  width: 48px;
  height: 48px;
}

.treatment-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.treatment-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.treatment-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.treatment-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #495057;
  font-size: 0.9rem;
}

.treatment-features li:last-child {
  border-bottom: none;
}

.treatment-features li::before {
  content: '✓';
  color: #28a745;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* ===== CANCER TYPES SECTION ===== */
.cancer-types {
  background: #f8f9fa;
}

.cancer-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cancer-type-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cancer-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cancer-type-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.cancer-type-card p {
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* ===== HOSPITALS SECTION ===== */
.top-hospitals {
  padding: 80px 0;
}

.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.hospital-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.hospital-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hospital-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hospital-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hospital-card:hover .hospital-image img {
  transform: scale(1.05);
}

.hospital-country {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.hospital-country img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.hospital-content {
  padding: 1.5rem;
}

.hospital-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.hospital-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.rating-text {
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 500;
  background: #d4edda;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.hospital-content p {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hospital-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.specialty {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.hospital-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
  background: #f8f9fa;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.story-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.story-image {
  height: 180px;
  overflow: hidden;
}

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

.story-content {
  padding: 1.5rem;
}

.story-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.story-condition {
  color: #007bff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.story-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.story-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-treatment,
.story-location {
  font-size: 0.85rem;
  color: #495057;
}

.story-treatment::before {
  content: '💊';
  margin-right: 0.5rem;
}

.story-location::before {
  content: '📍';
  margin-right: 0.5rem;
}

/* ===== TREATMENT PROCESS ===== */
.treatment-process {
  padding: 80px 0;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, #007bff, #e9ecef);
}

.step-number {
  background: #007bff;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

.step-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* ===== CONSULTATION FORM ===== */
.consultation-form {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
}

.consultation-content h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.consultation-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.consultation-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit svg {
  width: 24px;
  height: 24px;
  color: #28a745;
}

.benefit span {
  font-size: 1rem;
}

.consultation-form-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Special case for name fields - vertical layout */
.form-row.name-fields {
  grid-template-columns: 1fr;
}

/* Responsive form rows for mobile */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-label a {
  color: #007bff;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
  background: #e3f2fd;
}

.faq-question h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2c3e50;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .treatment-grid {
    grid-template-columns: 1fr;
  }
  
  .hospitals-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step::after {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hospital-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .treatment-card,
  .hospital-card,
  .story-card {
    margin-bottom: 1rem;
  }
  
  .consultation-form-card {
    padding: 1.5rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* ===== SECURITY STYLING ===== */
.security-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 10000;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideInRight 0.3s ease-out;
}

.security-alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.security-alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-content {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.75rem;
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-message {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.alert-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.alert-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.security-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* ===== RECAPTCHA STYLING ===== */
.recaptcha-badge-area {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.recaptcha-notice {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  text-align: center;
}

.recaptcha-notice a {
  color: #007bff;
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* ===== CONTACT PAGE BENEFITS ===== */
.contact-benefits {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

.contact-benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.benefit-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact page specific styles */
.contact-section {
  padding: 4rem 0;
} 

/* Hide country availability block (reduces clutter in specialties) */
.countries-available {
  display: none !important;
}

/* Tweak details spacing when countries-available is hidden */
.category-details {
  margin-bottom: 10px;
} 

/* ===== DISEASES LISTING PAGE (shared for EN/RU/KZ) ===== */
.diseases-page {
  padding: 0;
}

.page-header {
  background: linear-gradient(135deg, #1e6bb8 0%, #155a9d 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.treatment-categories {
  padding: 60px 0;
  background: #f8fafc;
}

.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box .search-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
}

.search-box .search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 107, 184, 0.1);
}

.search-box .search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
}

.filter-options {
  display: flex;
  gap: 16px;
}

.filter-select {
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.category-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.category-card > p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-details {
  margin-bottom: 25px;
}

.category-details .treatments {
  margin-bottom: 20px;
}

.category-details strong {
  color: var(--text-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.category-details ul {
  list-style: none;
  padding: 0;
}

.category-details li {
  padding: 4px 0;
  color: var(--text-light);
  font-size: 14px;
  position: relative;
  padding-left: 16px;
}

.category-details li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.country-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.country-tag {
  padding: 4px 8px;
  background: #f1f5f9;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid #e2e8f0;
}

.category-actions {
  display: flex;
  gap: 12px;
}

.category-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* Hidden class for filtering */
.category-card.hidden {
  display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .page-header h1 { font-size: 2.2rem; }
  .page-header p { font-size: 1rem; }
  .search-filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .filter-options { justify-content: space-between; }
  .filter-select { flex: 1; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-actions { flex-direction: column; }
} 