body {
    background-color: #f8f9fa;
    margin: 0;
  }

  .navbar-brand img {
    object-fit: contain;
  }

  .hero {
    height: 250px;
    background: url('BannerWeb2.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }


  .hero1 {
    height: 250px;
    background: url('BannerWeb.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 20px;
  }
  .hero h1 {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    border-radius: 12px;
    font-size: 2rem;
  }

  .main-content {
    position: relative;
    top: -100px;
    z-index: 1;
  }

  .main-content1 {
    background: #fefefe;
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
  }
  
  .text-primary1 {
    color: #007bff;
  }
  
  .main-content1 img {
    transition: transform 0.3s ease;
  }
  .main-content1 img:hover {
    transform: scale(1.05);
  }
  

  .floating-card {
    border-radius: 12px;
    background-color: white;
    padding: 2rem;
    margin-bottom: 30px;
  }

  .floating-card1 {
      border-radius: 12px;
      padding: 2rem;
      margin-bottom: 30px;
    }


  @media (max-width: 768px) {
    .main-content {
      top: -90px;
    }

    .hero h1 {
      font-size: 1.4rem;
      text-align: center;
    }
  }

  .container.custom-container {
      margin-top: 110px;
      padding-left: 20px;
      padding-right: 20px;
      max-width: 100%;
    }

    .navbar-custom {
      background-color: #307ecb; /* Biru tua */
    }

    .navbar-custom .nav-link {
      color: white !important;
      margin-left: 10px;
      margin-right: 10px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .navbar-custom .nav-link:hover {
      color: #ffcc00 !important; /* Warna hover */
    }

    .navbar-custom .navbar-brand img {
      height: 40px;
    }

    .navbar-toggler {
      border: none;
    }

    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-custom .dropdown-menu {
      background-color: #ffffff;
      border: none;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .navbar-custom .dropdown-item:hover {
      background-color: #f0f0f0;
    }


    .imt-indicator {
        position: relative;
        width: 100%;
      }
      
      .indicator-bar {
        display: flex;
        height: 20px;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
      }
      
      .segment {
        flex: 1;
      }
      
      .seg1 { background-color: #e74c3c; }   /* Merah - sangat kurus */
      .seg2 { background-color: #f39c12; }   /* Orange - kurus */
      .seg3 { background-color: #2ecc71; }   /* Hijau - normal */
      .seg4 { background-color: #f39c12; }   /* Orange - gemuk */
      .seg5 { background-color: #e74c3c; }   /* Merah - obesitas */
      
      .needle {
        position: absolute;
        top: 12px; /* Sedikit naik agar berada tepat di atas bar */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 15px solid white; /* Warna jarum */
        z-index: 3;
        transition: left 0.4s ease;
      }
      
      
      