:root {
  --bg: #111;
  --text: #fff;
  --muted: #ddd;
  --accent: #00ffcc;
  --accent-hover: #00e6b3;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --transition: all 0.3s ease-out;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('/assets/images/about-bg.png') center/cover no-repeat;
  background-color: #222;
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.glass-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  padding: 40px;
  margin: 20px auto;
  max-width: 1200px;
  transition: var(--transition);
}
.glass-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.container {
  width: 100%;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.col {
  flex: 1 1 280px;
}

img.image-block {
  width: 100%;
  border-radius: 8px;
}

.glass-section h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
.glass-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}

.about-hero {
  text-align: center;
  padding: 80px 20px;
  color: var(--accent);
  margin: 20px auto;
  max-width: 1200px;
}
.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.about-hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

.history .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.history .col {
  flex: 1 1 320px;
}
.history-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: var(--transition);
}
.history-image:hover {
  transform: translateY(-5px);
}

.history .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.history .timeline li {
  position: relative;
  margin: 1.5rem 0;
  padding-left: 30px;
  text-align: left;
}
.history .timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.history .timeline time {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .history .row {
    flex-direction: column;
  }
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 20px;
  width: 160px;
  text-align: center;
  box-sizing: border-box;
}
.stat-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.stat h3 {
  font-size: 2rem;
  margin: 0;
  color: var(--accent);
}
.stat p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .stat {
    width: 100%;
    max-width: 240px;
  }
}

.testimonials {
  padding: 60px 20px;
  background: var(--glass-bg);
  color: #eee;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.carousel-track-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(50% - 10px);
  list-style: none;
  background: #111;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonial-content p {
  margin: 0 0 8px;
  font-style: italic;
  color: #ccc;
}
.testimonial-content cite {
  display: block;
  color: #fff;
  font-weight: bold;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}
.carousel-button:hover {
  background: var(--accent-hover);
}
.carousel-button.prev {
  left: -50px;
}
.carousel-button.next {
  right: -50px;
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
  .carousel-button.prev {
    left: 10px;
  }
  .carousel-button.next {
    right: 10px;
  }
  .testimonials h2 {
    font-size: 2rem;
  }
}

.why-humo {
  padding: 60px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin: 20px auto;
  max-width: 1200px;
  text-align: center;
}
.why-humo h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.why-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.why-features .feature {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 30px 20px;
  flex: 1 1 240px;
  max-width: 300px;
  box-sizing: border-box;
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}
.why-features .feature h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.25rem;
}
.why-features .feature p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-features {
    flex-direction: column;
    align-items: center;
  }
}

.team .row {
  justify-content: center;
  gap: 40px;
}
.team .col {
  text-align: center;
}
.team-photo {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  transition: var(--transition);
}
.team-photo:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.newsletter {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}
.newsletter h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.newsletter p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.newsletter input[type="email"] {
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  flex: 1 1 250px;
  background: var(--bg);
  color: var(--text);
}
.newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background: var(--accent);
  color: var(--bg);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter button:hover {
  background: var(--accent-hover);
}

.faq-item-sec {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-title-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
}
.plus-icon-sec {
  font-size: 1.5rem;
  transition: var(--transition);
}
.faq-content-sec {
  max-height: 0;
  padding: 0 15px;
  color: var(--muted);
  transition: var(--transition);
}
.faq-item-sec.open .plus-icon-sec {
  transform: rotate(45deg);
}
.faq-item-sec.open .faq-content-sec {
  max-height: 200px;
  padding: 15px;
}

.cta {
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font-weight: bold;
  transition: var(--transition);
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .team-photo {
    margin: 0 auto;
  }
}

.flash {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: bold;
}
.flash-success {
  background: rgba(46,204,113,.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}
.flash-error {
  background: rgba(231,76,60,.15);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}
