@font-face {
    font-family: 'garet';
    src: url('../fonts/Garet-Book.woff2') format('woff2'),
        url('../fonts/Garet-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html{
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

.top-bar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #1c1c1c;
  color: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 40px;
  font-size: 14px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a{
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.top-bar a:hover{
  color: #fdd835;
}

  body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    font-family: garet;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  #backToTop {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #fdd835;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
  }
  
  #backToTop:hover {
    background-color: #ffcc00;
  }

  header {
    margin-top: 40px;
    background-color: #1c1c1c;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  header a{
    color: white;
    user-select: none;
    text-decoration: none;
  }

  .logo {
    font-size: 24px;
    font-weight: bold;
  }

  nav {
    display: flex;
    gap: 30px;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  }

  .active{
    color: #fdd835;
  }

  nav a:hover {
    color: #fdd835;
  }

  .lang_change{
    cursor: pointer;
  }

  .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  .hero {
    background: linear-gradient(rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.75) 100%), url('../images/ssm_main.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
  }

  .hero_secondary {
    background: linear-gradient(rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.75) 100%), url('../images/ssm_main.jpg') center/cover no-repeat;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
    margin-top: 10px;
  }

  .features {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    border-radius: 10px;
  }

  .feature {
    width: 220px;
    text-align: center;
  }

  .feature i {
    font-size: 40px;
    color: #fdd835;
    margin-bottom: 15px;
  }

  .feature h1, h2, h3 {
    height: 75px;
  }

  .feature p {
    padding: 5px;
  }

  .section {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 40px;
  }

  .section h2{
    margin-bottom: 50px;
  }

  .section:nth-child(even) {
    flex-direction: row-reverse;
  }

  .section img {
    min-width: 250px;
    max-width: 600px;
    height: 300px;
    flex: 1 1 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .section-text {
    flex: 1 1 400px;
  }

  .team-section {
    padding: 100px 20px 150px 20px;
    background: #2a2e3b;
    text-align: center;
    margin-top: 50px
  }
  
  .section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: white;
  }
  
  .team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  
  .team-member {
    flex: 1 1 calc(25% - 40px);
    max-width: calc(25% - 40px);
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    background: white;
  }
  
  .team-image {
    max-width: 150px;
    height: 150px;
    min-width: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
  
  .team-member h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
  }
  
  .team-member p {
    color: #777;
    font-size: 0.95rem;
  }

  .team_title{
    height: 50px;
  }
  
  footer {
    background-color: #1c1c1c;
    color: white;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer_main{
    width: 75%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-col {
    flex: 1 1 200px;
    margin-bottom: 20px;
    text-decoration: none;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
  }

  .footer-col ul li {
    margin-bottom: 5px;
    color: gray;
  }

  .footer-col a {
    text-decoration: none;
    color: gray;
    transition: 0.2s;
  }

  .footer-col a:hover{
    color: #fdd835;
  }

  .footer-social i {
    font-size: 25px;
    margin-right: 15px;
    color: #fdd835;
    cursor: pointer;
  }

  .stylize_width{
    width: 75%;
    margin: auto;
    flex: 1;
  }

  .stylize_width hr{
    border: none;
    outline: none;
    height: 1px;
    background: rgba(0,0,0,0.5);
    margin: 20px 0px;
  }

  .stylize_width img{
    border-radius: 10px;
  }

  .custom-image-ck{
    width: 100%;
    max-height: 500px;
    margin: 10px 0px;
    object-fit: cover;
    object-position: center;
  }

  .content{
    margin: 100px 0px;
  }

  table, tr, td, th{
    border-collapse: collapse;
    border: 1px solid #33333380;
    padding: 10px;
  }

  @media (max-width: 1000px) {
    nav {
      display: none;
      flex-direction: column;
      background-color: #2c2c2c;
      position: absolute;
      top: 0px;
      right: 0px;
      width: 100%;
      padding: 20px 40px;
      height: calc(50vh + 75px);
      text-align: right;
    }

    nav.active {
      display: flex;
    }

    .menu-toggle {
      display: block;
      width: fit-content;
      margin-left: auto;
    }

    .stylize_width{
        width: 95%;
        margin: auto;
    }

    .team-member {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }

  }

  @media (max-width: 550px) {
    .team-member {
        flex: 1 1 calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
  }