@import "https://codepen.io/cbolson/pen/rNEdgKo.css" layer(template);
@layer template, demo;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgba(28, 28, 28, 1); /* в случае, если есть зазоры */
}

.timeline{
  position: relative; 
  height: 90vh; 
  overflow: hidden;
  display: block;              
  justify-content: center;    
  align-items: center;        
  text-align: center;
  background: linear-gradient(135deg, rgba(42, 42, 42, 1) 0%, rgba(28, 28, 28, 1) 50%, rgba(42, 42, 42, 1) 100%);
  background-size: 200% 200%;
  animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@layer demo {
  input[type="radio"] {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
  }
  .cards-container {
    --base-rotation: 0deg;
    --full-circle: 360deg;
    --radius: 180vw;
    --duration: 300ms;

    --cards-container-size: calc(var(--radius) * 2);
    --cards-container-padding: 3rem;

    --border-color: rgba(44, 127, 255, 0.3);

    --label-offset: calc(var(--radius) * -1 - 2rem);
    --label-size: 40px;
    --label-color: #999;
    --label-color-hover: #2C7FFF;
    --label-line-h: 0;
    --label-line-h-current: 2.5rem;
    --label-dot-size: 10px;

    --title-top: 2rem;
    --title-offset-y: 30px;

    --info-top: 6rem;
    --info-width: min(75%, 600px);
    --info-offset-y: 30px;

    position: relative;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--cards-container-size);
    height: var(--cards-container-size);
    padding: var(--cards-container-padding);
    box-sizing: content-box;
    z-index: 10; 

    @media (width > 600px){
       clip-path: polygon(0 -10%, 100% -10%, 100% 50%, 0 50%);
    }
    @media (min-width: 800px) {
        --radius: 25vw;
        --label-size: 45px;
        --label-dot-size: 12px;
        --label-line-h-current: 3.5rem;
        --title-top: 3.5rem;
        --info-top: 7rem;
      }
    }
    @media (min-width: 1200px) {
        :root {
        --label-size: 50px;
        --border-color: rgba(44, 127, 255, 0.4);
      }
    }
    
}
  .cards {
    position: absolute;
    inset: var(--cards-container-padding);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
  }



  .cards li {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    transform-origin:center;
    display: grid;
    place-content: center;
    transform: rotate(calc(var(--i) * 360deg / var(--items)));
    pointer-events: none;
  }

  .cards li > label {
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateY(var(--label-offset));
    width: var(--label-size);
    height: var(--label-size);
    cursor: pointer;
    pointer-events: initial;
    text-align: center;
    color: var(--label-color);
    font-size: clamp(.7rem, 2.2vw + .03rem, .9rem);
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    transition: var(--duration) ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 127, 255, 0.1);
    border: 2px solid var(--label-color);
    border-radius: 50%;
  }
  .cards li > label::before{
      content: '';
      position: absolute;
      top: calc(var(--cards-container-padding) - 20px);
      left: 50%;
      translate: -50% 0;
      width: var(--label-dot-size);
      height: var(--label-dot-size);
      aspect-ratio: 1;
      border-radius: 50%;
      background: transparent; /* Убираем синий цвет */
      transition: all var(--duration) ease-in-out;
      display: none; /* Полностью скрываем круглишки */
  }

  .cards li > label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    translate: -50% 10px;
    width: 3px;
    height: var(--label-line-h);
    background: transparent; /* Убираем синий цвет линий */
    border-radius: 2px;
    transition: all 300ms ease-in-out var(--label-line-delay,0ms);
    display: none; /* Полностью скрываем линии */
  }
  .cards li > label:hover{
    --label-color: var(--label-color-hover);
    transform: translateY(var(--label-offset)) scale(1.05);
  }

  .cards > li > h2,
  .cards > li > p{
    position: absolute;
    left: 50%;
    text-align: center;
    transform: translate(-50%, 0);
    transform-origin: center;
  }
  .cards > li > h2{
    top: var(--title-top);
    opacity: var(--title-opacity,0);
    translate: 0 var(--title-offset-y);
    transition: var(--duration) ease-in-out var(--title-delay,0ms);
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw + 0.1rem, 2.5rem);
    color: #2C7FFF;
    text-shadow: 0 2px 10px rgba(44, 127, 255, 0.3);
  }
  .cards > li > p{
    top: var(--info-top);
    margin: 0 auto;
    width: var(--info-width);
    z-index: 2;
    font-size: clamp(.9rem, 2.8vw + 0.05rem, 1rem);
    text-align: left;
    text-wrap: pretty;
    opacity: var(--info-opacity,0);
    transition: var(--duration) ease-in-out var(--info-delay,0ms);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #ccc;
    background: rgba(28, 28, 28, 0.9);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(44, 127, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  li:has(input:checked){
      --label-opacity: 1;
      --label-color: var(--label-color-hover);
      --label-line-h: var(--label-line-h-current);
      --label-line-delay: calc(var(--duration) * 2);

      --title-opacity: 1;
      --title-offset-y: 0;
      --title-delay: calc(var(--duration) * 3);

      --info-opacity: 1;
      --info-offset-y: 0;
      --info-delay: calc(var(--duration) * 4);
  }

  li:has(input:checked) > label {
    background: rgba(44, 127, 255, 0.3) !important;
    color: #2C7FFF !important;
    border-color: #2C7FFF !important;
    transform: translateY(var(--label-offset)) scale(1.1) !important;
  }

  li:has(input:checked) > label::before {
    background: transparent !important; /* Убираем желтый цвет */
    transform: scale(1.2);
    display: none !important; /* Полностью скрываем */
  }

  .cards:has(input:checked) {
    transform: rotate(calc(var(--base-rotation) - (var(--index) * var(--full-circle) / var(--items))));
  }

  .cards:has(li:nth-child(1)>input:checked) { --index: 0; }
  .cards:has(li:nth-child(2)>input:checked) { --index: 1; }
  .cards:has(li:nth-child(3)>input:checked) { --index: 2; }
  .cards:has(li:nth-child(4)>input:checked) { --index: 3; }
  .cards:has(li:nth-child(5)>input:checked) { --index: 4; }
  .cards:has(li:nth-child(6)>input:checked) { --index: 5; }
  .cards:has(li:nth-child(7)>input:checked) { --index: 6; }
  .cards:has(li:nth-child(8)>input:checked) { --index: 7; }
  .cards:has(li:nth-child(9)>input:checked) { --index: 8; }
  .cards:has(li:nth-child(10)>input:checked) { --index: 9; }
  .cards:has(li:nth-child(11)>input:checked) { --index: 10; }
  .cards:has(li:nth-child(12)>input:checked) { --index: 11; }
  .cards:has(li:nth-child(13)>input:checked) { --index: 12; }
  .cards:has(li:nth-child(14)>input:checked) { --index: 13; }
  .cards:has(li:nth-child(15)>input:checked) { --index: 14; }
  .cards:has(li:nth-child(16)>input:checked) { --index: 15; }
  .cards:has(li:nth-child(17)>input:checked) { --index: 16; }
  .cards:has(li:nth-child(18)>input:checked) { --index: 17; }
  .cards:has(li:nth-child(19)>input:checked) { --index: 18; }
  .cards:has(li:nth-child(20)>input:checked) { --index: 19; }
  .cards:has(li:nth-child(21)>input:checked) { --index: 20; }
  .cards:has(li:nth-child(22)>input:checked) { --index: 21; }
  .cards:has(li:nth-child(23)>input:checked) { --index: 22; }
  .cards:has(li:nth-child(24)>input:checked) { --index: 23; }
  .cards:has(li:nth-child(25)>input:checked) { --index: 24; }
  .cards:has(li:nth-child(26)>input:checked) { --index: 25; }
  .cards:has(li:nth-child(27)>input:checked) { --index: 26; }
  .cards:has(li:nth-child(28)>input:checked) { --index: 27; }
  .cards:has(li:nth-child(29)>input:checked) { --index: 28; }
  .cards:has(li:nth-child(30)>input:checked) { --index: 29; }
  .cards:has(li:nth-child(31)>input:checked) { --index: 30; }
  .cards:has(li:nth-child(32)>input:checked) { --index: 31; }
  .cards:has(li:nth-child(33)>input:checked) { --index: 32; }
  .cards:has(li:nth-child(34)>input:checked) { --index: 33; }
  .cards:has(li:nth-child(35)>input:checked) { --index: 34; }
  .cards:has(li:nth-child(36)>input:checked) { --index: 35; }
  .cards:has(li:nth-child(37)>input:checked) { --index: 36; }

.infobox {
  background-color: white;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Расстояние между рядами */
}

.row {
  display: flex;
  gap: 40px; /* Расстояние между боксами */
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  width: calc(250px + 10 * (100vw / 1920));
  height: calc(250px + 10 * (100vw / 1920));
  background-color:#121212 ;
  border-radius: 16px;
  
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.info {
  background-color: rgba(42, 42, 42, 1);
 
  
}

.info2 {
  background-color: rgba(28, 28, 28, 1);

  
}
.container {
  max-width: 100%;
  margin: 100px auto;
  padding: 30px 200px;
}

.card {
  display: flex;
  gap: 40px;
  margin-bottom: 0px;
  background: rgba(58, 58, 58, 1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image img {
  width: 300px;
  height: 310px;
  object-fit: cover;
  border-radius: 12px;
}

.card-content {
  flex: 1;
}

.card-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C7FFF;
  font-family: 'Unbounded', sans-serif;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  font-family: 'Manrope', sans-serif;
}

.decorative-lines {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0;
  gap: 20px;
}

.decorative-lines::before,
.decorative-lines::after {
  content: "";
  height: 4px;
  border-radius: 4px;
}

.decorative-lines::before {
  width: 200px;
  background: linear-gradient(to right, transparent, #2C7FFF);
}

.decorative-lines span {
  width: 300px;
  height: 4px;
  background: #2C7FFF;
  border-radius: 4px;
}

.decorative-lines::after {
  width: 200px;
  background: linear-gradient(to right, #2C7FFF, transparent);
}

.eventbox {
  width: 100%;
  padding: 40px 20px;
  background-color: rgba(28, 28, 28, 1);
}

.hz {
  display: flex;
  justify-content: center;
}

.wrapper {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-block {
  width: 100%;
  height: 750px;
  background-color: rgba(42, 42, 42, 1);
  border-radius: 10px;
  margin-bottom: 40px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.small-blocks {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.achievement-header {
  text-align: center;
  margin-bottom: 30px;
}

.achievement-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  font-family: 'Unbounded', sans-serif;
}

.achievement-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2C7FFF;
  margin-bottom: 20px;
  font-family: 'Unbounded', sans-serif;
}

.achievement-header p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Manrope', sans-serif;
}

.achievement-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
  position: relative;
}

.achievement-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #2C7FFF, #66B2FF, #2C7FFF);
  z-index: 1;
}

.milestone {
  text-align: center;
  background: rgba(58, 58, 58, 1);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
  min-width: 180px;
}

.milestone .year {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2C7FFF;
  font-family: 'Unbounded', sans-serif;
}

.milestone .achievement {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 5px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

.medal-showcase {
  text-align: center;
}

.medal-category {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.medal {
  text-align: center;
  min-width: 120px;
}


.medal .type {
  font-size: .6rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.medal.gold .count {
  color: #FFD700;
}

.medal.silver .count {
  color: #C0C0C0;
}

.medal.bronze .count {
  color: #CD7F32;
}

.small-block {
  max-width: 250px;
  margin: 10px;
  flex: 1;
  height: 250px;
  background-color: rgba(58, 58, 58, 1);
  border-radius: 8px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.small-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.stat-card {
  text-align: center;
  width: 100%;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2C7FFF;
  margin-bottom: 10px;
  font-family: 'Unbounded', sans-serif;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  font-family: 'Unbounded', sans-serif;
}

.stat-description {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  font-family: 'Manrope', sans-serif;
}

@media (max-width: 768px) {
  .achievement-header h2 {
    font-size: 2rem;
  }
  
  .achievement-header h3 {
    font-size: 1.4rem;
  }
  
  .achievement-timeline {
    flex-direction: column;
    gap: 20px;
  }
  
  .achievement-timeline::before {
    display: none;
  }
  
  .medal-category {
    gap: 30px;
  }
  
  .medal .count {
    font-size: 2.2rem;
  }
  
  .main-block {
    height: auto;
    padding: 30px 20px;
  }
}

.footer-logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 40px;
  filter: brightness(0.7);
  transition: filter 0.3s;
}

.footer-logos img:hover {
  filter: brightness(1);
}

  .swiper {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    margin: 20px auto;
  }

  .testimonial-card {
    color: white;
    font-family: 'Unbounded', sans-serif;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    margin-top: 3%;
    height: 90%;
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    border: 1px solid rgba(70, 130, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .caption-avatar {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
  }

  .slide-caption .position {
    display: block;
    font-size: 14px;
    color: #4682ff;
    font-weight: 300;
    margin-top: 5px;
  }

  .testimonial-card h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .testimonial-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4682ff;
  }

  .leader-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .achievements {
    background: rgba(70, 130, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4682ff;
  }

  .achievements h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4682ff;
  }

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

  .achievements li {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
  }

  .achievements li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #4682ff;
    font-weight: bold;
  }

  .biography {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
    text-align: justify;
  }

  .stats {
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
  }

  .stat-item {
    text-align: center;
  }

  .stat-item .number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #4682ff;
    line-height: 1;
  }

  .stat-item .label {
    display: block;
    font-size: 11px;
    color: #ccc;
    margin-top: 3px;
  }



@media (max-width: 768px) {
  /* Timeline упрощение */
  .cards-container {
    --radius: 100vw;
    --label-size: 30px;
    --label-dot-size: 8px;
    --title-top: 2rem;
    --info-top: 5rem;
    --label-line-h-current: 1.8rem;
    clip-path: none;
  }

  .cards > li > p {
    width: 85%;
    font-size: 0.9rem;
    padding: 15px;
  }

  .cards > li > h2 {
    font-size: 1.5rem;
  }

  .cards li > label {
    font-size: 0.75rem;
    width: 30px;
    height: 30px;
  }

  /* Общие секции */
  .container {
    padding: 30px 20px;
    margin: 50px auto;
  }

  .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .card-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .card:hover {
    transform: none;
  }

  /* Секция достижений */
  .main-block {
    height: auto;
    padding: 30px 20px;
  }

  .small-blocks {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .small-block {
    width: 90%;
    max-width: 300px;
    height: 150px;
    margin: 0;
  }

  .achievement-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .achievement-timeline::before {
    display: none;
  }

  .medal-category {
    gap: 30px;
  }

  .medal .count {
    font-size: 2.2rem;
  }

  /* Swiper */
  .swiper {
    height: 600px;
    max-width: 95%;
  }

  .testimonial-card {
    padding: 15px;
    margin-top: 2%;
    height: 95%;
    gap: 10px;
  }

  .testimonial-card h3 {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .testimonial-card img {
    width: 70px;
    height: 70px;
  }

  .caption-avatar {
    gap: 15px;
    margin-bottom: 10px;
  }

  .achievements {
    padding: 10px;
  }

  .achievements h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .achievements li {
    font-size: 11px;
    margin-bottom: 3px;
    line-height: 1.4;
  }

  .biography {
    font-size: 11px;
    line-height: 1.5;
  }

  .stats {
    padding: 10px;
    flex-direction: row;
    gap: 15px;
  }

  .stat-item .number {
    font-size: 18px;
  }

  .stat-item .label {
    font-size: 10px;
  }

  /* История */
  .history-timeline::before {
    left: 30px;
  }

  .history-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 60px;
  }

  .history-year {
    width: 80px;
    height: 80px;
    font-size: 1.1rem;
    margin: 0 0 20px -50px;
  }

  .history-content {
    max-width: none;
    margin: 0 !important;
  }

  .philosophy-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .philosophy-item {
    padding: 20px;
    margin: 0 10px;
  }

  .founder-tribute {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px;
  }

  .founder-photo {
    width: 150px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  /* Timeline для маленьких экранов */
  .timeline {
    height: 70vh;
    background: #2a2a2a !important;
    animation: none !important;
  }

  .cards-container {
    --radius: 200vw;
    --label-size: 25px;
    --info-width: 90%;
  }

  .cards li > label {
    width: 25px;
    height: 25px;
    font-size: 0.65rem;
    background: rgba(65, 124, 255, 0.9) !important;
    border: 2px solid #417CFF !important;
    color: white !important;
    font-weight: bold !important;
  }

  .cards > li > h2 {
    font-size: 1.2rem !important;
    background: rgba(0,0,0,0.8) !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
  }

  .cards > li > p {
    font-size: 0.8rem !important;
    background: rgba(0,0,0,0.8) !important;
    padding: 12px !important;
    border-radius: 6px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    line-height: 1.4 !important;
  }

  /* Убираем декоративные элементы */
  .cards li > label::before,
  .cards li > label::after {
    display: none !important;
  }

  /* Упрощаем все остальное */
  .container {
    padding: 0 10px;
  }

  .card {
    padding: 15px;
    margin: 10px 5px;
  }

  .main-block {
    padding: 20px 15px;
  }

  .achievement-header h2 {
    font-size: 1.5rem;
  }

  .achievement-header h3 {
    font-size: 1.1rem;
  }

  .milestone {
    padding: 12px;
    width: 100%;
  }

  .medal .count {
    font-size: 2rem;
  }

  .small-block {
    padding: 20px 15px;
    height: 180px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .swiper {
    height: 550px !important;
    max-width: 98%;
  }

  .testimonial-card {
    padding: 12px;
    margin: 3px;
    gap: 8px;
  }

  .testimonial-card h3 {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .testimonial-card img {
    width: 60px;
    height: 60px;
  }

  .caption-avatar {
    gap: 12px;
    margin-bottom: 8px;
  }

  .achievements {
    padding: 8px;
  }

  .achievements h4 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .achievements li {
    font-size: 10px;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .biography {
    font-size: 10px;
    line-height: 1.4;
  }

  .stats {
    padding: 8px;
    flex-direction: row;
    gap: 10px;
  }

  .stat-item .number {
    font-size: 16px;
  }

  .stat-item .label {
    font-size: 9px;
  }

  .history-item {
    margin-left: 40px;
  }

  .history-year {
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
    margin-left: -30px;
  }

  .philosophy-item {
    padding: 15px 10px;
    margin: 0 5px;
  }

  .founder-tribute {
    padding: 20px 10px;
  }

  .founder-photo {
    width: 120px;
    height: 150px;
  }
}

/* History Section Styles */
.history-section {
  background-color: rgba(28, 28, 28, 1);
  padding: 80px 0;
  color: white;
  position: relative;
}

.history-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.history-header {
  text-align: center;
  margin-bottom: 60px;
}

.history-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  font-family: 'Unbounded', sans-serif;
}

.history-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C7FFF;
  margin-bottom: 25px;
  font-family: 'Unbounded', sans-serif;
}

.history-header p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-family: 'Manrope', sans-serif;
}

.history-timeline {
  margin: 60px 0;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #2C7FFF;
  transform: translateX(-50%);
}

.history-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.history-item:nth-child(odd) {
  flex-direction: row;
}

.history-item:nth-child(even) {
  flex-direction: row-reverse;
}

.history-year {
  width: 120px;
  height: 120px;
  background: #2C7FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  font-family: 'Unbounded', sans-serif;
  position: relative;
  z-index: 2;
  margin: 0 40px;
}

.history-content {
  flex: 1;
  max-width: 450px;
  background: rgba(42, 42, 42, 1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.history-item:nth-child(odd) .history-content {
  margin-left: 20px;
}

.history-item:nth-child(even) .history-content {
  margin-right: 20px;
}

.history-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2C7FFF;
  margin-bottom: 15px;
  font-family: 'Unbounded', sans-serif;
}

.history-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  font-family: 'Manrope', sans-serif;
}

.philosophy-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 80px 0;
}

.philosophy-item {
  background: rgba(42, 42, 42, 1);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.philosophy-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.philosophy-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2C7FFF;
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
}

.philosophy-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.philosophy-item li {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-family: 'Manrope', sans-serif;
}

.philosophy-item li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #2C7FFF;
  font-weight: bold;
  font-size: 1.2rem;
}

.philosophy-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
  font-family: 'Manrope', sans-serif;
}

.oath-text {
  background: rgba(44, 127, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #2C7FFF;
  margin-top: 20px;
}

.oath-text p {
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
  color: white;
  line-height: 1.7;
}

.founder-tribute {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 80px;
  background: rgba(42, 42, 42, 1);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.founder-image {
  flex-shrink: 0;
}

.founder-photo {
  width: 200px;
  height: 250px;
  background: #2C7FFF;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.founder-info {
  flex: 1;
}

.founder-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  font-family: 'Unbounded', sans-serif;
}

.founder-title {
  font-size: 1.1rem;
  color: #2C7FFF;
  font-weight: 600;
  display: block;
  margin-bottom: 25px;
  font-family: 'Manrope', sans-serif;
}

.founder-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 30px;
  font-family: 'Manrope', sans-serif;
}

.founder-quote {
  background: rgba(44, 127, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #2C7FFF;
}

.founder-quote blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.2rem;
  color: white;
  line-height: 1.6;
  text-align: center;
  font-family: 'Manrope', sans-serif;
}



