@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Monomakh&family=Shafarik&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Merriweather;
    background-color: #010101;
    color: #eee;
}

body {
    font-family: 'Merriweather', serif;
    /* background-color: #010101; */
    color: #eee;
    line-height: 1.6;
}

header {
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

header .logo {
    font-weight: bolder;
    font-size: 24px;
}

header .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}

header .menu li {
    display: inline;
}

header .menu li a {
    color: #eee;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

header .menu li a:hover {
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}





.about-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    /* margin-bottom: 40px; */
}

.about-nav-button {
    padding: 12px 24px;
    background-color: #167ad8;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-nav-button:hover {
    background-color: #4c51bf;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .team-section {
    text-align: center;
    padding: 40px 0;
  }
  
  .team-section h2 {
    font-size: 2.0rem;
    margin-bottom: 10px;
    color: #333;
    font-family: Merriweather;
  }
  
  .team-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #eee;
  }
  
  .team-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
  }
  
  .slider-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .team-member {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  .member-image {
    height: 250px;
    overflow: hidden;
  }
  
  .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .member-info {
    padding: 20px;
    text-align: left;
  }
  
  .member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #eee;
  }
  
  .member-info .role {
    color: #5a67d8;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
  }
  
  .member-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  .slider-arrow {
    background: #5a67d8;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slider-arrow:hover {
    background: #4c51bf;
  }
  
  .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .dot.active {
    background: #5a67d8;
  }
  
  @media (max-width: 768px) {
    .team-member {
      flex: 0 0 calc(50% - 20px);
    }
  }
  
  @media (max-width: 480px) {
    .team-member {
      flex: 0 0 calc(100% - 20px);
    }
  }

@media (max-width: 768px) {
    

    .about-nav {
        gap: 10px;
    }

    .about-nav-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
   

    .about-nav {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-nav-button {
        width: 100%;
    }
}



