:root {
  --color-dark: #1101bb;
  --color-amber: #E3941E;
  --color-text: #fff;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--color-background);
}


.about-us-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; 
  height: 80vh;
  width: 100%;
  background: linear-gradient(90deg, rgba(174,174,162,0.7), rgba(133,65,10,0.7), rgba(46,62,168,0.7)), url("/static/website/photos/enu.jpg") center center/cover no-repeat;
  overflow: hidden;
  position: relative;
}

.about-us-logo img {
  max-width: 80%; 
  height: auto;
  max-height: 200px; 
}

.about-us-logo,
-title {
  flex: 0 0 auto;
}

.about-us-header-title h1 {
  font-size: 50px; 
  margin: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.about-us-gallery {
  height: fit-content;
  background-color:#f0f0f0;
  padding: 5vh 5vw;
}

.about-us-gallery-title {
  text-align: center;
}

.about-us-gallery-title h1 {
  font-weight: bold;
  color: #232a3b;
}

.about-us-gallery-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.about-us-gallery-item-elements {
  background: linear-gradient(to bottom, #f2f6fc, #ffffff);
  border: 2px solid #2980b9;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.about-us-gallery-item-elements:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.members-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
}

.member-info {
  font-size: 14px;
  color: #333;
}

.member-info b {
  color: #2c3e50;
  font-weight: 600;
}

.member-role,
.member-second_name {
  margin-bottom: 12px;
  line-height: 1.4;
}

.member-resume img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.member-resume img:hover {
  transform: scale(1.1);
}

/* Responsive layout */
@media screen and (max-width: 768px) {
  .about-us-gallery-items {
    flex-direction: column;
    align-items: center;
  }

  .about-us-gallery-item-elements {
    width: 90%;
    max-width: 400px;
  }
}
.icons8-50-2-4qy {
  height: 100%;
  object-fit: cover;
  position: relative;
  margin-top: 0.5vh;
  float: right;
  transition: all ease-in-out 0.3s;
}

.icons8-50-2-4qy:hover {
  cursor: pointer;
  transform: scale(1.2);
  animation: pulse 0.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.about-us-gallery-items::-webkit-scrollbar {
  background-color: var(--color-text);
  border-radius: 2px;
  width: 10px;
}

.about-us-gallery-items::-webkit-scrollbar-thumb {
  background-color: var(--color-amber);
  border-radius: 3px;
}

/* Project Section Styles */
.about-us-project {
  background-color: #fff;
  padding: 5vh 5vw;
  margin: 2vh 0;
}

.about-us-project-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-us-project-content h2 {
  color: var(--color-dark);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.about-us-project-content h3 {
  color: var(--color-amber);
  font-size: 2rem;
  margin: 2rem 0 1rem 0;
  font-weight: bold;
}

.about-us-project-content p {
  color: #232a3b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Partners Section Styles */
.about-us-partners {
  background-color: #f8f9fa;
  padding: 5vh 5vw;
  text-align: center;
}

.about-us-partners-title h2 {
  color: var(--color-dark);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
}

.about-us-partners-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.partner-logo {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(35, 42, 59, 0.1);
  transition: all 0.3s ease-in-out;
  min-width: 200px;
  text-align: center;
}

.partner-logo:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px 0 rgba(35, 42, 59, 0.2);
}

.partner-logo img {
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Teachers Section Styles */
.about-us-teachers {
  background-color: #ffffff;
  padding: 5vh 5vw;
  text-align: center;
}

.about-us-teachers-title h2 {
  color: var(--color-dark);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
}

.partner-logo p {
  color: #232a3b;
  font-weight: bold;
  margin: 0;
  font-size: 1.1rem;
}

/* Hero Section Styles */
.about-us-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-us-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27,8,180,0.8) 0%, rgba(227,148,30,0.8) 100%);
  z-index: 1;
}

.about-us-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.about-us-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-us-hero-divider {
  width: 6rem;
  height: 4px;
  background: #fff;
  margin: 1.5rem auto;
  opacity: 0.8;
}

.about-us-scroll-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-us-project-content h2 {
    font-size: 2rem;
  }
  
  .about-us-project-content h3 {
    font-size: 1.5rem;
  }
  
  .about-us-partners-content {
    gap: 2rem;
  }
  
  .partner-logo {
    min-width: 150px;
    padding: 1.5rem;
  }
  
  .partner-logo img {
    max-width: 120px;
    max-height: 80px;
  }

  .about-us-hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .about-us-scroll-btn { font-size: 1.5rem; }
}

/* Timeline Section Styles */
.about-us-timeline-section {
  background-color: #f8f9fa;
  padding: 5vh 5vw;
}

.about-us-timeline-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-us-timeline-content h2 {
  color: var(--color-dark);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
  text-align: center;
}

/* Timeline Styles */
.timeline {
  position: relative;
  margin: 40px auto;
  padding: 0;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #1101bb; /* Matches your --color-dark */
  top: 0;
  bottom: 0;
  left: 25%; /* Center the vertical line */
  margin-left: -1.5px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  min-height: 70px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  left: 25%; /* Center the dot on the line */
  background-color: #1101bb; /* Matches your --color-dark */
  border-radius: 50%;
  z-index: 2;
  transform: translateX(-50%);
  top: 10px;
  box-shadow: 0 0 0 4px rgba(17, 1, 187, 0.2);
}

.timeline-date {
  position: absolute;
  width: 150px;
  padding-right: 30px;
  text-align: right;
  left: 0;
  top: 0;
  z-index: 2;
}

.timeline-date h4 {
  margin: 0;
  color: #1101bb; /* Matches your --color-dark */
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.4;
}

.timeline-content {
  width: 45%;
  margin-left: 55%; /* Position to the right of the vertical line */
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
  }
  
  .timeline-item::before {
    left: 30px;
  }
  
  .timeline-date {
    width: 80px;
    padding-left: 45px;
    padding-right: 0;
    text-align: left;
    left: 0;
  }
  
  .timeline-date h4 {
    font-size: 0.8rem;
  }
  
  .timeline-content {
    width: auto;
    margin-left: 90px;
    margin-right: 10px;
  }
}

/* Results Section Styles */
.results-section {
  margin-top: 4rem;
}

.results-section h3 {
  color: var(--color-dark);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  text-align: center;
}

/* Statistics Chart Styles */
.statistics-chart {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.chart-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.country-stats {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.country-stats h4 {
  color: var(--color-dark);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.stat-bar {
  margin-bottom: 1.5rem;
}

.stat-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.progress-bar {
  background-color: #e9ecef;
  border-radius: 25px;
  height: 30px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  transition: width 2s ease-in-out;
  animation: fillProgress 2s ease-in-out;
}

.progress-fill.integration {
  background: linear-gradient(90deg, #28a745, #82ca9d);
}

.progress-fill.difficulty {
  background: linear-gradient(90deg, #dc3545, #ff6666);
}

@keyframes fillProgress {
  from { width: 0 !important; }
}

/* Conclusions Styles */
.conclusions {
  background-color: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.conclusions h3 {
  color: var(--color-dark);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.conclusions li {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.conclusions li::before {
  content: "✓";
  color: var(--color-amber);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

/* Funding Info Styles */
.funding-info {
  background: linear-gradient(135deg, var(--color-dark), var(--color-amber));
  color: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.funding-info p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.funding-info strong {
  font-weight: bold;
}

/* Responsive Styles for Timeline */
@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .timeline-item {
    min-width: 100%;
  }

  .timeline::before {
    height: 0;
  }
}
